MyCryptoHeroes / Land

LandSectorAsset

0x617913dd43dbdf4236b85ec7bdf9adfd7e35b340
ERC165
function

supportsInterface

view

Inputs

ParameterTypeDescription
interfaceIdbytes4

Outputs

TypeDescription
bool
constructor

LandSectorAsset

nonpayable

Inputs

(void)

Outputs

(void)
ERC721
function

safeTransferFrom

nonpayable

Inputs

ParameterTypeDescription
fromaddress
toaddress
tokenIduint256
_databytes

Outputs

(void)
function

safeTransferFrom

nonpayable

Inputs

ParameterTypeDescription
fromaddress
toaddress
tokenIduint256

Outputs

(void)
function

isApprovedForAll

view

Inputs

ParameterTypeDescription
owneraddress
operatoraddress

Outputs

TypeDescription
bool
function

balanceOf

view

Inputs

ParameterTypeDescription
owneraddress

Outputs

TypeDescription
uint256
function

ownerOf

view

Inputs

ParameterTypeDescription
tokenIduint256

Outputs

TypeDescription
address
function

getApproved

view

Inputs

ParameterTypeDescription
tokenIduint256

Outputs

TypeDescription
address
ERC721Enumerable
function

tokenByIndex

view

Inputs

ParameterTypeDescription
indexuint256

Outputs

TypeDescription
uint256
function

tokenOfOwnerByIndex

view

Inputs

ParameterTypeDescription
owneraddress
indexuint256

Outputs

TypeDescription
uint256
function

totalSupply

view

Inputs

(void)

Outputs

TypeDescription
uint256
ERC721Metadata
function

symbol

view

Inputs

(void)

Outputs

TypeDescription
string
function

name

view

Inputs

(void)

Outputs

TypeDescription
string
ERC721Mintable
function

mint

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
toaddress
tokenIduint256

Outputs

TypeDescription
bool
ERC721Pausable
function

setApprovalForAll

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
toaddress
approvedbool

Outputs

(void)
IERC721
event

ApprovalForAll

Inputs

ParameterTypeDescription
owneraddress
operatoraddress
approvedbool

Outputs

(void)
event

Approval

Inputs

ParameterTypeDescription
owneraddress
approvedaddress
tokenIduint256

Outputs

(void)
event

Transfer

Inputs

ParameterTypeDescription
fromaddress
toaddress
tokenIduint256

Outputs

(void)
LandSectorAsset
function

setTokenURIPrefix

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
_tokenURIPrefixstring

Outputs

(void)
function

setSupplyAndSector

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
_landTypeuint16
_totalVolumeuint256
_sectorSupplyLimituint256
legendarySupplyuint256
epicSupplyuint256
rareSupplyuint256
uncommonSupplyuint256
commonSupplyuint256

Outputs

(void)
function

unLockToken

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

(void)
function

mintLandSector

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
_owneraddress
_landSectoruint256
_eventHashbytes32

Outputs

(void)
function

transferFrom

nonpayable

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_tokenIduint256

Outputs

(void)
function

approve

nonpayable

Inputs

ParameterTypeDescription
_toaddress
_tokenIduint256

Outputs

(void)
function

getTotalVolume

view

Inputs

ParameterTypeDescription
_landTypeuint16

Outputs

TypeDescription
uint256
function

getMintedSectorCountByRarity

view

Inputs

ParameterTypeDescription
_landTypeuint16
_rarityuint16

Outputs

TypeDescription
uint256
function

tokenURI

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
string
function

getSectorSupplyLimit

view

Inputs

ParameterTypeDescription
_landTypeuint16

Outputs

TypeDescription
uint256
function

isAlreadyMinted

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
bool
function

isValidLandSector

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
bool
function

getMintedSectorList

view

Inputs

ParameterTypeDescription
_landTypeuint16

Outputs

TypeDescription
uint256[]
function

getMintedSectorCount

view

Inputs

ParameterTypeDescription
_landTypeuint16

Outputs

TypeDescription
uint256
function

canTransfer

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
bool
function

getRarity

view

Inputs

ParameterTypeDescription
_landSectoruint256

Outputs

TypeDescription
uint16
function

getLandType

view

Inputs

ParameterTypeDescription
_landSectoruint256

Outputs

TypeDescription
uint16
function

getSectorSupplyByRarity

view

Inputs

ParameterTypeDescription
_landTypeuint16
_rarityuint16

Outputs

TypeDescription
uint256
function

getShareRateWithDecimal

view

Inputs

ParameterTypeDescription
_landSectoruint256

Outputs

TypeDescription
uint256
uint256
function

getSectorVolumeByRarity

view

Inputs

ParameterTypeDescription
_rarityuint16

Outputs

TypeDescription
uint256
event

MintEvent

Inputs

ParameterTypeDescription
assetOwneraddress
tokenIduint256
atuint256
eventHashbytes32

Outputs

(void)
MinterRole
function

addMinter

nonpayable
Restricted (onlyMinter)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

renounceMinter

nonpayable

Inputs

(void)

Outputs

(void)
function

isMinter

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
bool
event

MinterRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

MinterAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
Pausable
function

pause

nonpayable
Restricted (onlyPauser, whenNotPaused)

Inputs

(void)

Outputs

(void)
function

unpause

nonpayable
Restricted (onlyPauser, whenPaused)

Inputs

(void)

Outputs

(void)
function

paused

view

Inputs

(void)

Outputs

TypeDescription
bool
event

Unpaused

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

Paused

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
PauserRole
function

addPauser

nonpayable
Restricted (onlyPauser)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

renouncePauser

nonpayable

Inputs

(void)

Outputs

(void)
function

isPauser

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
bool
event

PauserRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

PauserAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

RARE_RARITY

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

EPIC_RARITY

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

tokenURIPrefix

view

Inputs

(void)

Outputs

TypeDescription
string
function

LEGENDARY_RARITY

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

COMMON_RARITY

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

SHARE_RATE_DECIMAL

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

NO_LAND

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

UNCOMMON_RARITY

view

Inputs

(void)

Outputs

TypeDescription
uint16