TermRepoToken.sol
This contract belongs to the Term Servicer group of contracts and is specific to a Term Repo deployment. This is an ERC-20 contract to track claims to the aggregate repurchase obligations due on the r
TermRepoToken
This is an ERC-20 contract to track claims to the aggregate repurchase obligations due on the repurchase date across all borrowers to a Term Repo
This contract belongs to the Term Servicer group of contracts and is specific to a Term Repo deployment
ADMIN_ROLE
DEVOPS_ROLE
MINTER_ROLE
BURNER_ROLE
INITIALIZER_ROLE
decimalPlaces
termContractPaired
mintingPaused
burningPaused
redemptionValue
The number of purchase tokens redeemable
termRepoId
mintExposureCap
config
emitter
whileMintingNotPaused
whileBurningNotPaused
notTermContractPaired
constructor
initialize
pairTermContracts
resetMintExposureCap
totalRedemptionValue
Calculates the total USD redemption value of all outstanding TermRepoTokens
Return Values
burn
Burns TermRepoTokens held by an account Reverts if caller does not have BURNER_ROLE
Parameters
burnAndReturnValue
Burns TermRepoTokens held by an account and returns purchase redemption value of tokens burned Reverts if caller does not have BURNER_ROLE
Parameters
Return Values
mintRedemptionValue
Mints TermRepoTokens in an amount equal to caller specified target redemption amount The redemptionValue is the amount of purchase tokens redeemable per unit of TermRepoToken Reverts if caller does not have MINTER_ROLE
Parameters
Return Values
mintTokens
Mints an exact amount of TermRepoTokens Reverts if caller does not have MINTER_ROLE
Parameters
decrementMintExposureCap
Decrements the mintExposureCap Reverts if caller does not have MINTER_ROLE
Parameters
decimals
Return Values
pauseMinting
unpauseMinting
pauseBurning
unpauseBurning
_authorizeUpgrade
required override by the OpenZeppelin UUPS module
Parameters
Last updated