MyCryptoHeroes / Gum Gateway

2 - GumGateway

0xa30cbce69f520bf2a34c5c15193b7f5afe427a26
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)
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)
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 (onlyOperator)

Inputs

ParameterTypeDescription
_accountaddress

Outputs

(void)
function

removeReferrer

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_accountaddress

Outputs

(void)
function

addressOfIndex

view
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_indexuint32

Outputs

TypeDescription
address
function

getNumberOfAddresses

view
Restricted (onlyOperator)

Inputs

(void)

Outputs

TypeDescription
uint32
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

minimumAmount

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

term

view

Inputs

(void)

Outputs

TypeDescription
uint256