ETH Price: $3,094.79 (+0.37%)
Gas: 13 Gwei

Contract

0x7be03b36BB6eaaed3223F50c7B6ac215673D27F6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Migrate202569572024-07-07 20:15:352 days ago1720383335IN
0x7be03b36...5673D27F6
0 ETH0.000165282.27540308
Migrate202408862024-07-05 14:25:234 days ago1720189523IN
0x7be03b36...5673D27F6
0 ETH0.00074198.73345607
Migrate202128682024-07-01 16:29:358 days ago1719851375IN
0x7be03b36...5673D27F6
0 ETH0.000716178.93671881
Migrate202112982024-07-01 11:13:479 days ago1719832427IN
0x7be03b36...5673D27F6
0 ETH0.000514846.0605331
Migrate201999732024-06-29 21:17:4710 days ago1719695867IN
0x7be03b36...5673D27F6
0 ETH0.00018022.24833338
Migrate201944822024-06-29 2:52:4711 days ago1719629567IN
0x7be03b36...5673D27F6
0 ETH0.000164441.93552981
Migrate201917982024-06-28 17:52:3511 days ago1719597155IN
0x7be03b36...5673D27F6
0 ETH0.000415894.89505636
Migrate201892412024-06-28 9:18:4712 days ago1719566327IN
0x7be03b36...5673D27F6
0 ETH0.00031483.70573848
Migrate201615832024-06-24 12:36:5915 days ago1719232619IN
0x7be03b36...5673D27F6
0 ETH0.0008507710.01360001
Migrate201433472024-06-21 23:22:5918 days ago1719012179IN
0x7be03b36...5673D27F6
0 ETH0.00020612.42617033
Migrate201381952024-06-21 6:06:4719 days ago1718950007IN
0x7be03b36...5673D27F6
0 ETH0.000221632.6089919
Migrate201310072024-06-20 5:58:5920 days ago1718863139IN
0x7be03b36...5673D27F6
0 ETH0.000782559.76508614
Migrate201295762024-06-20 1:10:2320 days ago1718845823IN
0x7be03b36...5673D27F6
0 ETH0.000383525.65258256
Migrate201281292024-06-19 20:19:5920 days ago1718828399IN
0x7be03b36...5673D27F6
0 ETH0.000722178.5
Migrate200977632024-06-15 14:23:2324 days ago1718461403IN
0x7be03b36...5673D27F6
0 ETH0.000462525.44387219
Migrate200879572024-06-14 5:28:2326 days ago1718342903IN
0x7be03b36...5673D27F6
0 ETH0.000631137.42847047
Migrate200837552024-06-13 15:20:1126 days ago1718292011IN
0x7be03b36...5673D27F6
0 ETH0.0010368815.27935793
Migrate200560412024-06-09 18:25:2330 days ago1717957523IN
0x7be03b36...5673D27F6
0 ETH0.000543276.77823395
Migrate200338252024-06-06 15:57:2333 days ago1717689443IN
0x7be03b36...5673D27F6
0 ETH0.00150222.13324727
Migrate200319672024-06-06 9:43:2334 days ago1717667003IN
0x7be03b36...5673D27F6
0 ETH0.0018128122.6143427
Migrate200265362024-06-05 15:30:5934 days ago1717601459IN
0x7be03b36...5673D27F6
0 ETH0.0014824317.44826533
Migrate200206592024-06-04 19:50:4735 days ago1717530647IN
0x7be03b36...5673D27F6
0 ETH0.0008694312.81173739
Migrate200033662024-06-02 9:53:2338 days ago1717322003IN
0x7be03b36...5673D27F6
0 ETH0.000603927.53714779
Migrate200033572024-06-02 9:51:3538 days ago1717321895IN
0x7be03b36...5673D27F6
0 ETH0.000618657.71867259
Migrate200033472024-06-02 9:49:3538 days ago1717321775IN
0x7be03b36...5673D27F6
0 ETH0.000663528.27984196
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenMigration

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion
File 1 of 5 : TokenMigration.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract TokenMigration is Ownable, ReentrancyGuard {
    error ZeroAddress();
    error ZeroAmount();

    event TokensMigrated(
        address indexed account,
        uint256 newTokenAmount,
        uint256 oldTokenAmount
    );

    IERC20 public immutable NEW_TOKEN;
    IERC20 public immutable OLD_TOKEN;

    uint256 internal immutable NEW_SUPPLY;
    uint256 internal immutable OLD_SUPPLY;

    constructor(address _newToken, address _oldToken) {
        if (_newToken == address(0) || _oldToken == address(0))
            revert ZeroAddress();

        NEW_TOKEN = IERC20(_newToken);
        OLD_TOKEN = IERC20(_oldToken);

        NEW_SUPPLY = IERC20(_newToken).totalSupply();
        OLD_SUPPLY = IERC20(_oldToken).totalSupply();
    }

    function migrate(uint256 _amount) external nonReentrant {
        if (_amount == 0) revert ZeroAmount();

        uint256 _amountToTransfer = (_amount * NEW_SUPPLY) / OLD_SUPPLY;

        OLD_TOKEN.transferFrom(msg.sender, address(this), _amount);
        NEW_TOKEN.transfer(msg.sender, _amountToTransfer);

        emit TokensMigrated(msg.sender, _amountToTransfer, _amount);
    }

    function withdrawOldToken(uint256 _amount) external onlyOwner {
        OLD_TOKEN.transfer(msg.sender, _amount);
    }

    function withdrawNewToken(uint256 _amount) external onlyOwner {
        NEW_TOKEN.transfer(msg.sender, _amount);
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

File 3 of 5 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

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 `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);

    /**
     * @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);
}

File 5 of 5 : Context.sol
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 300
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_newToken","type":"address"},{"internalType":"address","name":"_oldToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"newTokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldTokenAmount","type":"uint256"}],"name":"TokensMigrated","type":"event"},{"inputs":[],"name":"NEW_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OLD_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawNewToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawOldToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405234801561001157600080fd5b50604051610a7c380380610a7c833981016040819052610030916101f9565b6100393361018d565b600180556001600160a01b038216158061005a57506001600160a01b038116155b156100785760405163d92e233d60e01b815260040160405180910390fd5b6001600160601b0319606083811b821660805282901b1660a052604080516318160ddd60e01b815290516001600160a01b038416916318160ddd916004808301926020929190829003018186803b1580156100d257600080fd5b505afa1580156100e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010a919061022b565b60c08181525050806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561014a57600080fd5b505afa15801561015e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610182919061022b565b60e052506102439050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101f457600080fd5b919050565b6000806040838503121561020b578182fd5b610214836101dd565b9150610222602084016101dd565b90509250929050565b60006020828403121561023c578081fd5b5051919050565b60805160601c60a05160601c60c05160e0516107df61029d60003960006101dd0152600061020101526000818161013c01528181610255015261049a0152600081816092015281816102f6015261059901526107df6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80639c7f6a571161005b5780639c7f6a57146100fe578063d7d74a6114610111578063f2fde38b14610124578063f37914771461013757600080fd5b8063359b6cab1461008d578063454b0608146100d0578063715018a6146100e55780638da5cb5b146100ed575b600080fd5b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b6100e36100de366004610746565b61015e565b005b6100e36103be565b6000546001600160a01b03166100b4565b6100e361010c366004610746565b610424565b6100e361011f366004610746565b610523565b6100e36101323660046106f8565b6105d0565b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b600260015414156101b65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155806101d957604051631f2a200560e01b815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006102267f00000000000000000000000000000000000000000000000000000000000000008461077e565b610230919061075e565b6040516323b872dd60e01b8152336004820152306024820152604481018490529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401602060405180830381600087803b1580156102a157600080fd5b505af11580156102b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d99190610726565b5060405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561034257600080fd5b505af1158015610356573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037a9190610726565b50604080518281526020810184905233917f6bf6e72b271b0d10bd73278c99673805eb396142e2fc4313396dff1ccae06269910160405180910390a2505060018055565b6000546001600160a01b031633146104185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b610422600061069b565b565b6000546001600160a01b0316331461047e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044015b602060405180830381600087803b1580156104e757600080fd5b505af11580156104fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051f9190610726565b5050565b6000546001600160a01b0316331461057d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016104cd565b6000546001600160a01b0316331461062a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b6001600160a01b03811661068f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ad565b6106988161069b565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610709578081fd5b81356001600160a01b038116811461071f578182fd5b9392505050565b600060208284031215610737578081fd5b8151801515811461071f578182fd5b600060208284031215610757578081fd5b5035919050565b60008261077957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156107a457634e487b7160e01b81526011600452602481fd5b50029056fea2646970667358221220374b740ad28b159530d4e34ee5b743af75d2fc442875b214529d7a41ced3d26564736f6c63430008040033000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd6000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a3

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80639c7f6a571161005b5780639c7f6a57146100fe578063d7d74a6114610111578063f2fde38b14610124578063f37914771461013757600080fd5b8063359b6cab1461008d578063454b0608146100d0578063715018a6146100e55780638da5cb5b146100ed575b600080fd5b6100b47f000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd681565b6040516001600160a01b03909116815260200160405180910390f35b6100e36100de366004610746565b61015e565b005b6100e36103be565b6000546001600160a01b03166100b4565b6100e361010c366004610746565b610424565b6100e361011f366004610746565b610523565b6100e36101323660046106f8565b6105d0565b6100b47f000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a381565b600260015414156101b65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155806101d957604051631f2a200560e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000e04ee0ccb27ac646ac0000006102267f0000000000000000000000000000000000000001431e0fae6d7217caa00000008461077e565b610230919061075e565b6040516323b872dd60e01b8152336004820152306024820152604481018490529091507f000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a36001600160a01b0316906323b872dd90606401602060405180830381600087803b1580156102a157600080fd5b505af11580156102b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d99190610726565b5060405163a9059cbb60e01b8152336004820152602481018290527f000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd66001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561034257600080fd5b505af1158015610356573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037a9190610726565b50604080518281526020810184905233917f6bf6e72b271b0d10bd73278c99673805eb396142e2fc4313396dff1ccae06269910160405180910390a2505060018055565b6000546001600160a01b031633146104185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b610422600061069b565b565b6000546001600160a01b0316331461047e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b60405163a9059cbb60e01b8152336004820152602481018290527f000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a36001600160a01b03169063a9059cbb906044015b602060405180830381600087803b1580156104e757600080fd5b505af11580156104fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051f9190610726565b5050565b6000546001600160a01b0316331461057d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b60405163a9059cbb60e01b8152336004820152602481018290527f000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd66001600160a01b03169063a9059cbb906044016104cd565b6000546001600160a01b0316331461062a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ad565b6001600160a01b03811661068f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ad565b6106988161069b565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610709578081fd5b81356001600160a01b038116811461071f578182fd5b9392505050565b600060208284031215610737578081fd5b8151801515811461071f578182fd5b600060208284031215610757578081fd5b5035919050565b60008261077957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156107a457634e487b7160e01b81526011600452602481fd5b50029056fea2646970667358221220374b740ad28b159530d4e34ee5b743af75d2fc442875b214529d7a41ced3d26564736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd6000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a3

-----Decoded View---------------
Arg [0] : _newToken (address): 0xCE722f60F35C37aB295adc4E6bA45bCC7ca89Dd6
Arg [1] : _oldToken (address): 0xE80C0cd204D654CEbe8dd64A4857cAb6Be8345a3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ce722f60f35c37ab295adc4e6ba45bcc7ca89dd6
Arg [1] : 000000000000000000000000e80c0cd204d654cebe8dd64a4857cab6be8345a3


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.