MyCryptoHeroes / Extension Gateway

ExtensionGateway

0x46fc7b42f4522bfbd8b4565130aaed1e407d9957
ExtensionGateway
function

withdrawExtension

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

withdrawExtensionWithMint

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

mintExtension

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_transientAssetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

setTransientAssetOwner

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_transientAssetOwneraddress
_tokenIduint256

Outputs

(void)
function

setExtensionAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_extensionAssetAddressaddress

Outputs

(void)
function

depositExtension

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

(void)
function

depositExtensions

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_tokenIdsuint256[10]

Outputs

(void)
function

depositAllExtensions

nonpayable
Restricted (whenNotPaused)

Inputs

(void)

Outputs

(void)
function

onERC721Received

nonpayable

Inputs

ParameterTypeDescription
operatoraddress
fromaddress
tokenIduint256
databytes

Outputs

TypeDescription
bytes4
event

OutgoingEvent

Inputs

ParameterTypeDescription
assetOwneraddress
tokenIduint256
atuint256
eventHashbytes32
eventTypeuint8

Outputs

(void)
event

DepositEvent

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

extensionAsset

view

Inputs

(void)

Outputs

TypeDescription
address
function

LIMIT

view

Inputs

(void)

Outputs

TypeDescription
uint256