Omnipool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Omnipool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Omnipool"
ABI
ABI objects
Getter at block 21217713 computeTotalDeviation() view returns (uint256) getTotalAndPerPoolUnderlying() view returns (uint256 totalUnderlying_, uint256[] perPoolUnderlying_) getTotalDeposited() view returns (uint256) totalUnderlying() view returns (uint256)
GEM() view returns (address)
0x0000000000000000000000000000000000000000
POOL_ADDRESS() view returns (address)
0x0000000000000000000000000000000000000000
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
WETH() view returns (address)
0x0000000000000000000000000000000000000000
allowWithdrawals() view returns (bool)
false
auraRewardPoolDepositWrapper() view returns (address)
0x0000000000000000000000000000000000000000
balancerVault() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
0
getLpToken() view returns (address)
0x0000000000000000000000000000000000000000
getTotalDeviationAfterUpdate() view returns (uint256)
0
getUnderlyingPoolsLength() view returns (uint8)
0
getUnderlyingToken() view returns (address)
0x0000000000000000000000000000000000000000
isShutdown() view returns (bool)
false
lpToken() view returns (address)
0x0000000000000000000000000000000000000000
maxDeviation() view returns (uint256)
0
opalTreasury() view returns (address)
0x0000000000000000000000000000000000000000
oracle() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
rebalancingRewardActive() view returns (bool)
false
registryAccess() view returns (address)
0x0000000000000000000000000000000000000000
registryContract() view returns (address)
0x0000000000000000000000000000000000000000
rewardManager() view returns (address)
0x0000000000000000000000000000000000000000
totalDeviationAfterWeightUpdate() view returns (uint256)
0
totalUnderlyingPools() view returns (uint256)
0
underlyingToken() view returns (address)
0x0000000000000000000000000000000000000000
wethToGemPoolId() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
computeBptValuation(uint256 poolId) view returns (uint256)
extraRewardPools(address) view returns (bytes32)
getTotalBptBalance(uint8 poolId) view returns (uint256)
getUnderlyingBalance(uint8 poolId, uint256 _amount, uint256 _underlyingPrice) view returns (uint256)
getUnderlyingPool(uint8 index) view returns (address)
getUserTotalDeposit(address user) view returns (uint256)
isBalancerPool(address pool) view returns (bool)
underlyingPools(uint256) view returns (address poolAddress, bytes32 poolId, uint256 targetWeight, uint8 poolType, uint8 assetIndex, uint8 bptIndex)
State-modifying
Events approveForRewardManager(address token, uint256 amount)
changeUnderlyingPool(uint8 id, address _poolAddress, bytes32 _poolId, uint256 _weight, uint8 _poolType)
deposit(uint256 _amountIn, uint256 _minLpReceived)
depositFor(uint256 _amountIn, address _depositFor, uint256 _minLpReceived)
initialize(address _underlyingToken, address _registryContract, address _depositWrapper, string _name, string _symbol, uint8 tokenDecimals)
setAllowWithdrawals(bool _allowWithdrawals)
setExtraRewardPool(address _token, bytes32 _poolId)
setGemPoolId(bytes32 _poolId)
setMaxDeviation(uint256 _maxDeviation)
setRewardManager(address _rewardManager)
swapForGem(address _token, uint256 _amountIn, int256[] _amountsOutMin, uint256 _deadline) returns (bool)
togglePool() returns (bool)
updateWeights(struct IOmnipoolControllerWeightUpdate[] poolWeights)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(uint256 _amountOut, uint256 _minUnderlyingReceived)
Activated()
DepegThresholdUpdated(uint256 newDepegThreshold_)
Deposit(address indexed user, uint256 amountIn, uint256 lpReceived)
ExtraRewardPoolIdUpdated(address token, bytes32 poolId)
GemPoolIdUpdated(bytes32 poolId)
HandledDepeggedPool(address pool_)
Initialized(uint64 version)
NewWeight(address pool_, uint256 weight_)
Shutdown()
Upgraded(address indexed implementation)
Withdraw(address indexed user, uint256 amountOut, uint256 underlyingReceived)
constructor()
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
AssetIndexNotFound()
CannotSetRewardManagerTwice()
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
ErrorRetrievingDepositPool()
ErrorRetrievingWithdrawalPool()
FailedInnerCall()
InvalidAmountIn()
InvalidInitialization()
InvalidThreshold()
NotAuthorized()
NotEnoughBalance()
NotInitializing()
NotSumToOne()
NullAddress()
PoolCantBeAddedTwice()
PoolNotFound()
PoolShutdown()
SafeERC20FailedOperation(address token)
TooMuchSlippage()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)
WithdrawFailed()