Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($0.00)
No balances found for "AFiStorage"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20713304 | 3 months ago | | | 0 | 0.00040638185 | |
| 20713085 | 3 months ago | | | 0 | 0.00017406381 | |
| 20697492 | 3 months ago | | | 0 | 0.00018470373 | |
| 20697483 | 3 months ago | | | 0 | 0.00011500956 |
ABI
ABI objects
Getter at block 21313211
aFiFactory() view returns (address)
0xa4c0babb949569cc20f83ee891f620aaeed9a5ab
getAFiOracle() view returns (address)
0x11747c3284b5f8088e815e5cf2e5c3062da55d5b
getDelayModule() view returns (address)
0xe56e418ad7fc784011b93360a4b4a84211d22f24
maxSwapFee() view returns (uint256)
0
owner() view returns (address)
0x9fb20e9c9c902940de920b94f3f0c31615b41923
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
uniswapOracleV3() view returns (address)
0x11747c3284b5f8088e815e5cf2e5c3062da55d5b
Read-only
aaveTokenCopy(address, address) view returns (address)
balanceAave(address tok, address afiContract) view returns (uint256)
balanceCompV3(address tok, address afiContract) view returns (uint256 bal)
balanceCompound(address tok, address afiContract) view returns (uint256)
balanceCompoundInToken(address tok, address afiContract) view returns (uint256)
calcPoolValue(address tok, address afiContract) view returns (uint256)
calculateBalanceOfUnderlying(address tok, address afiContract) view returns (uint256)
calculatePoolInUsd(address afiContract) view returns (uint256)
calculateRedemptionFromContract(address afiContract, address tok, uint256 r) view returns (uint256 price, bool stakedStatus, uint256 redemptionValueFromContract, uint256 multiplier, uint256 tvl)
calculateShares(address afiContract, uint256 amount, uint256 prevPool, uint256 _totalSupply, address iToken, uint256 currentDepositNAV, uint256 prevBalance) view returns (uint256 shares, uint256 newDepositNAV)
compoundCometCopy(address, address) view returns (address)
compoundCopy(address, address) view returns (address)
convertInUSDAndTok(address tok, uint256 amt, bool usd) view returns (uint256)
getPreSwapDepositsTokens(address aFiContract, uint256 _cSwapCounter, address stableToken) view returns (uint256)
getPriceInUSDC(address tok) view returns (uint256, uint256)
getStakedStatus(address aFiContract, address uToken) view returns (bool)
getTeamWalletDetails(address aFiContract, address _wallet) view returns (bool isActive, bool isPresent)
getTeamWalletsOfAFi(address aFiContract) view returns (address[] _teamWallets)
getTotalActiveWallets(address aFiContract) view returns (uint256)
isAFiActive(address) view returns (bool)
isAFiActiveRebalanced(address aFiContract) view returns (bool _isActiveRebalanced)
isSwapMethodPaused(address afiContract, uint256 swapMethod) view returns (bool)
preDepositedInputTokens(address, uint256, address) view returns (uint256)
provider(address, address) view returns (uint256)
stablesWithdrawalLimit(address) view returns (uint256)
stablesWithdrawn(address, uint256) view returns (uint256)
swapMethodPaused(address, uint256) view returns (bool)
tvlRead(address tok, address afiContract) view returns (uint256, uint256)
validateAndGetDecimals(address tok) view returns (uint256)
State-modifying
Events _withdrawAll(address afiContract, address tok) returns (bool)
acceptOwnership()
addTeamWallet(address aFiContract, address wallet, bool isActive, bool isPresent)
afiSync(address afiContract, address tok, address aaveTok, address compComet, address compTok)
deactivateTeamWallet(address aFiContract, address wallet)
deletePreDepositedInputToken(address aFiContract, address oToken, uint256 currentCounter)
doSwapForThewhiteListRemoval(address tok, uint256 _cSwapCounter, address swapToken, uint256 deadline, uint256 minAmountOut)
handleRedemption(struct IAFiStorageRedemptionParams params, uint256 _shares, uint256 swapMethod) returns (uint256 redemptionFromContract)
pauseSwapMethods(address afiContract, uint256[] methods, bool[] statuses)
reActivateTeamWallet(address aFiContract, address wallet)
rearrange(address aFiContract, address[] underlyingTokens, uint256[] newProviders)
renounceOwnership()
setAFiActive(address aFiContract, bool active)
setAFiManager(address _aFiManager)
setActiveRebalancedStatus(address aFiContract, bool status)
setDelayModule(address _delayModule)
setMaxSwapFee(uint256 fee)
setPreDepositedInputToken(uint256 _cSwapCounter, uint256 _amount, address _oToken)
setPreDepositedInputTokenInRebalance(address aficontract, uint256 _cSwapCounter, uint256 _amount, address _oToken)
setStablesWithdrawalLimit(address afiContract, uint256 limit)
setTeamWallets(address aFiContract, address[] _teamWallets)
swapForOtherProduct(address afiContract, uint256 r, address oToken, uint256 deadline, uint256[] minimumReturnAmount, address[] uToken) returns (uint256)
transferOwnership(address newOwner)
DeactivateTeamWallet(address aFiContract, address wallet)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProfitShareDistributed(address indexed aFiContract, address indexed teamWallet, uint256 amount)
ReActivateTeamWallet(address aFiContract, address wallet)
SetAFiActive(address indexed aFiContract, bool status)
SetAFiManager(address indexed afiContract, address manager)
SetActiveRebalancedStatus(address indexed aFiContract, bool status)
TeamWalletActive(address indexed walletAddress, bool isActive)
TeamWalletAdd(address indexed walletAddress, bool isActive)
constructor(address _aFiManager, address oracleV3, address _passiveRebal, address _aFiFactory)
This contract contains no fallback and receive objects.
This contract contains no error objects.