MyCryptoHeroes / HeroGateway

HeroGatewayV2

0x185b257aa51fdc45176cf1ffac6a0bfb5cf28afd
HeroGatewayV2
function

withdrawHeroToAssetOwnerByAdmin

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

setPastEventHash

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_eventHashbytes32
_desiredbool

Outputs

(void)
function

mintHero

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

setHeroAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_heroAssetAddressaddress

Outputs

(void)
function

transferAllTokensOfGateway

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newAddressaddress

Outputs

(void)
function

depositHero

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

(void)
function

onERC721Received

nonpayable

Inputs

ParameterTypeDescription
operatoraddress
fromaddress
tokenIduint256
databytes

Outputs

TypeDescription
bytes4
function

checkIsPastEvent

view

Inputs

ParameterTypeDescription
_eventHashbytes32

Outputs

TypeDescription
bool
event

OutgoingEvent

Inputs

ParameterTypeDescription
assetOwneraddress
tokenIduint256
atuint256
eventHashbytes32
eventTypeuint8

Outputs

(void)
event

InComingEvent

Inputs

ParameterTypeDescription
lockeraddress
tokenIduint256
atuint256

Outputs

(void)
OperatorRole
function

removeOperator

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

addOperator

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

isOperator

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
bool
event

OperatorRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

OperatorAdded

Inputs

ParameterTypeDescription
accountaddress

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)
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)
Withdrawable
function

withdrawToken

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_tokenaddress

Outputs

(void)
function

withdrawEther

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

LIMIT

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

heroAsset

view

Inputs

(void)

Outputs

TypeDescription
address