DailyAction
function
updateTerm
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| num | uint256 |
Outputs
(void)
function
requestDailyActionReward
nonpayable
Restricted (whenNotPaused)
Inputs
| Parameter | Type | Description |
|---|---|---|
| referrer | address |
Outputs
(void)
function
isInTerm
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| sender | address |
Outputs
| Type | Description |
|---|---|
| bool |
event
UpdateTerm
Inputs
| Parameter | Type | Description |
|---|---|---|
| term | uint256 |
Outputs
(void)
event
Action
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address | |
| referrer | address | |
| at | uint256 |
Outputs
(void)
GumGateway
function
updateMinimumAmount
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newMinimumAmount | uint256 |
Outputs
(void)
function
updateEthBackRate
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newEthBackRate | uint256 |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
buy
payable
Restricted (whenNotPaused)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _referrer | address |
Outputs
(void)
function
getEthBackRate
view
Restricted (onlyOwner)
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
event
Sold
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address | |
| referrer | address | |
| value | uint256 | |
| at | uint256 |
Outputs
(void)
OperatorRole
function
removeOperator
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
function
addOperator
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
function
isOperator
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
| Type | Description |
|---|---|
| bool |
event
OperatorRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
event
OperatorAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
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)
event
OwnershipRenounced
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | 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
(void)
Outputs
(void)
event
Paused
Inputs
(void)
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 |
constructor
GumGateway
nonpayable
Inputs
(void)
Outputs
(void)
event
PauserRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
event
PauserAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
ReferrerRole
function
addReferrer
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _account | address |
Outputs
(void)
function
removeReferrer
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _account | address |
Outputs
(void)
function
addressOfIndex
view
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _index | uint32 |
Outputs
| Type | Description |
|---|---|
| address |
function
getNumberOfAddresses
view
Restricted (onlyOperator)
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint32 |
function
isReferrer
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _account | address |
Outputs
| Type | Description |
|---|---|
| bool |
event
ReferrerRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
event
ReferrerAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
function
latestActionTime
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
minimumAmount
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
term
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |