Comment on page
Tranche
ERC20 token to represent a single tranche for a ButtonTranche bond
Constructor for Tranche ERC20 token
Constructor for Tranche ERC20 token
Mint
amount
tokens to to
Only callable by the owner (bond controller). Used to manage bonds, specifically creating tokens upon depositBurn
amount
tokens from from
's balance Only callable by the owner (bond controller). Used to manage bonds, specifically burning tokens upon redemptionBurn
amount
tokens from from
and return the proportional value of the collateral token to to
Returns the number of decimals used to get its user representation. For example, if
decimals
equals 2
, a balance of 505
tokens should be displayed to a user as 5,05
(505 / 10 ** 2
).Uses the same number of decimals as the collateral token
NOTE: This information is only used for display purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.
Last modified 2yr ago