MCHEMONTGateway
function
setEMONTAddress
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_EMONTAddress | address |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
withdrawEMONT
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
exchangeEMONTtoGUM
nonpayable
Restricted (whenNotPaused, nonReentrant)
Inputs
Parameter | Type | Description |
---|---|---|
amount | uint256 | |
_referrer | address |
Outputs
(void)
function
getEMONTBalance
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
event
EMONTEXCHANGE
Inputs
Parameter | Type | Description |
---|---|---|
user | address | |
referrer | address | |
value | 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)
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
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
Paused
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
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
EMONT
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |