Skip to content

FixedSupplySchedule

Description

Source: contracts/FixedSupplySchedule.sol

Architecture

Libraries

Inheritance Graph

graph TD FixedSupplySchedule[FixedSupplySchedule] --> Owned[Owned] FixedSupplySchedule[FixedSupplySchedule] --> MixinResolver[MixinResolver]

Constants

DEFAULT_MINT_BUFFER

Source

Type: uint256

DEFAULT_MINT_PERIOD_DURATION

Source

Type: uint256

MAX_MINTER_REWARD

Source

Type: uint256

Variables

fixedPeriodicSupply

Source

Type: uint256

inflationStartDate

Source

Type: uint256

lastMintEvent

Source

Type: uint256

mintBuffer

Source

Type: uint256

mintPeriodCounter

Source

Type: uint256

mintPeriodDuration

Source

Type: uint256

minterReward

Source

Type: uint256

supplyEnd

Source

Type: uint256

Constructor

constructor

Source

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

Source

Details

Signature

isMintable() returns (bool)

Visibility

public

State Mutability

view

mintableSupply

Source

Details

Signature

mintableSupply() returns (uint256)

Visibility

external

State Mutability

view

periodsSinceLastIssuance

Source

Details

Signature

periodsSinceLastIssuance() returns (uint256)

Visibility

public

State Mutability

view

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() returns (bytes32[])

Visibility

public

State Mutability

view

Restricted Functions

recordMintEvent

Source

Details

Signature

recordMintEvent(uint256 supplyMinted) returns (bool)

Visibility

external

State Mutability

nonpayable

Modifiers

Emits

setMinterReward

Source

Details

Signature

setMinterReward(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

Emits

Internal Functions

synthetix

Source

Details

Signature

synthetix() returns (contract ISynthetix)

Visibility

internal

State Mutability

view

Modifiers

onlySynthetix

Source

Events

MinterRewardUpdated

Source

Signature: MinterRewardUpdated(uint256 newRewardAmount)

SupplyMinted

Source

Signature: SupplyMinted(uint256 supplyMinted, uint256 numberOfPeriodsIssued, uint256 lastMintEvent, uint256 timestamp)