ICoreProperties
Interface Description
License: MIT
This is the central contract of the protocol which stores the parameters that may be modified by the DAO. These are commissions percentages and pools parameters
Structs info
CoreParameters
The struct that stores vital platform's parameters that may be modified by the OWNER The struct that stores GovPool parameters
Parameters:
govVotesLimit
uint128
the maximum number of simultaneous votes of the voter
tokenSaleProposalCommissionPercentage
uint128
the commission percentage for the token sale proposal
micropoolVoteRewardsPercentage
uint128
the percentage of the rewards for the micropool voters
treasuryVoteRewardsPercentage
uint128
the percentage of the rewards for the treasury voters
Functions info
setCoreParameters (0xc4b85e4c)
The function to set CoreParameters
Parameters:
_coreParameters
struct ICoreProperties.CoreParameters
the parameters
setDEXECommissionPercentages (0x7f5070fa)
The function to modify the platform's commission percentages
Parameters:
govCommission
uint128
the gov percentage commission. Should be multiplied by 10**25
setTokenSaleProposalCommissionPercentage (0x07914c59)
The function to set new token sale proposal commission percentage
Parameters:
tokenSaleProposalCommissionPercentage
uint128
the new commission percentage
setVoteRewardsPercentages (0x2bc88373)
The function to set new vote rewards percentages
Parameters:
micropoolVoteRewardsPercentage
uint128
the percentage of the rewards for the micropool voters
treasuryVoteRewardsPercentage
uint128
the percentage of the rewards for the treasury voters
setGovVotesLimit (0xd4a4bea5)
The function to set new gov votes limit
Parameters:
newVotesLimit
uint128
new gov votes limit
getDEXECommissionPercentages (0x9834ceac)
The function to get commission percentage and receiver
Return values:
govPercentage
uint128
the overall gov commission percentage
treasuryAddress
address
the address of the treasury commission
getTokenSaleProposalCommissionPercentage (0xdcce18e7)
The function to get the token sale proposal commission percentage
Return values:
[0]
uint128
the commission percentage
getVoteRewardsPercentages (0x43570d3a)
The function to get the vote rewards percentages
Return values:
[0]
uint128
micropoolVoteRewardsPercentage the percentage of the rewards for the micropool voters
[1]
uint128
treasuryVoteRewardsPercentage the percentage of the rewards for the treasury voters
getGovVotesLimit (0x47dd039f)
The function to get max votes limit of the gov pool
Return values:
votesLimit
uint128
the votes limit