FixedSupplySchedule¶
Description¶
Source: contracts/FixedSupplySchedule.sol
Architecture¶
Libraries¶
- SafeMath for
uint
- SafeDecimalMath for
uint
- Math for
uint
Inheritance Graph¶
Constants¶
DEFAULT_MINT_BUFFER
¶
Type: uint256
DEFAULT_MINT_PERIOD_DURATION
¶
Type: uint256
MAX_MINTER_REWARD
¶
Type: uint256
Variables¶
fixedPeriodicSupply
¶
Type: uint256
inflationStartDate
¶
Type: uint256
lastMintEvent
¶
Type: uint256
mintBuffer
¶
Type: uint256
mintPeriodCounter
¶
Type: uint256
mintPeriodDuration
¶
Type: uint256
minterReward
¶
Type: uint256
supplyEnd
¶
Type: uint256
Constructor¶
constructor
¶
Details
Signature
(address _owner, address _resolver, uint256 _inflationStartDate, uint256 _lastMintEvent, uint256 _mintPeriodCounter, uint256 _mintPeriodDuration, uint256 _mintBuffer, uint256 _fixedPeriodicSupply, uint256 _supplyEnd, uint256 _minterReward)
Visibility
public
State Mutability
nonpayable
Requires
Views¶
isMintable
¶
Details
Signature
isMintable() returns (bool)
Visibility
public
State Mutability
view
mintableSupply
¶
Details
Signature
mintableSupply() returns (uint256)
Visibility
external
State Mutability
view
periodsSinceLastIssuance
¶
Details
Signature
periodsSinceLastIssuance() returns (uint256)
Visibility
public
State Mutability
view
resolverAddressesRequired
¶
Details
Signature
resolverAddressesRequired() returns (bytes32[])
Visibility
public
State Mutability
view
Restricted Functions¶
recordMintEvent
¶
Details
Signature
recordMintEvent(uint256 supplyMinted) returns (bool)
Visibility
external
State Mutability
nonpayable
Modifiers
Emits
setMinterReward
¶
Details
Signature
setMinterReward(uint256 amount)
Visibility
external
State Mutability
nonpayable
Requires
Modifiers
Emits
Internal Functions¶
synthetix
¶
Details
Signature
synthetix() returns (contract ISynthetix)
Visibility
internal
State Mutability
view
Modifiers¶
onlySynthetix
¶
Events¶
MinterRewardUpdated
¶
Signature: MinterRewardUpdated(uint256 newRewardAmount)
SupplyMinted
¶
Signature: SupplyMinted(uint256 supplyMinted, uint256 numberOfPeriodsIssued, uint256 lastMintEvent, uint256 timestamp)