ERC165
constructor
ERC721ConverterWithMCHHero
nonpayable
Inputs
(void)
Outputs
(void)
function
supportsInterface
view
Inputs
Parameter | Type | Description |
---|---|---|
interfaceId | bytes4 |
Outputs
Type | Description |
---|---|
bool |
ERC173
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
ERC721ConverterWithMCHHero
function
updateBob
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_newBob | address |
Outputs
(void)
function
updateAlice
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_newAlice | address |
Outputs
(void)
function
draftBobTokens
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_bobTokenIds | uint256[] | |
_aliceTokenIds | uint256[] |
Outputs
(void)
function
draftBobToken
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_bobTokenId | uint256 | |
_aliceTokenId | uint256 |
Outputs
(void)
function
draftAliceTokens
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_aliceTokenIds | uint256[] | |
_bobTokenIds | uint256[] |
Outputs
(void)
function
draftAliceToken
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_aliceTokenId | uint256 | |
_bobTokenId | uint256 |
Outputs
(void)
function
convertFromBobToAlice
nonpayable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_tokenId | uint256 |
Outputs
(void)
function
convertFromAliceToBob
nonpayable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_tokenId | uint256 |
Outputs
(void)
function
getBobTokenID
view
Inputs
Parameter | Type | Description |
---|---|---|
_aliceTokenId | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
function
getAliceTokenID
view
Inputs
Parameter | Type | Description |
---|---|---|
_bobTokenId | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
ERC721Holder
function
onERC721Received
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address | ||
uint256 | ||
bytes |
Outputs
Type | Description |
---|---|
bytes4 |
IERC173
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
Operatable
event
Unpaused
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
Paused
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
OperatorRemoved
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
OperatorAdded
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOperator)
Inputs
(void)
Outputs
(void)
function
transferOwnership
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_newOwner | address |
Outputs
(void)
function
removeOperator
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
addOperator
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
pause
nonpayable
Restricted (onlyOperator, whenNotPaused)
Inputs
(void)
Outputs
(void)
function
unpause
nonpayable
Restricted (onlyOperator, whenPaused)
Inputs
(void)
Outputs
(void)
function
paused
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bool |
function
isOperator
view
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
bool |
function
Bob
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
Alice
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |