MyCryptoHeroes / Gum Gateway

MCHGUMGatewayV8

0xeb0860422043a0b8541356a7b6f671cba9e8f85a
MCHGUMGatewayV8
function

setValidater

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_varidateraddress

Outputs

(void)
function

setCampaign

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_sinceuint256
_untiluint256
_purchaseTypeuint8

Outputs

(void)
function

updateLandPercentage

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newLandPercentageuint256

Outputs

(void)
function

setPayableOption

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_optionuint256
desiredbool

Outputs

(void)
function

setLandPoolAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_landPoolAddressaddress

Outputs

(void)
function

kill

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

setLandSectorAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_landSectorAssetAddressaddress

Outputs

(void)
function

buyGUM

payable
Restricted (whenNotPaused)

Inputs

ParameterTypeDescription
_referreraddress
_referralPercentageuint256
_landTypeuint16
_signaturebytes

Outputs

(void)
function

encodeData

pure

Inputs

ParameterTypeDescription
_senderaddress
_referreraddress
_referralPercentageuint256
_landTypeuint16

Outputs

TypeDescription
bytes32
function

getPurchaseType

view

Inputs

ParameterTypeDescription
_blockuint256

Outputs

TypeDescription
uint8
function

validateSig

view

Inputs

ParameterTypeDescription
_messagebytes32
_signaturebytes

Outputs

TypeDescription
bool
event

LandPercentageUpdated

Inputs

ParameterTypeDescription
landPercentageuint256

Outputs

(void)
event

CampaignUpdated

Inputs

ParameterTypeDescription
sinceuint256
untiluint256
purchaseTypeuint8

Outputs

(void)
event

Sold

Inputs

ParameterTypeDescription
useraddress
referreraddress
purchaseTypeuint8
grossValueuint256
referralValueuint256
landValueuint256
netValueuint256
landTypeuint16

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

MCHGUMGatewayV8

payable

Inputs

ParameterTypeDescription
_validateraddress
_landSectorAssetAddressaddress
_landPoolAddressaddress

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

landSectorAsset

view

Inputs

(void)

Outputs

TypeDescription
address
function

validater

view

Inputs

(void)

Outputs

TypeDescription
address
function

landPool

view

Inputs

(void)

Outputs

TypeDescription
address
function

payableOptions

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
bool
function

campaign

view

Inputs

(void)

Outputs

TypeDescription
uint256
uint256
uint8
function

landPercentage

view

Inputs

(void)

Outputs

TypeDescription
uint256