BFHPrimeV1
event
BuyPrimeRight
Inputs
Parameter | Type | Description |
---|---|---|
buyer | address | |
signedAt | uint256 |
Outputs
(void)
function
setValidater
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_varidator | address |
Outputs
(void)
function
setBlockRanges
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_ableToBuyAfterRange | uint256 | |
_sigExpireBlock | uint256 |
Outputs
(void)
function
buyPrimeRight
payable
Restricted (whenNotPaused)
Inputs
Parameter | Type | Description |
---|---|---|
_signature | bytes | |
_hash | bytes32 | |
_blockNum | uint256 |
Outputs
(void)
function
recover
pure
Inputs
Parameter | Type | Description |
---|---|---|
_data | bytes32 | |
_signature | bytes |
Outputs
Type | Description |
---|---|
address |
function
ethSignedMessageHash
pure
Inputs
Parameter | Type | Description |
---|---|---|
_data | bytes32 |
Outputs
Type | Description |
---|---|
bytes32 |
function
encodeData
pure
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_hash | bytes32 | |
_blockNum | uint256 | |
_priceWei | uint256 |
Outputs
Type | Description |
---|---|
bytes32 |
function
validateSig
view
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_hash | bytes32 | |
_blockNum | uint256 | |
_priceWei | uint256 | |
_signature | bytes |
Outputs
Type | Description |
---|---|
bool |
function
isApplicableNow
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bool |
function
isApplicable
view
Inputs
Parameter | Type | Description |
---|---|---|
_buyer | address | |
_blockNum | uint256 | |
_currentBlock | uint256 |
Outputs
Type | Description |
---|---|
bool |
ERC165
constructor
BFHPrimeV1
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_varidator | address |
Outputs
(void)
function
supportsInterface
view
Inputs
Parameter | Type | Description |
---|---|---|
interfaceId | bytes4 |
Outputs
Type | Description |
---|---|
bool |
ERC173
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
IERC173
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
Operatable
event
Unpaused
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
Paused
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
OperatorRemoved
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
event
OperatorAdded
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOperator)
Inputs
(void)
Outputs
(void)
function
transferOwnership
nonpayable
Restricted (onlyOperator)
Inputs
Parameter | Type | Description |
---|---|---|
_newOwner | address |
Outputs
(void)
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
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
Type | Description |
---|---|
bool |
function
isOperator
view
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
bool |
function
validator
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
lastSignedBlock
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |