MyCryptoHeroes

MCHEMONTGateway

0x97d99db7a938ad4f6dd8d607deb2083f1b36db0b
MCHEMONTGateway
function

setEMONTAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_EMONTAddressaddress

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

ParameterTypeDescription
amountuint256
_referreraddress

Outputs

(void)
function

getEMONTBalance

view

Inputs

(void)

Outputs

TypeDescription
uint256
event

EMONTEXCHANGE

Inputs

ParameterTypeDescription
useraddress
referreraddress
valueuint256
atuint256

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

EMONT

view

Inputs

(void)

Outputs

TypeDescription
address