Skip to main content

ConvertibleDepositProposal

Git Source

Inherits: GovernorBravoProposal

forge-lint: disable-start(mixed-case-function, mixed-case-variable)

Combined proposal that enables and configures the Convertible Deposit system

State Variables

_kernel

Kernel internal _kernel

CDF_NAME

string internal constant CDF_NAME = "cdf"

USDS_MAX_CAPACITY

uint256 internal constant USDS_MAX_CAPACITY = 1_000_000e18

USDS_MIN_DEPOSIT

uint256 internal constant USDS_MIN_DEPOSIT = 1e18

PERIOD_1M

uint8 internal constant PERIOD_1M = 1

PERIOD_2M

uint8 internal constant PERIOD_2M = 2

PERIOD_3M

uint8 internal constant PERIOD_3M = 3

RECLAIM_RATE

uint16 internal constant RECLAIM_RATE = 90e2

CDA_INITIAL_TARGET

uint256 internal constant CDA_INITIAL_TARGET = 0

CDA_INITIAL_TICK_SIZE

uint256 internal constant CDA_INITIAL_TICK_SIZE = 0

CDA_INITIAL_MIN_PRICE

uint256 internal constant CDA_INITIAL_MIN_PRICE = 0

CDA_INITIAL_TICK_STEP_MULTIPLIER

uint24 internal constant CDA_INITIAL_TICK_STEP_MULTIPLIER = 10075

CDA_AUCTION_TRACKING_PERIOD

uint8 internal constant CDA_AUCTION_TRACKING_PERIOD = 7

EM_BASE_EMISSIONS_RATE

uint256 internal constant EM_BASE_EMISSIONS_RATE = 200000

EM_MINIMUM_PREMIUM

uint256 internal constant EM_MINIMUM_PREMIUM = 5e17

EM_BACKING

uint256 internal constant EM_BACKING = 11690000000000000000

EM_TICK_SIZE

uint256 internal constant EM_TICK_SIZE = 150e9

EM_MIN_PRICE_SCALAR

uint256 internal constant EM_MIN_PRICE_SCALAR = 12e17

EM_BOND_MARKET_CAPACITY_SCALAR

uint256 internal constant EM_BOND_MARKET_CAPACITY_SCALAR = 0

EM_RESTART_TIMEFRAME

uint48 internal constant EM_RESTART_TIMEFRAME = 950400

Functions

id

function id() public pure override returns (uint256);

name

function name() public pure override returns (string memory);

description

function description() public pure override returns (string memory);

_getHeaderSection

Returns the header and summary section of the proposal description

function _getHeaderSection() private pure returns (string memory);

_getContractsSection

Returns the affected contracts section of the proposal description

function _getContractsSection() private pure returns (string memory);

_getResourcesAndPrerequisitesSection

Returns the resources and prerequisites section of the proposal description

function _getResourcesAndPrerequisitesSection() private pure returns (string memory);

_getProposalStepsSection

Returns the proposal steps section of the proposal description

function _getProposalStepsSection() private pure returns (string memory);

_getProposalStepsPhase1and2

Returns Phase 1 and 2 of the proposal steps

function _getProposalStepsPhase1and2() private pure returns (string memory);

_getProposalStepsPhase3Part1

Returns the first part of Phase 3 steps

function _getProposalStepsPhase3Part1() private pure returns (string memory);

_getProposalStepsPhase3Part2

Returns the second part of Phase 3 steps

function _getProposalStepsPhase3Part2() private pure returns (string memory);

_getConclusionSection

Returns the conclusion section of the proposal description

function _getConclusionSection() private pure returns (string memory);

_deploy

function _deploy(Addresses addresses, address) internal override;

_afterDeploy

function _afterDeploy(Addresses addresses, address deployer) internal override;

_build

function _build(Addresses addresses) internal override;

_run

function _run(Addresses addresses, address) internal override;

_validate

function _validate(Addresses addresses, address) internal view override;