BFHZELGatewayV1
event
Sold
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address | |
| referrer | address | |
| purchaseType | uint8 | |
| grossValue | uint256 | |
| referralValue | uint256 | |
| netValue | uint256 |
Outputs
(void)
event
CampaignUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| since | uint256 | |
| until | uint256 | |
| purchaseType | uint8 | |
| subPurchaseType | uint8 |
Outputs
(void)
function
updateEthBackPercentege
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _ethBackBasisPoint | uint256 |
Outputs
(void)
function
updateChance
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newchanceDenom | uint16 |
Outputs
(void)
function
setValidater
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _varidater | address |
Outputs
(void)
function
setPayableOption
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _option | uint256 | |
| desired | bool |
Outputs
(void)
function
setCampaign
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _since | uint256 | |
| _until | uint256 | |
| _purchaseType | uint8 | |
| _subPurchaseType | uint8 |
Outputs
(void)
function
buyZEL
payable
Restricted (whenNotPaused)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _referrer | address | |
| _referralBasisPoint | uint256 | |
| _signature | bytes |
Outputs
(void)
function
encodeData
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| _sender | address | |
| _referrer | address | |
| _referralBasisPoint | uint256 |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
validateSig
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _message | bytes32 | |
| _signature | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
function
getPurchaseType
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _block | uint256 |
Outputs
| Type | Description |
|---|---|
| uint8 | |
| uint8 |
ERC165
constructor
BFHZELGatewayV1
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _validater | 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
validater
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
payableOptions
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
function
ethBackBasisPoint
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
chanceDenom
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint16 |
function
campaign
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 | |
| uint8 | |
| uint8 |