HeroGateway
function
withdrawHeroToAssetOwnerByAdmin
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_assetOwner | address | |
_tokenId | uint256 | |
_eventHash | bytes32 |
Outputs
(void)
function
mintHero
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_transientAssetOwner | address | |
_tokenId | uint256 |
Outputs
(void)
function
setHeroAssetAddress
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_heroAssetAddress | address |
Outputs
(void)
function
setTransientAssetOwner
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_transientAssetOwner | address | |
_tokenId | uint256 |
Outputs
(void)
function
depositHeroesToGateway
nonpayable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_tokenIds | uint256[10] |
Outputs
(void)
function
depositHeroToGateway
nonpayable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_tokenId | uint256 |
Outputs
(void)
function
depositAllHeroesToGateway
nonpayable
Restricted (whenNotPaused)
Inputs
(void)
Outputs
(void)
function
onERC721Received
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
operator | address | |
from | address | |
tokenId | uint256 | |
data | bytes |
Outputs
Type | Description |
---|---|
bytes4 |
event
WithdrawEvent
Inputs
Parameter | Type | Description |
---|---|---|
assetOwner | address | |
tokenId | uint256 | |
at | uint256 | |
eventHash | bytes32 |
Outputs
(void)
event
DepositEvent
Inputs
Parameter | Type | Description |
---|---|---|
locker | address | |
tokenId | uint256 | |
at | uint256 |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
newOwner | address |
Outputs
(void)
function
renounceOwnership
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
isOwner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bool |
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
event
OwnershipRenounced
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address |
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
Type | Description |
---|---|
bool |
event
Unpaused
Inputs
(void)
Outputs
(void)
event
Paused
Inputs
(void)
Outputs
(void)
PauserRole
function
addPauser
nonpayable
Restricted (onlyPauser)
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
renouncePauser
nonpayable
Inputs
(void)
Outputs
(void)
function
isPauser
view
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
bool |
event
PauserRemoved
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
PauserAdded
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
transientAssetOwner
view
Inputs
Parameter | Type | Description |
---|---|---|
uint256 |
Outputs
Type | Description |
---|---|
address |
function
limit
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
heroAsset
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |