MCHDailyActionV3
function
setValidater
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_varidator | address |
Outputs
(void)
function
requestDailyActionReward
nonpayable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_signature | bytes | |
_time | int64 |
Outputs
(void)
function
ethSignedMessageHash
pure
Inputs
Parameter | Type | Description |
---|---|---|
_data | bytes32 |
Outputs
Type | Description |
---|---|
bytes32 |
function
recover
pure
Inputs
Parameter | Type | Description |
---|---|---|
_data | bytes32 | |
_signature | bytes |
Outputs
Type | Description |
---|---|
address |
function
encodeData
pure
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_time | int64 |
Outputs
Type | Description |
---|---|
bytes32 |
function
validateSig
view
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_time | int64 | |
_signature | bytes |
Outputs
Type | Description |
---|---|
bool |
event
Action
Inputs
Parameter | Type | Description |
---|---|---|
user | address | |
at | int64 |
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 |
constructor
MCHDailyActionV3
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_varidator | address |
Outputs
(void)
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
lastActionDate
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
int64 |
function
validator
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |