SmartYieldaV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
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 "SmartYieldaV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SmartYieldaV2"
ABI
ABI objects
Getter at block 21328833 _currentRealizedYield() view returns (uint256 _realizedYield)
activeTerm() view returns (address)
0x0000000000000000000000000000000000000000
bondProvider() view returns (address)
0x0000000000000000000000000000000000000000
bondTokenImpl() view returns (address)
0x0000000000000000000000000000000000000000
controller() view returns (address)
0x0000000000000000000000000000000000000000
healthFactorGuard() view returns (uint256)
0
liquidityProviderBalance() view returns (uint256)
0
paused() view returns (bool)
false
underlying() view returns (address)
0x0000000000000000000000000000000000000000
vault() view returns (address)
0x0000000000000000000000000000000000000000
withdrawWindow() view returns (uint256)
0
Read-only
_computeHealthFactor(struct SmartYieldaV2Debt _debt) view returns (uint256, uint256)
_computeLtv(struct SmartYieldaV2Debt _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 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)
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 SmartYieldaV2Debt debt)
Initialized(uint8 version)
InjectedRealizedYield(address indexed user, address indexed bond, struct SmartYieldaV2TermInfo term)
Liquidated(address indexed user, uint256 debtId, struct SmartYieldaV2Debt debt)
RemoveLiquidity(address indexed owner, uint256 providerBalance, uint256 amount)
Repaied(address indexed user, uint256 debtId, struct SmartYieldaV2Debt debt)
RewardsClaimed(address indexed user, address indexed to, uint256 claimedAmounts)
TermLiquidated(address indexed bond, struct SmartYieldaV2TermInfo nextTerm)
TermSetUp(address indexed controller, address indexed bond, struct SmartYieldaV2TermInfo currentTerm, struct SmartYieldaV2TermInfo term)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.