Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 848 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit All Toke... | 16542413 | 527 days ago | IN | 0 ETH | 0.00109255 | ||||
Deposit All Toke... | 16537362 | 527 days ago | IN | 0 ETH | 0.00066393 | ||||
Deposit All Toke... | 16536923 | 527 days ago | IN | 0 ETH | 0.00133648 | ||||
Deposit All Toke... | 16536774 | 527 days ago | IN | 0 ETH | 0.00105043 | ||||
Deposit All Toke... | 16536760 | 527 days ago | IN | 0 ETH | 0.00111578 | ||||
Deposit All Toke... | 16536753 | 527 days ago | IN | 0 ETH | 0.00083486 | ||||
Deposit All Toke... | 16536748 | 527 days ago | IN | 0 ETH | 0.00109102 | ||||
Deposit All Toke... | 16536743 | 527 days ago | IN | 0 ETH | 0.00111906 | ||||
Deposit All Toke... | 16536739 | 527 days ago | IN | 0 ETH | 0.00115536 | ||||
Deposit All Toke... | 16536736 | 527 days ago | IN | 0 ETH | 0.00110489 | ||||
Deposit All Toke... | 16536716 | 528 days ago | IN | 0 ETH | 0.00119498 | ||||
Deposit All Toke... | 16536707 | 528 days ago | IN | 0 ETH | 0.00131253 | ||||
Deposit All Toke... | 16536706 | 528 days ago | IN | 0 ETH | 0.0013046 | ||||
Deposit All Toke... | 16536705 | 528 days ago | IN | 0 ETH | 0.00125648 | ||||
Deposit All Toke... | 16536703 | 528 days ago | IN | 0 ETH | 0.00124669 | ||||
Deposit All Toke... | 16536699 | 528 days ago | IN | 0 ETH | 0.00131252 | ||||
Deposit All Toke... | 16536683 | 528 days ago | IN | 0 ETH | 0.00149752 | ||||
Deposit All Toke... | 16536675 | 528 days ago | IN | 0 ETH | 0.00123362 | ||||
Deposit All Toke... | 16536670 | 528 days ago | IN | 0 ETH | 0.00131815 | ||||
Deposit All Toke... | 16536663 | 528 days ago | IN | 0 ETH | 0.0013889 | ||||
Deposit All Toke... | 16536648 | 528 days ago | IN | 0 ETH | 0.00143153 | ||||
Deposit All Toke... | 16536631 | 528 days ago | IN | 0 ETH | 0.00143034 | ||||
Deposit All Toke... | 16536629 | 528 days ago | IN | 0 ETH | 0.00140122 | ||||
Deposit All Toke... | 16536596 | 528 days ago | IN | 0 ETH | 0.00148947 | ||||
Claim Tokens To ... | 16536525 | 528 days ago | IN | 0 ETH | 0.0016075 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EvolveAIMigrator
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** * ███████╗██╗ ██╗ ██████╗ ██╗ ██╗ ██╗███████╗ █████╗ ██╗ * ██╔════╝██║ ██║██╔═══██╗██║ ██║ ██║██╔════╝ ██╔══██╗██║ * █████╗ ██║ ██║██║ ██║██║ ██║ ██║█████╗ ███████║██║ * ██╔══╝ ╚██╗ ██╔╝██║ ██║██║ ╚██╗ ██╔╝██╔══╝ ██╔══██║██║ * ███████╗ ╚████╔╝ ╚██████╔╝███████╗╚████╔╝ ███████╗ ██║ ██║██║ * ╚══════╝ ╚═══╝ ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ */ /** * @title A token migration contract for Evolve Ai * @author TG: @moondan1337 * @notice This contract's intended purpose is for users to deposit their entire balance of token A and receive token B to a desired wallet address. Token A and token B should have the same supply * and decimals to avoid any errors. */ pragma solidity 0.8.17; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract EvolveAIMigrator is ReentrancyGuard, Ownable { /*|| === STATE VARIABLES === ||*/ IERC20 public immutable tokenToDeposit; /// Token to send to the contract IERC20 public immutable tokenToSend; /// Token to send to the user bool public enabled; /// Migration enabled /*|| === MAPPINGS === ||*/ mapping(address => uint) public addressToAmount; /*|| === CONSTRUCTOR === ||*/ constructor(address _tokenToDeposit, address _tokenToSend) { tokenToDeposit = IERC20(_tokenToDeposit); tokenToSend = IERC20(_tokenToSend); enabled = true; } /*|| === EXTERNAL FUNCTIONS === ||*/ /** * @notice Deposits all of the old tokens from the senders wallet to the contract and in return sends the number of tokens deposited in new tokens to the given address. * @param _address receiving address of new tokens * @dev to ensure migration continuity, the difference between the balance of the contract before and after tokens are deposited is the amount sent to the given address. */ function depositAllTokens(address _address) external nonReentrant { require(enabled, "Migration not enabled"); uint senderBalance = tokenToDeposit.balanceOf(msg.sender); require(senderBalance > 0, "Zero balance"); require(senderBalance <= tokenToSend.balanceOf(address(this)), "Not enough tokens in the contract"); uint balanceBefore = tokenToDeposit.balanceOf(address(this)); /// Transfer tokens from sender to contract tokenToDeposit.transferFrom(msg.sender, address(this), senderBalance); /// Log tokens received to use as value to transfer to _address. uint tokensRecieved = tokenToDeposit.balanceOf(address(this)) - balanceBefore; /// Transfer new tokens to _address tokenToSend.transfer(_address, tokensRecieved); /// Map amount received to _address addressToAmount[_address] = tokensRecieved; } /** * @notice Claims all tokens deposited into the contract. Only owner function. */ function claimDepositedTokens() external onlyOwner { /// Transfer all deposited tokens to owner tokenToDeposit.transfer(msg.sender, tokenToDeposit.balanceOf(address(this))); } /** * @notice Claims all tokensToSend from the contract. This should only be called when the migration is complete. Only owner function. */ function claimTokensToSend() external onlyOwner { /// Transfer all tokens to send to the owner tokenToSend.transfer(msg.sender, tokenToSend.balanceOf(address(this))); } /** * @notice Enable contract deposits. Only owner function. */ function enable() external onlyOwner { require(enabled == false, "Already enabled"); enabled = true; } /** * @notice Disable contract deposits. Only owner function. */ function disable() external onlyOwner { require(enabled == true, "Already disabled"); enabled = false; } /** * @notice Claim ETH in contract. Only owner function. */ function claimETH() external onlyOwner { (bool sent, ) = (msg.sender).call{ value: address(this).balance }(""); require(sent, "Failed to send Ether"); } /** * @notice Returns number of deposited tokens in contract. Quality of life. */ function tokenToDepositBalance() external view returns (uint) { return tokenToDeposit.balanceOf(address(this)); } /** * @notice Returns number of tokens to send in contract. Quality of life. */ function tokenToSendBalance() external view returns (uint) { return tokenToSend.balanceOf(address(this)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenToDeposit","type":"address"},{"internalType":"address","name":"_tokenToSend","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDepositedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokensToSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"depositAllTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenToDeposit","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenToDepositBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenToSend","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenToSendBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b5060405161124538038061124583398101604081905261002f916100d5565b600160005561003d33610067565b6001600160a01b039182166080521660a0526001805460ff60a01b1916600160a01b179055610108565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146100d057600080fd5b919050565b600080604083850312156100e857600080fd5b6100f1836100b9565b91506100ff602084016100b9565b90509250929050565b60805160a0516110d26101736000396000818161022601528181610291015281816107ce01528181610b5b0152610d8101526000818161018901528181610571015281816106b40152818161090e015281816109cc01528181610a970152610d0201526110d26000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638da5cb5b11610097578063af9db66911610066578063af9db66914610211578063bd7c0ede14610219578063d124fb8514610221578063f2fde38b1461024857600080fd5b80638da5cb5b146101d057806398672c1d146101ee578063a0b85601146101f6578063a3907d711461020957600080fd5b80633c7e7d28116100d35780633c7e7d28146101465780636727299914610174578063715018a61461017c578063875d4fe21461018457600080fd5b80632234eb39146100fa578063238dafe0146101045780632f2770db1461013e575b600080fd5b61010261025b565b005b6001546101299074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020015b60405180910390f35b6101026103b3565b610166610154366004610fe4565b60026020526000908152604090205481565b604051908152602001610135565b610102610472565b61010261052c565b6101ab7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b60015473ffffffffffffffffffffffffffffffffffffffff166101ab565b610166610540565b610102610204366004610fe4565b6105f7565b610102610bfe565b610102610ccc565b610166610d50565b6101ab7f000000000000000000000000000000000000000000000000000000000000000081565b610102610256366004610fe4565b610dc5565b610263610e79565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb90339083906370a08231906024015b602060405180830381865afa1580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c9190611021565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af115801561038c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b0919061103a565b50565b6103bb610e79565b6001805474010000000000000000000000000000000000000000900460ff16151514610448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c72656164792064697361626c65640000000000000000000000000000000060448201526064015b60405180910390fd5b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61047a610e79565b604051600090339047908381818185875af1925050503d80600081146104bc576040519150601f19603f3d011682016040523d82523d6000602084013e6104c1565b606091505b50509050806103b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4661696c656420746f2073656e64204574686572000000000000000000000000604482015260640161043f565b610534610e79565b61053e6000610efa565b565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a08231906024015b602060405180830381865afa1580156105ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f29190611021565b905090565b6105ff610f71565b60015474010000000000000000000000000000000000000000900460ff16610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d6967726174696f6e206e6f7420656e61626c65640000000000000000000000604482015260640161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610710573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107349190611021565b9050600081116107a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a65726f2062616c616e63650000000000000000000000000000000000000000604482015260640161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084e9190611021565b8111156108dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f7420656e6f75676820746f6b656e7320696e2074686520636f6e7472616360448201527f7400000000000000000000000000000000000000000000000000000000000000606482015260840161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e9190611021565b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303816000875af1158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e919061103a565b506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600090829073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190611021565b610b0c919061105c565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018390529192507f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016020604051808303816000875af1158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bca919061103a565b5073ffffffffffffffffffffffffffffffffffffffff8416600090815260026020526040902055506103b090506001600055565b610c06610e79565b60015474010000000000000000000000000000000000000000900460ff1615610c8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920656e61626c65640000000000000000000000000000000000604482015260640161043f565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b610cd4610e79565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb90339083906370a08231906024016102db565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a08231906024016105b1565b610dcd610e79565b73ffffffffffffffffffffffffffffffffffffffff8116610e70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161043f565b6103b081610efa565b60015473ffffffffffffffffffffffffffffffffffffffff16331461053e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043f565b6001805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600260005403610fdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043f565b6002600055565b600060208284031215610ff657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461101a57600080fd5b9392505050565b60006020828403121561103357600080fd5b5051919050565b60006020828403121561104c57600080fd5b8151801515811461101a57600080fd5b81810381811115611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea264697066735822122024ed9caef5dd16aa7afb39237f0f2445d9db1ca916b68d8adc1413442c6dbddd64736f6c634300081100330000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c8350410000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c696
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638da5cb5b11610097578063af9db66911610066578063af9db66914610211578063bd7c0ede14610219578063d124fb8514610221578063f2fde38b1461024857600080fd5b80638da5cb5b146101d057806398672c1d146101ee578063a0b85601146101f6578063a3907d711461020957600080fd5b80633c7e7d28116100d35780633c7e7d28146101465780636727299914610174578063715018a61461017c578063875d4fe21461018457600080fd5b80632234eb39146100fa578063238dafe0146101045780632f2770db1461013e575b600080fd5b61010261025b565b005b6001546101299074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020015b60405180910390f35b6101026103b3565b610166610154366004610fe4565b60026020526000908152604090205481565b604051908152602001610135565b610102610472565b61010261052c565b6101ab7f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b60015473ffffffffffffffffffffffffffffffffffffffff166101ab565b610166610540565b610102610204366004610fe4565b6105f7565b610102610bfe565b610102610ccc565b610166610d50565b6101ab7f0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c69681565b610102610256366004610fe4565b610dc5565b610263610e79565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c69673ffffffffffffffffffffffffffffffffffffffff169063a9059cbb90339083906370a08231906024015b602060405180830381865afa1580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c9190611021565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af115801561038c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b0919061103a565b50565b6103bb610e79565b6001805474010000000000000000000000000000000000000000900460ff16151514610448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c72656164792064697361626c65640000000000000000000000000000000060448201526064015b60405180910390fd5b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61047a610e79565b604051600090339047908381818185875af1925050503d80600081146104bc576040519150601f19603f3d011682016040523d82523d6000602084013e6104c1565b606091505b50509050806103b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4661696c656420746f2073656e64204574686572000000000000000000000000604482015260640161043f565b610534610e79565b61053e6000610efa565b565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504173ffffffffffffffffffffffffffffffffffffffff16906370a08231906024015b602060405180830381865afa1580156105ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f29190611021565b905090565b6105ff610f71565b60015474010000000000000000000000000000000000000000900460ff16610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d6967726174696f6e206e6f7420656e61626c65640000000000000000000000604482015260640161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000907f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610710573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107349190611021565b9050600081116107a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a65726f2062616c616e63650000000000000000000000000000000000000000604482015260640161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c69673ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084e9190611021565b8111156108dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f7420656e6f75676820746f6b656e7320696e2074686520636f6e7472616360448201527f7400000000000000000000000000000000000000000000000000000000000000606482015260840161043f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e9190611021565b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490529091507f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504173ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303816000875af1158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e919061103a565b506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600090829073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504116906370a0823190602401602060405180830381865afa158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190611021565b610b0c919061105c565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018390529192507f0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c6969091169063a9059cbb906044016020604051808303816000875af1158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bca919061103a565b5073ffffffffffffffffffffffffffffffffffffffff8416600090815260026020526040902055506103b090506001600055565b610c06610e79565b60015474010000000000000000000000000000000000000000900460ff1615610c8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920656e61626c65640000000000000000000000000000000000604482015260640161043f565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b610cd4610e79565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c83504173ffffffffffffffffffffffffffffffffffffffff169063a9059cbb90339083906370a08231906024016102db565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c69673ffffffffffffffffffffffffffffffffffffffff16906370a08231906024016105b1565b610dcd610e79565b73ffffffffffffffffffffffffffffffffffffffff8116610e70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161043f565b6103b081610efa565b60015473ffffffffffffffffffffffffffffffffffffffff16331461053e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043f565b6001805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600260005403610fdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043f565b6002600055565b600060208284031215610ff657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461101a57600080fd5b9392505050565b60006020828403121561103357600080fd5b5051919050565b60006020828403121561104c57600080fd5b8151801515811461101a57600080fd5b81810381811115611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea264697066735822122024ed9caef5dd16aa7afb39237f0f2445d9db1ca916b68d8adc1413442c6dbddd64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c8350410000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c696
-----Decoded View---------------
Arg [0] : _tokenToDeposit (address): 0x6A6AA13393B7d1100c00a57c76c39e8B6C835041
Arg [1] : _tokenToSend (address): 0x6Fbc20483b53CEa47839Bb8e171Abd6D67C3c696
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006a6aa13393b7d1100c00a57c76c39e8b6c835041
Arg [1] : 0000000000000000000000006fbc20483b53cea47839bb8e171abd6d67c3c696
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.