MyCryptoHeroes / Gum Gateway

MCHGUMGatewayV6

0x7a2ab08612bd07c8bf661883e21240f49b58e944
MCHGUMGatewayV6
function

setValidater

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_varidateraddress

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

updateReferralPercentage

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newReferralPercentageuint256

Outputs

(void)
function

setPurchaseTypeGUMUP

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newNumuint8

Outputs

(void)
function

setLandSectorAssetAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_landSectorAssetAddressaddress

Outputs

(void)
function

setReferrersContractAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_referrersAddressaddress

Outputs

(void)
function

setGUMUpTerm

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_desiredbool

Outputs

(void)
function

buyGUM

payable
Restricted (whenNotPaused, nonReentrant)

Inputs

ParameterTypeDescription
_landTypeuint16
_referreraddress
_signaturebytes

Outputs

(void)
function

getPayableOption

view

Inputs

ParameterTypeDescription
_optionuint256

Outputs

TypeDescription
bool
event

PurchaseTypeGUMUPUpdated

Inputs

ParameterTypeDescription
purchaseTypeGUMUPuint8

Outputs

(void)
event

GUMUpTermUpdated

Inputs

ParameterTypeDescription
isInGUMUpTermbool

Outputs

(void)
event

Sold

Inputs

ParameterTypeDescription
useraddress
referreraddress
purchaseTypeuint8
grossValueuint256
referralValueuint256
landValueuint256
netValueuint256
landTypeuint256
atuint256

Outputs

(void)
event

LandPercentageUpdated

Inputs

ParameterTypeDescription
landPercentageuint256

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

MCHGUMGatewayV6

nonpayable

Inputs

ParameterTypeDescription
_validateraddress
_referrersAddressaddress

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

purchaseTypeNormal

view

Inputs

(void)

Outputs

TypeDescription
uint8
function

landPool

view

Inputs

(void)

Outputs

TypeDescription
address
function

purchaseTypeGUMUP

view

Inputs

(void)

Outputs

TypeDescription
uint8
function

isInGUMUpTerm

view

Inputs

(void)

Outputs

TypeDescription
bool
function

landPercentage

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

referrers

view

Inputs

(void)

Outputs

TypeDescription
address