AFiOracle

Verified contract

Active on Ethereum with 81 txns
Deployed by via 0xe2262f69 at 20697110
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
ERC-20
Value $0.33
ERC-20
Value $0.14
0x21c0002c844d4af8cb85ffb718b9c2069186a3a9a2b499f8353b7d141e4a51df
0x5b1bf7e5629c6d688a26aac747a2822574feee5803b0ddfcdfc4c4444dc65417
0x1eeceec4463f1959bc57c6fe8a1c9e4036be09625d7dd436496e28198e9908fe
0x2e31201c95e11d4934f463f980d1b7df1a7de7c263979bb9969b1c791f59a582
0xb9c5ff68c2466db9abc52a17fa62f0b2de269a961fc9d3c975cf0d911183b630
0xc84440cc7d1fbb2b0bcc9ebc52ce1e9a4ea4bd069ba3babd199a74e6d7889999
0xe01d974b31ccba80e960629502d59497dc431b0369d0a2fd5d061049efc45229
0xa46304a65d1b611b5d9a6400b4e64b99847b4073df5c2ac2c827b9f765e2968a
0x6a7c1850ed04f413184cfc07d062c0116ebef00f6cbb2a8e1b78f25994378f03
0x024afa6bf615406fc0568aff4011a903e1981e8a0e460f149a526640c107be27

Functions
Getter at block 21274268
getAFiContracts(view returns (addressaddressaddress)
(0x475e2220843ad8488d205e5ed3cab55e66ae2ce6, 0x25b5720e9b20be18b4d020153ac26d957c83e341, 0x2b8463052e2878f9b38ae9627344ecc88111617d)
getDaoProfit(view returns (uint256)
10
getDelayModule(view returns (address)
0xe56e418ad7fc784011b93360a4b4a84211d22f24
getFeeDetails(view returns (uint256uint256)
(500000000000000000000, 5000000000000000000000)
getSecAgo(view returns (uint256)
900
getTotalProfit(view returns (uint256)
10
getstalepriceWindowLimit(view returns (uint256)
3600
owner(view returns (address)
0x9fb20e9c9c902940de920b94f3f0c31615b41923
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_fee(addressaddressview returns (uint24)
batchWithdrawCounter(addressview returns (uint256)
estimateAmountOut(address tokenInuint128 amountInaddress tokenOutview returns (uint256 amountOut)
estimateAmountOutMin(address tokenInuint128 amountInaddress tokenOutaddress poolToConsiderview returns (uint256 amountOut)
getControllers(address afiContractview returns (addressaddress)
getLastSwapTime(address afiContractview returns (uint256)
getMidToken(address tokview returns (address)
getPriceAndDecimals(address uTokenaddress feedview returns (int256uint8)
getPriceInUSDC(address tokview returns (uint256uint256)
getStalePriceDelay(address uTokenview returns (uint256)
getSwapPeriod(address afiContractview returns (uint256)
getUserQueuedNAV(address useraddress afiContractaddress oTokenuint256 bCounterview returns (uint256)
getUserQueuedShares(address useraddress afiContractaddress oTokenuint256 bCounterview returns (uint256)
outputTokenUnits(addressaddressuint256view returns (uint256)
queuePausedStatus(addressview returns (bool)
totalQueuedShares(addressuint256view returns (uint256)
totalShares(addressaddressuint256view returns (uint256)
State-modifying
acceptOwnership(
cumulativeSwap(struct IAFiSwapParameters params
increaseObservation(address _pooluint16 observationCardinalityNext
intializeStalePriceDelay(address[] underlyingTokensuint256[] _stalePriceDelay
pause(
pauseUnpauseQueue(address afiContractbool status
queueWithdraw(address afiContractuint256 _sharesaddress oToken
redeem(address aFiContractaddress[] _iTokensuint256 batchWithdrawIndex
renounceOwnership(
setAFiStorage(address _storage
setDelayModule(address _delayModule
setStalePriceDelay(address uTokenuint256 _stalePriceDelay
setcsFee(uint256 _csFee
setcsFeeUpperLimit(uint256 _csFeeUpperLimit
setstalepriceWindowLimit(uint256 _stalePWindow
transferOwnership(address newOwner
unPause(
unqueueWithdraw(address afiContractaddress oToken
unstakeForQueuedWithdrawals(address afiContractaddress oTokenuint256 deadlineuint256[] minimumReturnAmountuint256[] minOutForiTokenbool _updateTVL
unstakingProfitDistribution(address aFiContractaddress _aFiStorageaddress[] iTokenreturns (uint256 totalProfitShare)
updateAFiManager(address _afiManager
updateGlobalFees(address[] tokenAaddress[] tokenBuint24[] fees
updateMidToken(address[] tokaddress[] midTok
updateProfitShare(uint256 _totalProfituint256 _daoProfit
updateRebalContract(address _rebal
updateSecAgo(uint32 sec
updateSwapPeriod(address afiContractuint256 _newSwapPeiod
updateVaultControllers(address afiContractaddress _cumulativeSwapControlleraddress _unstakingController
Events
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
ProfitShareDistributed(address indexed aFiContractaddress indexed teamWalletuint256 amount
ProfitShareUpdated(uint256 daoProfituint256 totalProfit
Unpaused(address account
WithdrawDeQueue(address indexed useruint256 sharesuint256 withdrawCounter
WithdrawQueue(address indexed useruint256 sharesaddress indexed oTokenuint256 withdrawCounter
Constructor
constructor(address passiveRebalContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors
T(