ETH Price: $2,128.93 (+0.58%)
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

1 Token Transfer found.

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading
Source Code Verified Exact Match

Contract Name

UniV2SwapForwarder

Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled
Yes with 300 runs
Other Settings
shanghai EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"_uniswapV2Router02","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidPath","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"exactOutputSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenIn","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"contract IERC20","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minTokenAmountOut","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapExactInput","outputs":[{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenIn","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"maxTokenAmountIn","type":"uint256"},{"internalType":"contract IERC20","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapExactOutput","outputs":[{"internalType":"uint256","name":"tokenInAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router02","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
60a060405234801561000f575f80fd5b50604051610d3a380380610d3a83398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b608051610c8e6100ac5f395f8181609b0152818160e5015281816102560152818161032b0152818161036f015281816104e0015261058f0152610c8e5ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c8063629f5b4f1461004e5780636cebb4f91461007457806392225e6e14610087578063a7c6402c14610096575b5f80fd5b61006161005c366004610921565b6100d5565b6040519081526020015b60405180910390f35b610061610082366004610921565b61035f565b6040516001815260200161006b565b6100bd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161006b565b5f61010a6001600160a01b038a167f0000000000000000000000000000000000000000000000000000000000000000896105d6565b606082156101b55761011e83850185610a50565b9050896001600160a01b0316815f8151811061013c5761013c610aea565b60200260200101516001600160a01b03161415806101925750866001600160a01b0316816001835161016e9190610afe565b8151811061017e5761017e610aea565b60200260200101516001600160a01b031614155b156101b0576040516320db826760e01b815260040160405180910390fd5b61023d565b604080516002808252606082018352909160208301908036833701905050905089815f815181106101e8576101e8610aea565b60200260200101906001600160a01b031690816001600160a01b031681525050868160018151811061021c5761021c610aea565b60200260200101906001600160a01b031690816001600160a01b0316815250505b604051634401edf760e11b81525f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638803dbee90610293908a908d90879033904290600401610b1d565b5f604051808303815f875af11580156102ae573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526102d59190810190610b8c565b9050805f815181106102e9576102e9610aea565b602002602001015192505f838a6103009190610afe565b9050801561031c5761031c6001600160a01b038d163383610699565b6103506001600160a01b038d167f00000000000000000000000000000000000000000000000000000000000000005f6105d6565b50505098975050505050505050565b5f6103946001600160a01b038a167f0000000000000000000000000000000000000000000000000000000000000000896105d6565b6060821561043f576103a883850185610a50565b9050896001600160a01b0316815f815181106103c6576103c6610aea565b60200260200101516001600160a01b031614158061041c5750866001600160a01b031681600183516103f89190610afe565b8151811061040857610408610aea565b60200260200101516001600160a01b031614155b1561043a576040516320db826760e01b815260040160405180910390fd5b6104c7565b604080516002808252606082018352909160208301908036833701905050905089815f8151811061047257610472610aea565b60200260200101906001600160a01b031690816001600160a01b03168152505086816001815181106104a6576104a6610aea565b60200260200101906001600160a01b031690816001600160a01b0316815250505b6040516338ed173960e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906338ed17399061051d908c908b90879033904290600401610b1d565b5f604051808303815f875af1158015610538573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261055f9190810190610b8c565b905080600182516105709190610afe565b8151811061058057610580610aea565b602002602001015192506105c87f00000000000000000000000000000000000000000000000000000000000000005f8d6001600160a01b03166105d69092919063ffffffff16565b505098975050505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261062784826106cf565b610693576040516001600160a01b0384811660248301525f604483015261068991869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050610772565b6106938482610772565b50505050565b6040516001600160a01b038381166024830152604482018390526106ca91859182169063a9059cbb90606401610657565b505050565b5f805f846001600160a01b0316846040516106ea9190610c0d565b5f604051808303815f865af19150503d805f8114610723576040519150601f19603f3d011682016040523d82523d5f602084013e610728565b606091505b50915091508180156107525750805115806107525750808060200190518101906107529190610c39565b801561076757505f856001600160a01b03163b115b925050505b92915050565b5f6107866001600160a01b038416836107d8565b905080515f141580156107aa5750808060200190518101906107a89190610c39565b155b156106ca57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606107e583835f6107ec565b9392505050565b6060814710156108115760405163cd78605960e01b81523060048201526024016107cf565b5f80856001600160a01b0316848660405161082c9190610c0d565b5f6040518083038185875af1925050503d805f8114610866576040519150601f19603f3d011682016040523d82523d5f602084013e61086b565b606091505b509150915061087b868383610885565b9695505050505050565b60608261089a57610895826108e1565b6107e5565b81511580156108b157506001600160a01b0384163b155b156108da57604051639996b31560e01b81526001600160a01b03851660048201526024016107cf565b50806107e5565b8051156108f15780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461090a575f80fd5b5f805f805f805f8060e0898b031215610938575f80fd5b88356109438161090d565b975060208901356109538161090d565b965060408901359550606089013561096a8161090d565b94506080890135935060a08901356109818161090d565b925060c089013567ffffffffffffffff8082111561099d575f80fd5b818b0191508b601f8301126109b0575f80fd5b8135818111156109be575f80fd5b8c60208285010111156109cf575f80fd5b6020830194508093505050509295985092959890939650565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a2557610a256109e8565b604052919050565b5f67ffffffffffffffff821115610a4657610a466109e8565b5060051b60200190565b5f6020808385031215610a61575f80fd5b823567ffffffffffffffff811115610a77575f80fd5b8301601f81018513610a87575f80fd5b8035610a9a610a9582610a2d565b6109fc565b81815260059190911b82018301908381019087831115610ab8575f80fd5b928401925b82841015610adf578335610ad08161090d565b82529284019290840190610abd565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561076c57634e487b7160e01b5f52601160045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015610b6b5784516001600160a01b031683529383019391830191600101610b46565b50506001600160a01b03969096166060850152505050608001529392505050565b5f6020808385031215610b9d575f80fd5b825167ffffffffffffffff811115610bb3575f80fd5b8301601f81018513610bc3575f80fd5b8051610bd1610a9582610a2d565b81815260059190911b82018301908381019087831115610bef575f80fd5b928401925b82841015610adf57835182529284019290840190610bf4565b5f82515f5b81811015610c2c5760208186018101518583015201610c12565b505f920191825250919050565b5f60208284031215610c49575f80fd5b815180151581146107e5575f80fdfea2646970667358221220a4aa5ce55d31785054b3bcc2a451c720d58c064adda9e1e0a7a575a040d6923464736f6c634300081400330000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061004a575f3560e01c8063629f5b4f1461004e5780636cebb4f91461007457806392225e6e14610087578063a7c6402c14610096575b5f80fd5b61006161005c366004610921565b6100d5565b6040519081526020015b60405180910390f35b610061610082366004610921565b61035f565b6040516001815260200161006b565b6100bd7f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad2481565b6040516001600160a01b03909116815260200161006b565b5f61010a6001600160a01b038a167f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24896105d6565b606082156101b55761011e83850185610a50565b9050896001600160a01b0316815f8151811061013c5761013c610aea565b60200260200101516001600160a01b03161415806101925750866001600160a01b0316816001835161016e9190610afe565b8151811061017e5761017e610aea565b60200260200101516001600160a01b031614155b156101b0576040516320db826760e01b815260040160405180910390fd5b61023d565b604080516002808252606082018352909160208301908036833701905050905089815f815181106101e8576101e8610aea565b60200260200101906001600160a01b031690816001600160a01b031681525050868160018151811061021c5761021c610aea565b60200260200101906001600160a01b031690816001600160a01b0316815250505b604051634401edf760e11b81525f906001600160a01b037f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad241690638803dbee90610293908a908d90879033904290600401610b1d565b5f604051808303815f875af11580156102ae573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526102d59190810190610b8c565b9050805f815181106102e9576102e9610aea565b602002602001015192505f838a6103009190610afe565b9050801561031c5761031c6001600160a01b038d163383610699565b6103506001600160a01b038d167f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad245f6105d6565b50505098975050505050505050565b5f6103946001600160a01b038a167f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24896105d6565b6060821561043f576103a883850185610a50565b9050896001600160a01b0316815f815181106103c6576103c6610aea565b60200260200101516001600160a01b031614158061041c5750866001600160a01b031681600183516103f89190610afe565b8151811061040857610408610aea565b60200260200101516001600160a01b031614155b1561043a576040516320db826760e01b815260040160405180910390fd5b6104c7565b604080516002808252606082018352909160208301908036833701905050905089815f8151811061047257610472610aea565b60200260200101906001600160a01b031690816001600160a01b03168152505086816001815181106104a6576104a6610aea565b60200260200101906001600160a01b031690816001600160a01b0316815250505b6040516338ed173960e01b81525f906001600160a01b037f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad2416906338ed17399061051d908c908b90879033904290600401610b1d565b5f604051808303815f875af1158015610538573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261055f9190810190610b8c565b905080600182516105709190610afe565b8151811061058057610580610aea565b602002602001015192506105c87f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad245f8d6001600160a01b03166105d69092919063ffffffff16565b505098975050505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261062784826106cf565b610693576040516001600160a01b0384811660248301525f604483015261068991869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050610772565b6106938482610772565b50505050565b6040516001600160a01b038381166024830152604482018390526106ca91859182169063a9059cbb90606401610657565b505050565b5f805f846001600160a01b0316846040516106ea9190610c0d565b5f604051808303815f865af19150503d805f8114610723576040519150601f19603f3d011682016040523d82523d5f602084013e610728565b606091505b50915091508180156107525750805115806107525750808060200190518101906107529190610c39565b801561076757505f856001600160a01b03163b115b925050505b92915050565b5f6107866001600160a01b038416836107d8565b905080515f141580156107aa5750808060200190518101906107a89190610c39565b155b156106ca57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606107e583835f6107ec565b9392505050565b6060814710156108115760405163cd78605960e01b81523060048201526024016107cf565b5f80856001600160a01b0316848660405161082c9190610c0d565b5f6040518083038185875af1925050503d805f8114610866576040519150601f19603f3d011682016040523d82523d5f602084013e61086b565b606091505b509150915061087b868383610885565b9695505050505050565b60608261089a57610895826108e1565b6107e5565b81511580156108b157506001600160a01b0384163b155b156108da57604051639996b31560e01b81526001600160a01b03851660048201526024016107cf565b50806107e5565b8051156108f15780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461090a575f80fd5b5f805f805f805f8060e0898b031215610938575f80fd5b88356109438161090d565b975060208901356109538161090d565b965060408901359550606089013561096a8161090d565b94506080890135935060a08901356109818161090d565b925060c089013567ffffffffffffffff8082111561099d575f80fd5b818b0191508b601f8301126109b0575f80fd5b8135818111156109be575f80fd5b8c60208285010111156109cf575f80fd5b6020830194508093505050509295985092959890939650565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a2557610a256109e8565b604052919050565b5f67ffffffffffffffff821115610a4657610a466109e8565b5060051b60200190565b5f6020808385031215610a61575f80fd5b823567ffffffffffffffff811115610a77575f80fd5b8301601f81018513610a87575f80fd5b8035610a9a610a9582610a2d565b6109fc565b81815260059190911b82018301908381019087831115610ab8575f80fd5b928401925b82841015610adf578335610ad08161090d565b82529284019290840190610abd565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561076c57634e487b7160e01b5f52601160045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015610b6b5784516001600160a01b031683529383019391830191600101610b46565b50506001600160a01b03969096166060850152505050608001529392505050565b5f6020808385031215610b9d575f80fd5b825167ffffffffffffffff811115610bb3575f80fd5b8301601f81018513610bc3575f80fd5b8051610bd1610a9582610a2d565b81815260059190911b82018301908381019087831115610bef575f80fd5b928401925b82841015610adf57835182529284019290840190610bf4565b5f82515f5b81811015610c2c5760208186018101518583015201610c12565b505f920191825250919050565b5f60208284031215610c49575f80fd5b815180151581146107e5575f80fdfea2646970667358221220a4aa5ce55d31785054b3bcc2a451c720d58c064adda9e1e0a7a575a040d6923464736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24

-----Decoded View---------------
Arg [0] : _uniswapV2Router02 (address): 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24

🤖 Code Reader Beta

Generate instant answers for your smart contract questions using Al Models. Read more.

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.