MyCryptoHeroes / Gum Gateway

GumGateway

0x4ae0ede482f825fb9cccce8f0fe089f0379eaa2a
DailyAction
function

updateTerm

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
numuint256

Outputs

(void)
function

requestDailyActionReward

nonpayable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
referreraddress

Outputs

(void)
function

isInTerm

view

Inputs

ParameterTypeDescription
senderaddress

Outputs

TypeDescription
bool
event

UpdateTerm

Inputs

ParameterTypeDescription
termuint256

Outputs

(void)
event

Action

Inputs

ParameterTypeDescription
useraddress
referreraddress
atuint256

Outputs

(void)
GumGateway
function

updateMinimumAmount

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newMinimumAmountuint256

Outputs

(void)
function

updateEthBackRate

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newEthBackRateuint256

Outputs

(void)
function

withdrawEther

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

buy

payable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_referreraddress

Outputs

(void)
function

getEthBackRate

view
Restricted (onlyOwner)

Inputs

(void)

Outputs

TypeDescription
uint256
event

Sold

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

GumGateway

nonpayable

Inputs

(void)

Outputs

(void)
event

PauserRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

PauserAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
ReferrerRole
function

addReferrer

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

removeReferrer

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

isReferrer

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
bool
event

ReferrerRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

ReferrerAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

latestActionTime

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
uint256
function

term

view

Inputs

(void)

Outputs

TypeDescription
uint256