Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 84 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deploy_gauge | 21124457 | 24 days ago | IN | 0 ETH | 0.0161732 | ||||
Deploy_pool | 21124405 | 24 days ago | IN | 0 ETH | 0.0293464 | ||||
Deploy_pool | 20789560 | 71 days ago | IN | 0 ETH | 0.04151829 | ||||
Deploy_pool | 20646979 | 91 days ago | IN | 0 ETH | 0.00330888 | ||||
Deploy_pool | 20646956 | 91 days ago | IN | 0 ETH | 0.0031734 | ||||
Deploy_pool | 20243989 | 147 days ago | IN | 0 ETH | 0.01676307 | ||||
Deploy_gauge | 20216663 | 151 days ago | IN | 0 ETH | 0.00556264 | ||||
Deploy_pool | 20212314 | 152 days ago | IN | 0 ETH | 0.04329005 | ||||
Deploy_pool | 19846799 | 203 days ago | IN | 0 ETH | 0.0265322 | ||||
Deploy_pool | 19759999 | 215 days ago | IN | 0 ETH | 0.03799688 | ||||
Deploy_pool | 19759992 | 215 days ago | IN | 0 ETH | 0.04497198 | ||||
Deploy_pool | 19759984 | 215 days ago | IN | 0 ETH | 0.04382432 | ||||
Deploy_pool | 19701660 | 223 days ago | IN | 0 ETH | 0.03656206 | ||||
Deploy_pool | 19701657 | 223 days ago | IN | 0 ETH | 0.03368763 | ||||
Deploy_gauge | 19451573 | 258 days ago | IN | 0 ETH | 0.05837313 | ||||
Deploy_pool | 19450589 | 258 days ago | IN | 0 ETH | 0.12499415 | ||||
Deploy_gauge | 19145479 | 301 days ago | IN | 0 ETH | 0.03819361 | ||||
Deploy_pool | 19143221 | 301 days ago | IN | 0 ETH | 0.1071289 | ||||
Deploy_gauge | 19136815 | 302 days ago | IN | 0 ETH | 0.07337863 | ||||
Deploy_pool | 19136500 | 302 days ago | IN | 0 ETH | 0.09856418 | ||||
Deploy_gauge | 19070832 | 312 days ago | IN | 0 ETH | 0.0451239 | ||||
Deploy_pool | 18995587 | 322 days ago | IN | 0 ETH | 0.0728674 | ||||
Deploy_gauge | 18971551 | 325 days ago | IN | 0 ETH | 0.04685624 | ||||
Deploy_pool | 18971530 | 325 days ago | IN | 0 ETH | 0.10258533 | ||||
Deploy_pool | 18950113 | 329 days ago | IN | 0 ETH | 0.12389514 |
Latest 25 internal transactions (View All)
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CurveTricryptoFactory
Compiler Version
vyper:0.3.9
Contract Source Code (Vyper language format)
# @version 0.3.9 """ @title CurveTricryptoFactory @author Curve.Fi @license Copyright (c) Curve.Fi, 2020-2023 - all rights reserved @notice Permissionless 3-coin cryptoswap pool deployer and registry """ interface TricryptoPool: def balances(i: uint256) -> uint256: view interface ERC20: def decimals() -> uint256: view event TricryptoPoolDeployed: pool: address name: String[64] symbol: String[32] weth: address coins: address[N_COINS] math: address salt: bytes32 packed_precisions: uint256 packed_A_gamma: uint256 packed_fee_params: uint256 packed_rebalancing_params: uint256 packed_prices: uint256 deployer: address event LiquidityGaugeDeployed: pool: address gauge: address event UpdateFeeReceiver: _old_fee_receiver: address _new_fee_receiver: address event UpdatePoolImplementation: _implemention_id: uint256 _old_pool_implementation: address _new_pool_implementation: address event UpdateGaugeImplementation: _old_gauge_implementation: address _new_gauge_implementation: address event UpdateMathImplementation: _old_math_implementation: address _new_math_implementation: address event UpdateViewsImplementation: _old_views_implementation: address _new_views_implementation: address event TransferOwnership: _old_owner: address _new_owner: address struct PoolArray: liquidity_gauge: address coins: address[N_COINS] decimals: uint256[N_COINS] N_COINS: constant(uint256) = 3 A_MULTIPLIER: constant(uint256) = 10000 # Limits MAX_FEE: constant(uint256) = 10 * 10 ** 9 MIN_GAMMA: constant(uint256) = 10 ** 10 MAX_GAMMA: constant(uint256) = 5 * 10**16 MIN_A: constant(uint256) = N_COINS ** N_COINS * A_MULTIPLIER / 100 MAX_A: constant(uint256) = 1000 * A_MULTIPLIER * N_COINS**N_COINS PRICE_SIZE: constant(uint128) = 256 / (N_COINS - 1) PRICE_MASK: constant(uint256) = 2**PRICE_SIZE - 1 admin: public(address) future_admin: public(address) # fee receiver for all pools: fee_receiver: public(address) pool_implementations: public(HashMap[uint256, address]) gauge_implementation: public(address) views_implementation: public(address) math_implementation: public(address) # mapping of coins -> pools for trading # a mapping key is generated for each pair of addresses via # `bitwise_xor(convert(a, uint256), convert(b, uint256))` markets: HashMap[uint256, address[4294967296]] market_counts: HashMap[uint256, uint256] pool_count: public(uint256) # actual length of pool_list pool_data: HashMap[address, PoolArray] pool_list: public(address[4294967296]) # master list of pools @external def __init__(_fee_receiver: address, _admin: address): self.fee_receiver = _fee_receiver self.admin = _admin log UpdateFeeReceiver(empty(address), _fee_receiver) log TransferOwnership(empty(address), _admin) @internal @view def _pack(x: uint256[3]) -> uint256: """ @notice Packs 3 integers with values <= 10**18 into a uint256 @param x The uint256[3] to pack @return The packed uint256 """ return (x[0] << 128) | (x[1] << 64) | x[2] # <--- Pool Deployers ---> @external def deploy_pool( _name: String[64], _symbol: String[32], _coins: address[N_COINS], _weth: address, implementation_id: uint256, A: uint256, gamma: uint256, mid_fee: uint256, out_fee: uint256, fee_gamma: uint256, allowed_extra_profit: uint256, adjustment_step: uint256, ma_exp_time: uint256, initial_prices: uint256[N_COINS-1], ) -> address: """ @notice Deploy a new pool @param _name Name of the new plain pool @param _symbol Symbol for the new plain pool - will be concatenated with factory symbol @return Address of the deployed pool """ pool_implementation: address = self.pool_implementations[implementation_id] assert pool_implementation != empty(address), "Pool implementation not set" # Validate parameters assert A > MIN_A-1 assert A < MAX_A+1 assert gamma > MIN_GAMMA-1 assert gamma < MAX_GAMMA+1 assert mid_fee < MAX_FEE-1 # mid_fee can be zero assert out_fee >= mid_fee assert out_fee < MAX_FEE-1 assert fee_gamma < 10**18+1 assert fee_gamma > 0 assert allowed_extra_profit < 10**18+1 assert adjustment_step < 10**18+1 assert adjustment_step > 0 assert ma_exp_time < 872542 # 7 * 24 * 60 * 60 / ln(2) assert ma_exp_time > 86 # 60 / ln(2) assert min(initial_prices[0], initial_prices[1]) > 10**6 assert max(initial_prices[0], initial_prices[1]) < 10**30 assert _coins[0] != _coins[1] and _coins[1] != _coins[2] and _coins[0] != _coins[2], "Duplicate coins" decimals: uint256[N_COINS] = empty(uint256[N_COINS]) precisions: uint256[N_COINS] = empty(uint256[N_COINS]) for i in range(N_COINS): d: uint256 = ERC20(_coins[i]).decimals() assert d < 19, "Max 18 decimals for coins" decimals[i] = d precisions[i] = 10** (18 - d) # pack precisions packed_precisions: uint256 = self._pack(precisions) # pack fees packed_fee_params: uint256 = self._pack( [mid_fee, out_fee, fee_gamma] ) # pack liquidity rebalancing params packed_rebalancing_params: uint256 = self._pack( [allowed_extra_profit, adjustment_step, ma_exp_time] ) # pack A_gamma packed_A_gamma: uint256 = A << 128 packed_A_gamma = packed_A_gamma | gamma # pack initial prices packed_prices: uint256 = 0 for k in range(N_COINS - 1): packed_prices = packed_prices << PRICE_SIZE p: uint256 = initial_prices[N_COINS - 2 - k] assert p < PRICE_MASK packed_prices = p | packed_prices # pool is an ERC20 implementation _salt: bytes32 = block.prevhash _math_implementation: address = self.math_implementation pool: address = create_from_blueprint( pool_implementation, _name, _symbol, _coins, _math_implementation, _weth, _salt, packed_precisions, packed_A_gamma, packed_fee_params, packed_rebalancing_params, packed_prices, code_offset=3 ) # populate pool data length: uint256 = self.pool_count self.pool_list[length] = pool self.pool_count = length + 1 self.pool_data[pool].decimals = decimals self.pool_data[pool].coins = _coins # add coins to market: self._add_coins_to_market(_coins[0], _coins[1], pool) self._add_coins_to_market(_coins[0], _coins[2], pool) self._add_coins_to_market(_coins[1], _coins[2], pool) log TricryptoPoolDeployed( pool, _name, _symbol, _weth, _coins, _math_implementation, _salt, packed_precisions, packed_A_gamma, packed_fee_params, packed_rebalancing_params, packed_prices, msg.sender, ) return pool @internal def _add_coins_to_market(coin_a: address, coin_b: address, pool: address): key: uint256 = ( convert(coin_a, uint256) ^ convert(coin_b, uint256) ) length: uint256 = self.market_counts[key] self.markets[key][length] = pool self.market_counts[key] = length + 1 @external def deploy_gauge(_pool: address) -> address: """ @notice Deploy a liquidity gauge for a factory pool @param _pool Factory pool address to deploy a gauge for @return Address of the deployed gauge """ assert self.pool_data[_pool].coins[0] != empty(address), "Unknown pool" assert self.pool_data[_pool].liquidity_gauge == empty(address), "Gauge already deployed" assert self.gauge_implementation != empty(address), "Gauge implementation not set" gauge: address = create_from_blueprint(self.gauge_implementation, _pool, code_offset=3) self.pool_data[_pool].liquidity_gauge = gauge log LiquidityGaugeDeployed(_pool, gauge) return gauge # <--- Admin / Guarded Functionality ---> @external def set_fee_receiver(_fee_receiver: address): """ @notice Set fee receiver @param _fee_receiver Address that fees are sent to """ assert msg.sender == self.admin, "dev: admin only" log UpdateFeeReceiver(self.fee_receiver, _fee_receiver) self.fee_receiver = _fee_receiver @external def set_pool_implementation( _pool_implementation: address, _implementation_index: uint256 ): """ @notice Set pool implementation @dev Set to empty(address) to prevent deployment of new pools @param _pool_implementation Address of the new pool implementation @param _implementation_index Index of the pool implementation """ assert msg.sender == self.admin, "dev: admin only" log UpdatePoolImplementation( _implementation_index, self.pool_implementations[_implementation_index], _pool_implementation ) self.pool_implementations[_implementation_index] = _pool_implementation @external def set_gauge_implementation(_gauge_implementation: address): """ @notice Set gauge implementation @dev Set to empty(address) to prevent deployment of new gauges @param _gauge_implementation Address of the new token implementation """ assert msg.sender == self.admin, "dev: admin only" log UpdateGaugeImplementation(self.gauge_implementation, _gauge_implementation) self.gauge_implementation = _gauge_implementation @external def set_views_implementation(_views_implementation: address): """ @notice Set views contract implementation @param _views_implementation Address of the new views contract """ assert msg.sender == self.admin, "dev: admin only" log UpdateViewsImplementation(self.views_implementation, _views_implementation) self.views_implementation = _views_implementation @external def set_math_implementation(_math_implementation: address): """ @notice Set math implementation @param _math_implementation Address of the new math contract """ assert msg.sender == self.admin, "dev: admin only" log UpdateMathImplementation(self.math_implementation, _math_implementation) self.math_implementation = _math_implementation @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 """ assert msg.sender == self.future_admin, "dev: future admin only" log TransferOwnership(self.admin, msg.sender) self.admin = msg.sender # <--- Factory Getters ---> @view @external def find_pool_for_coins(_from: address, _to: address, i: uint256 = 0) -> address: """ @notice Find an available pool for exchanging two coins @param _from Address of coin to be sent @param _to Address of coin to be received @param i Index value. When multiple pools are available this value is used to return the n'th address. @return Pool address """ key: uint256 = convert(_from, uint256) ^ convert(_to, uint256) return self.markets[key][i] # <--- Pool Getters ---> @view @external def get_coins(_pool: address) -> address[N_COINS]: """ @notice Get the coins within a pool @param _pool Pool address @return List of coin addresses """ return self.pool_data[_pool].coins @view @external def get_decimals(_pool: address) -> uint256[N_COINS]: """ @notice Get decimal places for each coin within a pool @param _pool Pool address @return uint256 list of decimals """ return self.pool_data[_pool].decimals @view @external def get_balances(_pool: address) -> uint256[N_COINS]: """ @notice Get balances for each coin within a pool @dev For pools using lending, these are the wrapped coin balances @param _pool Pool address @return uint256 list of balances """ return [ TricryptoPool(_pool).balances(0), TricryptoPool(_pool).balances(1), TricryptoPool(_pool).balances(2), ] @view @external def get_coin_indices( _pool: address, _from: address, _to: address ) -> (uint256, uint256): """ @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 @return uint256 `i`, uint256 `j` """ coins: address[N_COINS] = self.pool_data[_pool].coins for i in range(N_COINS): for j in range(N_COINS): if i == j: continue if coins[i] == _from and coins[j] == _to: return i, j raise "Coins not found" @view @external def get_gauge(_pool: address) -> address: """ @notice Get the address of the liquidity gauge contract for a factory pool @dev Returns `empty(address)` if a gauge has not been deployed @param _pool Pool address @return Implementation contract address """ return self.pool_data[_pool].liquidity_gauge @view @external def get_market_counts(coin_a: address, coin_b: address) -> uint256: """ @notice Gets the number of markets with the specified coins. @return Number of pools with the input coins """ key: uint256 = ( convert(coin_a, uint256) ^ convert(coin_b, uint256) ) return self.market_counts[key]
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"TricryptoPoolDeployed","inputs":[{"name":"pool","type":"address","indexed":false},{"name":"name","type":"string","indexed":false},{"name":"symbol","type":"string","indexed":false},{"name":"weth","type":"address","indexed":false},{"name":"coins","type":"address[3]","indexed":false},{"name":"math","type":"address","indexed":false},{"name":"salt","type":"bytes32","indexed":false},{"name":"packed_precisions","type":"uint256","indexed":false},{"name":"packed_A_gamma","type":"uint256","indexed":false},{"name":"packed_fee_params","type":"uint256","indexed":false},{"name":"packed_rebalancing_params","type":"uint256","indexed":false},{"name":"packed_prices","type":"uint256","indexed":false},{"name":"deployer","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"LiquidityGaugeDeployed","inputs":[{"name":"pool","type":"address","indexed":false},{"name":"gauge","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateFeeReceiver","inputs":[{"name":"_old_fee_receiver","type":"address","indexed":false},{"name":"_new_fee_receiver","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdatePoolImplementation","inputs":[{"name":"_implemention_id","type":"uint256","indexed":false},{"name":"_old_pool_implementation","type":"address","indexed":false},{"name":"_new_pool_implementation","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateGaugeImplementation","inputs":[{"name":"_old_gauge_implementation","type":"address","indexed":false},{"name":"_new_gauge_implementation","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateMathImplementation","inputs":[{"name":"_old_math_implementation","type":"address","indexed":false},{"name":"_new_math_implementation","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateViewsImplementation","inputs":[{"name":"_old_views_implementation","type":"address","indexed":false},{"name":"_new_views_implementation","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"TransferOwnership","inputs":[{"name":"_old_owner","type":"address","indexed":false},{"name":"_new_owner","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_fee_receiver","type":"address"},{"name":"_admin","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deploy_pool","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_coins","type":"address[3]"},{"name":"_weth","type":"address"},{"name":"implementation_id","type":"uint256"},{"name":"A","type":"uint256"},{"name":"gamma","type":"uint256"},{"name":"mid_fee","type":"uint256"},{"name":"out_fee","type":"uint256"},{"name":"fee_gamma","type":"uint256"},{"name":"allowed_extra_profit","type":"uint256"},{"name":"adjustment_step","type":"uint256"},{"name":"ma_exp_time","type":"uint256"},{"name":"initial_prices","type":"uint256[2]"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"deploy_gauge","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"set_fee_receiver","inputs":[{"name":"_fee_receiver","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_pool_implementation","inputs":[{"name":"_pool_implementation","type":"address"},{"name":"_implementation_index","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_gauge_implementation","inputs":[{"name":"_gauge_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_views_implementation","inputs":[{"name":"_views_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_math_implementation","inputs":[{"name":"_math_implementation","type":"address"}],"outputs":[]},{"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":"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":"get_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[3]"}]},{"stateMutability":"view","type":"function","name":"get_decimals","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[3]"}]},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[3]"}]},{"stateMutability":"view","type":"function","name":"get_coin_indices","inputs":[{"name":"_pool","type":"address"},{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_gauge","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_market_counts","inputs":[{"name":"coin_a","type":"address"},{"name":"coin_b","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"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":"fee_receiver","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"pool_implementations","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"gauge_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"views_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"math_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"pool_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"pool_list","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]}]
Contract Creation Code
60206115705f395f518060a01c61156c5760405260206115905f395f518060a01c61156c576060523461156c576040516002556060515f557f2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc65306665f60805260405160a05260406080a17f5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c5f60805260605160a05260406080a16114c26100a9610000396114c2610000f36003361161000c57611436565b5f3560e01c346114b15763f851a440811861002c575f5460405260206040f35b6317f7182a81186100435760015460405260206040f35b63cab4d3db811861005a5760025460405260206040f35b633273ff47811861008557602436106114b15760036004356020525f5260405f205460405260206040f35b638df24207811861009c5760045460405260206040f35b63e31593d881186100b35760055460405260206040f35b63a13c8f8181186100ca5760065460405260206040f35b63956aae3a81186100e15760095460405260206040f35b633a1d5d8e811861010f57602436106114b15760043563ffffffff81116114b157600b015460405260206040f35b63aa38b38581186109445761026436106114b15760043560040160408135116114b157803560208201818161010037508060e052505060243560040160208135116114b15780356020820180356101605250806101405250506044358060a01c6114b157610180526064358060a01c6114b1576101a0526084358060a01c6114b1576101c05260a4358060a01c6114b1576101e052600360c4356020525f5260405f2054610200526102005161022457601b610220527f506f6f6c20696d706c656d656e746174696f6e206e6f742073657400000000006102405261022050610220518061024001601f825f031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b610a8c60e435106114b157631017df8060e435116114b1576402540be40061010435106114b15766b1a2bc2ec5000061010435116114b1576402540be3fe61012435116114b1576101243561014435106114b1576402540be3fe61014435116114b157670de0b6b3a764000061016435116114b15761016435156114b157670de0b6b3a764000061018435116114b157670de0b6b3a76400006101a435116114b1576101a435156114b157620d505d6101c435116114b15760576101c435106114b157620f42416101e4356102043580828118828410021890509050106114b1576c0c9f2c9cd04674edea3fffffff6101e4356102043580828118828411021890509050116114b1576101a051610180511461035c576101c0516101a05114610356576101c05161018051141561035e565b5f61035e565b5f5b6103c757600f610220527f4475706c696361746520636f696e7300000000000000000000000000000000006102405261022050610220518061024001601f825f031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b60c036610220375f6003905b806102e0526102e051600281116114b15760051b610180015163313ce567610320526020610320600461033c845afa61040e573d5f5f3e3d5ffd5b60203d106114b157610320905051610300526012610300511115610491576019610320527f4d617820313820646563696d616c7320666f7220636f696e73000000000000006103405261032050610320518061034001601f825f031636823750506308c379a06102e052602061030052601f19601f6103205101166044016102fcfd5b610300516102e051600281116114b15760051b61022001526103005180601203601281116114b1579050604d81116114b15780600a0a90506102e051600281116114b15760051b61028001526001018181186103d3575050610280516040526102a0516060526102c05160805261050961030061143a565b610300516102e052606061012460403761052461032061143a565b6103205161030052606061018460403761053f61034061143a565b610340516103205260e43560801b61034052610104356103405117610340525f610360525f6002905b80610380526103605160801b610360526103805180600103600181116114b1579050600181116114b15760051b6101e401356103a0526ffffffffffffffffffffffffffffffffe6103a051116114b157610360516103a05117610360526001018181186105685750506001430340610380526006546103a052610200516101a0806104e052806104e00160e0516020820181818361010060045afa5050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061050052806104e001610140516020820161016051815250808252508051806020830101601f825f03163682375050601f19601f8251602001011690508101905061018051610520526101a051610540526101c051610560526103a0516103e0526103e051610580526101e05161040052610400516105a0526103805161042052610420516105c0526102e05161044052610440516105e0526103405161046052610460516106005261030051610480526104805161062052610320516104a0526104a05161064052610360516104c0526104c051610660526003823b0359600182126114b15781600382863c8181018381856104e060045afa5050828201815ff080156114b15790509050905090506103c0526009546103e0526103c0516103e05163ffffffff81116114b157600b01556103e051600181018181106114b1579050600955600a6103c0516020525f5260405f2060048101905061022051815561024051600182015561026051600282015550600a6103c0516020525f5260405f206001810190506101805181556101a05160018201556101c051600282015550610180516040526101a0516060526103c0516080526107ee611450565b610180516040526101c0516060526103c05160805261080b611450565b6101a0516040526101c0516060526103c051608052610828611450565b7fa307f5d0802489baddec443058a63ce115756de9020e2b07d3e2cd2f21269e2a6101e06103c051610400528061042052806104000160e0516020820181818361010060045afa5050808252508051806020830101601f825f03163682375050601f19601f8251602001011690508101905080610440528061040001610140516020820161016051815250808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506101e0516104605261018051610480526101a0516104a0526101c0516104c0526103a0516104e05261038051610500526102e05161052052610340516105405261030051610560526103205161058052610360516105a052336105c052610400a160206103c0f35b6396bebb348118610b3c57602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f20600181019050546109da57600c6060527f556e6b6e6f776e20706f6f6c000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b600a6040516020525f5260405f205415610a4a5760166060527f476175676520616c7265616479206465706c6f7965640000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b600454610aad57601c6060527f476175676520696d706c656d656e746174696f6e206e6f74207365740000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60045460405160805260805160a05260206003823b0359600182126114b15781600382863c81810160a051815250828201815ff080156114b1579050905090509050606052606051600a6040516020525f5260405f20557f656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b60405160805260605160a05260406080a160206060f35b63e41ab7718118610bfc57602436106114b1576004358060a01c6114b1576040525f54331815610bc257600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc653066660025460605260405160805260406060a1604051600255005b636f385ff68118610cda57604436106114b1576004358060a01c6114b1576040525f54331815610c8257600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f6a42ef9605e135afaf6ae4f3683b161a3b7369d07c9d52c701ab69553e04c3b660243560605260036024356020525f5260405f205460805260405160a05260606060a160405160036024356020525f5260405f2055005b638f03182c8118610d9a57602436106114b1576004358060a01c6114b1576040525f54331815610d6057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f1fd705f9c77053962a503f2f2f57f0862b4c3af687c25615c13817a86946c35960045460605260405160805260406060a1604051600455005b63f6fa937f8118610e5a57602436106114b1576004358060a01c6114b1576040525f54331815610e2057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7fd84eb1ea70cda40a6bfaa11f4f69efa10cbc5eb82760b3058f440512ec1d6d1f60055460605260405160805260406060a1604051600555005b63b07426f48118610f1a57602436106114b1576004358060a01c6114b1576040525f54331815610ee057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f68fe8fc3ac76ec17e21117df5e854c8c25b7b5f776aad2adc927fdd156bcd6de60065460605260405160805260406060a1604051600655005b636b441a408118610fa857602436106114b1576004358060a01c6114b1576040525f54331815610fa057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b604051600155005b63e5ea47b8811861104c576001543318156110185760166040527f6465763a206675747572652061646d696e206f6e6c790000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7f5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c5f546040523360605260406040a1335f55005b63a87df06c811861106857604436106114b1575f608052611082565b636982eb0b81186110d257606436106114b1576044356080525b6004358060a01c6114b1576040526024358060a01c6114b1576060526060516040511860a052600760a0516020525f5260405f2060805163ffffffff81116114b157810190505460c052602060c0f35b639ac90d3d811861112357602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f2060018101905080546060526001810154608052600281015460a0525060606060f35b6352b51555811861117457602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f2060048101905080546060526001810154608052600281015460a0525060606060f35b6392e3cc2d811861124457602436106114b1576004358060a01c6114b157604052604051634903b0d16060525f608052602060606024607c845afa6111bb573d5f5f3e3d5ffd5b60203d106114b157606090505161012052604051634903b0d160a052600160c052602060a0602460bc845afa6111f3573d5f5f3e3d5ffd5b60203d106114b15760a090505161014052604051634903b0d160e052600261010052602060e0602460fc845afa61122c573d5f5f3e3d5ffd5b60203d106114b15760e0905051610160526060610120f35b63eb85226d81186113aa57606436106114b1576004358060a01c6114b1576040526024358060a01c6114b1576060526044358060a01c6114b157608052600a6040516020525f5260405f20600181019050805460a052600181015460c052600281015460e052505f6003905b80610100525f6003905b80610120526101205161010051186112d15761132e565b60605161010051600281116114b15760051b60a00151186113095760805161012051600281116114b15760051b60a00151181561130b565b5f5b1561132e57505050506101005161014052610120516101605260406101406113a8565b6001018181186112ba5750506001018181186112b0575050600f610100527f436f696e73206e6f7420666f756e6400000000000000000000000000000000006101205261010050610100518061012001601f825f031636823750506308c379a060c052602060e052601f19601f61010051011660440160dcfd5bf35b63daf297b981186113e357602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f205460605260206060f35b63c1856b52811861143457604436106114b1576004358060a01c6114b1576040526024358060a01c6114b1576060526060516040511860805260086080516020525f5260405f205460a052602060a0f35b505b5f5ffd5b60805160605160401b60405160801b1717815250565b6060516040511860a052600860a0516020525f5260405f205460c052608051600760a0516020525f5260405f2060c05163ffffffff81116114b157810190505560c051600181018181106114b1579050600860a0516020525f5260405f2055565b5f80fda165767970657283000309000b005b5f80fd000000000000000000000000ecb456ea5365865ebab8a2661b0c503410e9b347000000000000000000000000e6da683076b7ed6ce7ec972f21eb8f91e9137a17
Deployed Bytecode
0x6003361161000c57611436565b5f3560e01c346114b15763f851a440811861002c575f5460405260206040f35b6317f7182a81186100435760015460405260206040f35b63cab4d3db811861005a5760025460405260206040f35b633273ff47811861008557602436106114b15760036004356020525f5260405f205460405260206040f35b638df24207811861009c5760045460405260206040f35b63e31593d881186100b35760055460405260206040f35b63a13c8f8181186100ca5760065460405260206040f35b63956aae3a81186100e15760095460405260206040f35b633a1d5d8e811861010f57602436106114b15760043563ffffffff81116114b157600b015460405260206040f35b63aa38b38581186109445761026436106114b15760043560040160408135116114b157803560208201818161010037508060e052505060243560040160208135116114b15780356020820180356101605250806101405250506044358060a01c6114b157610180526064358060a01c6114b1576101a0526084358060a01c6114b1576101c05260a4358060a01c6114b1576101e052600360c4356020525f5260405f2054610200526102005161022457601b610220527f506f6f6c20696d706c656d656e746174696f6e206e6f742073657400000000006102405261022050610220518061024001601f825f031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b610a8c60e435106114b157631017df8060e435116114b1576402540be40061010435106114b15766b1a2bc2ec5000061010435116114b1576402540be3fe61012435116114b1576101243561014435106114b1576402540be3fe61014435116114b157670de0b6b3a764000061016435116114b15761016435156114b157670de0b6b3a764000061018435116114b157670de0b6b3a76400006101a435116114b1576101a435156114b157620d505d6101c435116114b15760576101c435106114b157620f42416101e4356102043580828118828410021890509050106114b1576c0c9f2c9cd04674edea3fffffff6101e4356102043580828118828411021890509050116114b1576101a051610180511461035c576101c0516101a05114610356576101c05161018051141561035e565b5f61035e565b5f5b6103c757600f610220527f4475706c696361746520636f696e7300000000000000000000000000000000006102405261022050610220518061024001601f825f031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b60c036610220375f6003905b806102e0526102e051600281116114b15760051b610180015163313ce567610320526020610320600461033c845afa61040e573d5f5f3e3d5ffd5b60203d106114b157610320905051610300526012610300511115610491576019610320527f4d617820313820646563696d616c7320666f7220636f696e73000000000000006103405261032050610320518061034001601f825f031636823750506308c379a06102e052602061030052601f19601f6103205101166044016102fcfd5b610300516102e051600281116114b15760051b61022001526103005180601203601281116114b1579050604d81116114b15780600a0a90506102e051600281116114b15760051b61028001526001018181186103d3575050610280516040526102a0516060526102c05160805261050961030061143a565b610300516102e052606061012460403761052461032061143a565b6103205161030052606061018460403761053f61034061143a565b610340516103205260e43560801b61034052610104356103405117610340525f610360525f6002905b80610380526103605160801b610360526103805180600103600181116114b1579050600181116114b15760051b6101e401356103a0526ffffffffffffffffffffffffffffffffe6103a051116114b157610360516103a05117610360526001018181186105685750506001430340610380526006546103a052610200516101a0806104e052806104e00160e0516020820181818361010060045afa5050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061050052806104e001610140516020820161016051815250808252508051806020830101601f825f03163682375050601f19601f8251602001011690508101905061018051610520526101a051610540526101c051610560526103a0516103e0526103e051610580526101e05161040052610400516105a0526103805161042052610420516105c0526102e05161044052610440516105e0526103405161046052610460516106005261030051610480526104805161062052610320516104a0526104a05161064052610360516104c0526104c051610660526003823b0359600182126114b15781600382863c8181018381856104e060045afa5050828201815ff080156114b15790509050905090506103c0526009546103e0526103c0516103e05163ffffffff81116114b157600b01556103e051600181018181106114b1579050600955600a6103c0516020525f5260405f2060048101905061022051815561024051600182015561026051600282015550600a6103c0516020525f5260405f206001810190506101805181556101a05160018201556101c051600282015550610180516040526101a0516060526103c0516080526107ee611450565b610180516040526101c0516060526103c05160805261080b611450565b6101a0516040526101c0516060526103c051608052610828611450565b7fa307f5d0802489baddec443058a63ce115756de9020e2b07d3e2cd2f21269e2a6101e06103c051610400528061042052806104000160e0516020820181818361010060045afa5050808252508051806020830101601f825f03163682375050601f19601f8251602001011690508101905080610440528061040001610140516020820161016051815250808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506101e0516104605261018051610480526101a0516104a0526101c0516104c0526103a0516104e05261038051610500526102e05161052052610340516105405261030051610560526103205161058052610360516105a052336105c052610400a160206103c0f35b6396bebb348118610b3c57602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f20600181019050546109da57600c6060527f556e6b6e6f776e20706f6f6c000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b600a6040516020525f5260405f205415610a4a5760166060527f476175676520616c7265616479206465706c6f7965640000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b600454610aad57601c6060527f476175676520696d706c656d656e746174696f6e206e6f74207365740000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60045460405160805260805160a05260206003823b0359600182126114b15781600382863c81810160a051815250828201815ff080156114b1579050905090509050606052606051600a6040516020525f5260405f20557f656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b60405160805260605160a05260406080a160206060f35b63e41ab7718118610bfc57602436106114b1576004358060a01c6114b1576040525f54331815610bc257600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc653066660025460605260405160805260406060a1604051600255005b636f385ff68118610cda57604436106114b1576004358060a01c6114b1576040525f54331815610c8257600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f6a42ef9605e135afaf6ae4f3683b161a3b7369d07c9d52c701ab69553e04c3b660243560605260036024356020525f5260405f205460805260405160a05260606060a160405160036024356020525f5260405f2055005b638f03182c8118610d9a57602436106114b1576004358060a01c6114b1576040525f54331815610d6057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f1fd705f9c77053962a503f2f2f57f0862b4c3af687c25615c13817a86946c35960045460605260405160805260406060a1604051600455005b63f6fa937f8118610e5a57602436106114b1576004358060a01c6114b1576040525f54331815610e2057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7fd84eb1ea70cda40a6bfaa11f4f69efa10cbc5eb82760b3058f440512ec1d6d1f60055460605260405160805260406060a1604051600555005b63b07426f48118610f1a57602436106114b1576004358060a01c6114b1576040525f54331815610ee057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f68fe8fc3ac76ec17e21117df5e854c8c25b7b5f776aad2adc927fdd156bcd6de60065460605260405160805260406060a1604051600655005b636b441a408118610fa857602436106114b1576004358060a01c6114b1576040525f54331815610fa057600f6060527f6465763a2061646d696e206f6e6c79000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b604051600155005b63e5ea47b8811861104c576001543318156110185760166040527f6465763a206675747572652061646d696e206f6e6c790000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7f5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c5f546040523360605260406040a1335f55005b63a87df06c811861106857604436106114b1575f608052611082565b636982eb0b81186110d257606436106114b1576044356080525b6004358060a01c6114b1576040526024358060a01c6114b1576060526060516040511860a052600760a0516020525f5260405f2060805163ffffffff81116114b157810190505460c052602060c0f35b639ac90d3d811861112357602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f2060018101905080546060526001810154608052600281015460a0525060606060f35b6352b51555811861117457602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f2060048101905080546060526001810154608052600281015460a0525060606060f35b6392e3cc2d811861124457602436106114b1576004358060a01c6114b157604052604051634903b0d16060525f608052602060606024607c845afa6111bb573d5f5f3e3d5ffd5b60203d106114b157606090505161012052604051634903b0d160a052600160c052602060a0602460bc845afa6111f3573d5f5f3e3d5ffd5b60203d106114b15760a090505161014052604051634903b0d160e052600261010052602060e0602460fc845afa61122c573d5f5f3e3d5ffd5b60203d106114b15760e0905051610160526060610120f35b63eb85226d81186113aa57606436106114b1576004358060a01c6114b1576040526024358060a01c6114b1576060526044358060a01c6114b157608052600a6040516020525f5260405f20600181019050805460a052600181015460c052600281015460e052505f6003905b80610100525f6003905b80610120526101205161010051186112d15761132e565b60605161010051600281116114b15760051b60a00151186113095760805161012051600281116114b15760051b60a00151181561130b565b5f5b1561132e57505050506101005161014052610120516101605260406101406113a8565b6001018181186112ba5750506001018181186112b0575050600f610100527f436f696e73206e6f7420666f756e6400000000000000000000000000000000006101205261010050610100518061012001601f825f031636823750506308c379a060c052602060e052601f19601f61010051011660440160dcfd5bf35b63daf297b981186113e357602436106114b1576004358060a01c6114b157604052600a6040516020525f5260405f205460605260206060f35b63c1856b52811861143457604436106114b1576004358060a01c6114b1576040526024358060a01c6114b1576060526060516040511860805260086080516020525f5260405f205460a052602060a0f35b505b5f5ffd5b60805160605160401b60405160801b1717815250565b6060516040511860a052600860a0516020525f5260405f205460c052608051600760a0516020525f5260405f2060c05163ffffffff81116114b157810190505560c051600181018181106114b1579050600860a0516020525f5260405f2055565b5f80fda165767970657283000309000b
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ecb456ea5365865ebab8a2661b0c503410e9b347000000000000000000000000e6da683076b7ed6ce7ec972f21eb8f91e9137a17
-----Decoded View---------------
Arg [0] : _fee_receiver (address): 0xeCb456EA5365865EbAb8a2661B0c503410e9B347
Arg [1] : _admin (address): 0xE6DA683076b7eD6ce7eC972f21Eb8F91e9137a17
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ecb456ea5365865ebab8a2661b0c503410e9b347
Arg [1] : 000000000000000000000000e6da683076b7ed6ce7ec972f21eb8f91e9137a17
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.