MCHPrime
function
updateExpiredAt
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_user | address | |
_expiredAt | uint256 |
Outputs
(void)
function
setValidater
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_varidater | address |
Outputs
(void)
function
updateAllowedUpdateBuffer
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_newAllowedUpdateBuffer | uint256 |
Outputs
(void)
function
updatePrimeTerm
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_newPrimeTerm | uint256 |
Outputs
(void)
function
updatePrimeFee
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_newPrimeFee | uint128 |
Outputs
(void)
function
buyPrimeRights
payable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_signature | bytes |
Outputs
(void)
function
canUpdateNow
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
bool |
event
ExpiredAtUpdated
Inputs
Parameter | Type | Description |
---|---|---|
user | address | |
expiredAt | uint256 | |
at | uint256 |
Outputs
(void)
event
AllowedUpdateBufferUpdated
Inputs
Parameter | Type | Description |
---|---|---|
allowedUpdateBuffer | uint256 |
Outputs
(void)
event
PrimeTermUpdated
Inputs
Parameter | Type | Description |
---|---|---|
primeTerm | uint256 |
Outputs
(void)
event
PrimeTermAdded
Inputs
Parameter | Type | Description |
---|---|---|
user | address | |
expiredAt | uint256 | |
at | uint256 |
Outputs
(void)
event
PrimeFeeUpdated
Inputs
Parameter | Type | Description |
---|---|---|
PrimeFeeUpdated | uint128 |
Outputs
(void)
OperatorRole
function
removeOperator
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
addOperator
nonpayable
Restricted (onlyOperator)
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 |
constructor
MCHPrime
nonpayable
Inputs
(void)
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)
Withdrawable
function
withdrawToken
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_token | address |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
validater
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
primeTerm
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
primeFee
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint128 |
function
allowedUpdateBuffer
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
addressToExpiredAt
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |