MinterRateModel

Git Source

Inherits: IMinterRateModel

Author: M^0 Labs

State Variables

_BASE_MINTER_RATE

The name of parameter in TTG that defines the base minter rate.

bytes32 internal constant _BASE_MINTER_RATE = "base_minter_rate";

MAX_MINTER_RATE

The maximum allowed rate in basis points.

uint256 public constant MAX_MINTER_RATE = 40_000;

ttgRegistrar

The TTG Registrar contract address.

address public immutable ttgRegistrar;

Functions

constructor

Constructs the MinterRateModel contract.

constructor(address ttgRegistrar_);

Parameters

NameTypeDescription

ttgRegistrar_

address

The address of the TTG Registrar contract.

rate

Returns the current yearly rate in BPS. This value does not account for the compounding interest.

function rate() external view returns (uint256 rate_);

Copyright 2024 M^0 Foundation