Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CurveMetaRegistry
Compiler Version
vyper:0.3.10
Contract Source Code (Vyper language format)
# pragma version 0.3.10 # pragma evm-version paris """ @title CurveMetaRegistry """ # ---- interfaces ---- # interface AddressProvider: def admin() -> address: view # registry and registry handlers are considered to be the same here. # registry handlers are just wrapper contracts that simplify/fix underlying registries # for integrating it into the Metaregistry. interface RegistryHandler: def find_pool_for_coins(_from: address, _to: address, i: uint256 = 0) -> address: view def get_admin_balances(_pool: address) -> uint256[MAX_COINS]: view def get_balances(_pool: address) -> uint256[MAX_COINS]: view def get_base_pool(_pool: address) -> address: view def get_coins(_pool: address) -> address[MAX_COINS]: view def get_coin_indices(_pool: address, _from: address, _to: address) -> (int128, int128, bool): view def get_decimals(_pool: address) -> uint256[MAX_COINS]: view def get_fees(_pool: address) -> uint256[10]: view def get_lp_token(_pool: address) -> address: view def get_n_coins(_pool: address) -> uint256: view def get_n_underlying_coins(_pool: address) -> uint256: view def get_pool_asset_type(_pool: address) -> uint256: view def get_pool_from_lp_token(_lp_token: address) -> address: view def get_pool_name(_pool: address) -> String[64]: view def get_pool_params(_pool: address) -> uint256[20]: view def get_underlying_balances(_pool: address) -> uint256[MAX_COINS]: view def get_underlying_coins(_pool: address) -> address[MAX_COINS]: view def get_underlying_decimals(_pool: address) -> uint256[MAX_COINS]: view def is_meta(_pool: address) -> bool: view def is_registered(_pool: address) -> bool: view def pool_count() -> uint256: view def pool_list(_index: uint256) -> address: view def get_virtual_price_from_lp_token(_addr: address) -> uint256: view def base_registry() -> address: view interface GaugeFactory: def get_gauge_from_lp_token(_lp_token: address) -> address: view # ---- events ---- # event CommitNewAdmin: deadline: indexed(uint256) admin: indexed(address) event NewAdmin: admin: indexed(address) # ---- constants ---- # MAX_REGISTRIES: constant(uint256) = 10 MAX_COINS: constant(uint256) = 8 MAX_POOL_PARAMS: constant(uint256) = 20 ADMIN_ACTIONS_DELAY: constant(uint256) = 3 * 86400 # ---- storage variables ---- # admin: public(address) future_admin: public(address) # get registry/registry_handler by index, index starts at 0: get_registry: public(HashMap[uint256, address]) registry_length: public(uint256) gauge_factory: public(GaugeFactory) gauge_type: public(int128) # ---- constructor ---- # @external def __init__(_gauge_factory: address, _gauge_type: int128): self.admin = msg.sender self.gauge_factory = GaugeFactory(_gauge_factory) self.gauge_type = _gauge_type # ---- internal methods ---- # @internal def _update_single_registry(_index: uint256, _registry_handler: address): assert _index <= self.registry_length if _index == self.registry_length: self.registry_length += 1 self.get_registry[_index] = _registry_handler @internal @view def _get_pool_from_lp_token(_token: address) -> address: for i in range(MAX_REGISTRIES): if i == self.registry_length: break handler: address = self.get_registry[i] pool: address = RegistryHandler(handler).get_pool_from_lp_token(_token) if pool != empty(address): return pool return empty(address) @internal @view def _get_registry_handlers_from_pool(_pool: address) -> address[MAX_REGISTRIES]: """ @notice Get registry handler that handles the registry api for a pool @dev sometimes a factory pool can be registered in a manual registry because of this, we always take the last registry a pool is registered in and not the first, as manual registries are first and factories come later @param _pool address of the pool @return registry_handlers: address[MAX_REGISTRIES] """ pool_registry_handler: address[MAX_REGISTRIES] = empty(address[MAX_REGISTRIES]) c: uint256 = 0 for i in range(MAX_REGISTRIES): if i == self.registry_length: break handler: address = self.get_registry[i] if RegistryHandler(handler).is_registered(_pool): pool_registry_handler[c] = handler c += 1 if pool_registry_handler[0] == empty(address): raise "no registry" return pool_registry_handler # ---- most used methods: Admin / DAO privileged methods ---- # @external def add_registry_handler(_registry_handler: address): """ @notice Adds a registry from the address provider entry @param _registry_handler Address of the handler contract """ assert msg.sender == self.admin # dev: only admin self._update_single_registry(self.registry_length, _registry_handler) @external def update_registry_handler(_index: uint256, _registry_handler: address): """ @notice Updates the contract used to handle a registry @param _index The index of the registry in get_registry @param _registry_handler Address of the new handler contract """ assert msg.sender == self.admin # dev: only admin assert _index < self.registry_length self._update_single_registry(_index, _registry_handler) @external def update_gauge_data(_gauge_factory: address, _gauge_type: int128): assert msg.sender == self.admin self.gauge_factory = GaugeFactory(_gauge_factory) self.gauge_type = _gauge_type # ---- view methods (API) of the contract ---- # @external @view def get_registry_handlers_from_pool(_pool: address) -> address[MAX_REGISTRIES]: """ @notice Get the registry handlers associated with a pool @param _pool Pool address @return List of registry handlers """ return self._get_registry_handlers_from_pool(_pool) @external @view def get_base_registry(registry_handler: address) -> address: """ @notice Get the registry associated with a registry handler @param registry_handler Registry Handler address @return Address of base registry """ return RegistryHandler(registry_handler).base_registry() @view @external def find_pool_for_coins( _from: address, _to: address, i: uint256 = 0 ) -> address: """ @notice Find the ith available pool containing the input pair @param _from Address of coin to be sent @param _to Address of coin to be received @param i Index of the pool to return @return Pool address """ pools_found: uint256 = 0 pool: address = empty(address) registry: address = empty(address) for registry_index in range(MAX_REGISTRIES): registry = self.get_registry[registry_index] if registry == empty(address): break for j in range(0, 65536): pool = RegistryHandler(registry).find_pool_for_coins(_from, _to, j) if pool == empty(address): break pools_found += 1 if pools_found > i: return pool return pool @view @external def find_pools_for_coins(_from: address, _to: address) -> DynArray[address, 1000]: """ @notice Find all pools that contain the input pair @param _from Address of coin to be sent @param _to Address of coin to be received @return Pool addresses """ pools_found: DynArray[address, 1000]= empty(DynArray[address, 1000]) pool: address = empty(address) registry: address = empty(address) for registry_index in range(MAX_REGISTRIES): registry = self.get_registry[registry_index] if registry == empty(address): break for j in range(0, 65536): pool = RegistryHandler(registry).find_pool_for_coins(_from, _to, j) if pool == empty(address): break pools_found.append(pool) return pools_found @external @view def get_admin_balances(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_COINS]: """ @notice Get the current admin balances (uncollected fees) for a pool @dev _handler_id < 1 if pool is registry in one handler, more than 0 otherwise @param _pool Pool address @param _handler_id id of registry handler @return List of uint256 admin balances """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_admin_balances(_pool) @external @view def get_balances(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_COINS]: """ @notice Get balances for each coin within a pool @dev For metapools, these are the wrapped coin balances @param _pool Pool address @param _handler_id id of registry handler @return uint256 list of balances """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_balances(_pool) @external @view def get_base_pool(_pool: address, _handler_id: uint256 = 0) -> address: """ @notice Get the base pool for a given factory metapool @dev Will return empty(address) if pool is not a metapool @param _pool Metapool address @param _handler_id id of registry handler @return Address of base pool """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_base_pool(_pool) @view @external def get_coin_indices(_pool: address, _from: address, _to: address, _handler_id: uint256 = 0) -> (int128, int128, bool): """ @notice Convert coin addresses to indices for use with pool methods @param _pool Pool address @param _from Coin address to be used as `i` within a pool @param _to Coin address to be used as `j` within a pool @param _handler_id id of registry handler @return from index, to index, is the market underlying ? """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_coin_indices(_pool, _from, _to) @external @view def get_coins(_pool: address, _handler_id: uint256 = 0) -> address[MAX_COINS]: """ @notice Get the coins within a pool @dev For metapools, these are the wrapped coin addresses @param _pool Pool address @param _handler_id id of registry handler @return List of coin addresses """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_coins(_pool) @external @view def get_decimals(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_COINS]: """ @notice Get decimal places for each coin within a pool @dev For metapools, these are the wrapped coin decimal places @param _pool Pool address @param _handler_id id of registry handler @return uint256 list of decimals """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_decimals(_pool) @external @view def get_fees(_pool: address, _handler_id: uint256 = 0) -> uint256[10]: """ @notice Get pool fees @dev Fees are expressed as integers @param _pool Pool address @param _handler_id id of registry handler @return Pool fee as uint256 with 1e10 precision Admin fee as 1e10 percentage of pool fee Mid fee Out fee 6 blank spots for future use cases """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_fees(_pool) @external @view def get_gauge(_pool: address, gauge_idx: uint256 = 0, _handler_id: uint256 = 0) -> address: """ @notice Get a single liquidity gauge contract associated with a pool @param _pool Pool address @param gauge_idx Index of gauge to return @param _handler_id id of registry handler @return Address of gauge """ lp_token: address = RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_lp_token(_pool) return self.gauge_factory.get_gauge_from_lp_token(lp_token) @external @view def get_gauge_type(_pool: address, gauge_idx: uint256 = 0, _handler_id: uint256 = 0) -> int128: """ @notice Get gauge_type of a single liquidity gauge contract associated with a pool @param _pool Pool address @param gauge_idx Index of gauge to return @param _handler_id id of registry handler @return Address of gauge """ return self.gauge_type @external @view def get_lp_token(_pool: address, _handler_id: uint256 = 0) -> address: """ @notice Get the address of the LP token of a pool @param _pool Pool address @param _handler_id id of registry handler @return Address of the LP token """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_lp_token(_pool) @external @view def get_n_coins(_pool: address, _handler_id: uint256 = 0) -> uint256: """ @notice Get the number of coins in a pool @dev For metapools, it is tokens + wrapping/lending token (no underlying) @param _pool Pool address @return Number of coins """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_n_coins(_pool) @external @view def get_n_underlying_coins(_pool: address, _handler_id: uint256 = 0) -> uint256: """ @notice Get the number of underlying coins in a pool @dev For non metapools, returns the same as get_n_coins @param _pool Pool address @return Number of coins """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_n_underlying_coins(_pool) @external @view def get_pool_asset_type(_pool: address, _handler_id: uint256 = 0) -> uint256: """ @notice Query the asset type of `_pool` @param _pool Pool Address @return The asset type as an unstripped string @dev 0 : USD, 1: ETH, 2: BTC, 3: Other, 4: CryptoSwap """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_pool_asset_type(_pool) @external @view def get_pool_from_lp_token(_token: address, _handler_id: uint256 = 0) -> address: """ @notice Get the pool associated with an LP token @param _token LP token address @return Pool address """ return self._get_pool_from_lp_token(_token) @external @view def get_pool_params(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_POOL_PARAMS]: """ @notice Get the parameters of a pool @param _pool Pool address @param _handler_id id of registry handler @return Pool parameters """ registry_handler: address = self._get_registry_handlers_from_pool(_pool)[_handler_id] return RegistryHandler(registry_handler).get_pool_params(_pool) @external @view def get_pool_name(_pool: address, _handler_id: uint256 = 0) -> String[64]: """ @notice Get the given name for a pool @param _pool Pool address @return The name of a pool """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_pool_name(_pool) @external @view def get_underlying_balances(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_COINS]: """ @notice Get balances for each underlying coin within a pool @dev For non metapools, returns the same value as `get_balances` @param _pool Pool address @param _handler_id id of registry handler @return uint256 List of underlyingbalances """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_underlying_balances(_pool) @external @view def get_underlying_coins(_pool: address, _handler_id: uint256 = 0) -> address[MAX_COINS]: """ @notice Get the underlying coins within a pool @dev For non metapools, returns the same value as `get_coins` @param _pool Pool address @param _handler_id id of registry handler @return List of coin addresses """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_underlying_coins(_pool) @external @view def get_underlying_decimals(_pool: address, _handler_id: uint256 = 0) -> uint256[MAX_COINS]: """ @notice Get decimal places for each underlying coin within a pool @dev For non metapools, returns the same value as `get_decimals` @param _pool Pool address @param _handler_id id of registry handler @return uint256 list of decimals """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).get_underlying_decimals(_pool) @external @view def get_virtual_price_from_lp_token(_token: address, _handler_id: uint256 = 0) -> uint256: """ @notice Get the virtual price of a pool LP token @param _token LP token address @param _handler_id id of registry handler @return uint256 Virtual price """ pool: address = self._get_pool_from_lp_token(_token) registry_handler: address = self._get_registry_handlers_from_pool(pool)[_handler_id] return RegistryHandler(registry_handler).get_virtual_price_from_lp_token(_token) @external @view def is_meta(_pool: address, _handler_id: uint256 = 0) -> bool: """ @notice Verify `_pool` is a metapool @param _pool Pool address @param _handler_id id of registry handler @return True if `_pool` is a metapool """ return RegistryHandler(self._get_registry_handlers_from_pool(_pool)[_handler_id]).is_meta(_pool) @external @view def is_registered(_pool: address, _handler_id: uint256 = 0) -> bool: """ @notice Check if a pool is in the metaregistry using get_n_coins @param _pool The address of the pool @param _handler_id id of registry handler @return A bool corresponding to whether the pool belongs or not """ return self._get_registry_handlers_from_pool(_pool)[_handler_id] != empty(address) @external @view def pool_count() -> uint256: """ @notice Return the total number of pools tracked by the metaregistry @return uint256 The number of pools in the metaregistry """ total_pools: uint256 = 0 for i in range(MAX_REGISTRIES): if i == self.registry_length: break handler: address = self.get_registry[i] total_pools += RegistryHandler(handler).pool_count() return total_pools @external @view def pool_list(_index: uint256) -> address: """ @notice Return the pool at a given index in the metaregistry @param _index The index of the pool in the metaregistry @return The address of the pool at the given index """ pools_skip: uint256 = 0 for i in range(MAX_REGISTRIES): if i == self.registry_length: break handler: address = self.get_registry[i] count: uint256 = RegistryHandler(handler).pool_count() if _index - pools_skip < count: return RegistryHandler(handler).pool_list(_index - pools_skip) pools_skip += count return empty(address) @external def commit_transfer_ownership(_addr: address): """ @notice Transfer ownership of this contract to `addr` @param _addr Address of the new owner """ assert msg.sender == self.admin # dev: admin only self.future_admin = _addr @external def accept_transfer_ownership(): """ @notice Accept a pending ownership transfer @dev Only callable by the new owner """ _admin: address = self.future_admin assert msg.sender == _admin # dev: future admin only self.admin = _admin self.future_admin = empty(address)
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"CommitNewAdmin","inputs":[{"name":"deadline","type":"uint256","indexed":true},{"name":"admin","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"NewAdmin","inputs":[{"name":"admin","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_gauge_factory","type":"address"},{"name":"_gauge_type","type":"int128"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"add_registry_handler","inputs":[{"name":"_registry_handler","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"update_registry_handler","inputs":[{"name":"_index","type":"uint256"},{"name":"_registry_handler","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"update_gauge_data","inputs":[{"name":"_gauge_factory","type":"address"},{"name":"_gauge_type","type":"int128"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"get_registry_handlers_from_pool","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[10]"}]},{"stateMutability":"view","type":"function","name":"get_base_registry","inputs":[{"name":"registry_handler","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"find_pool_for_coins","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"find_pool_for_coins","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"find_pools_for_coins","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"address[]"}]},{"stateMutability":"view","type":"function","name":"get_admin_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_admin_balances","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_base_pool","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_base_pool","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_coin_indices","inputs":[{"name":"_pool","type":"address"},{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"int128"},{"name":"","type":"int128"},{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"get_coin_indices","inputs":[{"name":"_pool","type":"address"},{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"int128"},{"name":"","type":"int128"},{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"get_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[8]"}]},{"stateMutability":"view","type":"function","name":"get_coins","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address[8]"}]},{"stateMutability":"view","type":"function","name":"get_decimals","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_decimals","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_fees","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[10]"}]},{"stateMutability":"view","type":"function","name":"get_fees","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[10]"}]},{"stateMutability":"view","type":"function","name":"get_gauge","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_gauge","inputs":[{"name":"_pool","type":"address"},{"name":"gauge_idx","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_gauge","inputs":[{"name":"_pool","type":"address"},{"name":"gauge_idx","type":"uint256"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_gauge_type","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"int128"}]},{"stateMutability":"view","type":"function","name":"get_gauge_type","inputs":[{"name":"_pool","type":"address"},{"name":"gauge_idx","type":"uint256"}],"outputs":[{"name":"","type":"int128"}]},{"stateMutability":"view","type":"function","name":"get_gauge_type","inputs":[{"name":"_pool","type":"address"},{"name":"gauge_idx","type":"uint256"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"int128"}]},{"stateMutability":"view","type":"function","name":"get_lp_token","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_lp_token","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_n_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_n_coins","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_n_underlying_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_n_underlying_coins","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_pool_asset_type","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_pool_asset_type","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_pool_from_lp_token","inputs":[{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_pool_from_lp_token","inputs":[{"name":"_token","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_pool_params","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[20]"}]},{"stateMutability":"view","type":"function","name":"get_pool_params","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[20]"}]},{"stateMutability":"view","type":"function","name":"get_pool_name","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"get_pool_name","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"get_underlying_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_balances","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[8]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_coins","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"address[8]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_decimals","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_decimals","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256[8]"}]},{"stateMutability":"view","type":"function","name":"get_virtual_price_from_lp_token","inputs":[{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_virtual_price_from_lp_token","inputs":[{"name":"_token","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"is_meta","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"is_meta","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"is_registered","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"is_registered","inputs":[{"name":"_pool","type":"address"},{"name":"_handler_id","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"pool_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"pool_list","inputs":[{"name":"_index","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_registry","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"registry_length","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"gauge_factory","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"gauge_type","inputs":[],"outputs":[{"name":"","type":"int128"}]}]
Contract Creation Code
34610054576020611c5e6000396000518060a01c610054576040526020611c7e60003960005180600f0b81186100545760605233600055604051600455606051600555611bf061005961000039611bf0610000f35b600080fd60003560e01c6002603b820660011b611b7a01601e39600051565b63f851a44081186100365734611b755760005460405260206040f35b633a1d5d8e811861194857602436103417611b755760006040526000600a905b806060526003546060511861006a57610153565b600260605160205260005260406000205460805260805163956aae3a60c052602060c0600460dc845afa6100a3573d600060003e3d6000fd5b60203d10611b755760c090505160a05260a051600435604051808203828111611b75579050905010156101315750506020608051633a1d5d8e60c052600435604051808203828111611b75579050905060e052602060c0602460dc845afa610110573d600060003e3d6000fd5b60203d10611b755760c0518060a01c611b755761010052610100905061015f565b60405160a051808201828110611b755790509050604052600101818118610056575b50506000606052602060605bf3611948565b6317f7182a81186101815734611b755760015460405260206040f35b63e8980c6e81186119485734611b755760045460405260206040f3611948565b63913d9b4d81186101d057602436103417611b7557600260043560205260005260406000205460405260206040f35b63c9c4f3ec811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526102605160405261020e6102a0611a31565b6102a06102805160098111611b755760051b810190505115156103e05260206103e0f3611948565b63083297d281186102525734611b755760035460405260206040f35b63eb85226d811861027257606436103417611b755760006102c052610a16565b63e5ea47b881186119485734611b75576001546040526040513318611b7557604051600055600060015500611948565b6352b7e8a181186102be5734611b755760055460405260206040f35b6366d3966c811861194857602436103417611b755760006102805261159056611948565b6322f595c8811861032457602436103417611b75576004358060a01c611b75576080526000543318611b755760035460405260805160605261032261194e565b005b636f20d6dd811861194857602436103417611b7557600061028052610c8056611948565b630dbdc9ff811861039657604436103417611b75576024358060a01c611b75576080526000543318611b75576003546004351015611b755760043560405260805160605261039461194e565b005b635c911741811861194857602436103417611b75576000610280526116e956611948565b63bbfbf4ac811861040457604436103417611b75576004358060a01c611b755760405260243580600f0b8118611b75576060526000543318611b7557604051600455606051600555005b6384e1710d811861046a57602436103417611b75576004358060a01c611b7557604052602060405163b229777c606052602060606004607c845afa61044e573d600060003e3d6000fd5b60203d10611b75576060518060a01c611b755760a05260a09050f35b63622d64f4811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526104ab6102a0611a31565b6102a06102805160098111611b755760051b8101905051634cb088f16103e05261026051610400526101006103e060246103fc845afa6104f0573d600060003e3d6000fd5b6101003d10611b75576103e09050f3611948565b63308d1b6d811861194857602436103417611b75576004358060a01c611b7557610260526101406102605160405261053d610280611a31565b610280f3611948565b63a87df06c811861056557604436103417611b75576000608052610628565b63a64485a1811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526105a56102a0611a31565b6102a06102805160098111611b755760051b810190505163e4d332a96103e052610260516104005260206103e060246103fc845afa6105e9573d600060003e3d6000fd5b60203d10611b75576103e0518060011c611b7557610420526104209050f3611948565b636982eb0b811861073b57606436103417611b75576044356080525b6004358060a01c611b75576040526024358060a01c611b755760605260603660a0376000600a905b806101005260026101005160205260005260406000205460e05260e05161067657610732565b600062010000905b806101205260e051636982eb0b610140526040516101605260605161018052610120516101a0526020610140606461015c845afa6106c1573d600060003e3d6000fd5b60203d10611b7557610140518060a01c611b75576101c0526101c090505160c05260c0516106ee57610725565b60a05160018101818110611b7557905060a05260805160a051111561071a5750505050602060c0610739565b60010181811861067e575b5050600101818118610650575b5050602060c05bf35b634cb088f1811861194857602436103417611b755760006102805261048756611948565b63a064072b811861194857604436103417611b75576004358060a01c611b75576040526024358060a01c611b755760605260006080526000617da0526000617dc0526000600a905b80617de0526002617de051602052600052604060002054617dc052617dc0516107cf57610882565b600062010000905b80617e0052617dc051636982eb0b617e2052604051617e4052606051617e6052617e0051617e80526020617e206064617e3c845afa61081b573d600060003e3d6000fd5b60203d10611b7557617e20518060a01c611b7557617ea052617ea0905051617da052617da05161084a57610875565b6080516103e78111611b7557617da0518160051b60a0015260018101608052506001018181186107d7575b50506001018181186107a7575b5050602080617de05280617de00160006080518083528060051b6000826103e88111611b755780156108cd57905b8060051b60a001518160051b6020880101526001018181186108b0575b50508201602001915050905081019050617de0f3611948565b63c11e45b8811861090657602436103417611b7557600061028052610980565b637c51db55811861092b57604436103417611b755760243560605260006080526112ba565b636b441a40811861194857602436103417611b75576004358060a01c611b75576040526000543318611b755760405160015500611948565b63c0bf4cbf81186109f957604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526109a46102a0611a31565b6102a06102805160098111611b755760051b810190505163c11e45b86103e05261026051610400526101006103e060246103fc845afa6109e9573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b6363fb3ddb811861194857608436103417611b75576064356102c0525b6004358060a01c611b7557610260526024358060a01c611b7557610280526044358060a01c611b75576102a052606061026051604052610a576102e0611a31565b6102e06102c05160098111611b755760051b810190505163eb85226d61042052610260516104405261028051610460526102a051610480526060610420606461043c845afa610aab573d600060003e3d6000fd5b60603d10611b75576104205180600f0b8118611b75576104a0526104405180600f0b8118611b75576104c052610460518060011c611b75576104e0526104a09050f3611948565b6392e3cc2d8118610b1257602436103417611b7557600061028052610b53565b639ac90d3d811861194857602436103417611b7557600061028052610d2356611948565b63aa85169c8118610bcc57604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610b776102a0611a31565b6102a06102805160098111611b755760051b81019050516392e3cc2d6103e05261026051610400526101006103e060246103fc845afa610bbc573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b6311d81279811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052602061026051604052610c0c6102a0611a31565b6102a06102805160098111611b755760051b810190505163940494f16103e052610260516104005260206103e060246103fc845afa610c50573d600060003e3d6000fd5b60203d10611b75576103e09050f3611948565b63a54e3ade8118610d0657604436103417611b7557602435610280525b6004358060a01c611b755761026052602061026051604052610ca36102a0611a31565b6102a06102805160098111611b755760051b8101905051636f20d6dd6103e052610260516104005260206103e060246103fc845afa610ce7573d600060003e3d6000fd5b60203d10611b75576103e0518060a01c611b7557610420526104209050f35b636ebe51fc811861194857604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610d476102a0611a31565b6102a06102805160098111611b755760051b8101905051639ac90d3d6103e05261026051610400526101006103e060246103fc845afa610d8c573d600060003e3d6000fd5b6101003d10611b75576103e0518060a01c611b755761050052610400518060a01c611b755761052052610420518060a01c611b755761054052610440518060a01c611b755761056052610460518060a01c611b755761058052610480518060a01c611b75576105a0526104a0518060a01c611b75576105c0526104c0518060a01c611b75576105e0526105009050f3611948565b6352b515558118610e4057602436103417611b7557600061028052610ea2565b63daf297b98118610e6157602436103417611b755760403661028037611107565b63bdf475c3811861194857602436103417611b755760006101405261109256611948565b63403f502f8118610f1b57604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610ec66102a0611a31565b6102a06102805160098111611b755760051b81019050516352b515556103e05261026051610400526101006103e060246103fc845afa610f0b573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b63956aae3a81186119485734611b755760006040526000600a905b8060605260035460605118610f4a57610faf565b600260605160205260005260406000205460805260405160805163956aae3a60a052602060a0600460bc845afa610f86573d600060003e3d6000fd5b60203d10611b755760a0905051808201828110611b755790509050604052600101818118610f36575b505060206040f3611948565b637cdb72b0811861194857602436103417611b7557600061028052610ffc56611948565b630ed5a427811861107557604436103417611b7557602435610280525b6004358060a01c611b755761026052610140610260516040526110206102a0611a31565b6102a06102805160098111611b755760051b8101905051637cdb72b06103e05261026051610400526101406103e060246103fc845afa611065573d600060003e3d6000fd5b6101403d10611b75576103e09050f35b6336678b80811861194857604436103417611b7557602435610140525b6004358060a01c611b7557610120526020610120516040526110b561016061198e565b610160f3611948565b63e4081220811861194857604436103417611b75576024356102805260006102a05261110756611948565b63773fb7e3811861194857606436103417611b755760406024610280375b6004358060a01c611b755761026052610260516040526111286102e0611a31565b6102e06102a05160098111611b755760051b810190505163379510496104205261026051610440526020610420602461043c845afa61116c573d600060003e3d6000fd5b60203d10611b7557610420518060a01c611b7557610460526104609050516102c0526020600454635d95c65e6102e0526102c0516103005260206102e060246102fc845afa6111c0573d600060003e3d6000fd5b60203d10611b75576102e0518060a01c611b7557610320526103209050f3611948565b6325fa5d13811861120357602436103417611b75576040366060376112ba565b63876112e6811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526112446102a0611a31565b6102a06102805160098111611b755760051b81019050516359f4f3516103e05261026051610400526101006103e060246103fc845afa611289573d600060003e3d6000fd5b6101003d10611b75576103e09050f3611948565b63f8b661e2811861194857606436103417611b7557604060246060375b6004358060a01c611b755760405260055460a052602060a0f3611948565b633795104981186112f857602436103417611b75576000610280526113ee565b630a700c08811861131857602436103417611b75576000610280526114d9565b634460f66f811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610260516040526113566102c061198e565b6102c0516102a0526102a0516040526113706102e0611a31565b6102e06102805160098111611b755760051b81019050516102c05260206102c05163c5b7074a6102e052610260516103005260206102e060246102fc845afa6113be573d600060003e3d6000fd5b60203d10611b75576102e09050f3611948565b630881715f811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526114116102a0611a31565b6102a06102805160098111611b755760051b810190505163379510496103e052610260516104005260206103e060246103fc845afa611455573d600060003e3d6000fd5b60203d10611b75576103e0518060a01c611b7557610420526104209050f3611948565b63940494f1811861149857602436103417611b7557600061028052610be9565b63c5b7074a811861194857602436103417611b755760006102805261133556611948565b63decdf68f811861154f57604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526114fc6102a0611a31565b6102a06102805160098111611b755760051b8101905051630a700c086103e052610260516104005260206103e060246103fc845afa611540573d600060003e3d6000fd5b60203d10611b75576103e09050f35b63a77576ef811861194857602436103417611b755760006102805261182b56611948565b6390d1dd2d811861160657604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526115b36102a0611a31565b6102a06102805160098111611b755760051b81019050516366d3966c6103e052610260516104005260206103e060246103fc845afa6115f7573d600060003e3d6000fd5b60203d10611b75576103e09050f35b637a65d2dd811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610260516040526116446102c0611a31565b6102c06102805160098111611b755760051b81019050516102a0526102806102a05163688532aa6102c052610260516102e0526102806102c060246102dc845afa611694573d600060003e3d6000fd5b6102803d10611b75576102c09050f3611948565b63688532aa811861194857602436103417611b755760006102805261162356611948565b6392234f45811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020806104e052610260516040526117116102a0611a31565b6102a06102805160098111611b755760051b8101905051635c9117416103e052610260516104005260806103e060246103fc845afa611755573d600060003e3d6000fd5b60403d10611b75576103e0516103e0016040815111611b7557602081510180610480828460045afa5050506104809050816104e00160208251018082828560045afa50508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506104e0f3611948565b6359f4f35181186117ea57602436103417611b7557600061028052611220565b63619ea806811861194857602436103417611b75576000610280526101ed56611948565b632fc90bcf811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526101006102605160405261184f6102a0611a31565b6102a06102805160098111611b755760051b810190505163a77576ef6103e05261026051610400526101006103e060246103fc845afa611894573d600060003e3d6000fd5b6101003d10611b75576103e0518060a01c611b755761050052610400518060a01c611b755761052052610420518060a01c611b755761054052610440518060a01c611b755761056052610460518060a01c611b755761058052610480518060a01c611b75576105a0526104a0518060a01c611b75576105c0526104c0518060a01c611b75576105e0526105009050f3611948565b63e4d332a9811861194857602436103417611b7557600061028052610582565b60006000fd5b60035460405111611b7557600354604051186119785760035460018101818110611b755790506003555b6060516002604051602052600052604060002055565b6000600a905b80606052600354606051186119a857611a27565b600260605160205260005260406000205460805260805163bdf475c360c05260405160e052602060c0602460dc845afa6119e7573d600060003e3d6000fd5b60203d10611b755760c0518060a01c611b75576101005261010090505160a05260a05115611a1c5760a0518352505050611a2f565b600101818118611994575b505060008152505b565b610160366060376000600a905b806101c0526003546101c05118611a5457611af5565b60026101c0516020526000526040600020546101e0526101e05163619ea80661020052604051610220526020610200602461021c845afa611a9a573d600060003e3d6000fd5b60203d10611b7557610200518060011c611b75576102405261024090505115611aea576101e0516101a05160098111611b755760051b606001526101a05160018101818110611b755790506101a0525b600101818118611a3e575b5050606051611b6457600b6101c0527f6e6f2072656769737472790000000000000000000000000000000000000000006101e0526101c0506101c051806101e001601f826000031636823750506308c379a06101805260206101a052601f19601f6101c051011660440161019cfd5b61014081610140606060045afa5050565b600080fd0e85194819481573016502e219480c6310be194814781948194816a813d103ba1948194805460e2014bc1948194808e6050401a1194812d80236060c0af2034819481948192810e919480fdf0b361948194802a211e3129d1948194817ca19480963180e16cc19481948194819480fbb001a1948075f84191bf081187600a16576797065728300030a00150000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Deployed Bytecode
0x60003560e01c6002603b820660011b611b7a01601e39600051565b63f851a44081186100365734611b755760005460405260206040f35b633a1d5d8e811861194857602436103417611b755760006040526000600a905b806060526003546060511861006a57610153565b600260605160205260005260406000205460805260805163956aae3a60c052602060c0600460dc845afa6100a3573d600060003e3d6000fd5b60203d10611b755760c090505160a05260a051600435604051808203828111611b75579050905010156101315750506020608051633a1d5d8e60c052600435604051808203828111611b75579050905060e052602060c0602460dc845afa610110573d600060003e3d6000fd5b60203d10611b755760c0518060a01c611b755761010052610100905061015f565b60405160a051808201828110611b755790509050604052600101818118610056575b50506000606052602060605bf3611948565b6317f7182a81186101815734611b755760015460405260206040f35b63e8980c6e81186119485734611b755760045460405260206040f3611948565b63913d9b4d81186101d057602436103417611b7557600260043560205260005260406000205460405260206040f35b63c9c4f3ec811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526102605160405261020e6102a0611a31565b6102a06102805160098111611b755760051b810190505115156103e05260206103e0f3611948565b63083297d281186102525734611b755760035460405260206040f35b63eb85226d811861027257606436103417611b755760006102c052610a16565b63e5ea47b881186119485734611b75576001546040526040513318611b7557604051600055600060015500611948565b6352b7e8a181186102be5734611b755760055460405260206040f35b6366d3966c811861194857602436103417611b755760006102805261159056611948565b6322f595c8811861032457602436103417611b75576004358060a01c611b75576080526000543318611b755760035460405260805160605261032261194e565b005b636f20d6dd811861194857602436103417611b7557600061028052610c8056611948565b630dbdc9ff811861039657604436103417611b75576024358060a01c611b75576080526000543318611b75576003546004351015611b755760043560405260805160605261039461194e565b005b635c911741811861194857602436103417611b75576000610280526116e956611948565b63bbfbf4ac811861040457604436103417611b75576004358060a01c611b755760405260243580600f0b8118611b75576060526000543318611b7557604051600455606051600555005b6384e1710d811861046a57602436103417611b75576004358060a01c611b7557604052602060405163b229777c606052602060606004607c845afa61044e573d600060003e3d6000fd5b60203d10611b75576060518060a01c611b755760a05260a09050f35b63622d64f4811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526104ab6102a0611a31565b6102a06102805160098111611b755760051b8101905051634cb088f16103e05261026051610400526101006103e060246103fc845afa6104f0573d600060003e3d6000fd5b6101003d10611b75576103e09050f3611948565b63308d1b6d811861194857602436103417611b75576004358060a01c611b7557610260526101406102605160405261053d610280611a31565b610280f3611948565b63a87df06c811861056557604436103417611b75576000608052610628565b63a64485a1811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526105a56102a0611a31565b6102a06102805160098111611b755760051b810190505163e4d332a96103e052610260516104005260206103e060246103fc845afa6105e9573d600060003e3d6000fd5b60203d10611b75576103e0518060011c611b7557610420526104209050f3611948565b636982eb0b811861073b57606436103417611b75576044356080525b6004358060a01c611b75576040526024358060a01c611b755760605260603660a0376000600a905b806101005260026101005160205260005260406000205460e05260e05161067657610732565b600062010000905b806101205260e051636982eb0b610140526040516101605260605161018052610120516101a0526020610140606461015c845afa6106c1573d600060003e3d6000fd5b60203d10611b7557610140518060a01c611b75576101c0526101c090505160c05260c0516106ee57610725565b60a05160018101818110611b7557905060a05260805160a051111561071a5750505050602060c0610739565b60010181811861067e575b5050600101818118610650575b5050602060c05bf35b634cb088f1811861194857602436103417611b755760006102805261048756611948565b63a064072b811861194857604436103417611b75576004358060a01c611b75576040526024358060a01c611b755760605260006080526000617da0526000617dc0526000600a905b80617de0526002617de051602052600052604060002054617dc052617dc0516107cf57610882565b600062010000905b80617e0052617dc051636982eb0b617e2052604051617e4052606051617e6052617e0051617e80526020617e206064617e3c845afa61081b573d600060003e3d6000fd5b60203d10611b7557617e20518060a01c611b7557617ea052617ea0905051617da052617da05161084a57610875565b6080516103e78111611b7557617da0518160051b60a0015260018101608052506001018181186107d7575b50506001018181186107a7575b5050602080617de05280617de00160006080518083528060051b6000826103e88111611b755780156108cd57905b8060051b60a001518160051b6020880101526001018181186108b0575b50508201602001915050905081019050617de0f3611948565b63c11e45b8811861090657602436103417611b7557600061028052610980565b637c51db55811861092b57604436103417611b755760243560605260006080526112ba565b636b441a40811861194857602436103417611b75576004358060a01c611b75576040526000543318611b755760405160015500611948565b63c0bf4cbf81186109f957604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526109a46102a0611a31565b6102a06102805160098111611b755760051b810190505163c11e45b86103e05261026051610400526101006103e060246103fc845afa6109e9573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b6363fb3ddb811861194857608436103417611b75576064356102c0525b6004358060a01c611b7557610260526024358060a01c611b7557610280526044358060a01c611b75576102a052606061026051604052610a576102e0611a31565b6102e06102c05160098111611b755760051b810190505163eb85226d61042052610260516104405261028051610460526102a051610480526060610420606461043c845afa610aab573d600060003e3d6000fd5b60603d10611b75576104205180600f0b8118611b75576104a0526104405180600f0b8118611b75576104c052610460518060011c611b75576104e0526104a09050f3611948565b6392e3cc2d8118610b1257602436103417611b7557600061028052610b53565b639ac90d3d811861194857602436103417611b7557600061028052610d2356611948565b63aa85169c8118610bcc57604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610b776102a0611a31565b6102a06102805160098111611b755760051b81019050516392e3cc2d6103e05261026051610400526101006103e060246103fc845afa610bbc573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b6311d81279811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052602061026051604052610c0c6102a0611a31565b6102a06102805160098111611b755760051b810190505163940494f16103e052610260516104005260206103e060246103fc845afa610c50573d600060003e3d6000fd5b60203d10611b75576103e09050f3611948565b63a54e3ade8118610d0657604436103417611b7557602435610280525b6004358060a01c611b755761026052602061026051604052610ca36102a0611a31565b6102a06102805160098111611b755760051b8101905051636f20d6dd6103e052610260516104005260206103e060246103fc845afa610ce7573d600060003e3d6000fd5b60203d10611b75576103e0518060a01c611b7557610420526104209050f35b636ebe51fc811861194857604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610d476102a0611a31565b6102a06102805160098111611b755760051b8101905051639ac90d3d6103e05261026051610400526101006103e060246103fc845afa610d8c573d600060003e3d6000fd5b6101003d10611b75576103e0518060a01c611b755761050052610400518060a01c611b755761052052610420518060a01c611b755761054052610440518060a01c611b755761056052610460518060a01c611b755761058052610480518060a01c611b75576105a0526104a0518060a01c611b75576105c0526104c0518060a01c611b75576105e0526105009050f3611948565b6352b515558118610e4057602436103417611b7557600061028052610ea2565b63daf297b98118610e6157602436103417611b755760403661028037611107565b63bdf475c3811861194857602436103417611b755760006101405261109256611948565b63403f502f8118610f1b57604436103417611b7557602435610280525b6004358060a01c611b75576102605261010061026051604052610ec66102a0611a31565b6102a06102805160098111611b755760051b81019050516352b515556103e05261026051610400526101006103e060246103fc845afa610f0b573d600060003e3d6000fd5b6101003d10611b75576103e09050f35b63956aae3a81186119485734611b755760006040526000600a905b8060605260035460605118610f4a57610faf565b600260605160205260005260406000205460805260405160805163956aae3a60a052602060a0600460bc845afa610f86573d600060003e3d6000fd5b60203d10611b755760a0905051808201828110611b755790509050604052600101818118610f36575b505060206040f3611948565b637cdb72b0811861194857602436103417611b7557600061028052610ffc56611948565b630ed5a427811861107557604436103417611b7557602435610280525b6004358060a01c611b755761026052610140610260516040526110206102a0611a31565b6102a06102805160098111611b755760051b8101905051637cdb72b06103e05261026051610400526101406103e060246103fc845afa611065573d600060003e3d6000fd5b6101403d10611b75576103e09050f35b6336678b80811861194857604436103417611b7557602435610140525b6004358060a01c611b7557610120526020610120516040526110b561016061198e565b610160f3611948565b63e4081220811861194857604436103417611b75576024356102805260006102a05261110756611948565b63773fb7e3811861194857606436103417611b755760406024610280375b6004358060a01c611b755761026052610260516040526111286102e0611a31565b6102e06102a05160098111611b755760051b810190505163379510496104205261026051610440526020610420602461043c845afa61116c573d600060003e3d6000fd5b60203d10611b7557610420518060a01c611b7557610460526104609050516102c0526020600454635d95c65e6102e0526102c0516103005260206102e060246102fc845afa6111c0573d600060003e3d6000fd5b60203d10611b75576102e0518060a01c611b7557610320526103209050f3611948565b6325fa5d13811861120357602436103417611b75576040366060376112ba565b63876112e6811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610100610260516040526112446102a0611a31565b6102a06102805160098111611b755760051b81019050516359f4f3516103e05261026051610400526101006103e060246103fc845afa611289573d600060003e3d6000fd5b6101003d10611b75576103e09050f3611948565b63f8b661e2811861194857606436103417611b7557604060246060375b6004358060a01c611b755760405260055460a052602060a0f3611948565b633795104981186112f857602436103417611b75576000610280526113ee565b630a700c08811861131857602436103417611b75576000610280526114d9565b634460f66f811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610260516040526113566102c061198e565b6102c0516102a0526102a0516040526113706102e0611a31565b6102e06102805160098111611b755760051b81019050516102c05260206102c05163c5b7074a6102e052610260516103005260206102e060246102fc845afa6113be573d600060003e3d6000fd5b60203d10611b75576102e09050f3611948565b630881715f811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526114116102a0611a31565b6102a06102805160098111611b755760051b810190505163379510496103e052610260516104005260206103e060246103fc845afa611455573d600060003e3d6000fd5b60203d10611b75576103e0518060a01c611b7557610420526104209050f3611948565b63940494f1811861149857602436103417611b7557600061028052610be9565b63c5b7074a811861194857602436103417611b755760006102805261133556611948565b63decdf68f811861154f57604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526114fc6102a0611a31565b6102a06102805160098111611b755760051b8101905051630a700c086103e052610260516104005260206103e060246103fc845afa611540573d600060003e3d6000fd5b60203d10611b75576103e09050f35b63a77576ef811861194857602436103417611b755760006102805261182b56611948565b6390d1dd2d811861160657604436103417611b7557602435610280525b6004358060a01c611b7557610260526020610260516040526115b36102a0611a31565b6102a06102805160098111611b755760051b81019050516366d3966c6103e052610260516104005260206103e060246103fc845afa6115f7573d600060003e3d6000fd5b60203d10611b75576103e09050f35b637a65d2dd811861194857604436103417611b7557602435610280525b6004358060a01c611b755761026052610260516040526116446102c0611a31565b6102c06102805160098111611b755760051b81019050516102a0526102806102a05163688532aa6102c052610260516102e0526102806102c060246102dc845afa611694573d600060003e3d6000fd5b6102803d10611b75576102c09050f3611948565b63688532aa811861194857602436103417611b755760006102805261162356611948565b6392234f45811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526020806104e052610260516040526117116102a0611a31565b6102a06102805160098111611b755760051b8101905051635c9117416103e052610260516104005260806103e060246103fc845afa611755573d600060003e3d6000fd5b60403d10611b75576103e0516103e0016040815111611b7557602081510180610480828460045afa5050506104809050816104e00160208251018082828560045afa50508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506104e0f3611948565b6359f4f35181186117ea57602436103417611b7557600061028052611220565b63619ea806811861194857602436103417611b75576000610280526101ed56611948565b632fc90bcf811861194857604436103417611b7557602435610280525b6004358060a01c611b7557610260526101006102605160405261184f6102a0611a31565b6102a06102805160098111611b755760051b810190505163a77576ef6103e05261026051610400526101006103e060246103fc845afa611894573d600060003e3d6000fd5b6101003d10611b75576103e0518060a01c611b755761050052610400518060a01c611b755761052052610420518060a01c611b755761054052610440518060a01c611b755761056052610460518060a01c611b755761058052610480518060a01c611b75576105a0526104a0518060a01c611b75576105c0526104c0518060a01c611b75576105e0526105009050f3611948565b63e4d332a9811861194857602436103417611b7557600061028052610582565b60006000fd5b60035460405111611b7557600354604051186119785760035460018101818110611b755790506003555b6060516002604051602052600052604060002055565b6000600a905b80606052600354606051186119a857611a27565b600260605160205260005260406000205460805260805163bdf475c360c05260405160e052602060c0602460dc845afa6119e7573d600060003e3d6000fd5b60203d10611b755760c0518060a01c611b75576101005261010090505160a05260a05115611a1c5760a0518352505050611a2f565b600101818118611994575b505060008152505b565b610160366060376000600a905b806101c0526003546101c05118611a5457611af5565b60026101c0516020526000526040600020546101e0526101e05163619ea80661020052604051610220526020610200602461021c845afa611a9a573d600060003e3d6000fd5b60203d10611b7557610200518060011c611b75576102405261024090505115611aea576101e0516101a05160098111611b755760051b606001526101a05160018101818110611b755790506101a0525b600101818118611a3e575b5050606051611b6457600b6101c0527f6e6f2072656769737472790000000000000000000000000000000000000000006101e0526101c0506101c051806101e001601f826000031636823750506308c379a06101805260206101a052601f19601f6101c051011660440161019cfd5b61014081610140606060045afa5050565b600080fd0e85194819481573016502e219480c6310be194814781948194816a813d103ba1948194805460e2014bc1948194808e6050401a1194812d80236060c0af2034819481948192810e919480fdf0b361948194802a211e3129d1948194817ca19480963180e16cc19481948194819480fbb001a1948075f
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
-----Decoded View---------------
Arg [0] : _gauge_factory (address): 0x0000000000000000000000000000000000000000
Arg [1] : _gauge_type (int128): -1
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.