TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16743907 | 2 years ago | | | 0 | 0.0080415275 | |
| 16434595 | 2 years ago | | | 0 | 0.0073450002 | |
| 16314101 | 2 years ago | | | 0 | 0.0050806277 | |
| 16233487 | 2 years ago | | | 0 | 0.0041102363 | |
| 16230149 | 2 years ago | | | 0 | 0.00090753115 | |
| 16230145 | 2 years ago | | | 0 | 0.0046683155 | |
| 16224945 | 2 years ago | | | 0 | 0.0046499230 | |
| 16215046 | 2 years ago | | | 0 | 0.0033447600 | |
| 16213777 | 2 years ago | | | 0 | 0.0040135680 | |
| 16213632 | 2 years ago | | | 0 | 0.0036488556 |
ABI
ABI objects
Getter at block 21318829 _currentRealizedYield() view returns (uint256 _realizedYield)
activeTerm() view returns (address)
0xe2cf873b96c8327a63932a0578ec37cab1c89093
bondProvider() view returns (address)
0xa88c817b0f1e2fa090ba503ef67ddb20726148ea
bondTokenImpl() view returns (address)
0x3f1288c622c99f23b5cdcf420ede7138e2430aff
controller() view returns (address)
0x072bb8c41fa42ee30822d8f33058a0731205ee5a
healthFactorGuard() view returns (uint256)
110
liquidityProviderBalance() view returns (uint256)
107188068406872450854
paused() view returns (bool)
false
underlying() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
vault() view returns (address)
0x072bb8c41fa42ee30822d8f33058a0731205ee5a
withdrawWindow() view returns (uint256)
86400
Read-only
_computeHealthFactor(struct SmartYieldaV2FixDebt _debt) view returns (uint256, uint256)
_computeLtv(struct SmartYieldaV2FixDebt _debt) view returns (uint256, uint256)
bondData(address) view returns (uint256 start, uint256 end, uint256 feeRate, address nextTerm, address bond, uint256 realizedYield, bool liquidated)
debtData(uint256) view returns (address borrowAsset, uint256 borrowAmount, uint40 start, uint128 borrowRate, address collateralBond, uint256 collateralAmount, uint8 status, address borrower)
getHealthFactor(uint256 _debtId) view returns (uint256 healthFactor, uint256 compoundedBalance)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addLiquidity(uint256 _tokenAmount)
borrow(address _bond, uint256 _bondAmount, address _borrowAsset, uint256 _borrowAmount)
buyBond(address _bond, uint256 _tokenAmount)
claimReward(address _to)
disableBorrowAsset(address _asset)
enableBorrowAsset(address _asset)
initialize(address _controller, address _aToken, address _providerImpl, address _bondTokenImpl, uint256 _withdrawWindow, uint256 _healthFactorGuard)
liquidateDebt(uint256 _debtId)
liquidateTerm(address _bond)
provideRealizedYield(address _bond, uint256 _tokenAmount)
redeemBond(address _bond, uint256 _tokenAmount)
removeLiquidity(uint256 _tokenAmount)
repay(uint256 _debtId)
rolloverBond(address _bond, uint256 _tokenAmount)
setHealthFactorGuard(uint256 _healthFactorGuard)
setNextTermFor(uint256 _start, uint16 _termLength, uint16 _feeRate, address _currentTerm)
setPaused(bool _paused)
setUserUseReserveAsCollateral(address _asset, bool _useAsCollateral)
setVault(address _vault)
withdraw(address _bond, uint256 _withdrawAmount)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AddLiquidity(address indexed owner, uint256 providerBalance, uint256 amount)
BondIssued(address indexed owner, address indexed bond, uint256 amount)
BondRedeemed(address indexed owner, address indexed bond, uint256 amount, uint256 fee, uint256 rewards)
BondRolledOver(address indexed owner, address indexed oldBond, address indexed newBond, uint256 oldAmount, uint256 newAmount, uint256 fee, uint256 rewards)
BondWithdrawn(address indexed owner, address indexed bond, uint256 amount)
Borrowed(address indexed user, uint256 nextId, struct SmartYieldaV2FixDebt debt)
Initialized(uint8 version)
InjectedRealizedYield(address indexed user, address indexed bond, struct SmartYieldaV2FixTermInfo term)
Liquidated(address indexed user, uint256 debtId, struct SmartYieldaV2FixDebt debt)
RemoveLiquidity(address indexed owner, uint256 providerBalance, uint256 amount)
Repaied(address indexed user, uint256 debtId, struct SmartYieldaV2FixDebt debt)
RewardsClaimed(address indexed user, address indexed to, uint256 claimedAmounts)
TermLiquidated(address indexed bond, struct SmartYieldaV2FixTermInfo nextTerm)
TermSetUp(address indexed controller, address indexed bond, struct SmartYieldaV2FixTermInfo currentTerm, struct SmartYieldaV2FixTermInfo term)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.