Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 63 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap | 14803523 | 1062 days ago | IN | 0 ETH | 0.00202801 | ||||
Swap | 14686558 | 1080 days ago | IN | 0 ETH | 0.0113142 | ||||
Swap | 14658126 | 1085 days ago | IN | 0 ETH | 0.00560723 | ||||
Swap | 14614364 | 1092 days ago | IN | 0 ETH | 0.00398012 | ||||
Swap | 14496273 | 1110 days ago | IN | 0 ETH | 0.00794429 | ||||
Swap | 14456531 | 1116 days ago | IN | 0 ETH | 0.01180327 | ||||
Swap | 14434259 | 1120 days ago | IN | 0 ETH | 0.00339415 | ||||
Swap | 14419326 | 1122 days ago | IN | 0 ETH | 0.00427713 | ||||
Swap | 14399430 | 1125 days ago | IN | 0 ETH | 0.00871374 | ||||
Swap | 14360345 | 1131 days ago | IN | 0 ETH | 0.00541744 | ||||
Swap | 14326789 | 1137 days ago | IN | 0 ETH | 0.00392827 | ||||
Swap | 14306407 | 1140 days ago | IN | 0 ETH | 0.00417025 | ||||
Swap | 14286648 | 1143 days ago | IN | 0 ETH | 0.00394919 | ||||
Swap | 14212796 | 1154 days ago | IN | 0 ETH | 0.00792272 | ||||
Swap | 14198568 | 1156 days ago | IN | 0 ETH | 0.01154475 | ||||
Swap | 14126008 | 1168 days ago | IN | 0 ETH | 0.01199122 | ||||
Swap | 14118567 | 1169 days ago | IN | 0 ETH | 0.02128231 | ||||
Swap | 14100091 | 1172 days ago | IN | 0 ETH | 0.01086216 | ||||
Swap | 14082338 | 1174 days ago | IN | 0 ETH | 0.01398911 | ||||
Swap | 14071936 | 1176 days ago | IN | 0 ETH | 0.01444485 | ||||
Swap | 14060120 | 1178 days ago | IN | 0 ETH | 0.01968148 | ||||
Swap | 14039446 | 1181 days ago | IN | 0 ETH | 0.01139897 | ||||
Swap | 14028674 | 1183 days ago | IN | 0 ETH | 0.01184901 | ||||
Swap | 14020374 | 1184 days ago | IN | 0 ETH | 0.0191805 | ||||
Swap | 14004757 | 1186 days ago | IN | 0 ETH | 0.03536361 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PowerTONSwapper
Compiler Version
v0.8.8+commit.dddeac2f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >0.8.0; pragma experimental ABIEncoderV2; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { ITOS } from "./ITOS.sol"; import { iPowerTON } from "./iPowerTON.sol"; import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol"; contract PowerTONSwapper is iPowerTON { address public override wton; ITOS public tos; ISwapRouter public uniswapRouter; event Swapped( uint256 amount ); constructor( address _wton, address _tos, address _uniswapRouter ) { wton = _wton; tos = ITOS(_tos); uniswapRouter = ISwapRouter(_uniswapRouter); } function approveToUniswap() external { IERC20(wton).approve( address(uniswapRouter), type(uint256).max ); } function swap( uint24 _fee, uint256 _deadline, uint256 _amountOutMinimum, uint160 _sqrtPriceLimitX96 ) external { uint256 wtonBalance = getWTONBalance(); ISwapRouter.ExactInputSingleParams memory params = ISwapRouter.ExactInputSingleParams({ tokenIn: wton, tokenOut: address(tos), fee: _fee, recipient: address(this), deadline: block.timestamp + _deadline, amountIn: wtonBalance, amountOutMinimum: _amountOutMinimum, sqrtPriceLimitX96: _sqrtPriceLimitX96 }); ISwapRouter(uniswapRouter).exactInputSingle(params); uint256 burnAmount = tos.balanceOf(address(this)); tos.burn(address(this), burnAmount); emit Swapped(burnAmount); } function getWTONBalance() public view returns(uint256) { return IERC20(wton).balanceOf(address(this)); } // PowerTON functions function seigManager() external view returns (address) { return address(0); } function currentRound() external view returns (uint256) { return 0; } function roundDuration() external view returns (uint256) { return 0; } function totalDeposits() external view returns (uint256) { return 0; } function winnerOf(uint256 round) external view returns (address) { return address(0); } function powerOf(address account) external view returns (uint256) { return 0; } function init() external { } function start() external { } function endRound() external { } function onDeposit(address layer2, address account, uint256 amount) external { } function onWithdraw(address layer2, address account, uint256 amount) external { } }
// SPDX-License-Identifier: MIT pragma solidity ^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: Unlicense pragma solidity >0.7.0; interface ITOS { function balanceOf(address account) external view returns (uint256); /// @dev Issue a token. /// @param to who takes the issue /// @param amount the amount to issue function mint(address to, uint256 amount) external returns (bool); // @dev burn a token. /// @param from Whose tokens are burned /// @param amount the amount to burn function burn(address from, uint256 amount) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function nonces(address owner) external view returns (uint256); /// @dev Authorizes the owner's token to be used by the spender as much as the value. /// @dev The signature must have the owner's signature. /// @param owner the token's owner /// @param spender the account that spend owner's token /// @param value the amount to be approve to spend /// @param deadline the deadline that valid the owner's signature /// @param v the owner's signature - v /// @param r the owner's signature - r /// @param s the owner's signature - s function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /// @dev verify the signature /// @param owner the token's owner /// @param spender the account that spend owner's token /// @param value the amount to be approve to spend /// @param deadline the deadline that valid the owner's signature /// @param _nounce the _nounce /// @param sigR the owner's signature - r /// @param sigS the owner's signature - s /// @param sigV the owner's signature - v function verify( address owner, address spender, uint256 value, uint256 deadline, uint256 _nounce, bytes32 sigR, bytes32 sigS, uint8 sigV ) external view returns (bool); /// @dev the hash of Permit /// @param owner the token's owner /// @param spender the account that spend owner's token /// @param value the amount to be approve to spend /// @param deadline the deadline that valid the owner's signature /// @param _nounce the _nounce function hashPermit( address owner, address spender, uint256 value, uint256 deadline, uint256 _nounce ) external view returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity >0.8.0; interface iPowerTON { function seigManager() external view returns (address); function wton() external view returns (address); function currentRound() external view returns (uint256); function roundDuration() external view returns (uint256); function totalDeposits() external view returns (uint256); function winnerOf(uint256 round) external view returns (address); function powerOf(address account) external view returns (uint256); function init() external; function start() external; function endRound() external; function onDeposit(address layer2, address account, uint256 amount) external; function onWithdraw(address layer2, address account, uint256 amount) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol'; /// @title Router token swapping functionality /// @notice Functions for swapping tokens via Uniswap V3 interface ISwapRouter is IUniswapV3SwapCallback { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } /// @notice Swaps `amountIn` of one token for as much as possible of another token /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata /// @return amountOut The amount of the received token function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); struct ExactInputParams { bytes path; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; } /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata /// @return amountOut The amount of the received token function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut); struct ExactOutputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; uint160 sqrtPriceLimitX96; } /// @notice Swaps as little as possible of one token for `amountOut` of another token /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata /// @return amountIn The amount of the input token function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn); struct ExactOutputParams { bytes path; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; } /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed) /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata /// @return amountIn The amount of the input token function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface interface IUniswapV3SwapCallback { /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap. /// @dev In the implementation you must pay the pool tokens owed for the swap. /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token0 to the pool. /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token1 to the pool. /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata data ) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_wton","type":"address"},{"internalType":"address","name":"_tos","type":"address"},{"internalType":"address","name":"_uniswapRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Swapped","type":"event"},{"inputs":[],"name":"approveToUniswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getWTONBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"layer2","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"onDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"layer2","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"onWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"powerOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"_fee","type":"uint24"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"uint256","name":"_amountOutMinimum","type":"uint256"},{"internalType":"uint160","name":"_sqrtPriceLimitX96","type":"uint160"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tos","outputs":[{"internalType":"contract ITOS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract ISwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"}],"name":"winnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wton","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000fdd38038062000fdd83398181016040528101906200003791906200016c565b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620001c8565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001348262000107565b9050919050565b620001468162000127565b81146200015257600080fd5b50565b60008151905062000166816200013b565b92915050565b60008060006060848603121562000188576200018762000102565b5b6000620001988682870162000155565b9350506020620001ab8682870162000155565b9250506040620001be8682870162000155565b9150509250925092565b610e0580620001d86000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806389f395de116100a2578063be9a655511610071578063be9a655514610272578063d6797be21461027c578063e1c7392a14610298578063f7cb789a146102a2578063f850ffaa146102c05761010b565b806389f395de146101e85780638a19c8bc146102065780638cb5d700146102245780638d62d949146102545761010b565b80636fb7f558116100de5780636fb7f55814610184578063735de9f7146101a2578063749aa2d9146101c05780637d882097146101ca5761010b565b80631ac84690146101105780633452f3c514610140578063412c6d501461014a578063442ff62d14610166575b600080fd5b61012a600480360381019061012591906108c5565b6102dc565b604051610137919061090b565b60405180910390f35b6101486102e3565b005b610164600480360381019061015f9190610952565b6103d5565b005b61016e6103da565b60405161017b919061090b565b60405180910390f35b61018c61048b565b60405161019991906109b4565b60405180910390f35b6101aa610490565b6040516101b79190610a2e565b60405180910390f35b6101c86104b6565b005b6101d26104b8565b6040516101df919061090b565b60405180910390f35b6101f06104bd565b6040516101fd9190610a6a565b60405180910390f35b61020e6104e3565b60405161021b919061090b565b60405180910390f35b61023e60048036038101906102399190610a85565b6104e8565b60405161024b91906109b4565b60405180910390f35b61025c6104ef565b60405161026991906109b4565b60405180910390f35b61027a610513565b005b61029660048036038101906102919190610b19565b610515565b005b6102a0610856565b005b6102aa610858565b6040516102b7919061090b565b60405180910390f35b6102da60048036038101906102d59190610952565b61085d565b005b6000919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610380929190610b80565b602060405180830381600087803b15801561039a57600080fd5b505af11580156103ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d29190610be1565b50565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161043691906109b4565b60206040518083038186803b15801561044e57600080fd5b505afa158015610462573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104869190610c23565b905090565b600090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b600090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600090565b6000919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b600061051f6103da565b9050600060405180610100016040528060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018762ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200186426105dc9190610c7f565b81526020018381526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b81526004016106649190610db3565b602060405180830381600087803b15801561067e57600080fd5b505af1158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190610c23565b506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161071491906109b4565b60206040518083038186803b15801561072c57600080fd5b505afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107649190610c23565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac30836040518363ffffffff1660e01b81526004016107c3929190610b80565b602060405180830381600087803b1580156107dd57600080fd5b505af11580156107f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108159190610be1565b507f0ce6b316c91b55b8b3890333c26dd18cc635e11e8188ddba7f72ffffca64ce6f81604051610845919061090b565b60405180910390a150505050505050565b565b600090565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061089282610867565b9050919050565b6108a281610887565b81146108ad57600080fd5b50565b6000813590506108bf81610899565b92915050565b6000602082840312156108db576108da610862565b5b60006108e9848285016108b0565b91505092915050565b6000819050919050565b610905816108f2565b82525050565b600060208201905061092060008301846108fc565b92915050565b61092f816108f2565b811461093a57600080fd5b50565b60008135905061094c81610926565b92915050565b60008060006060848603121561096b5761096a610862565b5b6000610979868287016108b0565b935050602061098a868287016108b0565b925050604061099b8682870161093d565b9150509250925092565b6109ae81610887565b82525050565b60006020820190506109c960008301846109a5565b92915050565b6000819050919050565b60006109f46109ef6109ea84610867565b6109cf565b610867565b9050919050565b6000610a06826109d9565b9050919050565b6000610a18826109fb565b9050919050565b610a2881610a0d565b82525050565b6000602082019050610a436000830184610a1f565b92915050565b6000610a54826109fb565b9050919050565b610a6481610a49565b82525050565b6000602082019050610a7f6000830184610a5b565b92915050565b600060208284031215610a9b57610a9a610862565b5b6000610aa98482850161093d565b91505092915050565b600062ffffff82169050919050565b610aca81610ab2565b8114610ad557600080fd5b50565b600081359050610ae781610ac1565b92915050565b610af681610867565b8114610b0157600080fd5b50565b600081359050610b1381610aed565b92915050565b60008060008060808587031215610b3357610b32610862565b5b6000610b4187828801610ad8565b9450506020610b528782880161093d565b9350506040610b638782880161093d565b9250506060610b7487828801610b04565b91505092959194509250565b6000604082019050610b9560008301856109a5565b610ba260208301846108fc565b9392505050565b60008115159050919050565b610bbe81610ba9565b8114610bc957600080fd5b50565b600081519050610bdb81610bb5565b92915050565b600060208284031215610bf757610bf6610862565b5b6000610c0584828501610bcc565b91505092915050565b600081519050610c1d81610926565b92915050565b600060208284031215610c3957610c38610862565b5b6000610c4784828501610c0e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c8a826108f2565b9150610c95836108f2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610cca57610cc9610c50565b5b828201905092915050565b610cde81610887565b82525050565b610ced81610ab2565b82525050565b610cfc816108f2565b82525050565b610d0b81610867565b82525050565b61010082016000820151610d286000850182610cd5565b506020820151610d3b6020850182610cd5565b506040820151610d4e6040850182610ce4565b506060820151610d616060850182610cd5565b506080820151610d746080850182610cf3565b5060a0820151610d8760a0850182610cf3565b5060c0820151610d9a60c0850182610cf3565b5060e0820151610dad60e0850182610d02565b50505050565b600061010082019050610dc96000830184610d11565b9291505056fea2646970667358221220f262789fb9628b1fdb3b6211c696d5fbb0e93d12a1622a31c24e8fe8e716600464736f6c63430008080033000000000000000000000000c4a11aaf6ea915ed7ac194161d2fc9384f15bff2000000000000000000000000409c4d8cd5d2924b9bc5509230d16a61289c8153000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806389f395de116100a2578063be9a655511610071578063be9a655514610272578063d6797be21461027c578063e1c7392a14610298578063f7cb789a146102a2578063f850ffaa146102c05761010b565b806389f395de146101e85780638a19c8bc146102065780638cb5d700146102245780638d62d949146102545761010b565b80636fb7f558116100de5780636fb7f55814610184578063735de9f7146101a2578063749aa2d9146101c05780637d882097146101ca5761010b565b80631ac84690146101105780633452f3c514610140578063412c6d501461014a578063442ff62d14610166575b600080fd5b61012a600480360381019061012591906108c5565b6102dc565b604051610137919061090b565b60405180910390f35b6101486102e3565b005b610164600480360381019061015f9190610952565b6103d5565b005b61016e6103da565b60405161017b919061090b565b60405180910390f35b61018c61048b565b60405161019991906109b4565b60405180910390f35b6101aa610490565b6040516101b79190610a2e565b60405180910390f35b6101c86104b6565b005b6101d26104b8565b6040516101df919061090b565b60405180910390f35b6101f06104bd565b6040516101fd9190610a6a565b60405180910390f35b61020e6104e3565b60405161021b919061090b565b60405180910390f35b61023e60048036038101906102399190610a85565b6104e8565b60405161024b91906109b4565b60405180910390f35b61025c6104ef565b60405161026991906109b4565b60405180910390f35b61027a610513565b005b61029660048036038101906102919190610b19565b610515565b005b6102a0610856565b005b6102aa610858565b6040516102b7919061090b565b60405180910390f35b6102da60048036038101906102d59190610952565b61085d565b005b6000919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610380929190610b80565b602060405180830381600087803b15801561039a57600080fd5b505af11580156103ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d29190610be1565b50565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161043691906109b4565b60206040518083038186803b15801561044e57600080fd5b505afa158015610462573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104869190610c23565b905090565b600090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b600090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600090565b6000919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b600061051f6103da565b9050600060405180610100016040528060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018762ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200186426105dc9190610c7f565b81526020018381526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b81526004016106649190610db3565b602060405180830381600087803b15801561067e57600080fd5b505af1158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190610c23565b506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161071491906109b4565b60206040518083038186803b15801561072c57600080fd5b505afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107649190610c23565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac30836040518363ffffffff1660e01b81526004016107c3929190610b80565b602060405180830381600087803b1580156107dd57600080fd5b505af11580156107f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108159190610be1565b507f0ce6b316c91b55b8b3890333c26dd18cc635e11e8188ddba7f72ffffca64ce6f81604051610845919061090b565b60405180910390a150505050505050565b565b600090565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061089282610867565b9050919050565b6108a281610887565b81146108ad57600080fd5b50565b6000813590506108bf81610899565b92915050565b6000602082840312156108db576108da610862565b5b60006108e9848285016108b0565b91505092915050565b6000819050919050565b610905816108f2565b82525050565b600060208201905061092060008301846108fc565b92915050565b61092f816108f2565b811461093a57600080fd5b50565b60008135905061094c81610926565b92915050565b60008060006060848603121561096b5761096a610862565b5b6000610979868287016108b0565b935050602061098a868287016108b0565b925050604061099b8682870161093d565b9150509250925092565b6109ae81610887565b82525050565b60006020820190506109c960008301846109a5565b92915050565b6000819050919050565b60006109f46109ef6109ea84610867565b6109cf565b610867565b9050919050565b6000610a06826109d9565b9050919050565b6000610a18826109fb565b9050919050565b610a2881610a0d565b82525050565b6000602082019050610a436000830184610a1f565b92915050565b6000610a54826109fb565b9050919050565b610a6481610a49565b82525050565b6000602082019050610a7f6000830184610a5b565b92915050565b600060208284031215610a9b57610a9a610862565b5b6000610aa98482850161093d565b91505092915050565b600062ffffff82169050919050565b610aca81610ab2565b8114610ad557600080fd5b50565b600081359050610ae781610ac1565b92915050565b610af681610867565b8114610b0157600080fd5b50565b600081359050610b1381610aed565b92915050565b60008060008060808587031215610b3357610b32610862565b5b6000610b4187828801610ad8565b9450506020610b528782880161093d565b9350506040610b638782880161093d565b9250506060610b7487828801610b04565b91505092959194509250565b6000604082019050610b9560008301856109a5565b610ba260208301846108fc565b9392505050565b60008115159050919050565b610bbe81610ba9565b8114610bc957600080fd5b50565b600081519050610bdb81610bb5565b92915050565b600060208284031215610bf757610bf6610862565b5b6000610c0584828501610bcc565b91505092915050565b600081519050610c1d81610926565b92915050565b600060208284031215610c3957610c38610862565b5b6000610c4784828501610c0e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c8a826108f2565b9150610c95836108f2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610cca57610cc9610c50565b5b828201905092915050565b610cde81610887565b82525050565b610ced81610ab2565b82525050565b610cfc816108f2565b82525050565b610d0b81610867565b82525050565b61010082016000820151610d286000850182610cd5565b506020820151610d3b6020850182610cd5565b506040820151610d4e6040850182610ce4565b506060820151610d616060850182610cd5565b506080820151610d746080850182610cf3565b5060a0820151610d8760a0850182610cf3565b5060c0820151610d9a60c0850182610cf3565b5060e0820151610dad60e0850182610d02565b50505050565b600061010082019050610dc96000830184610d11565b9291505056fea2646970667358221220f262789fb9628b1fdb3b6211c696d5fbb0e93d12a1622a31c24e8fe8e716600464736f6c63430008080033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c4a11aaf6ea915ed7ac194161d2fc9384f15bff2000000000000000000000000409c4d8cd5d2924b9bc5509230d16a61289c8153000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
-----Decoded View---------------
Arg [0] : _wton (address): 0xc4A11aaf6ea915Ed7Ac194161d2fC9384F15bff2
Arg [1] : _tos (address): 0x409c4D8cd5d2924b9bc5509230d16a61289c8153
Arg [2] : _uniswapRouter (address): 0xE592427A0AEce92De3Edee1F18E0157C05861564
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c4a11aaf6ea915ed7ac194161d2fc9384f15bff2
Arg [1] : 000000000000000000000000409c4d8cd5d2924b9bc5509230d16a61289c8153
Arg [2] : 000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.