0 txs
1 call
constructor
constructor(address _router, address _swapRecipient, address _swapper)
functions
router
viewfunction router() view returns (address)
swapper
viewfunction swapper() view returns (address)
swapRecipient
viewfunction swapRecipient() view returns (address)
swapExactInput
nonpayablefunction swapExactInput(tuple params) returns (uint256 amountOut)
swapExactInputSingle
nonpayablefunction swapExactInputSingle(tuple params) returns (uint256 amountOut)
events
No events.
errors
InvalidRecipient
error InvalidRecipient()
InvalidSelector
error InvalidSelector()
NotSwapper
error NotSwapper()
creation bytecode
0x60e0346100cc57601f610a2638819003918201601f19168301916001600160401b038311848410176100d0578084926060946040528339810103126100cc578051906001600160a01b03821682036100cc576100696040610062602084016100e4565b92016100e4565b9160805260c05260a05260405161092d90816100f98239608051818181610311015281816104190152610725015260a05181818160c1015281816103630152610506015260c0518181816076015281816103cc015281816105e001526106c00152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036100cc5756fe60806040526004361015610011575f80fd5b5f3560e01c80632b14c06e146100645780632b3297f91461005f578063be736eb31461005a578063e536287a146100555763f887ea4014610050575f80fd5b6102fc565b610282565b610183565b6100ac565b346100a8575f3660031901126100a8577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166080908152602090f35b5f80fd5b346100a8575f3660031901126100a8576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b634e487b7160e01b5f52604160045260245ffd5b6060810190811067ffffffffffffffff82111761012057604052565b6100f0565b60c0810190811067ffffffffffffffff82111761012057604052565b90601f8019910116810190811067ffffffffffffffff82111761012057604052565b60405190610172608083610141565b565b6040519061017260e083610141565b346100a85760203660031901126100a85760043567ffffffffffffffff81116100a857606060031982360301126100a8576040516101c081610104565b816004013567ffffffffffffffff81116100a857820190366023830112156100a85760048201359167ffffffffffffffff8311610120576040519361020f601f8501601f191660200186610141565b83855236602483860101116100a857610260945f60208661025097602460449701838601378301015283526024810135602084015201356040820152610356565b6040519081529081906020820190565b0390f35b6001600160a01b038116036100a857565b60a4359061017282610264565b346100a85760c03660031901126100a85760405161029f81610125565b6004356102ab81610264565b81526024356102b981610264565b602082015260443562ffffff811681036100a85760408201526102609061025090606435606082015260843560808201526102f2610275565b60a08201526104f9565b346100a8575f3660031901126100a8576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b1561034757565b630f1442d560e11b5f5260045ffd5b61041490602090610391337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610340565b61039b81516107e2565b5050906103ad838201928351906106a9565b604081519251910151906103bf610163565b9283526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001684840152604083015260608201526040518093819263b858183f60e01b835260048301610494565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610480575f91610454575090565b610476915060203d602011610479575b61046e8183610141565b810190610485565b90565b503d610464565b6104ee565b908160209103126100a8575190565b6020606060c093828452805160808486015280519384918260a0880152018686015e5f84840186015260208101516001600160a01b03166040808601919091528101518285015201516080830152601f01601f1916010190565b6040513d5f823e3d90fd5b61041490602090610534337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610340565b805161061f906001600160a01b031661055360608401918251906106a9565b82516001600160a01b0316848401519093906001600160a01b0316916105d6610582604084015162ffffff1690565b9151916105ca6105a060a0608087015196015160018060a01b031690565b956105bb6105ac610174565b6001600160a01b03909a168a52565b6001600160a01b0316888a0152565b62ffffff166040870152565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166060860152608085015260a08401526001600160a01b031660c0830152565b604080516304e45aaf60e01b815282516001600160a01b0390811660048301526020840151811660248301529183015162ffffff1660448201526060830151821660648201526080830151608482015260a083015160a482015260c0909201511660c4820152918290819060e4820190565b908160209103126100a8575180151581036100a85790565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152306024830152604482018490529091166020826064815f855af1908115610480575f93602093610769936107a5575b5060405163095ea7b360e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152602481019190915293849283919082906044820190565b03925af180156104805761077a5750565b61079b9060203d60201161079e575b6107938183610141565b810190610691565b50565b503d610789565b6107bb90853d871161079e576107938183610141565b610715565b90601482018092116107ce57565b634e487b7160e01b5f52601160045260245ffd5b906107f882516107f15f6107c0565b11156108b3565b602082015160601c918051906017809210610877578181015191601481018082116107ce57811161083d5781610834602093516107f1846107c0565b01015160601c91565b60405162461bcd60e51b8152602060048201526012602482015271746f416464726573735f6f766572666c6f7760701b6044820152606490fd5b60405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b6044820152606490fd5b156108ba57565b60405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606490fdfea264697066735822122030f315a60f3e5fbb6607f528bdce46e6e24875281cecdcf97dc5b05ae72926ff64736f6c634300081c00330000000000000000000000002626664c2603336e57b271c5c0b26f421741e4810000000000000000000000007bf90111ad7c22bec9e9dff8a01a44713cc1b1b60000000000000000000000007f8f26082aaf40880245269a3ee3d66958f05c54