MyCryptoHeroes / HeroGateway

HeroGateway

0x138a35ee20e40f019e7e7c00386ab2ef42d66d1e
HeroGateway
function

withdrawHeroToAssetOwnerByAdmin

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

mintHero

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_transientAssetOwneraddress
_tokenIduint256

Outputs

(void)
function

setHeroAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_heroAssetAddressaddress

Outputs

(void)
function

setTransientAssetOwner

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_transientAssetOwneraddress
_tokenIduint256

Outputs

(void)
function

depositHeroesToGateway

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_tokenIdsuint256[10]

Outputs

(void)
function

depositHeroToGateway

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

(void)
function

depositAllHeroesToGateway

nonpayable
Restricted (whenNotPaused)

Inputs

(void)

Outputs

(void)
function

onERC721Received

nonpayable

Inputs

ParameterTypeDescription
operatoraddress
fromaddress
tokenIduint256
databytes

Outputs

TypeDescription
bytes4
event

WithdrawEvent

Inputs

ParameterTypeDescription
assetOwneraddress
tokenIduint256
atuint256
eventHashbytes32

Outputs

(void)
event

DepositEvent

Inputs

ParameterTypeDescription
lockeraddress
tokenIduint256
atuint256

Outputs

(void)
Ownable
function

transferOwnership

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

renounceOwnership

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

isOwner

view

Inputs

(void)

Outputs

TypeDescription
bool
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
event

OwnershipRenounced

Inputs

ParameterTypeDescription
previousOwneraddress

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

(void)

Outputs

(void)
event

Paused

Inputs

(void)

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

transientAssetOwner

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
address
function

limit

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

heroAsset

view

Inputs

(void)

Outputs

TypeDescription
address