Omnipool

Verified contract

Implementation

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

No balances found for "Omnipool"

No transactions found for "Omnipool"


Functions
Getter at block 21217713
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
 
computeTotalDeviation(view returns (uint256)
decimals(view returns (uint8)
0
getLpToken(view returns (address)
0x0000000000000000000000000000000000000000
 
getTotalAndPerPoolUnderlying(view returns (uint256 totalUnderlying_uint256[] perPoolUnderlying_)
 
getTotalDeposited(view returns (uint256)
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
 
totalUnderlying(view returns (uint256)
totalUnderlyingPools(view returns (uint256)
0
underlyingToken(view returns (address)
0x0000000000000000000000000000000000000000
wethToGemPoolId(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
computeBptValuation(uint256 poolIdview returns (uint256)
extraRewardPools(addressview returns (bytes32)
getTotalBptBalance(uint8 poolIdview returns (uint256)
getUnderlyingBalance(uint8 poolIduint256 _amountuint256 _underlyingPriceview returns (uint256)
getUnderlyingPool(uint8 indexview returns (address)
getUserTotalDeposit(address userview returns (uint256)
isBalancerPool(address poolview returns (bool)
underlyingPools(uint256view returns (address poolAddressbytes32 poolIduint256 targetWeightuint8 poolTypeuint8 assetIndexuint8 bptIndex)
State-modifying
approveForRewardManager(address tokenuint256 amount
changeUnderlyingPool(uint8 idaddress _poolAddressbytes32 _poolIduint256 _weightuint8 _poolType
deposit(uint256 _amountInuint256 _minLpReceived
depositFor(uint256 _amountInaddress _depositForuint256 _minLpReceived
initialize(address _underlyingTokenaddress _registryContractaddress _depositWrapperstring _namestring _symboluint8 tokenDecimals
setAllowWithdrawals(bool _allowWithdrawals
setExtraRewardPool(address _tokenbytes32 _poolId
setGemPoolId(bytes32 _poolId
setMaxDeviation(uint256 _maxDeviation
setRewardManager(address _rewardManager
swapForGem(address _tokenuint256 _amountInint256[] _amountsOutMinuint256 _deadlinereturns (bool)
togglePool(returns (bool)
updateWeights(struct IOmnipoolControllerWeightUpdate[] poolWeights
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 _amountOutuint256 _minUnderlyingReceived
Events
Activated(
DepegThresholdUpdated(uint256 newDepegThreshold_
Deposit(address indexed useruint256 amountInuint256 lpReceived
ExtraRewardPoolIdUpdated(address tokenbytes32 poolId
GemPoolIdUpdated(bytes32 poolId
HandledDepeggedPool(address pool_
Initialized(uint64 version
NewWeight(address pool_uint256 weight_
Shutdown(
Upgraded(address indexed implementation
Withdraw(address indexed useruint256 amountOutuint256 underlyingReceived
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(