BraveFrontierHeros

BFHPrimeV1

0xe02367242b348caca4bf39fd1249b212a88adcec
BFHPrimeV1
event

BuyPrimeRight

Inputs

ParameterTypeDescription
buyeraddress
signedAtuint256

Outputs

(void)
function

setValidater

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_varidatoraddress

Outputs

(void)
function

setBlockRanges

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_ableToBuyAfterRangeuint256
_sigExpireBlockuint256

Outputs

(void)
function

buyPrimeRight

payable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_signaturebytes
_hashbytes32
_blockNumuint256

Outputs

(void)
function

recover

pure

Inputs

ParameterTypeDescription
_databytes32
_signaturebytes

Outputs

TypeDescription
address
function

ethSignedMessageHash

pure

Inputs

ParameterTypeDescription
_databytes32

Outputs

TypeDescription
bytes32
function

encodeData

pure

Inputs

ParameterTypeDescription
_fromaddress
_hashbytes32
_blockNumuint256
_priceWeiuint256

Outputs

TypeDescription
bytes32
function

validateSig

view

Inputs

ParameterTypeDescription
_fromaddress
_hashbytes32
_blockNumuint256
_priceWeiuint256
_signaturebytes

Outputs

TypeDescription
bool
function

isApplicableNow

view

Inputs

(void)

Outputs

TypeDescription
bool
function

isApplicable

view

Inputs

ParameterTypeDescription
_buyeraddress
_blockNumuint256
_currentBlockuint256

Outputs

TypeDescription
bool
ERC165
constructor

BFHPrimeV1

nonpayable

Inputs

ParameterTypeDescription
_varidatoraddress

Outputs

(void)
function

supportsInterface

view

Inputs

ParameterTypeDescription
interfaceIdbytes4

Outputs

TypeDescription
bool
ERC173
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
IERC173
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
Operatable
event

Unpaused

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

Paused

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

OperatorRemoved

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
event

OperatorAdded

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

withdrawEther

nonpayable
Restricted (onlyOperator)

Inputs

(void)

Outputs

(void)
function

transferOwnership

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_newOwneraddress

Outputs

(void)
function

removeOperator

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

addOperator

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
accountaddress

Outputs

(void)
function

pause

nonpayable
Restricted (onlyOperator, whenNotPaused)

Inputs

(void)

Outputs

(void)
function

unpause

nonpayable
Restricted (onlyOperator, whenPaused)

Inputs

(void)

Outputs

(void)
function

paused

view

Inputs

(void)

Outputs

TypeDescription
bool
function

isOperator

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
bool
function

validator

view

Inputs

(void)

Outputs

TypeDescription
address
function

lastSignedBlock

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
uint256