PerpetualTranche

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xa29c0ac6 at 15596996
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
8 additional variables

No balances found for "PerpetualTranche"

No transactions found for "PerpetualTranche"


Functions
Getter at block 21230588
DISCOUNT_DECIMALS(view returns (uint8)
18
HUNDRED_PERC(view returns (uint256)
100000000
PERC_DECIMALS(view returns (uint8)
6
PRICE_DECIMALS(view returns (uint8)
8
UNIT_DISCOUNT(view returns (uint256)
1000000000000000000
UNIT_PERC(view returns (uint256)
1000000
UNIT_PRICE(view returns (uint256)
100000000
bondIssuer(view returns (address)
0x0000000000000000000000000000000000000000
 
collateral(view returns (address)
decimals(view returns (uint8)
0
discountStrategy(view returns (address)
0x0000000000000000000000000000000000000000
feeStrategy(view returns (address)
0x0000000000000000000000000000000000000000
 
feeToken(view returns (address)
keeper(view returns (address)
0x0000000000000000000000000000000000000000
matureValueTargetPerc(view returns (uint256)
0
maxMintAmtPerTranche(view returns (uint256)
0
maxSupply(view returns (uint256)
0
maxTrancheMaturitySec(view returns (uint256)
0
minTrancheMaturitySec(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
perpERC20(view returns (address)
0x3048ec25950fd4cabe8c907d461c37434aac4d07
pricingStrategy(view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeCollector(view returns (address)
0x0000000000000000000000000000000000000000
reserve(view returns (address)
0x3048ec25950fd4cabe8c907d461c37434aac4d07
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
computeDiscount(address tokenview returns (uint256)
computePrice(address tokenview returns (uint256)
mintedSupplyPerTranche(addressview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(uint256 amount
burnFrom(address accountuint256 amount
computeMintAmt(address trancheInuint256 trancheInAmtreturns (uint256)
computeRedemptionAmts(uint256 perpAmtBurntreturns (address[]uint256[])
computeRolloverAmt(address trancheInaddress tokenOutuint256 trancheInAmtAvailableuint256 tokenOutAmtRequestedreturns (struct IPerpetualTrancheRolloverPreview)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(address trancheInuint256 trancheInAmt
getAvgPrice(returns (uint256)
getDepositBond(returns (address)
getMatureTrancheBalance(returns (uint256)
getReserveAt(uint256 ireturns (address)
getReserveCount(returns (uint256)
getReserveTokensUpForRollover(returns (address[])
getReserveTrancheBalance(address tranchereturns (uint256)
inReserve(address tokenreturns (bool)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
init(string namestring symboladdress collateral_address bondIssuer_address feeStrategy_address pricingStrategy_address discountStrategy_
isAcceptableRollover(address trancheInaddress tokenOutreturns (bool)
pause(
redeem(uint256 perpAmtBurnt
renounceOwnership(
rollover(address trancheInaddress tokenOutuint256 trancheInAmtAvailable
transfer(address touint256 amountreturns (bool)
transferERC20(address tokenaddress touint256 amount
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
unpause(
updateBondIssuer(address bondIssuer_
updateDiscountStrategy(address discountStrategy_
updateFeeStrategy(address feeStrategy_
updateKeeper(address newKeeper
updateMatureValueTargetPerc(uint256 matureValueTargetPerc_
updateMintingLimits(uint256 maxSupply_uint256 maxMintAmtPerTranche_
updatePricingStrategy(address pricingStrategy_
updateState(
updateTolerableTrancheMaturity(uint256 minTrancheMaturitySec_uint256 maxTrancheMaturitySec_
Events
Approval(address indexed owneraddress indexed spenderuint256 value
DiscountApplied(address tokenuint256 discount
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
ReserveSynced(address tokenuint256 balance
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
UpdatedBondIssuer(address issuer
UpdatedDepositBond(address bond
UpdatedDiscountStrategy(address strategy
UpdatedFeeStrategy(address strategy
UpdatedKeeper(address prevKeeperaddress newKeeper
UpdatedMatureTrancheBalance(uint256 matureTrancheBalance
UpdatedMatureValueTargetPerc(uint256 matureValueTargetPerc
UpdatedMintingLimits(uint256 maxSupplyuint256 maxMintAmtPerTranche
UpdatedPricingStrategy(address strategy
UpdatedTolerableTrancheMaturity(uint256 minuint256 max
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
BelowMatureValueTargetPerc(uint256 matureValuePercuint256 matureValueTargetPerc
ExceededMaxMintPerTranche(address trancheInuint256 mintAmtForCurrentTrancheuint256 maxMintAmtPerTranche
ExceededMaxSupply(uint256 newSupplyuint256 currentMaxSupply
ExpectedSupplyReduction(uint256 newSupplyuint256 perpSupply
InvalidCollateral(address invalidCollateraladdress underlyingCollateral
InvalidPerc(uint256 value
InvalidStrategyDecimals(uint256 decimalsuint256 expectDecimals
InvalidTrancheMaturityBounds(uint256 minTrancheMaturitySecuint256 maxTrancheMaturitySec
UnacceptableBurnAmt(uint256 requestedBurnAmtuint256 perpSupply
UnacceptableDepositTranche(address trancheInaddress depositBond
UnacceptableMintAmt(uint256 trancheInAmtuint256 perpAmtMint
UnacceptableReference(
UnacceptableRollover(address trancheInaddress tokenOut
UnacceptableRolloverAmt(uint256 trancheInAmtuint256 trancheOutAmtuint256 rolloverAmt
UnauthorizedCall(address calleraddress authorizedCaller
UnauthorizedTransferOut(address token