BraveFrontierHeros

BFHZELGatewayV1

0x97390A8fa25b2E69A34D50D289e7c0eb87B1c5c8
BFHZELGatewayV1
event

Sold

Inputs

ParameterTypeDescription
useraddress
referreraddress
purchaseTypeuint8
grossValueuint256
referralValueuint256
netValueuint256

Outputs

(void)
event

CampaignUpdated

Inputs

ParameterTypeDescription
sinceuint256
untiluint256
purchaseTypeuint8
subPurchaseTypeuint8

Outputs

(void)
function

updateEthBackPercentege

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_ethBackBasisPointuint256

Outputs

(void)
function

updateChance

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_newchanceDenomuint16

Outputs

(void)
function

setValidater

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_varidateraddress

Outputs

(void)
function

setPayableOption

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_optionuint256
desiredbool

Outputs

(void)
function

setCampaign

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
_sinceuint256
_untiluint256
_purchaseTypeuint8
_subPurchaseTypeuint8

Outputs

(void)
function

buyZEL

payable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_referreraddress
_referralBasisPointuint256
_signaturebytes

Outputs

(void)
function

encodeData

pure

Inputs

ParameterTypeDescription
_senderaddress
_referreraddress
_referralBasisPointuint256

Outputs

TypeDescription
bytes32
function

validateSig

view

Inputs

ParameterTypeDescription
_messagebytes32
_signaturebytes

Outputs

TypeDescription
bool
function

getPurchaseType

view

Inputs

ParameterTypeDescription
_blockuint256

Outputs

TypeDescription
uint8
uint8
ERC165
constructor

BFHZELGatewayV1

payable

Inputs

ParameterTypeDescription
_validateraddress

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

validater

view

Inputs

(void)

Outputs

TypeDescription
address
function

payableOptions

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
bool
function

ethBackBasisPoint

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

chanceDenom

view

Inputs

(void)

Outputs

TypeDescription
uint16
function

campaign

view

Inputs

(void)

Outputs

TypeDescription
uint256
uint256
uint8
uint8