0 txs
3 calls
constructor
No constructor.
functions
actionsSorter
purefunction actionsSorter(tuple[] actions, tuple nextAction) pure returns (tuple)
actionsSorter
purefunction actionsSorter(tuple[] actions) pure returns (tuple)
getBorrowAction
purefunction getBorrowAction(uint8 index, uint256 amount, address to) pure returns (tuple)
getBorrowAndMintUniV2Action
purefunction getBorrowAndMintUniV2Action(uint256 lpAmountUser, uint256 amount0User, uint256 amount1User, uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min) pure returns (tuple)
getBorrowAndMintUniV3Action
purefunction getBorrowAndMintUniV3Action(uint256 amount0User, uint256 amount1User, uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min) pure returns (tuple)
getMintUniV2Action
purefunction getMintUniV2Action(uint256 lpAmountUser, uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min) pure returns (tuple)
getMintUniV2EmptyAction
purefunction getMintUniV2EmptyAction() pure returns (tuple)
getMintUniV2InternalAction
purefunction getMintUniV2InternalAction(uint256 lpAmountUser, uint256 amount0User, uint256 amount1User, uint256 amount0Router, uint256 amount1Router) pure returns (tuple)
getMintUniV3Action
purefunction getMintUniV3Action(uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min) pure returns (tuple)
getMintUniV3EmptyAction
purefunction getMintUniV3EmptyAction(uint24 fee, int24 tickLower, int24 tickUpper) pure returns (tuple)
getMintUniV3InternalAction
purefunction getMintUniV3InternalAction(uint128 liquidity, uint256 amount0User, uint256 amount1User, uint256 amount0Router, uint256 amount1Router) pure returns (tuple)
getNoAction
purefunction getNoAction() pure returns (tuple)
getRedeemUniV2Action
purefunction getRedeemUniV2Action(uint256 percentage, uint256 amount0Min, uint256 amount1Min, address to) pure returns (tuple)
getRedeemUniV3Action
purefunction getRedeemUniV3Action(uint256 percentage, uint256 amount0Min, uint256 amount1Min, address to) pure returns (tuple)
getRepayRouterAction
purefunction getRepayRouterAction(uint8 index, uint256 amountMax, address refundTo) pure returns (tuple)
getRepayUserAction
purefunction getRepayUserAction(uint8 index, uint256 amountMax) pure returns (tuple)
getWithdrawEthAction
purefunction getWithdrawEthAction(address to) pure returns (tuple)
getWithdrawTokenAction
purefunction getWithdrawTokenAction(address token, address to) pure returns (tuple)
events
No events.
errors
No errors.
creation bytecode
0x611563610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101405760003560e01c80637681288a116100bc578063b6ea87e61161008b578063d7731d2011610070578063d7731d201461026d578063ea5590f314610280578063f96d52881461029357610140565b8063b6ea87e614610247578063c7ad3fe31461025a57610140565b80637681288a146101fb57806382b329ce1461020e578063a862d1dd14610221578063b2e0a0f81461023457610140565b80632168d3a711610113578063325c3625116100f8578063325c3625146101c2578063413d5e96146101d55780635d61f538146101e857610140565b80632168d3a71461019c57806321938789146101af57610140565b806317d0c30d146101455780631ad2cfd81461016e5780631b46b07e1461018157806320cb51e614610189575b600080fd5b610158610153366004610d0c565b61029b565b60405161016591906112ba565b60405180910390f35b61015861017c366004610c56565b6102fd565b61015861035a565b610158610197366004610d30565b610381565b6101586101aa366004610d0c565b6103d6565b6101586101bd366004610e83565b61041a565b6101586101d0366004610cb7565b610473565b6101586101e3366004610b35565b6104b1565b6101586101f6366004610c09565b6105fe565b610158610209366004610b94565b610641565b61015861021c366004610b00565b610697565b61015861022f366004610db7565b6106b3565b610158610242366004610e83565b61070f565b610158610255366004610c56565b610760565b610158610268366004610e53565b6107b4565b61015861027b366004610aa8565b6107f0565b61015861028e366004610ac6565b610832565b610158610890565b6102a36108f3565b6102f360076040518060a00160405280898152602001888152602001878152602001868152602001858152506040516020016102df91906112f5565b6040516020818303038152906040526108ae565b9695505050505050565b6103056108f3565b610351600960405180608001604052808881526020018781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df919061132d565b95945050505050565b6103626108f3565b61037c6006604051806020016040528060008152506108ae565b905090565b6103896108f3565b6103cb600f6040518060c001604052808a8152602001898152602001888152602001878152602001868152602001858152506040516020016102df91906112d9565b979650505050505050565b6103de6108f3565b6102f360086040518060a00160405280898152602001888152602001878152602001868152602001858152506040516020016102df91906112f5565b6104226108f3565b61046b600260405180606001604052808760ff1681526020018681526020018573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df91906112e7565b949350505050565b61047b6108f3565b610351600d6040518060800160405280888152602001878152602001868152602001858152506040516020016102df9190611303565b6104b96108f3565b60008351116104fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f4906112aa565b60405180910390fd5b8160405160200161050e91906112ba565b6040516020818303038152906040528360018551038151811061052d57fe5b60209081029190910101516040015282517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b80156105df5783818151811061057357fe5b602002602001015160405160200161058b91906112ba565b6040516020818303038152906040528460018303815181106105a957fe5b6020908102919091010151604001527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610561565b50826000815181106105ed57fe5b602002602001015190505b92915050565b6106066108f3565b61046b600b60405180606001604052808762ffffff1681526020018660020b81526020018560020b8152506040516020016102df9190611311565b6106496108f3565b6102f3600c6040518060a00160405280896fffffffffffffffffffffffffffffffff168152602001888152602001878152602001868152602001858152506040516020016102df919061131f565b61069f6108f3565b6106ab826101e3610890565b90505b919050565b6106bb6108f3565b610703600a6040518060e001604052808b81526020018a8152602001898152602001888152602001878152602001868152602001858152506040516020016102df91906112cb565b98975050505050505050565b6107176108f3565b61046b600060405180606001604052808760ff1681526020018681526020018573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df91906112e7565b6107686108f3565b610351600e60405180608001604052808881526020018781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df919061132d565b6107bc6108f3565b6107e9600160405180604001604052808660ff168152602001858152506040516020016102df919061133b565b9392505050565b6107f86108f3565b6106ab600460405180602001604052808573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df9190611349565b61083a6108f3565b6107e9600360405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152506040516020016102df9190611357565b6108986108f3565b61037c6005604051806020016040528060008152505b6108b66108f3565b604051806060016040528084600f8111156108cd57fe5b815260200183815260200160405180602001604052806000815250815250905092915050565b6040805160608101909152806000815260200160608152602001606081525090565b80356105f8816114d2565b600082601f83011261093157600080fd5b813561094461093f8261138c565b611365565b81815260209384019390925082018360005b83811015610982578135860161096c88826109f1565b8452506020928301929190910190600101610956565b5050505092915050565b600082601f83011261099d57600080fd5b81356109ab61093f826113ad565b915080825260208301602083018583830111156109c757600080fd5b6109d2838284611465565b50505092915050565b80356105f8816114e6565b80356105f8816114f3565b600060608284031215610a0357600080fd5b610a0d6060611365565b90506000610a1b84846109db565b825250602082013567ffffffffffffffff811115610a3857600080fd5b610a448482850161098c565b602083015250604082013567ffffffffffffffff811115610a6457600080fd5b610a708482850161098c565b60408301525092915050565b80356105f8816114fc565b80356105f881611505565b80356105f88161150e565b80356105f881611517565b600060208284031215610aba57600080fd5b600061046b8484610915565b60008060408385031215610ad957600080fd5b6000610ae58585610915565b9250506020610af685828601610915565b9150509250929050565b600060208284031215610b1257600080fd5b813567ffffffffffffffff811115610b2957600080fd5b61046b84828501610920565b60008060408385031215610b4857600080fd5b823567ffffffffffffffff811115610b5f57600080fd5b610b6b85828601610920565b925050602083013567ffffffffffffffff811115610b8857600080fd5b610af6858286016109f1565b600080600080600060a08688031215610bac57600080fd5b6000610bb88888610a7c565b9550506020610bc988828901610a92565b9450506040610bda88828901610a92565b9350506060610beb88828901610a92565b9250506080610bfc88828901610a92565b9150509295509295909350565b600080600060608486031215610c1e57600080fd5b6000610c2a8686610a87565b9350506020610c3b868287016109e6565b9250506040610c4c868287016109e6565b9150509250925092565b60008060008060808587031215610c6c57600080fd5b6000610c788787610a92565b9450506020610c8987828801610a92565b9350506040610c9a87828801610a92565b9250506060610cab87828801610915565b91505092959194509250565b60008060008060808587031215610ccd57600080fd5b6000610cd98787610a92565b9450506020610cea87828801610a92565b9350506040610cfb87828801610a92565b9250506060610cab87828801610a92565b600080600080600060a08688031215610d2457600080fd5b6000610bb88888610a92565b60008060008060008060c08789031215610d4957600080fd5b6000610d558989610a92565b9650506020610d6689828a01610a92565b9550506040610d7789828a01610a92565b9450506060610d8889828a01610a92565b9350506080610d9989828a01610a92565b92505060a0610daa89828a01610a92565b9150509295509295509295565b600080600080600080600060e0888a031215610dd257600080fd5b6000610dde8a8a610a92565b9750506020610def8a828b01610a92565b9650506040610e008a828b01610a92565b9550506060610e118a828b01610a92565b9450506080610e228a828b01610a92565b93505060a0610e338a828b01610a92565b92505060c0610e448a828b01610a92565b91505092959891949750929550565b60008060408385031215610e6657600080fd5b6000610e728585610a9d565b9250506020610af685828601610a92565b600080600060608486031215610e9857600080fd5b6000610ea48686610a9d565b9350506020610eb586828701610a92565b9250506040610c4c86828701610915565b610ecf81611400565b82525050565b6000610ee0826113f3565b610eea81856113f7565b9350610efa818560208601611471565b610f038161149d565b9093019392505050565b610ecf8161145a565b610ecf81611415565b6000610f2c6029836113f7565b7f496d7065726d6178526f757465723a20554e45585045435445445f414354494f81527f4e535f4c454e4754480000000000000000000000000000000000000000000000602082015260400192915050565b80516000906060840190610f928582610f0d565b5060208301518482036020860152610faa8282610ed5565b915050604083015184820360408601526103518282610ed5565b805160e0830190610fd58482611298565b506020820151610fe86020850182611298565b506040820151610ffb6040850182611298565b50606082015161100e6060850182611298565b5060808201516110216080850182611298565b5060a082015161103460a0850182611298565b5060c082015161104760c0850182611298565b50505050565b805160c083019061105e8482611298565b5060208201516110716020850182611298565b5060408201516110846040850182611298565b5060608201516110976060850182611298565b5060808201516110aa6080850182611298565b5060a082015161104760a0850182611298565b805160608301906110ce84826112a1565b5060208201516110e16020850182611298565b5060408201516110476040850182610ec6565b805160a08301906111058482611298565b5060208201516111186020850182611298565b50604082015161112b6040850182611298565b50606082015161113e6060850182611298565b5060808201516110476080850182611298565b805160808301906111628482611298565b5060208201516111756020850182611298565b5060408201516111886040850182611298565b5060608201516110476060850182611298565b805160608301906111ac848261128f565b5060208201516111bf6020850182610f16565b5060408201516110476040850182610f16565b805160a08301906111058482611286565b805160808301906111f48482611298565b5060208201516112076020850182611298565b50604082015161121a6040850182611298565b5060608201516110476060850182610ec6565b8051604083019061123e84826112a1565b5060208201516110476020850182611298565b805160208301906110478482610ec6565b805160408301906112738482610ec6565b5060208201516110476020850182610ec6565b610ecf8161141b565b610ecf81611449565b610ecf81611451565b610ecf81611454565b602080825281016106ab81610f1f565b602080825281016107e98184610f7e565b60e081016105f88284610fc4565b60c081016105f8828461104d565b606081016105f882846110bd565b60a081016105f882846110f4565b608081016105f88284611151565b606081016105f8828461119b565b60a081016105f882846111d2565b608081016105f882846111e3565b604081016105f8828461122d565b602081016105f88284611251565b604081016105f88284611262565b60405181810167ffffffffffffffff8111828210171561138457600080fd5b604052919050565b600067ffffffffffffffff8211156113a357600080fd5b5060209081020190565b600067ffffffffffffffff8211156113c457600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b5190565b90815260200190565b60006106ab82611430565b806106ae816114c5565b60020b90565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b62ffffff1690565b90565b60ff1690565b60006106ab8261140b565b82818337506000910152565b60005b8381101561148c578181015183820152602001611474565b838111156110475750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b601081106114cf57fe5b50565b6114db81611400565b81146114cf57600080fd5b601081106114cf57600080fd5b6114db81611415565b6114db8161141b565b6114db81611449565b6114db81611451565b6114db8161145456fea365627a7a72315820462f47af5e4afdf0daeb9fe9ef1b903ce67afcccf8841934004ed43d8af10f486c6578706572696d656e74616cf564736f6c63430005100040