MyCryptoHeroes

MCHPrime

0xdee34cd48d77183b3e70f4f9ea2718c89bfefeb4
MCHPrime
function

updateExpiredAt

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_useraddress
_expiredAtuint256

Outputs

(void)
function

setValidater

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_varidateraddress

Outputs

(void)
function

updateAllowedUpdateBuffer

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newAllowedUpdateBufferuint256

Outputs

(void)
function

updatePrimeTerm

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newPrimeTermuint256

Outputs

(void)
function

updatePrimeFee

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newPrimeFeeuint128

Outputs

(void)
function

buyPrimeRights

payable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_signaturebytes

Outputs

(void)
function

canUpdateNow

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
bool
event

ExpiredAtUpdated

Inputs

ParameterTypeDescription
useraddress
expiredAtuint256
atuint256

Outputs

(void)
event

AllowedUpdateBufferUpdated

Inputs

ParameterTypeDescription
allowedUpdateBufferuint256

Outputs

(void)
event

PrimeTermUpdated

Inputs

ParameterTypeDescription
primeTermuint256

Outputs

(void)
event

PrimeTermAdded

Inputs

ParameterTypeDescription
useraddress
expiredAtuint256
atuint256

Outputs

(void)
event

PrimeFeeUpdated

Inputs

ParameterTypeDescription
PrimeFeeUpdateduint128

Outputs

(void)
OperatorRole
function

removeOperator

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

addOperator

nonpayable
Restricted (onlyOperator)

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
constructor

MCHPrime

nonpayable

Inputs

(void)

Outputs

(void)
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

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

ParameterTypeDescription
accountaddress

Outputs

(void)
event

Paused

Inputs

ParameterTypeDescription
accountaddress

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
event

PauserRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

PauserAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
Withdrawable
function

withdrawToken

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_tokenaddress

Outputs

(void)
function

withdrawEther

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

validater

view

Inputs

(void)

Outputs

TypeDescription
address
function

primeTerm

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

primeFee

view

Inputs

(void)

Outputs

TypeDescription
uint128
function

allowedUpdateBuffer

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

addressToExpiredAt

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
uint256