ETH Price: $2,471.66 (+0.70%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Pause Contract132957902021-09-25 15:29:591135 days ago1632583799IN
0xE0579e00...4acA10c80
0 ETH0.0017837464
Burn132912302021-09-24 22:46:101136 days ago1632523570IN
0xE0579e00...4acA10c80
0 ETH0.011132245.10707726
Burn132912002021-09-24 22:39:481136 days ago1632523188IN
0xE0579e00...4acA10c80
0 ETH0.012607251.08370409
Mint132841582021-09-23 20:36:451137 days ago1632429405IN
0xE0579e00...4acA10c80
0 ETH0.0241006863.65283231
Burn132776022021-09-22 20:02:381138 days ago1632340958IN
0xE0579e00...4acA10c80
0 ETH0.0094548847.67681814
Burn132776022021-09-22 20:02:381138 days ago1632340958IN
0xE0579e00...4acA10c80
0 ETH0.0085412243.06963951
Burn132743552021-09-22 7:53:281138 days ago1632297208IN
0xE0579e00...4acA10c80
0 ETH0.0150327466.93448212
Burn132598812021-09-20 2:05:341141 days ago1632103534IN
0xE0579e00...4acA10c80
0 ETH0.0162217472.22857924
Burn132213152021-09-14 3:07:091147 days ago1631588829IN
0xE0579e00...4acA10c80
0 ETH0.0110042549.86656544
Burn132135952021-09-12 22:15:021148 days ago1631484902IN
0xE0579e00...4acA10c80
0 ETH0.0108901149.34399007
Burn132080222021-09-12 1:42:141149 days ago1631410934IN
0xE0579e00...4acA10c80
0 ETH0.0075781134.3370253
Burn132009112021-09-10 23:08:131150 days ago1631315293IN
0xE0579e00...4acA10c80
0 ETH0.0131189963.32081612
Mint131705422021-09-06 6:17:391154 days ago1630909059IN
0xE0579e00...4acA10c80
0 ETH0.0292542687.00101198
Burn131656262021-09-05 12:09:491155 days ago1630843789IN
0xE0579e00...4acA10c80
0 ETH0.0118661958.37365186
Mint131577342021-09-04 7:01:001156 days ago1630738860IN
0xE0579e00...4acA10c80
0 ETH0.0259168377.75104643
Burn131504422021-09-03 3:53:441158 days ago1630641224IN
0xE0579e00...4acA10c80
0 ETH0.02926607154.21299123
Mint131486882021-09-02 21:20:031158 days ago1630617603IN
0xE0579e00...4acA10c80
0 ETH0.0230321979.16312245
Mint131478512021-09-02 18:19:321158 days ago1630606772IN
0xE0579e00...4acA10c80
0 ETH0.05151605186.07996544
Burn131461882021-09-02 12:09:191158 days ago1630584559IN
0xE0579e00...4acA10c80
0 ETH0.012419572.05100384
Mint131461142021-09-02 11:52:191158 days ago1630583539IN
0xE0579e00...4acA10c80
0 ETH0.0170044857.85314815
Burn131460442021-09-02 11:37:401158 days ago1630582660IN
0xE0579e00...4acA10c80
0 ETH0.0135105678.38616479
Burn131460072021-09-02 11:30:441158 days ago1630582244IN
0xE0579e00...4acA10c80
0 ETH0.0114358966.34006599
Burn131460002021-09-02 11:29:281158 days ago1630582168IN
0xE0579e00...4acA10c80
0 ETH0.0140541379.31451496
Burn131455862021-09-02 9:57:241158 days ago1630576644IN
0xE0579e00...4acA10c80
0 ETH0.0119216569.15792707
Burn131454372021-09-02 9:25:351158 days ago1630574735IN
0xE0579e00...4acA10c80
0 ETH0.0152573588.50847222
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:
BridgeEth

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 7 : BridgeEth.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import './BridgeBase.sol';

contract BridgeEth is BridgeBase {
  constructor(address token) BridgeBase(token) {}

  function burn(address to, uint amount, uint nonce, bytes calldata signature) external virtual override {
    _beforeTokenTransfer();
    bytes32 message = prefixed(keccak256(abi.encodePacked(
      msg.sender,
      to,
      'ETH-BURN',
      amount,
      nonce
    )));  
    require(recoverSigner(message, signature) == admin, 'wrong signature');
    require(processedNonces[msg.sender][nonce] == false, 'transfer already processed');
    processedNonces[msg.sender][nonce] = true;
    token.bridgeBurn(msg.sender, amount);
    emit Transfer(
      msg.sender,
      to,
      'ETH-BURN',
      amount,
      block.timestamp,
      nonce,
      signature,
      Step.Burn
    );
  }

  function mint(
    address from, 
    address to,
    uint amount, 
    uint nonce,
    bytes calldata signature
  ) external virtual override {
    _beforeTokenTransfer();
    bytes32 message = prefixed(keccak256(abi.encodePacked(
      from, 
      to,
      'ETH-MINT',
      amount,
      nonce
    )));
    require(recoverSigner(message, signature) == admin, 'wrong signature');
    require(processedNonces[from][nonce] == false, 'transfer already processed');
    processedNonces[from][nonce] = true;
    token.bridgeMint(to, amount);
    emit Transfer(
      from,
      to,
      'ETH-MINT',
      amount,
      block.timestamp,
      nonce,
      signature,
      Step.Mint
    );
  }

  function _beforeTokenTransfer() internal override { 
      require(!paused(), "ERC20Pausable: token transfer while contract paused");
  }
}

File 2 of 7 : BridgeBase.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import './interfaces/IERC20.sol';
import './interfaces/BridgeToken.sol';
import './abstracts/Ownable.sol';
import "./abstracts/Pausable.sol";

contract BridgeBase is Ownable, Pausable {
  address public admin;
  IToken public token;
  mapping(address => mapping(uint => bool)) public processedNonces;

  enum Step { Burn, Mint }
  event Transfer(
    address from,
    address to,
    string operation,
    uint amount,
    uint date,
    uint nonce,
    bytes signature,
    Step indexed step
  );

  constructor(address _token) {
    admin = msg.sender;
    token = IToken(_token);
  }

  function setAdmin(address new_admin) external onlyOwner {
    require(new_admin != address(0), "zero address not allowed");
    admin = new_admin;
  }

  function burn(address to, uint amount, uint nonce, bytes calldata signature) external virtual {}

  function mint(
    address from, 
    address to, 
    uint amount, 
    uint nonce,
    bytes calldata signature
  ) external virtual {}

  /**
    * @dev Pause `contract` - pause events.
    *
    * See {BEP20Pausable-_pause}.
    */
  function pauseContract() external virtual onlyOwner {
      _pause();
  }
  
  /**
    * @dev Pause `contract` - pause events.
    *
    * See {BEP20Pausable-_pause}.
    */
  function unPauseContract() external virtual onlyOwner {
      _unpause();
  }

  /**
    * @dev Hook that is called before any transfer of tokens. This includes
    * minting and burning.
    *
    * Calling conditions:
    *
    * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
    * will be to transferred to `to`.
    * - when `from` is zero, `amount` tokens will be minted for `to`.
    * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
    * - `from` and `to` are never both zero.
    *
    * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
    */
  function _beforeTokenTransfer() internal virtual {}

  function prefixed(bytes32 hash) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(
      '\x19Ethereum Signed Message:\n32', 
      hash
    ));
  }

  function recoverSigner(bytes32 message, bytes memory sig)
    internal
    pure
    returns (address)
  {
    uint8 v;
    bytes32 r;
    bytes32 s;
  
    (v, r, s) = splitSignature(sig);
  
    return ecrecover(message, v, r, s);
  }

  function splitSignature(bytes memory sig)
    internal
    pure
    returns (uint8, bytes32, bytes32)
  {
    require(sig.length == 65);
  
    bytes32 r;
    bytes32 s;
    uint8 v;
  
    assembly {
        // first 32 bytes, after the length prefix
        r := mload(add(sig, 32))
        // second 32 bytes
        s := mload(add(sig, 64))
        // final byte (first byte of the next 32 bytes)
        v := byte(0, mload(add(sig, 96)))
    }
  
    return (v, r, s);
  }
}

File 3 of 7 : Context.sol
// SPDX-License-Identifier: MIT
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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 7 : Pausable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 7 : BridgeToken.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IToken {
  function bridgeMint(address to, uint amount) external returns (bool);
  function bridgeBurn(address owner, uint amount) external returns (bool);
}

File 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    function migrateMint(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "byzantium",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"operation","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"date","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"signature","type":"bytes"},{"indexed":true,"internalType":"enum BridgeBase.Step","name":"step","type":"uint8"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"processedNonces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unPauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161112c38038061112c83398101604081905261002f916100d5565b8060006100436401000000006100d1810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460a060020a60ff02191690556001805433600160a060020a03199182161790915560028054909116600160a060020a039290921691909117905550610105565b3390565b6000602082840312156100e757600080fd5b8151600160a060020a03811681146100fe57600080fd5b9392505050565b611018806101146000396000f3fe608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480638a94b05f1161008e5780638a94b05f1461015f5780638da5cb5b14610172578063bac1520314610197578063f2fde38b1461019f578063f851a440146101b2578063fc0c546a146101c557600080fd5b8063439766ce146100d657806352555702146100e05780635c975abb146100f3578063704b6c0214610116578063715018a6146101295780637cc7024014610131575b600080fd5b6100de6101d8565b005b6100de6100ee366004610d60565b610218565b60005460a060020a900460ff165b60405190151581526020015b60405180910390f35b6100de610124366004610d3e565b610521565b6100de6105d6565b61010161013f366004610dd8565b600360209081526000928352604080842090915290825290205460ff1681565b6100de61016d366004610e02565b61065a565b600054600160a060020a03165b604051600160a060020a03909116815260200161010d565b6100de6108f8565b6100de6101ad366004610d3e565b61092d565b60015461017f90600160a060020a031681565b60025461017f90600160a060020a031681565b600054600160a060020a0316331461020e5760405160e560020a62461bcd02815260040161020590610fad565b60405180910390fd5b610216610a41565b565b610220610b07565b6040516c01000000000000000000000000600160a060020a038089168202602084015287160260348201527f4554482d4d494e54000000000000000000000000000000000000000000000000604882015260508101859052607081018490526000906102ea906090015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b600154604080516020601f8701819004810282018101909252858152929350600160a060020a039091169161033c918491908790879081908401838280828437600092019190915250610b8a92505050565b600160a060020a0316146103955760405160e560020a62461bcd02815260206004820152600f60248201527f77726f6e67207369676e617475726500000000000000000000000000000000006044820152606401610205565b600160a060020a038716600090815260036020908152604080832087845290915290205460ff161561040c5760405160e560020a62461bcd02815260206004820152601a60248201527f7472616e7366657220616c72656164792070726f6365737365640000000000006044820152606401610205565b600160a060020a03878116600090815260036020908152604080832088845290915290819020805460ff1916600117905560025490517f8c2a993e000000000000000000000000000000000000000000000000000000008152888316600482015260248101889052911690638c2a993e90604401602060405180830381600087803b15801561049a57600080fd5b505af11580156104ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d29190610e6a565b5060017ff8223ce19d10175cfbddb26299641c4b0c72df27c1eb371695db1d26058af532888888428989896040516105109796959493929190610eb5565b60405180910390a250505050505050565b600054600160a060020a0316331461054e5760405160e560020a62461bcd02815260040161020590610fad565b600160a060020a0381166105a75760405160e560020a62461bcd02815260206004820152601860248201527f7a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610205565b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031633146106035760405160e560020a62461bcd02815260040161020590610fad565b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b610662610b07565b6040516c010000000000000000000000003381026020830152600160a060020a0387160260348201527f4554482d4255524e000000000000000000000000000000000000000000000000604882015260508101859052607081018490526000906106ce9060900161028a565b600154604080516020601f8701819004810282018101909252858152929350600160a060020a0390911691610720918491908790879081908401838280828437600092019190915250610b8a92505050565b600160a060020a0316146107795760405160e560020a62461bcd02815260206004820152600f60248201527f77726f6e67207369676e617475726500000000000000000000000000000000006044820152606401610205565b33600090815260036020908152604080832087845290915290205460ff16156107e75760405160e560020a62461bcd02815260206004820152601a60248201527f7472616e7366657220616c72656164792070726f6365737365640000000000006044820152606401610205565b33600081815260036020908152604080832088845290915290819020805460ff1916600117905560025490517f74f4f547000000000000000000000000000000000000000000000000000000008152600481019290925260248201879052600160a060020a0316906374f4f54790604401602060405180830381600087803b15801561087257600080fd5b505af1158015610886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108aa9190610e6a565b5060007ff8223ce19d10175cfbddb26299641c4b0c72df27c1eb371695db1d26058af532338888428989896040516108e89796959493929190610f38565b60405180910390a2505050505050565b600054600160a060020a031633146109255760405160e560020a62461bcd02815260040161020590610fad565b610216610c09565b600054600160a060020a0316331461095a5760405160e560020a62461bcd02815260040161020590610fad565b600160a060020a0381166109d95760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610205565b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005460a060020a900460ff1615610a9e5760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610205565b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610aea3390565b604051600160a060020a03909116815260200160405180910390a1565b60005460a060020a900460ff16156102165760405160e560020a62461bcd02815260206004820152603360248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520636f6e747261637420706175736564000000000000000000000000006064820152608401610205565b600080600080610b9985610caa565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa158015610bf4573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60005460a060020a900460ff16610c655760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610205565b6000805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610aea565b60008060008351604114610cbd57600080fd5b5050506020810151604082015160609092015160001a92909190565b8035600160a060020a0381168114610cf057600080fd5b919050565b60008083601f840112610d0757600080fd5b50813567ffffffffffffffff811115610d1f57600080fd5b602083019150836020828501011115610d3757600080fd5b9250929050565b600060208284031215610d5057600080fd5b610d5982610cd9565b9392505050565b60008060008060008060a08789031215610d7957600080fd5b610d8287610cd9565b9550610d9060208801610cd9565b94506040870135935060608701359250608087013567ffffffffffffffff811115610dba57600080fd5b610dc689828a01610cf5565b979a9699509497509295939492505050565b60008060408385031215610deb57600080fd5b610df483610cd9565b946020939093013593505050565b600080600080600060808688031215610e1a57600080fd5b610e2386610cd9565b94506020860135935060408601359250606086013567ffffffffffffffff811115610e4d57600080fd5b610e5988828901610cf5565b969995985093965092949392505050565b600060208284031215610e7c57600080fd5b81518015158114610d5957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000600160a060020a03808a16835280891660208401525060e06040830152600860e08301527f4554482d4d494e540000000000000000000000000000000000000000000000006101008301526101208760608401528660808401528560a08401528060c0840152610f2a8184018587610e8c565b9a9950505050505050505050565b6000600160a060020a03808a16835280891660208401525060e06040830152600860e08301527f4554482d4255524e0000000000000000000000000000000000000000000000006101008301526101208760608401528660808401528560a08401528060c0840152610f2a8184018587610e8c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220da4f077a5a516ad0ae9e16c851e7d1cfc3982e687b41f178b478704ed12522ba64736f6c6343000807003300000000000000000000000001d9fb3a09e5b34282edb1f13b7eccb2efc2907c

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480638a94b05f1161008e5780638a94b05f1461015f5780638da5cb5b14610172578063bac1520314610197578063f2fde38b1461019f578063f851a440146101b2578063fc0c546a146101c557600080fd5b8063439766ce146100d657806352555702146100e05780635c975abb146100f3578063704b6c0214610116578063715018a6146101295780637cc7024014610131575b600080fd5b6100de6101d8565b005b6100de6100ee366004610d60565b610218565b60005460a060020a900460ff165b60405190151581526020015b60405180910390f35b6100de610124366004610d3e565b610521565b6100de6105d6565b61010161013f366004610dd8565b600360209081526000928352604080842090915290825290205460ff1681565b6100de61016d366004610e02565b61065a565b600054600160a060020a03165b604051600160a060020a03909116815260200161010d565b6100de6108f8565b6100de6101ad366004610d3e565b61092d565b60015461017f90600160a060020a031681565b60025461017f90600160a060020a031681565b600054600160a060020a0316331461020e5760405160e560020a62461bcd02815260040161020590610fad565b60405180910390fd5b610216610a41565b565b610220610b07565b6040516c01000000000000000000000000600160a060020a038089168202602084015287160260348201527f4554482d4d494e54000000000000000000000000000000000000000000000000604882015260508101859052607081018490526000906102ea906090015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b600154604080516020601f8701819004810282018101909252858152929350600160a060020a039091169161033c918491908790879081908401838280828437600092019190915250610b8a92505050565b600160a060020a0316146103955760405160e560020a62461bcd02815260206004820152600f60248201527f77726f6e67207369676e617475726500000000000000000000000000000000006044820152606401610205565b600160a060020a038716600090815260036020908152604080832087845290915290205460ff161561040c5760405160e560020a62461bcd02815260206004820152601a60248201527f7472616e7366657220616c72656164792070726f6365737365640000000000006044820152606401610205565b600160a060020a03878116600090815260036020908152604080832088845290915290819020805460ff1916600117905560025490517f8c2a993e000000000000000000000000000000000000000000000000000000008152888316600482015260248101889052911690638c2a993e90604401602060405180830381600087803b15801561049a57600080fd5b505af11580156104ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d29190610e6a565b5060017ff8223ce19d10175cfbddb26299641c4b0c72df27c1eb371695db1d26058af532888888428989896040516105109796959493929190610eb5565b60405180910390a250505050505050565b600054600160a060020a0316331461054e5760405160e560020a62461bcd02815260040161020590610fad565b600160a060020a0381166105a75760405160e560020a62461bcd02815260206004820152601860248201527f7a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610205565b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031633146106035760405160e560020a62461bcd02815260040161020590610fad565b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b610662610b07565b6040516c010000000000000000000000003381026020830152600160a060020a0387160260348201527f4554482d4255524e000000000000000000000000000000000000000000000000604882015260508101859052607081018490526000906106ce9060900161028a565b600154604080516020601f8701819004810282018101909252858152929350600160a060020a0390911691610720918491908790879081908401838280828437600092019190915250610b8a92505050565b600160a060020a0316146107795760405160e560020a62461bcd02815260206004820152600f60248201527f77726f6e67207369676e617475726500000000000000000000000000000000006044820152606401610205565b33600090815260036020908152604080832087845290915290205460ff16156107e75760405160e560020a62461bcd02815260206004820152601a60248201527f7472616e7366657220616c72656164792070726f6365737365640000000000006044820152606401610205565b33600081815260036020908152604080832088845290915290819020805460ff1916600117905560025490517f74f4f547000000000000000000000000000000000000000000000000000000008152600481019290925260248201879052600160a060020a0316906374f4f54790604401602060405180830381600087803b15801561087257600080fd5b505af1158015610886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108aa9190610e6a565b5060007ff8223ce19d10175cfbddb26299641c4b0c72df27c1eb371695db1d26058af532338888428989896040516108e89796959493929190610f38565b60405180910390a2505050505050565b600054600160a060020a031633146109255760405160e560020a62461bcd02815260040161020590610fad565b610216610c09565b600054600160a060020a0316331461095a5760405160e560020a62461bcd02815260040161020590610fad565b600160a060020a0381166109d95760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610205565b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005460a060020a900460ff1615610a9e5760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610205565b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610aea3390565b604051600160a060020a03909116815260200160405180910390a1565b60005460a060020a900460ff16156102165760405160e560020a62461bcd02815260206004820152603360248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520636f6e747261637420706175736564000000000000000000000000006064820152608401610205565b600080600080610b9985610caa565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa158015610bf4573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60005460a060020a900460ff16610c655760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610205565b6000805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610aea565b60008060008351604114610cbd57600080fd5b5050506020810151604082015160609092015160001a92909190565b8035600160a060020a0381168114610cf057600080fd5b919050565b60008083601f840112610d0757600080fd5b50813567ffffffffffffffff811115610d1f57600080fd5b602083019150836020828501011115610d3757600080fd5b9250929050565b600060208284031215610d5057600080fd5b610d5982610cd9565b9392505050565b60008060008060008060a08789031215610d7957600080fd5b610d8287610cd9565b9550610d9060208801610cd9565b94506040870135935060608701359250608087013567ffffffffffffffff811115610dba57600080fd5b610dc689828a01610cf5565b979a9699509497509295939492505050565b60008060408385031215610deb57600080fd5b610df483610cd9565b946020939093013593505050565b600080600080600060808688031215610e1a57600080fd5b610e2386610cd9565b94506020860135935060408601359250606086013567ffffffffffffffff811115610e4d57600080fd5b610e5988828901610cf5565b969995985093965092949392505050565b600060208284031215610e7c57600080fd5b81518015158114610d5957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000600160a060020a03808a16835280891660208401525060e06040830152600860e08301527f4554482d4d494e540000000000000000000000000000000000000000000000006101008301526101208760608401528660808401528560a08401528060c0840152610f2a8184018587610e8c565b9a9950505050505050505050565b6000600160a060020a03808a16835280891660208401525060e06040830152600860e08301527f4554482d4255524e0000000000000000000000000000000000000000000000006101008301526101208760608401528660808401528560a08401528060c0840152610f2a8184018587610e8c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220da4f077a5a516ad0ae9e16c851e7d1cfc3982e687b41f178b478704ed12522ba64736f6c63430008070033

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

00000000000000000000000001d9fb3a09e5b34282edb1f13b7eccb2efc2907c

-----Decoded View---------------
Arg [0] : token (address): 0x01d9Fb3A09e5b34282edb1f13b7EcCb2eFC2907C

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000001d9fb3a09e5b34282edb1f13b7eccb2efc2907c


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.