MyCryptoHeroes / Extension Gateway

ExtensionGatewayV2

0xbe60333fe9d9d10d2801e11c2a0e5060c83c8b30
ExtensionGatewayV2
function

setPastEventHash

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_eventHashbytes32
_desiredbool

Outputs

(void)
function

withdrawExtensionWithMint

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

mintExtension

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_assetOwneraddress
_tokenIduint256
_eventHashbytes32

Outputs

(void)
function

setExtensionAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_extensionAssetAddressaddress

Outputs

(void)
function

transferAllTokensOfGateway

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newAddressaddress

Outputs

(void)
function

depositExtension

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

extensionAsset

view

Inputs

(void)

Outputs

TypeDescription
address
function

LIMIT

view

Inputs

(void)

Outputs

TypeDescription
uint256