0 txs
0 calls
constructor
constructor(address _admin)
functions
admin
viewfunction admin() view returns (address)
advisors
viewfunction advisors(address) view returns (address)
ownerFixed
viewfunction ownerFixed() view returns (bool)
rebalancers
viewfunction rebalancers(address) view returns (address)
addBaseLiquidity
nonpayablefunction addBaseLiquidity(address _hypervisor, uint256 amount0, uint256 amount1, uint256[2] inMin)
addLimitLiquidity
nonpayablefunction addLimitLiquidity(address _hypervisor, uint256 amount0, uint256 amount1, uint256[2] inMin)
addLiquidity
nonpayablefunction addLiquidity(address _hypervisor, int24 tickLower, int24 tickUpper, uint256 amount0, uint256 amount1, uint256[2] inMin)
compound
nonpayablefunction compound(address _hypervisor, uint256[4] inMin) returns (uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed)
compound
nonpayablefunction compound(address _hypervisor) returns (uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed, uint256[4] inMin)
fixOwnership
nonpayablefunction fixOwnership()
pullLiquidity
nonpayablefunction pullLiquidity(address _hypervisor, int24 tickLower, int24 tickUpper, uint128 shares, uint256[2] minAmounts) returns (uint256 base0, uint256 base1)
pullLiquidity
nonpayablefunction pullLiquidity(address _hypervisor, uint256 shares, uint256[4] minAmounts) returns (uint256 base0, uint256 base1, uint256 limit0, uint256 limit1)
rebalance
nonpayablefunction rebalance(address _hypervisor, int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] inMin, uint256[4] outMin)
removeWhitelisted
nonpayablefunction removeWhitelisted(address _hypervisor)
rescueERC20
nonpayablefunction rescueERC20(address token, address recipient)
setAdvisor
nonpayablefunction setAdvisor(address _hypervisor, address newAdvisor)
setFee
nonpayablefunction setFee(address _hypervisor, uint8 newFee)
setRebalancer
nonpayablefunction setRebalancer(address _hypervisor, address newRebalancer)
transferAdmin
nonpayablefunction transferAdmin(address newAdmin)
transferHypervisorOwner
nonpayablefunction transferHypervisorOwner(address _hypervisor, address newOwner)
events
No events.
errors
No errors.
creation bytecode
0x60806040526000805460ff60a01b1916905534801561001d57600080fd5b506040516118063803806118068339818101604052602081101561004057600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055611794806100726000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80639572601d116100cd578063cbc3ff2011610081578063cf0789c411610066578063cf0789c4146106e7578063f82c90e21461074c578063f851a4401461077a5761016c565b8063cbc3ff20146105ef578063ce447450146106545761016c565b8063b4e9bf88116100b2578063b4e9bf8814610481578063bb26a96a14610538578063bc2ff23d146105c15761016c565b80639572601d146103e5578063a44d57a01461045b5761016c565b80632a3dc0041161012457806357d9abc21161010957806357d9abc2146102fd5780635d799f871461039157806375829def146103bf5761016c565b80632a3dc004146102d9578063461d5ddf146102f55761016c565b80630fdf7a4c116101555780630fdf7a4c146101e4578063284dac2314610212578063291d9549146102b35761016c565b806303ca0f6c14610171578063080f2a55146101b3575b600080fd5b6101976004803603602081101561018757600080fd5b50356001600160a01b0316610782565b604080516001600160a01b039092168252519081900360200190f35b6101e2600480360360408110156101c957600080fd5b5080356001600160a01b0316906020013560ff1661079d565b005b6101e2600480360360408110156101fa57600080fd5b506001600160a01b038135811691602001351661084e565b6102386004803603602081101561022857600080fd5b50356001600160a01b0316610948565b60405180866001600160801b03168152602001856001600160801b03168152602001846001600160801b03168152602001836001600160801b0316815260200182600460200280838360005b8381101561029c578181015183820152602001610284565b505050509050019550505050505060405180910390f35b6101e2600480360360208110156102c957600080fd5b50356001600160a01b0316610a2a565b6102e1610acc565b604080519115158252519081900360200190f35b6101e2610adc565b610378600480360360c081101561031357600080fd5b6040805180820182526001600160a01b03843516936020810135600290810b9484830135820b946001600160801b0360608501351694918401939260c0840192916080850191908390839080828437600092019190915250919450610b529350505050565b6040805192835260208301919091528051918290030190f35b6101e2600480360360408110156103a757600080fd5b506001600160a01b0381358116916020013516610c8b565b6101e2600480360360208110156103d557600080fd5b50356001600160a01b0316610e5b565b6101e2600480360360e08110156103fb57600080fd5b6040805180820182526001600160a01b03843516936020810135600290810b9484830135820b946060840135946080850135949283019360e084019260a0850191908390839080828437600092019190915250919450610f319350505050565b6101976004803603602081101561047157600080fd5b50356001600160a01b0316611045565b6101e260048036036101c081101561049857600080fd5b60408051608081810183526001600160a01b0385358116956020810135600290810b9695820135810b956060830135820b958584013590920b9460a084013590941693908301929161014083019160c0840190600490839083908082843760009201919091525050604080516080818101909252929594938181019392509060049083908390808284376000920191909152509194506110609350505050565b61059b600480360360c081101561054e57600080fd5b60408051608081810183526001600160a01b0385351694602081013594810193909260c0840192909184019060049083908390808284376000920191909152509194506111ba9350505050565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6101e2600480360360408110156105d757600080fd5b506001600160a01b03813581169160200135166112e6565b6101e2600480360360a081101561060557600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a0830191606084019060029083908390808284376000920191909152509194506113c89350505050565b6106b3600480360360a081101561066a57600080fd5b6040805160808181019092526001600160a01b0384351693928301929160a083019190602084019060049083908390808284376000920191909152509194506114c49350505050565b604080516001600160801b039586168152938516602085015291841683830152909216606082015290519081900360800190f35b6101e2600480360360a08110156106fd57600080fd5b6040805180820182526001600160a01b038435169360208101359383820135939082019260a0830191606084019060029083908390808284376000920191909152509194506115cc9350505050565b6101e26004803603604081101561076257600080fd5b506001600160a01b0381358116916020013516611678565b61019761175a565b6002602052600090815260409020546001600160a01b031681565b6000546001600160a01b031633146107e9576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b816001600160a01b031663cb122a09826040518263ffffffff1660e01b8152600401808260ff168152602001915050600060405180830381600087803b15801561083257600080fd5b505af1158015610846573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461089a576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b600054600160a01b900460ff16156108f9576040805162461bcd60e51b815260206004820152601860248201527f7065726d616e656e74206f776e657220696e20706c6163650000000000000000604482015290519081900360640190fd5b816001600160a01b031663f2fde38b826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561083257600080fd5b600080600080610956611769565b6001600160a01b0386811660009081526002602052604090205487911633146109b5576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b866001600160a01b031663f69e20466040518163ffffffff1660e01b8152600401608060405180830381600087803b1580156109f057600080fd5b505af1158015610a04573d6000803e3d6000fd5b505050506040513d6080811015610a1a57600080fd5b5095979496509294509092909150565b6000546001600160a01b03163314610a76576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b806001600160a01b031663c5241e296040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610ab157600080fd5b505af1158015610ac5573d6000803e3d6000fd5b5050505050565b600054600160a01b900460ff1681565b6000546001600160a01b03163314610b28576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6001600160a01b03858116600090815260016020526040812054909182918891163314610bb8576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b876001600160a01b03166395235656888888886040518563ffffffff1660e01b8152600401808560020b81526020018460020b8152602001836001600160801b0316815260200182600260200280838360005b83811015610c23578181015183820152602001610c0b565b505050509050019450505050506040805180830381600087803b158015610c4957600080fd5b505af1158015610c5d573d6000803e3d6000fd5b505050506040513d6040811015610c7357600080fd5b50805160209091015190999098509650505050505050565b6000546001600160a01b03163314610cd7576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610d32576040805162461bcd60e51b815260206004820152601c60248201527f726563697069656e742073686f756c64206265206e6f6e2d7a65726f00000000604482015290519081900360640190fd5b816001600160a01b031663a9059cbb82846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d8f57600080fd5b505afa158015610da3573d6000803e3d6000fd5b505050506040513d6020811015610db957600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610e2257600080fd5b505af1158015610e36573d6000803e3d6000fd5b505050506040513d6020811015610e4c57600080fd5b5051610e5757600080fd5b5050565b6000546001600160a01b03163314610ea7576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116610f02576040805162461bcd60e51b815260206004820152601b60248201527f6e657741646d696e2073686f756c64206265206e6f6e2d7a65726f0000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038681166000908152600160205260409020548791163314610f93576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b866001600160a01b03166363e9683687878787876040518663ffffffff1660e01b8152600401808660020b81526020018560020b815260200184815260200183815260200182600260200280838360005b83811015610ffc578181015183820152602001610fe4565b5050505090500195505050505050600060405180830381600087803b15801561102457600080fd5b505af1158015611038573d6000803e3d6000fd5b5050505050505050505050565b6001602052600090815260409020546001600160a01b031681565b6001600160a01b0388811660009081526001602052604090205489911633146110c2576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b886001600160a01b03166385919c5d898989898989896040518863ffffffff1660e01b8152600401808860020b81526020018760020b81526020018660020b81526020018560020b8152602001846001600160a01b0316815260200183600460200280838360005b8381101561114257818101518382015260200161112a565b5050505090500182600460200280838360005b8381101561116d578181015183820152602001611155565b50505050905001975050505050505050600060405180830381600087803b15801561119757600080fd5b505af11580156111ab573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b0383811660009081526001602052604081205490918291829182918891163314611224576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b604051631bead8f360e01b8152600481018881526001600160a01b038a1691631bead8f3918a918a919060240182608080838360005b8381101561127257818101518382015260200161125a565b5050505090500192505050608060405180830381600087803b15801561129757600080fd5b505af11580156112ab573d6000803e3d6000fd5b505050506040513d60808110156112c157600080fd5b50805160208201516040830151606090930151919b909a509198509650945050505050565b6000546001600160a01b03163314611332576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b03811661138d576040805162461bcd60e51b815260206004820152601d60248201527f6e657741647669736f722073686f756c64206265206e6f6e2d7a65726f000000604482015290519081900360640190fd5b6001600160a01b039182166000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191691909216179055565b6001600160a01b03848116600090815260016020526040902054859116331461142a576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b846001600160a01b03166349e8f1c28585856040518463ffffffff1660e01b81526004018084815260200183815260200182600260200280838360005b8381101561147f578181015183820152602001611467565b505050509050019350505050600060405180830381600087803b1580156114a557600080fd5b505af11580156114b9573d6000803e3d6000fd5b505050505050505050565b6001600160a01b038281166000908152600260205260408120549091829182918291879116331461152b576040805162461bcd60e51b815260206004820152600c60248201526b37b7363c9030b23b34b9b7b960a11b604482015290519081900360640190fd5b60405163144faa2160e21b81526001600160a01b0388169063513ea8849088906004018082608080838360005b83811015611570578181015183820152602001611558565b50505050905001915050608060405180830381600087803b15801561159457600080fd5b505af11580156115a8573d6000803e3d6000fd5b505050506040513d60808110156115be57600080fd5b509497939650919450925050565b6001600160a01b03848116600090815260016020526040902054859116331461162e576040805162461bcd60e51b815260206004820152600f60248201526e37b7363c903932b130b630b731b2b960891b604482015290519081900360640190fd5b60408051632527aa1d60e01b81526004810186815260248201869052845160449092019182526001600160a01b03881692632527aa1d928892889288929083908083836020611467565b6000546001600160a01b031633146116c4576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b03811661171f576040805162461bcd60e51b815260206004820181905260248201527f6e6577526562616c616e6365722073686f756c64206265206e6f6e2d7a65726f604482015290519081900360640190fd5b6001600160a01b039182166000908152600160205260409020805473ffffffffffffffffffffffffffffffffffffffff191691909216179055565b6000546001600160a01b031681565b6040518060800160405280600490602082028036833750919291505056fea164736f6c6343000706000a000000000000000000000000ade38bd2e8d5a52e60047affe6e595bb5e61923a