ETH Price: $3,407.15 (+2.55%)

Contract

0x7be03b36BB6eaaed3223F50c7B6ac215673D27F6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Migrate210892522024-11-01 0:36:4753 days ago1730421407IN
0x7be03b36...5673D27F6
0 ETH0.00040746.41960841
Transfer Ownersh...210867022024-10-31 16:05:2353 days ago1730390723IN
0x7be03b36...5673D27F6
0 ETH0.0005024217.60558131
Migrate210854592024-10-31 11:56:2353 days ago1730375783IN
0x7be03b36...5673D27F6
0 ETH0.000729288.58241289
Migrate210849572024-10-31 10:15:5953 days ago1730369759IN
0x7be03b36...5673D27F6
0 ETH0.00074588.77932694
Migrate210828962024-10-31 3:20:5954 days ago1730344859IN
0x7be03b36...5673D27F6
0 ETH0.000704998.29898446
Migrate210827272024-10-31 2:46:4754 days ago1730342807IN
0x7be03b36...5673D27F6
0 ETH0.000746239.31049335
Migrate210826272024-10-31 2:26:4754 days ago1730341607IN
0x7be03b36...5673D27F6
0 ETH0.000787629.27031147
Migrate210826052024-10-31 2:22:2354 days ago1730341343IN
0x7be03b36...5673D27F6
0 ETH0.000751658.85075168
Migrate210824962024-10-31 2:00:2354 days ago1730340023IN
0x7be03b36...5673D27F6
0 ETH0.000725699.05283484
Migrate210822572024-10-31 1:12:3554 days ago1730337155IN
0x7be03b36...5673D27F6
0 ETH0.000642437.56252546
Migrate210821662024-10-31 0:54:2354 days ago1730336063IN
0x7be03b36...5673D27F6
0 ETH0.000712048.38077401
Migrate210821472024-10-31 0:50:3554 days ago1730335835IN
0x7be03b36...5673D27F6
0 ETH0.000842849.92305644
Migrate210821362024-10-31 0:48:2354 days ago1730335703IN
0x7be03b36...5673D27F6
0 ETH0.0008657510.80008967
Migrate210821292024-10-31 0:46:5954 days ago1730335619IN
0x7be03b36...5673D27F6
0 ETH0.000843129.92495746
Migrate210812192024-10-30 21:44:2354 days ago1730324663IN
0x7be03b36...5673D27F6
0 ETH0.000986311.6087496
Migrate210797942024-10-30 16:58:4754 days ago1730307527IN
0x7be03b36...5673D27F6
0 ETH0.0013069216.30360542
Migrate210794252024-10-30 15:44:3554 days ago1730303075IN
0x7be03b36...5673D27F6
0 ETH0.0025098131.31393849
Migrate210793062024-10-30 15:20:4754 days ago1730301647IN
0x7be03b36...5673D27F6
0 ETH0.0020857224.54890001
Migrate210792842024-10-30 15:16:2354 days ago1730301383IN
0x7be03b36...5673D27F6
0 ETH0.0020827525.98570673
Migrate210785032024-10-30 12:37:3554 days ago1730291855IN
0x7be03b36...5673D27F6
0 ETH0.000787699.82770187
Migrate210784782024-10-30 12:32:3554 days ago1730291555IN
0x7be03b36...5673D27F6
0 ETH0.0009007110.60138461
Migrate210784202024-10-30 12:20:5954 days ago1730290859IN
0x7be03b36...5673D27F6
0 ETH0.000805479.48171353
Migrate210783462024-10-30 12:06:1154 days ago1730289971IN
0x7be03b36...5673D27F6
0 ETH0.0010177411.98051885
Migrate210779232024-10-30 10:40:3554 days ago1730284835IN
0x7be03b36...5673D27F6
0 ETH0.000751058.83992358
Migrate210777132024-10-30 9:58:2354 days ago1730282303IN
0x7be03b36...5673D27F6
0 ETH0.0013169616.43128022
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.