SmartYieldaV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x8a72c056 at 15457192
Slot
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

No balances found for "SmartYieldaV2"

No transactions found for "SmartYieldaV2"


Functions
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 _debtview returns (uint256uint256)
_computeLtv(struct SmartYieldaV2Debt _debtview returns (uint256uint256)
bondData(addressview returns (uint256 startuint256 enduint256 feeRateaddress nextTermaddress bonduint256 realizedYieldbool liquidated)
debtData(uint256view returns (address borrowAssetuint256 borrowAmountuint40 startuint128 borrowRateaddress collateralBonduint256 collateralAmountuint8 statusaddress borrower)
getHealthFactor(uint256 _debtIdview returns (uint256 healthFactoruint256 compoundedBalance)
State-modifying
addLiquidity(uint256 _tokenAmount
borrow(address _bonduint256 _bondAmountaddress _borrowAssetuint256 _borrowAmount
buyBond(address _bonduint256 _tokenAmount
claimReward(address _to
disableBorrowAsset(address _asset
enableBorrowAsset(address _asset
initialize(address _controlleraddress _aTokenaddress _providerImpladdress _bondTokenImpluint256 _withdrawWindowuint256 _healthFactorGuard
liquidateDebt(uint256 _debtId
liquidateTerm(address _bond
provideRealizedYield(address _bonduint256 _tokenAmount
redeemBond(address _bonduint256 _tokenAmount
removeLiquidity(uint256 _tokenAmount
repay(uint256 _debtId
rolloverBond(address _bonduint256 _tokenAmount
setHealthFactorGuard(uint256 _healthFactorGuard
setNextTermFor(uint256 _startuint16 _termLengthuint16 _feeRateaddress _currentTerm
setPaused(bool _paused
setUserUseReserveAsCollateral(address _assetbool _useAsCollateral
setVault(address _vault
withdraw(address _bonduint256 _withdrawAmount
Events
AddLiquidity(address indexed owneruint256 providerBalanceuint256 amount
BondIssued(address indexed owneraddress indexed bonduint256 amount
BondRedeemed(address indexed owneraddress indexed bonduint256 amountuint256 feeuint256 rewards
BondRolledOver(address indexed owneraddress indexed oldBondaddress indexed newBonduint256 oldAmountuint256 newAmountuint256 feeuint256 rewards
BondWithdrawn(address indexed owneraddress indexed bonduint256 amount
Borrowed(address indexed useruint256 nextIdstruct SmartYieldaV2Debt debt
Initialized(uint8 version
InjectedRealizedYield(address indexed useraddress indexed bondstruct SmartYieldaV2TermInfo term
Liquidated(address indexed useruint256 debtIdstruct SmartYieldaV2Debt debt
RemoveLiquidity(address indexed owneruint256 providerBalanceuint256 amount
Repaied(address indexed useruint256 debtIdstruct SmartYieldaV2Debt debt
RewardsClaimed(address indexed useraddress indexed touint256 claimedAmounts
TermLiquidated(address indexed bondstruct SmartYieldaV2TermInfo nextTerm
TermSetUp(address indexed controlleraddress indexed bondstruct SmartYieldaV2TermInfo currentTermstruct SmartYieldaV2TermInfo term
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.