AFiStorage

Verified contract

Active on Ethereum with 4 txns
Deployed by via 0x55a3da28 at 20697123
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables

No balances found for "AFiStorage"

0xc8cf4938046de2d8d21cd4c2d7fb271bf3f44e2d732d4cf9b55daf5c0968c0ae
0xc3159625ed85e48dade2785c5b6f06a0162ffcc8136bac3e05a934c71f174f9a
0xec9c69c7576fd31141a914733dc10b4441395178e501d8b9eedf132e8bbe35e4
0x2011beca1a2da384125145cd85ad5b01c58ee1bc5faa28f5c62348158aaffe16

Functions
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(addressaddressview returns (address)
balanceAave(address tokaddress afiContractview returns (uint256)
balanceCompV3(address tokaddress afiContractview returns (uint256 bal)
balanceCompound(address tokaddress afiContractview returns (uint256)
balanceCompoundInToken(address tokaddress afiContractview returns (uint256)
calcPoolValue(address tokaddress afiContractview returns (uint256)
calculateBalanceOfUnderlying(address tokaddress afiContractview returns (uint256)
calculatePoolInUsd(address afiContractview returns (uint256)
calculateRedemptionFromContract(address afiContractaddress tokuint256 rview returns (uint256 pricebool stakedStatusuint256 redemptionValueFromContractuint256 multiplieruint256 tvl)
calculateShares(address afiContractuint256 amountuint256 prevPooluint256 _totalSupplyaddress iTokenuint256 currentDepositNAVuint256 prevBalanceview returns (uint256 sharesuint256 newDepositNAV)
compoundCometCopy(addressaddressview returns (address)
compoundCopy(addressaddressview returns (address)
convertInUSDAndTok(address tokuint256 amtbool usdview returns (uint256)
getPreSwapDepositsTokens(address aFiContractuint256 _cSwapCounteraddress stableTokenview returns (uint256)
getPriceInUSDC(address tokview returns (uint256uint256)
getStakedStatus(address aFiContractaddress uTokenview returns (bool)
getTeamWalletDetails(address aFiContractaddress _walletview returns (bool isActivebool isPresent)
getTeamWalletsOfAFi(address aFiContractview returns (address[] _teamWallets)
getTotalActiveWallets(address aFiContractview returns (uint256)
isAFiActive(addressview returns (bool)
isAFiActiveRebalanced(address aFiContractview returns (bool _isActiveRebalanced)
isSwapMethodPaused(address afiContractuint256 swapMethodview returns (bool)
preDepositedInputTokens(addressuint256addressview returns (uint256)
provider(addressaddressview returns (uint256)
stablesWithdrawalLimit(addressview returns (uint256)
stablesWithdrawn(addressuint256view returns (uint256)
swapMethodPaused(addressuint256view returns (bool)
tvlRead(address tokaddress afiContractview returns (uint256uint256)
validateAndGetDecimals(address tokview returns (uint256)
State-modifying
_withdrawAll(address afiContractaddress tokreturns (bool)
acceptOwnership(
addTeamWallet(address aFiContractaddress walletbool isActivebool isPresent
afiSync(address afiContractaddress tokaddress aaveTokaddress compCometaddress compTok
deactivateTeamWallet(address aFiContractaddress wallet
deletePreDepositedInputToken(address aFiContractaddress oTokenuint256 currentCounter
doSwapForThewhiteListRemoval(address tokuint256 _cSwapCounteraddress swapTokenuint256 deadlineuint256 minAmountOut
handleRedemption(struct IAFiStorageRedemptionParams paramsuint256 _sharesuint256 swapMethodreturns (uint256 redemptionFromContract)
pauseSwapMethods(address afiContractuint256[] methodsbool[] statuses
reActivateTeamWallet(address aFiContractaddress wallet
rearrange(address aFiContractaddress[] underlyingTokensuint256[] newProviders
renounceOwnership(
setAFiActive(address aFiContractbool active
setAFiManager(address _aFiManager
setActiveRebalancedStatus(address aFiContractbool status
setDelayModule(address _delayModule
setMaxSwapFee(uint256 fee
setPreDepositedInputToken(uint256 _cSwapCounteruint256 _amountaddress _oToken
setPreDepositedInputTokenInRebalance(address aficontractuint256 _cSwapCounteruint256 _amountaddress _oToken
setStablesWithdrawalLimit(address afiContractuint256 limit
setTeamWallets(address aFiContractaddress[] _teamWallets
swapForOtherProduct(address afiContractuint256 raddress oTokenuint256 deadlineuint256[] minimumReturnAmountaddress[] uTokenreturns (uint256)
transferOwnership(address newOwner
Events
DeactivateTeamWallet(address aFiContractaddress wallet
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProfitShareDistributed(address indexed aFiContractaddress indexed teamWalletuint256 amount
ReActivateTeamWallet(address aFiContractaddress wallet
SetAFiActive(address indexed aFiContractbool status
SetAFiManager(address indexed afiContractaddress manager
SetActiveRebalancedStatus(address indexed aFiContractbool status
TeamWalletActive(address indexed walletAddressbool isActive
TeamWalletAdd(address indexed walletAddressbool isActive
Constructor
constructor(address _aFiManageraddress oracleV3address _passiveRebaladdress _aFiFactory
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.