Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 590 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Compound | 16381731 | 667 days ago | IN | 0 ETH | 0.00682295 | ||||
Compound | 16379332 | 667 days ago | IN | 0 ETH | 0.00802755 | ||||
Rebalance | 16366868 | 669 days ago | IN | 0 ETH | 0.0211537 | ||||
Compound | 16361388 | 670 days ago | IN | 0 ETH | 0.00621028 | ||||
Compound | 16354221 | 671 days ago | IN | 0 ETH | 0.00491586 | ||||
Rebalance | 16342790 | 672 days ago | IN | 0 ETH | 0.04012016 | ||||
Compound | 16342774 | 672 days ago | IN | 0 ETH | 0.01658398 | ||||
Rebalance | 16341353 | 672 days ago | IN | 0 ETH | 0.02483382 | ||||
Rebalance | 16334511 | 673 days ago | IN | 0 ETH | 0.07333214 | ||||
Compound | 16334248 | 673 days ago | IN | 0 ETH | 0.00934261 | ||||
Rebalance | 16292462 | 679 days ago | IN | 0 ETH | 0.01542038 | ||||
Rebalance | 16292458 | 679 days ago | IN | 0 ETH | 0.03063291 | ||||
Rebalance | 16292427 | 679 days ago | IN | 0 ETH | 0.0341368 | ||||
Rebalance | 16292426 | 679 days ago | IN | 0 ETH | 0.03061527 | ||||
Rebalance | 16292421 | 679 days ago | IN | 0 ETH | 0.024813 | ||||
Rebalance | 16236667 | 687 days ago | IN | 0 ETH | 0.01290665 | ||||
Rebalance | 16236660 | 687 days ago | IN | 0 ETH | 0.0139211 | ||||
Rebalance | 16236659 | 687 days ago | IN | 0 ETH | 0.01799084 | ||||
Rebalance | 16236657 | 687 days ago | IN | 0 ETH | 0.01787218 | ||||
Rebalance | 16236656 | 687 days ago | IN | 0 ETH | 0.01441829 | ||||
Rebalance | 16236655 | 687 days ago | IN | 0 ETH | 0.01506344 | ||||
Rebalance | 16236651 | 687 days ago | IN | 0 ETH | 0.01289475 | ||||
Rebalance | 16229351 | 688 days ago | IN | 0 ETH | 0.00977713 | ||||
Rebalance | 16229236 | 688 days ago | IN | 0 ETH | 0.00788926 | ||||
Rebalance | 16229135 | 688 days ago | IN | 0 ETH | 0.00746268 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Admin
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; import "../interfaces/IHypervisor.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Admin contract Admin { address public admin; address public advisor; modifier onlyAdvisor { require(msg.sender == advisor, "only advisor"); _; } modifier onlyAdmin { require(msg.sender == admin, "only admin"); _; } constructor(address _admin, address _advisor) { require(_admin != address(0), "_admin should be non-zero"); require(_advisor != address(0), "_advisor should be non-zero"); admin = _admin; advisor = _advisor; } /// @param _hypervisor Hypervisor Address /// @param _baseLower The lower tick of the base position /// @param _baseUpper The upper tick of the base position /// @param _limitLower The lower tick of the limit position /// @param _limitUpper The upper tick of the limit position /// @param _feeRecipient Address of recipient of 10% of earned fees since last rebalance function rebalance( address _hypervisor, int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] memory inMin, uint256[4] memory outMin ) external onlyAdvisor { IHypervisor(_hypervisor).rebalance(_baseLower, _baseUpper, _limitLower, _limitUpper, _feeRecipient, inMin, outMin); } /// @notice Pull liquidity tokens from liquidity and receive the tokens /// @param _hypervisor Hypervisor Address /// @param shares Number of liquidity tokens to pull from liquidity /// @return base0 amount of token0 received from base position /// @return base1 amount of token1 received from base position /// @return limit0 amount of token0 received from limit position /// @return limit1 amount of token1 received from limit position function pullLiquidity( address _hypervisor, uint256 shares, uint256[4] memory minAmounts ) external onlyAdvisor returns( uint256 base0, uint256 base1, uint256 limit0, uint256 limit1 ) { (base0, base1, limit0, limit1) = IHypervisor(_hypervisor).pullLiquidity(shares, minAmounts); } /// @notice Add tokens to base liquidity /// @param _hypervisor Hypervisor Address /// @param amount0 Amount of token0 to add /// @param amount1 Amount of token1 to add function addBaseLiquidity(address _hypervisor, uint256 amount0, uint256 amount1, uint256[2] memory inMin) external onlyAdvisor { IHypervisor(_hypervisor).addBaseLiquidity(amount0, amount1, inMin); } /// @notice Add tokens to limit liquidity /// @param _hypervisor Hypervisor Address /// @param amount0 Amount of token0 to add /// @param amount1 Amount of token1 to add function addLimitLiquidity(address _hypervisor, uint256 amount0, uint256 amount1, uint256[2] memory inMin) external onlyAdvisor { IHypervisor(_hypervisor).addLimitLiquidity(amount0, amount1, inMin); } /// @notice compound pending fees /// @param _hypervisor Hypervisor Address function compound( address _hypervisor) external onlyAdvisor returns( uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed, uint256[4] memory inMin ) { IHypervisor(_hypervisor).compound(); } function compound( address _hypervisor, uint256[4] memory inMin) external onlyAdvisor returns( uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed ) { IHypervisor(_hypervisor).compound(inMin); } /// @param _hypervisor Hypervisor Address /// @param _address Array of addresses to be appended function setWhitelist(address _hypervisor, address _address) external onlyAdmin { IHypervisor(_hypervisor).setWhitelist(_address); } /// @param _hypervisor Hypervisor Address function removeWhitelisted(address _hypervisor) external onlyAdmin { IHypervisor(_hypervisor).removeWhitelisted(); } /// @param newAdmin New Admin Address function transferAdmin(address newAdmin) external onlyAdmin { require(newAdmin != address(0), "newAdmin should be non-zero"); admin = newAdmin; } /// @param newAdvisor New Advisor Address function transferAdvisor(address newAdvisor) external onlyAdmin { require(newAdvisor != address(0), "newAdvisor should be non-zero"); advisor = newAdvisor; } /// @param _hypervisor Hypervisor Address /// @param newOwner New Owner Address function transferHypervisorOwner(address _hypervisor, address newOwner) external onlyAdmin { IHypervisor(_hypervisor).transferOwnership(newOwner); } /// @notice Transfer tokens to the recipient from the contract /// @param token Address of token /// @param recipient Recipient Address function rescueERC20(IERC20 token, address recipient) external onlyAdmin { require(recipient != address(0), "recipient should be non-zero"); require(token.transfer(recipient, token.balanceOf(address(this)))); } }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol"; interface IHypervisor { function deposit( uint256, uint256, address, address ) external returns (uint256); function deposit( uint256, uint256, address, address, uint256[2] memory minIn ) external returns (uint256); function deposit( uint256, uint256, address, address, uint256[4] memory minIn ) external returns (uint256); function withdraw( uint256, address, address, uint256[4] memory ) external returns (uint256, uint256); function rebalance( int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] memory minIn, uint256[4] memory outMin ) external; function addBaseLiquidity( uint256 amount0, uint256 amount1, uint256[2] memory minIn ) external; function addLimitLiquidity( uint256 amount0, uint256 amount1, uint256[2] memory minIn ) external; function pullLiquidity( uint256 shares, uint256[4] memory minAmounts ) external returns ( uint256 base0, uint256 base1, uint256 limit0, uint256 limit1 ); function compound() external returns ( uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed ); function compound(uint256[4] memory inMin) external returns ( uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed ); function pool() external view returns (IUniswapV3Pool); function currentTick() external view returns (int24 tick); function token0() external view returns (IERC20); function token1() external view returns (IERC20); function deposit0Max() external view returns (uint256); function deposit1Max() external view returns (uint256); function balanceOf(address) external view returns (uint256); function approve(address, uint256) external returns (bool); function transferFrom(address, address, uint256) external returns (bool); function transfer(address, uint256) external returns (bool); function getTotalAmounts() external view returns (uint256 total0, uint256 total1); function totalSupply() external view returns (uint256 ); function setWhitelist(address _address) external; function removeWhitelisted() external; function transferOwnership(address newOwner) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; import './pool/IUniswapV3PoolImmutables.sol'; import './pool/IUniswapV3PoolState.sol'; import './pool/IUniswapV3PoolDerivedState.sol'; import './pool/IUniswapV3PoolActions.sol'; import './pool/IUniswapV3PoolOwnerActions.sol'; import './pool/IUniswapV3PoolEvents.sol'; /// @title The interface for a Uniswap V3 Pool /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform /// to the ERC20 specification /// @dev The pool interface is broken up into many smaller pieces interface IUniswapV3Pool is IUniswapV3PoolImmutables, IUniswapV3PoolState, IUniswapV3PoolDerivedState, IUniswapV3PoolActions, IUniswapV3PoolOwnerActions, IUniswapV3PoolEvents { }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that never changes /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values interface IUniswapV3PoolImmutables { /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface /// @return The contract address function factory() external view returns (address); /// @notice The first of the two tokens of the pool, sorted by address /// @return The token contract address function token0() external view returns (address); /// @notice The second of the two tokens of the pool, sorted by address /// @return The token contract address function token1() external view returns (address); /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6 /// @return The fee function fee() external view returns (uint24); /// @notice The pool tick spacing /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... /// This value is an int24 to avoid casting even though it is always positive. /// @return The tick spacing function tickSpacing() external view returns (int24); /// @notice The maximum amount of position liquidity that can use any tick in the range /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool /// @return The max amount of liquidity per tick function maxLiquidityPerTick() external view returns (uint128); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that can change /// @notice These methods compose the pool's state, and can change with any frequency including multiple times /// per transaction interface IUniswapV3PoolState { /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas /// when accessed externally. /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value /// tick The current tick of the pool, i.e. according to the last tick transition that was run. /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick /// boundary. /// observationIndex The index of the last oracle observation that was written, /// observationCardinality The current maximum number of observations stored in the pool, /// observationCardinalityNext The next maximum number of observations, to be updated when the observation. /// feeProtocol The protocol fee for both tokens of the pool. /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0 /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee. /// unlocked Whether the pool is currently locked to reentrancy function slot0() external view returns ( uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked ); /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool /// @dev This value can overflow the uint256 function feeGrowthGlobal0X128() external view returns (uint256); /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool /// @dev This value can overflow the uint256 function feeGrowthGlobal1X128() external view returns (uint256); /// @notice The amounts of token0 and token1 that are owed to the protocol /// @dev Protocol fees will never exceed uint128 max in either token function protocolFees() external view returns (uint128 token0, uint128 token1); /// @notice The currently in range liquidity available to the pool /// @dev This value has no relationship to the total liquidity across all ticks function liquidity() external view returns (uint128); /// @notice Look up information about a specific tick in the pool /// @param tick The tick to look up /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or /// tick upper, /// liquidityNet how much liquidity changes when the pool price crosses the tick, /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0, /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1, /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick, /// secondsOutside the seconds spent on the other side of the tick from the current tick, /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false. /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0. /// In addition, these values are only relative and must be used only in comparison to previous snapshots for /// a specific position. function ticks(int24 tick) external view returns ( uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized ); /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information function tickBitmap(int16 wordPosition) external view returns (uint256); /// @notice Returns the information about a position by the position's key /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper /// @return _liquidity The amount of liquidity in the position, /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke, /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke, /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke, /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke function positions(bytes32 key) external view returns ( uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); /// @notice Returns data about a specific observation index /// @param index The element of the observations array to fetch /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time /// ago, rather than at a specific index in the array. /// @return blockTimestamp The timestamp of the observation, /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp, /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp, /// Returns initialized whether the observation has been initialized and the values are safe to use function observations(uint256 index) external view returns ( uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized ); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that is not stored /// @notice Contains view functions to provide information about the pool that is computed rather than stored on the /// blockchain. The functions here may have variable gas costs. interface IUniswapV3PoolDerivedState { /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick, /// you must call it with secondsAgos = [3600, 0]. /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio. /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block /// timestamp function observe(uint32[] calldata secondsAgos) external view returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s); /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed. /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first /// snapshot is taken and the second snapshot is taken. /// @param tickLower The lower tick of the range /// @param tickUpper The upper tick of the range /// @return tickCumulativeInside The snapshot of the tick accumulator for the range /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range /// @return secondsInside The snapshot of seconds per liquidity for the range function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) external view returns ( int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside ); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Permissionless pool actions /// @notice Contains pool methods that can be called by anyone interface IUniswapV3PoolActions { /// @notice Sets the initial price for the pool /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96 function initialize(uint160 sqrtPriceX96) external; /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends /// on tickLower, tickUpper, the amount of liquidity, and the current price. /// @param recipient The address for which the liquidity will be created /// @param tickLower The lower tick of the position in which to add liquidity /// @param tickUpper The upper tick of the position in which to add liquidity /// @param amount The amount of liquidity to mint /// @param data Any data that should be passed through to the callback /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback function mint( address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes calldata data ) external returns (uint256 amount0, uint256 amount1); /// @notice Collects tokens owed to a position /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity. /// @param recipient The address which should receive the fees collected /// @param tickLower The lower tick of the position for which to collect fees /// @param tickUpper The upper tick of the position for which to collect fees /// @param amount0Requested How much token0 should be withdrawn from the fees owed /// @param amount1Requested How much token1 should be withdrawn from the fees owed /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect( address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested ) external returns (uint128 amount0, uint128 amount1); /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0 /// @dev Fees must be collected separately via a call to #collect /// @param tickLower The lower tick of the position for which to burn liquidity /// @param tickUpper The upper tick of the position for which to burn liquidity /// @param amount How much liquidity to burn /// @return amount0 The amount of token0 sent to the recipient /// @return amount1 The amount of token1 sent to the recipient function burn( int24 tickLower, int24 tickUpper, uint128 amount ) external returns (uint256 amount0, uint256 amount1); /// @notice Swap token0 for token1, or token1 for token0 /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback /// @param recipient The address to receive the output of the swap /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0 /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative) /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this /// value after the swap. If one for zero, the price cannot be greater than this value after the swap /// @param data Any data to be passed through to the callback /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive function swap( address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes calldata data ) external returns (int256 amount0, int256 amount1); /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling /// with 0 amount{0,1} and sending the donation amount(s) from the callback /// @param recipient The address which will receive the token0 and token1 amounts /// @param amount0 The amount of token0 to send /// @param amount1 The amount of token1 to send /// @param data Any data to be passed through to the callback function flash( address recipient, uint256 amount0, uint256 amount1, bytes calldata data ) external; /// @notice Increase the maximum number of price and liquidity observations that this pool will store /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to /// the input observationCardinalityNext. /// @param observationCardinalityNext The desired minimum number of observations for the pool to store function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Permissioned pool actions /// @notice Contains pool methods that may only be called by the factory owner interface IUniswapV3PoolOwnerActions { /// @notice Set the denominator of the protocol's % share of the fees /// @param feeProtocol0 new protocol fee for token0 of the pool /// @param feeProtocol1 new protocol fee for token1 of the pool function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external; /// @notice Collect the protocol fee accrued to the pool /// @param recipient The address to which collected protocol fees should be sent /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 /// @return amount0 The protocol fee collected in token0 /// @return amount1 The protocol fee collected in token1 function collectProtocol( address recipient, uint128 amount0Requested, uint128 amount1Requested ) external returns (uint128 amount0, uint128 amount1); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Events emitted by a pool /// @notice Contains all events emitted by the pool interface IUniswapV3PoolEvents { /// @notice Emitted exactly once by a pool when #initialize is first called on the pool /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96 /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool event Initialize(uint160 sqrtPriceX96, int24 tick); /// @notice Emitted when liquidity is minted for a given position /// @param sender The address that minted the liquidity /// @param owner The owner of the position and recipient of any minted liquidity /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount The amount of liquidity minted to the position range /// @param amount0 How much token0 was required for the minted liquidity /// @param amount1 How much token1 was required for the minted liquidity event Mint( address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1 ); /// @notice Emitted when fees are collected by the owner of a position /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees /// @param owner The owner of the position for which fees are collected /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount0 The amount of token0 fees collected /// @param amount1 The amount of token1 fees collected event Collect( address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1 ); /// @notice Emitted when a position's liquidity is removed /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect /// @param owner The owner of the position for which liquidity is removed /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount The amount of liquidity to remove /// @param amount0 The amount of token0 withdrawn /// @param amount1 The amount of token1 withdrawn event Burn( address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1 ); /// @notice Emitted by the pool for any swaps between token0 and token1 /// @param sender The address that initiated the swap call, and that received the callback /// @param recipient The address that received the output of the swap /// @param amount0 The delta of the token0 balance of the pool /// @param amount1 The delta of the token1 balance of the pool /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96 /// @param liquidity The liquidity of the pool after the swap /// @param tick The log base 1.0001 of price of the pool after the swap event Swap( address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick ); /// @notice Emitted by the pool for any flashes of token0/token1 /// @param sender The address that initiated the swap call, and that received the callback /// @param recipient The address that received the tokens from flash /// @param amount0 The amount of token0 that was flashed /// @param amount1 The amount of token1 that was flashed /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee event Flash( address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1 ); /// @notice Emitted by the pool for increases to the number of observations that can be stored /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index /// just before a mint/swap/burn. /// @param observationCardinalityNextOld The previous value of the next observation cardinality /// @param observationCardinalityNextNew The updated value of the next observation cardinality event IncreaseObservationCardinalityNext( uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew ); /// @notice Emitted when the protocol fee is changed by the pool /// @param feeProtocol0Old The previous value of the token0 protocol fee /// @param feeProtocol1Old The previous value of the token1 protocol fee /// @param feeProtocol0New The updated value of the token0 protocol fee /// @param feeProtocol1New The updated value of the token1 protocol fee event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New); /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner /// @param sender The address that collects the protocol fees /// @param recipient The address that receives the collected protocol fees /// @param amount0 The amount of token0 protocol fees that is withdrawn /// @param amount0 The amount of token1 protocol fees that is withdrawn event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1); }
{ "optimizer": { "enabled": true, "runs": 800 }, "metadata": { "bytecodeHash": "none" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_advisor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256[2]","name":"inMin","type":"uint256[2]"}],"name":"addBaseLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256[2]","name":"inMin","type":"uint256[2]"}],"name":"addLimitLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"advisor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"}],"name":"compound","outputs":[{"internalType":"uint128","name":"baseToken0Owed","type":"uint128"},{"internalType":"uint128","name":"baseToken1Owed","type":"uint128"},{"internalType":"uint128","name":"limitToken0Owed","type":"uint128"},{"internalType":"uint128","name":"limitToken1Owed","type":"uint128"},{"internalType":"uint256[4]","name":"inMin","type":"uint256[4]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"uint256[4]","name":"inMin","type":"uint256[4]"}],"name":"compound","outputs":[{"internalType":"uint128","name":"baseToken0Owed","type":"uint128"},{"internalType":"uint128","name":"baseToken1Owed","type":"uint128"},{"internalType":"uint128","name":"limitToken0Owed","type":"uint128"},{"internalType":"uint128","name":"limitToken1Owed","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256[4]","name":"minAmounts","type":"uint256[4]"}],"name":"pullLiquidity","outputs":[{"internalType":"uint256","name":"base0","type":"uint256"},{"internalType":"uint256","name":"base1","type":"uint256"},{"internalType":"uint256","name":"limit0","type":"uint256"},{"internalType":"uint256","name":"limit1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"int24","name":"_baseLower","type":"int24"},{"internalType":"int24","name":"_baseUpper","type":"int24"},{"internalType":"int24","name":"_limitLower","type":"int24"},{"internalType":"int24","name":"_limitUpper","type":"int24"},{"internalType":"address","name":"_feeRecipient","type":"address"},{"internalType":"uint256[4]","name":"inMin","type":"uint256[4]"},{"internalType":"uint256[4]","name":"outMin","type":"uint256[4]"}],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"}],"name":"removeWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"address","name":"_address","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"transferAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdvisor","type":"address"}],"name":"transferAdvisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hypervisor","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferHypervisorOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161120a38038061120a8339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b038216610097576040805162461bcd60e51b815260206004820152601960248201527f5f61646d696e2073686f756c64206265206e6f6e2d7a65726f00000000000000604482015290519081900360640190fd5b6001600160a01b0381166100f2576040805162461bcd60e51b815260206004820152601b60248201527f5f61647669736f722073686f756c64206265206e6f6e2d7a65726f0000000000604482015290519081900360640190fd5b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556110dd8061012d6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b4e9bf881161008c578063cbc3ff2011610066578063cbc3ff2014610416578063ce4474501461047b578063cf0789c414610517578063f851a4401461057c576100ea565b8063b4e9bf88146102a8578063ba181ac61461035f578063bb26a96a1461038d576100ea565b8063291d9549116100c8578063291d9549146102085780634fe5ca8c1461022e5780635d799f871461025457806375829def14610282576100ea565b80630fdf7a4c146100ef5780631936e4be1461011f578063284dac2314610143575b600080fd5b61011d6004803603604081101561010557600080fd5b506001600160a01b0381358116916020013516610584565b005b61012761063b565b604080516001600160a01b039092168252519081900360200190f35b6101696004803603602081101561015957600080fd5b50356001600160a01b031661064a565b60405180866fffffffffffffffffffffffffffffffff168152602001856fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff16815260200182600460200280838360005b838110156101f15781810151838201526020016101d9565b505050509050019550505050505060405180910390f35b61011d6004803603602081101561021e57600080fd5b50356001600160a01b0316610717565b61011d6004803603602081101561024457600080fd5b50356001600160a01b03166107b9565b61011d6004803603604081101561026a57600080fd5b506001600160a01b038135811691602001351661088f565b61011d6004803603602081101561029857600080fd5b50356001600160a01b0316610a5f565b61011d60048036036101c08110156102bf57600080fd5b60408051608081810183526001600160a01b0385358116956020810135600290810b9695820135810b956060830135820b958584013590920b9460a084013590941693908301929161014083019160c084019060049083908390808284376000920191909152505060408051608081810190925292959493818101939250906004908390839080828437600092019190915250919450610b359350505050565b61011d6004803603604081101561037557600080fd5b506001600160a01b0381358116916020013516610c7a565b6103f0600480360360c08110156103a357600080fd5b60408051608081810183526001600160a01b0385351694602081013594810193909260c084019290918401906004908390839080828437600092019190915250919450610d159350505050565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61011d600480360360a081101561042c57600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a083019160608401906002908390839080828437600092019190915250919450610e2d9350505050565b6104da600480360360a081101561049157600080fd5b6040805160808181019092526001600160a01b0384351693928301929160a08301919060208401906004908390839080828437600092019190915250919450610f149350505050565b604080516fffffffffffffffffffffffffffffffff9586168152938516602085015291841683830152909216606082015290519081900360800190f35b61011d600480360360a081101561052d57600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a08301916060840190600290839083908082843760009201919091525091945061100b9350505050565b6101276110a3565b6000546001600160a01b031633146105d0576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b816001600160a01b031663f2fde38b826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561061f57600080fd5b505af1158015610633573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031681565b6000806000806106586110b2565b6001546001600160a01b031633146106a6576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b856001600160a01b031663f69e20466040518163ffffffff1660e01b8152600401608060405180830381600087803b1580156106e157600080fd5b505af11580156106f5573d6000803e3d6000fd5b505050506040513d608081101561070b57600080fd5b50949693955091935091565b6000546001600160a01b03163314610763576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b806001600160a01b031663c5241e296040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561079e57600080fd5b505af11580156107b2573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03163314610805576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610860576040805162461bcd60e51b815260206004820152601d60248201527f6e657741647669736f722073686f756c64206265206e6f6e2d7a65726f000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108db576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610936576040805162461bcd60e51b815260206004820152601c60248201527f726563697069656e742073686f756c64206265206e6f6e2d7a65726f00000000604482015290519081900360640190fd5b816001600160a01b031663a9059cbb82846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561099357600080fd5b505afa1580156109a7573d6000803e3d6000fd5b505050506040513d60208110156109bd57600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610a2657600080fd5b505af1158015610a3a573d6000803e3d6000fd5b505050506040513d6020811015610a5057600080fd5b5051610a5b57600080fd5b5050565b6000546001600160a01b03163314610aab576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610b06576040805162461bcd60e51b815260206004820152601b60248201527f6e657741646d696e2073686f756c64206265206e6f6e2d7a65726f0000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610b83576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b876001600160a01b03166385919c5d888888888888886040518863ffffffff1660e01b8152600401808860020b81526020018760020b81526020018660020b81526020018560020b8152602001846001600160a01b0316815260200183600460200280838360005b83811015610c03578181015183820152602001610beb565b5050505090500182600460200280838360005b83811015610c2e578181015183820152602001610c16565b50505050905001975050505050505050600060405180830381600087803b158015610c5857600080fd5b505af1158015610c6c573d6000803e3d6000fd5b505050505050505050505050565b6000546001600160a01b03163314610cc6576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b816001600160a01b031663854cff2f826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561061f57600080fd5b6001546000908190819081906001600160a01b03163314610d6c576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b604051631bead8f360e01b8152600481018781526001600160a01b03891691631bead8f391899189919060240182608080838360005b83811015610dba578181015183820152602001610da2565b5050505090500192505050608060405180830381600087803b158015610ddf57600080fd5b505af1158015610df3573d6000803e3d6000fd5b505050506040513d6080811015610e0957600080fd5b50805160208201516040830151606090930151919a90995091975095509350505050565b6001546001600160a01b03163314610e7b576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b836001600160a01b03166349e8f1c28484846040518463ffffffff1660e01b81526004018084815260200183815260200182600260200280838360005b83811015610ed0578181015183820152602001610eb8565b505050509050019350505050600060405180830381600087803b158015610ef657600080fd5b505af1158015610f0a573d6000803e3d6000fd5b5050505050505050565b6001546000908190819081906001600160a01b03163314610f6b576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b60405163144faa2160e21b81526001600160a01b0387169063513ea8849087906004018082608080838360005b83811015610fb0578181015183820152602001610f98565b50505050905001915050608060405180830381600087803b158015610fd457600080fd5b505af1158015610fe8573d6000803e3d6000fd5b505050506040513d6080811015610ffe57600080fd5b5093969295509093509150565b6001546001600160a01b03163314611059576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b60408051632527aa1d60e01b81526004810185815260248201859052835160449092019182526001600160a01b03871692632527aa1d928792879287929083908083836020610eb8565b6000546001600160a01b031681565b6040518060800160405280600490602082028036833750919291505056fea164736f6c6343000706000a000000000000000000000000f14c8b0ab465bd3d22d04495a8e25f75da2ec16e0000000000000000000000005a6eade27773eab2e4038ec7cf388781eca02f63
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b4e9bf881161008c578063cbc3ff2011610066578063cbc3ff2014610416578063ce4474501461047b578063cf0789c414610517578063f851a4401461057c576100ea565b8063b4e9bf88146102a8578063ba181ac61461035f578063bb26a96a1461038d576100ea565b8063291d9549116100c8578063291d9549146102085780634fe5ca8c1461022e5780635d799f871461025457806375829def14610282576100ea565b80630fdf7a4c146100ef5780631936e4be1461011f578063284dac2314610143575b600080fd5b61011d6004803603604081101561010557600080fd5b506001600160a01b0381358116916020013516610584565b005b61012761063b565b604080516001600160a01b039092168252519081900360200190f35b6101696004803603602081101561015957600080fd5b50356001600160a01b031661064a565b60405180866fffffffffffffffffffffffffffffffff168152602001856fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff16815260200182600460200280838360005b838110156101f15781810151838201526020016101d9565b505050509050019550505050505060405180910390f35b61011d6004803603602081101561021e57600080fd5b50356001600160a01b0316610717565b61011d6004803603602081101561024457600080fd5b50356001600160a01b03166107b9565b61011d6004803603604081101561026a57600080fd5b506001600160a01b038135811691602001351661088f565b61011d6004803603602081101561029857600080fd5b50356001600160a01b0316610a5f565b61011d60048036036101c08110156102bf57600080fd5b60408051608081810183526001600160a01b0385358116956020810135600290810b9695820135810b956060830135820b958584013590920b9460a084013590941693908301929161014083019160c084019060049083908390808284376000920191909152505060408051608081810190925292959493818101939250906004908390839080828437600092019190915250919450610b359350505050565b61011d6004803603604081101561037557600080fd5b506001600160a01b0381358116916020013516610c7a565b6103f0600480360360c08110156103a357600080fd5b60408051608081810183526001600160a01b0385351694602081013594810193909260c084019290918401906004908390839080828437600092019190915250919450610d159350505050565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61011d600480360360a081101561042c57600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a083019160608401906002908390839080828437600092019190915250919450610e2d9350505050565b6104da600480360360a081101561049157600080fd5b6040805160808181019092526001600160a01b0384351693928301929160a08301919060208401906004908390839080828437600092019190915250919450610f149350505050565b604080516fffffffffffffffffffffffffffffffff9586168152938516602085015291841683830152909216606082015290519081900360800190f35b61011d600480360360a081101561052d57600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a08301916060840190600290839083908082843760009201919091525091945061100b9350505050565b6101276110a3565b6000546001600160a01b031633146105d0576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b816001600160a01b031663f2fde38b826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561061f57600080fd5b505af1158015610633573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031681565b6000806000806106586110b2565b6001546001600160a01b031633146106a6576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b856001600160a01b031663f69e20466040518163ffffffff1660e01b8152600401608060405180830381600087803b1580156106e157600080fd5b505af11580156106f5573d6000803e3d6000fd5b505050506040513d608081101561070b57600080fd5b50949693955091935091565b6000546001600160a01b03163314610763576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b806001600160a01b031663c5241e296040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561079e57600080fd5b505af11580156107b2573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03163314610805576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610860576040805162461bcd60e51b815260206004820152601d60248201527f6e657741647669736f722073686f756c64206265206e6f6e2d7a65726f000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108db576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610936576040805162461bcd60e51b815260206004820152601c60248201527f726563697069656e742073686f756c64206265206e6f6e2d7a65726f00000000604482015290519081900360640190fd5b816001600160a01b031663a9059cbb82846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561099357600080fd5b505afa1580156109a7573d6000803e3d6000fd5b505050506040513d60208110156109bd57600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610a2657600080fd5b505af1158015610a3a573d6000803e3d6000fd5b505050506040513d6020811015610a5057600080fd5b5051610a5b57600080fd5b5050565b6000546001600160a01b03163314610aab576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610b06576040805162461bcd60e51b815260206004820152601b60248201527f6e657741646d696e2073686f756c64206265206e6f6e2d7a65726f0000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610b83576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b876001600160a01b03166385919c5d888888888888886040518863ffffffff1660e01b8152600401808860020b81526020018760020b81526020018660020b81526020018560020b8152602001846001600160a01b0316815260200183600460200280838360005b83811015610c03578181015183820152602001610beb565b5050505090500182600460200280838360005b83811015610c2e578181015183820152602001610c16565b50505050905001975050505050505050600060405180830381600087803b158015610c5857600080fd5b505af1158015610c6c573d6000803e3d6000fd5b505050505050505050505050565b6000546001600160a01b03163314610cc6576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b816001600160a01b031663854cff2f826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561061f57600080fd5b6001546000908190819081906001600160a01b03163314610d6c576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b604051631bead8f360e01b8152600481018781526001600160a01b03891691631bead8f391899189919060240182608080838360005b83811015610dba578181015183820152602001610da2565b5050505090500192505050608060405180830381600087803b158015610ddf57600080fd5b505af1158015610df3573d6000803e3d6000fd5b505050506040513d6080811015610e0957600080fd5b50805160208201516040830151606090930151919a90995091975095509350505050565b6001546001600160a01b03163314610e7b576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b836001600160a01b03166349e8f1c28484846040518463ffffffff1660e01b81526004018084815260200183815260200182600260200280838360005b83811015610ed0578181015183820152602001610eb8565b505050509050019350505050600060405180830381600087803b158015610ef657600080fd5b505af1158015610f0a573d6000803e3d6000fd5b5050505050505050565b6001546000908190819081906001600160a01b03163314610f6b576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b60405163144faa2160e21b81526001600160a01b0387169063513ea8849087906004018082608080838360005b83811015610fb0578181015183820152602001610f98565b50505050905001915050608060405180830381600087803b158015610fd457600080fd5b505af1158015610fe8573d6000803e3d6000fd5b505050506040513d6080811015610ffe57600080fd5b5093969295509093509150565b6001546001600160a01b03163314611059576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b60408051632527aa1d60e01b81526004810185815260248201859052835160449092019182526001600160a01b03871692632527aa1d928792879287929083908083836020610eb8565b6000546001600160a01b031681565b6040518060800160405280600490602082028036833750919291505056fea164736f6c6343000706000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f14c8b0ab465bd3d22d04495a8e25f75da2ec16e0000000000000000000000005a6eade27773eab2e4038ec7cf388781eca02f63
-----Decoded View---------------
Arg [0] : _admin (address): 0xF14c8b0aB465bd3D22D04495A8E25f75Da2ec16e
Arg [1] : _advisor (address): 0x5a6eaDe27773eab2e4038Ec7cF388781EcA02F63
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f14c8b0ab465bd3d22d04495a8e25f75da2ec16e
Arg [1] : 0000000000000000000000005a6eade27773eab2e4038ec7cf388781eca02f63
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.