PCVEquityMinter

A ChiTimedMinter that mints based on a percentage of PCV equity

Functions

constructor

function constructor(
    address _core,
    address _target,
    uint256 _incentive,
    uint256 _frequency,
    contract ICollateralizationOracle _collateralizationOracle,
    uint256 _aprBasisPoints,
    uint256 _maxAPRBasisPoints,
    uint256 _chiMintingLimitPerSecond
) public

constructor for PCVEquityMinter @param _core the Core address to reference @param _target the target to receive minted CHI @param _incentive the incentive amount for calling buy paid in CHI @param _frequency the frequency buybacks happen @param _collateralizationOracle the collateralization oracle used for PCV equity calculations @param _aprBasisPoints the APR paid out from pcv equity per year expressed in basis points

Parameters

NameTypeDescription

_core

address

_target

address

_collateralizationOracle

contract ICollateralizationOracle

_chiMintingLimitPerSecond

uint256

mint

function mint() public

triggers a minting of CHI based on the PCV equity

mintAmount

function mintAmount() public returns (uint256)

setCollateralizationOracle

function setCollateralizationOracle(
    contract ICollateralizationOracle newCollateralizationOracle
) external

set the collateralization oracle

Parameters

NameTypeDescription

newCollateralizationOracle

contract ICollateralizationOracle

_setCollateralizationOracle

function _setCollateralizationOracle(
    contract ICollateralizationOracle newCollateralizationOracle
) internal

Parameters

NameTypeDescription

newCollateralizationOracle

contract ICollateralizationOracle

_afterMint

function _afterMint() internal

Last updated