ETH Price: $3,321.58 (-4.21%)

Contract

0xC774c1e17734e03C667D2d57BEF7e88767d617Fc
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Allowed With...198204792024-05-07 20:09:11232 days ago1715112551IN
0xC774c1e1...767d617Fc
0 ETH0.000290046.25878536

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardsBank

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : rewardsBank.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract RewardsBank is Ownable(msg.sender) {
    IOrdsToken public ordsToken; // The ERC20 token (ORDS)
    address private allowedWithdrawer; // Address allowed to withdraw tokens

    /**
     * @dev Constructor sets the ORDS token's address and initializes the contract.
     * @param _ordsTokenAddress address of the ORDS token contract.
     */
    constructor(address _ordsTokenAddress) {
        require(
            _ordsTokenAddress != address(0),
            "ORDS token address cannot be zero."
        );
        ordsToken = IOrdsToken(_ordsTokenAddress);
    }

    /**
     * @dev Sets the address allowed to withdraw ORDS tokens.
     * @param _withdrawer The address to be allowed withdrawal.
     */
    function setAllowedWithdrawer(address _withdrawer) external onlyOwner {
        require(
            _withdrawer != address(0),
            "Withdrawer address cannot be zero."
        );
        allowedWithdrawer = _withdrawer;
    }

    /**
     * @dev Allows the designated withdrawer to withdraw a specified amount of ORDS tokens and send them to a specific destination.
     * @param destination The address where the ORDS tokens will be sent.
     * @param amount The amount of ORDS tokens to withdraw.
     */
    function withdrawORDSTokens(address destination, uint256 amount) external {
        require(
            msg.sender == allowedWithdrawer,
            "Caller is not allowed to withdraw."
        );
        require(
            destination != address(0),
            "Destination address cannot be zero."
        );
        require(
            ordsToken.balanceOf(address(this)) >= amount,
            "Insufficient token balance."
        );

        ordsToken.transfer(destination, amount);
    }

    /**
     * @dev Emergency function to withdraw all ORDS tokens from the contract by the owner.
     */
    function emergencyWithdrawAll() external onlyOwner {
        uint256 balance = ordsToken.balanceOf(address(this));
        require(balance > 0, "No ORDS tokens to withdraw.");

        ordsToken.transfer(owner(), balance);
    }

    /**
     * @dev Returns the address currently allowed to withdraw tokens.
     * @return The address allowed to withdraw.
     */
    function getAllowedWithdrawer() external view returns (address) {
        return allowedWithdrawer;
    }
}

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

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IOrdsToken is IERC20{
  function burn(uint256 amount) external;
}

File 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_ordsTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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"},{"inputs":[],"name":"emergencyWithdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllowedWithdrawer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ordsToken","outputs":[{"internalType":"contract IOrdsToken","name":"","type":"address"}],"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":[{"internalType":"address","name":"_withdrawer","type":"address"}],"name":"setAllowedWithdrawer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawORDSTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b50604051620011383803806200113883398181016040528101906200003691906200029a565b335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000aa575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a19190620002db565b60405180910390fd5b620000bb816200017460201b60201c565b505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200012d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000124906200037a565b60405180910390fd5b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200039a565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620002648262000239565b9050919050565b620002768162000258565b811462000281575f80fd5b50565b5f8151905062000294816200026b565b92915050565b5f60208284031215620002b257620002b162000235565b5b5f620002c18482850162000284565b91505092915050565b620002d58162000258565b82525050565b5f602082019050620002f05f830184620002ca565b92915050565b5f82825260208201905092915050565b7f4f52445320746f6b656e20616464726573732063616e6e6f74206265207a65725f8201527f6f2e000000000000000000000000000000000000000000000000000000000000602082015250565b5f62000362602283620002f6565b91506200036f8262000306565b604082019050919050565b5f6020820190508181035f830152620003938162000354565b9050919050565b610d9080620003a85f395ff3fe608060405234801561000f575f80fd5b5060043610610086575f3560e01c8063cc4ba14e11610059578063cc4ba14e146100ec578063db7fc9d114610108578063dd19171914610126578063f2fde38b1461013057610086565b8063655557b91461008a578063715018a6146100a85780638da5cb5b146100b2578063b4d6834e146100d0575b5f80fd5b61009261014c565b60405161009f91906108a4565b60405180910390f35b6100b0610174565b005b6100ba610187565b6040516100c791906108a4565b60405180910390f35b6100ea60048036038101906100e5919061091e565b6101ae565b005b6101066004803603810190610101919061095c565b610427565b005b6101106104e0565b60405161011d91906109e2565b60405180910390f35b61012e610505565b005b61014a6004803603810190610145919061095c565b610692565b005b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61017c610716565b6101855f61079d565b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461023d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023490610a7b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290610b09565b60405180910390fd5b8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161030691906108a4565b602060405180830381865afa158015610321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103459190610b3b565b1015610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037d90610bb0565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016103e2929190610bdd565b6020604051808303815f875af11580156103fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104229190610c39565b505050565b61042f610716565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361049d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049490610cd4565b60405180910390fd5b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61050d610716565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161056891906108a4565b602060405180830381865afa158015610583573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a79190610b3b565b90505f81116105eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e290610d3c565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610630610187565b836040518363ffffffff1660e01b815260040161064e929190610bdd565b6020604051808303815f875af115801561066a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068e9190610c39565b5050565b61069a610716565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361070a575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161070191906108a4565b60405180910390fd5b6107138161079d565b50565b61071e61085e565b73ffffffffffffffffffffffffffffffffffffffff1661073c610187565b73ffffffffffffffffffffffffffffffffffffffff161461079b5761075f61085e565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161079291906108a4565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61088e82610865565b9050919050565b61089e81610884565b82525050565b5f6020820190506108b75f830184610895565b92915050565b5f80fd5b6108ca81610884565b81146108d4575f80fd5b50565b5f813590506108e5816108c1565b92915050565b5f819050919050565b6108fd816108eb565b8114610907575f80fd5b50565b5f81359050610918816108f4565b92915050565b5f8060408385031215610934576109336108bd565b5b5f610941858286016108d7565b92505060206109528582860161090a565b9150509250929050565b5f60208284031215610971576109706108bd565b5b5f61097e848285016108d7565b91505092915050565b5f819050919050565b5f6109aa6109a56109a084610865565b610987565b610865565b9050919050565b5f6109bb82610990565b9050919050565b5f6109cc826109b1565b9050919050565b6109dc816109c2565b82525050565b5f6020820190506109f55f8301846109d3565b92915050565b5f82825260208201905092915050565b7f43616c6c6572206973206e6f7420616c6c6f77656420746f20776974686472615f8201527f772e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610a656022836109fb565b9150610a7082610a0b565b604082019050919050565b5f6020820190508181035f830152610a9281610a59565b9050919050565b7f44657374696e6174696f6e20616464726573732063616e6e6f74206265207a655f8201527f726f2e0000000000000000000000000000000000000000000000000000000000602082015250565b5f610af36023836109fb565b9150610afe82610a99565b604082019050919050565b5f6020820190508181035f830152610b2081610ae7565b9050919050565b5f81519050610b35816108f4565b92915050565b5f60208284031215610b5057610b4f6108bd565b5b5f610b5d84828501610b27565b91505092915050565b7f496e73756666696369656e7420746f6b656e2062616c616e63652e00000000005f82015250565b5f610b9a601b836109fb565b9150610ba582610b66565b602082019050919050565b5f6020820190508181035f830152610bc781610b8e565b9050919050565b610bd7816108eb565b82525050565b5f604082019050610bf05f830185610895565b610bfd6020830184610bce565b9392505050565b5f8115159050919050565b610c1881610c04565b8114610c22575f80fd5b50565b5f81519050610c3381610c0f565b92915050565b5f60208284031215610c4e57610c4d6108bd565b5b5f610c5b84828501610c25565b91505092915050565b7f5769746864726177657220616464726573732063616e6e6f74206265207a65725f8201527f6f2e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610cbe6022836109fb565b9150610cc982610c64565b604082019050919050565b5f6020820190508181035f830152610ceb81610cb2565b9050919050565b7f4e6f204f52445320746f6b656e7320746f2077697468647261772e00000000005f82015250565b5f610d26601b836109fb565b9150610d3182610cf2565b602082019050919050565b5f6020820190508181035f830152610d5381610d1a565b905091905056fea26469706673582212209908bab44b4b1f9d963fda5849d71f8feab08c8b474f9039e4d94046bf881fc464736f6c634300081600330000000000000000000000008ab2ff0116a279a99950c66a12298962d152b83c

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610086575f3560e01c8063cc4ba14e11610059578063cc4ba14e146100ec578063db7fc9d114610108578063dd19171914610126578063f2fde38b1461013057610086565b8063655557b91461008a578063715018a6146100a85780638da5cb5b146100b2578063b4d6834e146100d0575b5f80fd5b61009261014c565b60405161009f91906108a4565b60405180910390f35b6100b0610174565b005b6100ba610187565b6040516100c791906108a4565b60405180910390f35b6100ea60048036038101906100e5919061091e565b6101ae565b005b6101066004803603810190610101919061095c565b610427565b005b6101106104e0565b60405161011d91906109e2565b60405180910390f35b61012e610505565b005b61014a6004803603810190610145919061095c565b610692565b005b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61017c610716565b6101855f61079d565b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461023d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023490610a7b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290610b09565b60405180910390fd5b8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161030691906108a4565b602060405180830381865afa158015610321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103459190610b3b565b1015610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037d90610bb0565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016103e2929190610bdd565b6020604051808303815f875af11580156103fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104229190610c39565b505050565b61042f610716565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361049d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049490610cd4565b60405180910390fd5b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61050d610716565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161056891906108a4565b602060405180830381865afa158015610583573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a79190610b3b565b90505f81116105eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e290610d3c565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610630610187565b836040518363ffffffff1660e01b815260040161064e929190610bdd565b6020604051808303815f875af115801561066a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068e9190610c39565b5050565b61069a610716565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361070a575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161070191906108a4565b60405180910390fd5b6107138161079d565b50565b61071e61085e565b73ffffffffffffffffffffffffffffffffffffffff1661073c610187565b73ffffffffffffffffffffffffffffffffffffffff161461079b5761075f61085e565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161079291906108a4565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61088e82610865565b9050919050565b61089e81610884565b82525050565b5f6020820190506108b75f830184610895565b92915050565b5f80fd5b6108ca81610884565b81146108d4575f80fd5b50565b5f813590506108e5816108c1565b92915050565b5f819050919050565b6108fd816108eb565b8114610907575f80fd5b50565b5f81359050610918816108f4565b92915050565b5f8060408385031215610934576109336108bd565b5b5f610941858286016108d7565b92505060206109528582860161090a565b9150509250929050565b5f60208284031215610971576109706108bd565b5b5f61097e848285016108d7565b91505092915050565b5f819050919050565b5f6109aa6109a56109a084610865565b610987565b610865565b9050919050565b5f6109bb82610990565b9050919050565b5f6109cc826109b1565b9050919050565b6109dc816109c2565b82525050565b5f6020820190506109f55f8301846109d3565b92915050565b5f82825260208201905092915050565b7f43616c6c6572206973206e6f7420616c6c6f77656420746f20776974686472615f8201527f772e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610a656022836109fb565b9150610a7082610a0b565b604082019050919050565b5f6020820190508181035f830152610a9281610a59565b9050919050565b7f44657374696e6174696f6e20616464726573732063616e6e6f74206265207a655f8201527f726f2e0000000000000000000000000000000000000000000000000000000000602082015250565b5f610af36023836109fb565b9150610afe82610a99565b604082019050919050565b5f6020820190508181035f830152610b2081610ae7565b9050919050565b5f81519050610b35816108f4565b92915050565b5f60208284031215610b5057610b4f6108bd565b5b5f610b5d84828501610b27565b91505092915050565b7f496e73756666696369656e7420746f6b656e2062616c616e63652e00000000005f82015250565b5f610b9a601b836109fb565b9150610ba582610b66565b602082019050919050565b5f6020820190508181035f830152610bc781610b8e565b9050919050565b610bd7816108eb565b82525050565b5f604082019050610bf05f830185610895565b610bfd6020830184610bce565b9392505050565b5f8115159050919050565b610c1881610c04565b8114610c22575f80fd5b50565b5f81519050610c3381610c0f565b92915050565b5f60208284031215610c4e57610c4d6108bd565b5b5f610c5b84828501610c25565b91505092915050565b7f5769746864726177657220616464726573732063616e6e6f74206265207a65725f8201527f6f2e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610cbe6022836109fb565b9150610cc982610c64565b604082019050919050565b5f6020820190508181035f830152610ceb81610cb2565b9050919050565b7f4e6f204f52445320746f6b656e7320746f2077697468647261772e00000000005f82015250565b5f610d26601b836109fb565b9150610d3182610cf2565b602082019050919050565b5f6020820190508181035f830152610d5381610d1a565b905091905056fea26469706673582212209908bab44b4b1f9d963fda5849d71f8feab08c8b474f9039e4d94046bf881fc464736f6c63430008160033

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

0000000000000000000000008ab2ff0116a279a99950c66a12298962d152b83c

-----Decoded View---------------
Arg [0] : _ordsTokenAddress (address): 0x8AB2ff0116A279a99950C66A12298962D152B83c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ab2ff0116a279a99950c66a12298962d152b83c


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.