MCHGUMGatewayV6
function
setValidater
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _varidater | address |
Outputs
(void)
function
updateLandPercentage
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newLandPercentage | uint256 |
Outputs
(void)
function
setPayableOption
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _option | uint256 | |
| desired | bool |
Outputs
(void)
function
setLandPoolAddress
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _landPoolAddress | address |
Outputs
(void)
function
updateReferralPercentage
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newReferralPercentage | uint256 |
Outputs
(void)
function
setPurchaseTypeGUMUP
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newNum | uint8 |
Outputs
(void)
function
setLandSectorAssetAddress
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _landSectorAssetAddress | address |
Outputs
(void)
function
setReferrersContractAddress
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _referrersAddress | address |
Outputs
(void)
function
setGUMUpTerm
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _desired | bool |
Outputs
(void)
function
buyGUM
payable
Restricted (whenNotPaused, nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _landType | uint16 | |
| _referrer | address | |
| _signature | bytes |
Outputs
(void)
function
getPayableOption
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _option | uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
event
PurchaseTypeGUMUPUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| purchaseTypeGUMUP | uint8 |
Outputs
(void)
event
GUMUpTermUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| isInGUMUpTerm | bool |
Outputs
(void)
event
Sold
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address | |
| referrer | address | |
| purchaseType | uint8 | |
| grossValue | uint256 | |
| referralValue | uint256 | |
| landValue | uint256 | |
| netValue | uint256 | |
| landType | uint256 | |
| at | uint256 |
Outputs
(void)
event
LandPercentageUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| landPercentage | uint256 |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
function
renounceOwnership
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
isOwner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
constructor
MCHGUMGatewayV6
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _validater | address | |
| _referrersAddress | address |
Outputs
(void)
event
OwnershipTransferred
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address | |
| newOwner | address |
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
| Type | Description |
|---|---|
| bool |
event
Unpaused
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
event
Paused
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
PauserRole
function
addPauser
nonpayable
Restricted (onlyPauser)
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
function
renouncePauser
nonpayable
Inputs
(void)
Outputs
(void)
function
isPauser
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
| Type | Description |
|---|---|
| bool |
event
PauserRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
event
PauserAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| account | address |
Outputs
(void)
Withdrawable
function
withdrawToken
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _token | address |
Outputs
(void)
function
withdrawEther
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
landSectorAsset
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
validater
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
purchaseTypeNormal
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint8 |
function
landPool
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
purchaseTypeGUMUP
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint8 |
function
isInGUMUpTerm
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
landPercentage
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
referrers
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |