ETH Price: $2,730.28 (+4.72%)
Gas: 3.86 Gwei

Contract

0xE692c8D72bd4aC7764090d54842a305546dd1dE5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve205876552024-08-23 0:13:2318 hrs ago1724372003IN
ANY Blocknet: aBLOCK Token
0 ETH0.000048661.0409971
Approve199864252024-05-31 1:06:4784 days ago1717117607IN
ANY Blocknet: aBLOCK Token
0 ETH0.000304976.56892887
Approve199095912024-05-20 7:16:5995 days ago1716189419IN
ANY Blocknet: aBLOCK Token
0 ETH0.000126092.70070282
Approve197916782024-05-03 19:29:11111 days ago1714764551IN
ANY Blocknet: aBLOCK Token
0 ETH0.000243875.21655271
Approve194423392024-03-15 19:10:35160 days ago1710529835IN
ANY Blocknet: aBLOCK Token
0 ETH0.0019441741.87600266
Approve191779932024-02-07 18:06:35198 days ago1707329195IN
ANY Blocknet: aBLOCK Token
0 ETH0.0029741463.61664361
Approve189681342024-01-09 8:11:11227 days ago1704787871IN
ANY Blocknet: aBLOCK Token
0 ETH0.0009619820.57678644
Approve188720092023-12-26 19:40:47240 days ago1703619647IN
ANY Blocknet: aBLOCK Token
0 ETH0.0009217419.74148279
Transfer185585182023-11-12 21:29:11284 days ago1699824551IN
ANY Blocknet: aBLOCK Token
0 ETH0.0017471733.59243935
Approve185495122023-11-11 15:14:11286 days ago1699715651IN
ANY Blocknet: aBLOCK Token
0 ETH0.0014721131.52890265
Transfer185246032023-11-08 3:37:23289 days ago1699414643IN
ANY Blocknet: aBLOCK Token
0 ETH0.0005685518.87439187
Transfer185245712023-11-08 3:30:59289 days ago1699414259IN
ANY Blocknet: aBLOCK Token
0 ETH0.0010090421.36760163
Approve183569162023-10-15 16:17:35313 days ago1697386655IN
ANY Blocknet: aBLOCK Token
0 ETH0.000389478.39985532
Approve183569062023-10-15 16:15:35313 days ago1697386535IN
ANY Blocknet: aBLOCK Token
0 ETH0.0004789710.25835053
Transfer183568922023-10-15 16:12:47313 days ago1697386367IN
ANY Blocknet: aBLOCK Token
0 ETH0.000407478.62878293
Approve183228602023-10-10 21:53:35317 days ago1696974815IN
ANY Blocknet: aBLOCK Token
0 ETH0.000424479.09116097
Transfer183070922023-10-08 16:56:59320 days ago1696784219IN
ANY Blocknet: aBLOCK Token
0 ETH0.00040918.66325135
Approve183067022023-10-08 15:38:23320 days ago1696779503IN
ANY Blocknet: aBLOCK Token
0 ETH0.000406348.70291983
Approve176715382023-07-11 16:24:23409 days ago1689092663IN
ANY Blocknet: aBLOCK Token
0 ETH0.0019482442.01793443
Swapout176363412023-07-06 17:39:11414 days ago1688665151IN
ANY Blocknet: aBLOCK Token
0 ETH0.0008691721.7782836
Approve174570742023-06-11 13:09:47439 days ago1686488987IN
ANY Blocknet: aBLOCK Token
0 ETH0.0007496116.14614287
Transfer174570112023-06-11 12:56:59439 days ago1686488219IN
ANY Blocknet: aBLOCK Token
0 ETH0.0015549532.92792629
Approve173120062023-05-22 2:55:23459 days ago1684724123IN
ANY Blocknet: aBLOCK Token
0 ETH0.001596634.15127646
Approve173018202023-05-20 16:27:23461 days ago1684600043IN
ANY Blocknet: aBLOCK Token
0 ETH0.0018055338.66996784
Approve165882862023-02-09 2:42:23561 days ago1675910543IN
ANY Blocknet: aBLOCK Token
0 ETH0.0013367328.59267804
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:
BlockSwapAssetV2

Compiler Version
v0.5.4+commit.9549d8ff

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-16
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);

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

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.5.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20Detailed.sol

pragma solidity ^0.5.0;


/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

// File: internal/BlockSwapAssetV2.sol

pragma solidity ^0.5.0;



contract BlockSwapAssetV2 is ERC20, ERC20Detailed {
    event LogChangeDCRMOwner(address indexed oldOwner, address indexed newOwner, uint indexed effectiveHeight);
    event LogSwapin(bytes32 indexed txhash, address indexed account, uint amount);
    event LogSwapout(address indexed account, uint amount, string bindaddr);

    address private _oldOwner;
    address private _newOwner;
    uint256 private _newOwnerEffectiveHeight;

    modifier onlyOwner() {
        require(msg.sender == owner(), "only owner");
        _;
    }

    constructor() public ERC20Detailed("ANY Blocknet", "aBLOCK", 8) {
        _newOwner = msg.sender;
        _newOwnerEffectiveHeight = block.number;
    }

    function owner() public view returns (address) {
        if (block.number >= _newOwnerEffectiveHeight) {
            return _newOwner;
        }
        return _oldOwner;
    }

    function changeDCRMOwner(address newOwner) public onlyOwner returns (bool) {
        require(newOwner != address(0), "new owner is the zero address");
        _oldOwner = owner();
        _newOwner = newOwner;
        _newOwnerEffectiveHeight = block.number + 13300;
        emit LogChangeDCRMOwner(_oldOwner, _newOwner, _newOwnerEffectiveHeight);
        return true;
    }

    function Swapin(bytes32 txhash, address account, uint256 amount) public onlyOwner returns (bool) {
        _mint(account, amount);
        emit LogSwapin(txhash, account, amount);
        return true;
    }

    function Swapout(uint256 amount, string memory bindaddr) public returns (bool) {
        verifyBindAddr(bindaddr);
        _burn(_msgSender(), amount);
        emit LogSwapout(_msgSender(), amount, bindaddr);
        return true;
    }

    function verifyBindAddr(string memory bindaddr) pure internal {
        uint length = bytes(bindaddr).length;
        require(length >= 26, "address length is too short");

        byte ch = bytes(bindaddr)[0];
        byte ch2 = bytes(bindaddr)[1];
        byte ch3 = bytes(bindaddr)[2];
        byte ch4 = bytes(bindaddr)[3];
        byte ch5 = bytes(bindaddr)[4];
        byte ch6 = bytes(bindaddr)[5];

// Mainnet
// p2pkh	base58		0x1a	B		34
// p2sh		base58		0x1c	C		34
// p2wpkh	bech32		0x06	block1q		45
// p2wsh	bech32		0x0A	block1q		65

        if (ch == 'B' || ch == 'C') {
            require(length <= 34, "mainnet address length is too long");
        } else if (ch6 == '1' && ch == 'b' && ch2 == 'l' && ch3 == 'o' && ch4 == 'c' && ch5 == 'k') {
            require(length == 45 || length == 65, "segwit address length is not 45 or 65");
        } else {
            require(false, "unsupported address leading symbol");
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"bindaddr","type":"string"}],"name":"Swapout","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"changeDCRMOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"txhash","type":"bytes32"},{"name":"account","type":"address"},{"name":"amount","type":"uint256"}],"name":"Swapin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"},{"indexed":true,"name":"effectiveHeight","type":"uint256"}],"name":"LogChangeDCRMOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"txhash","type":"bytes32"},{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"LogSwapin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"bindaddr","type":"string"}],"name":"LogSwapout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

60806040523480156200001157600080fd5b50604080518082018252600c81527f414e5920426c6f636b6e6574000000000000000000000000000000000000000060208083019182528351808501909452600684527f61424c4f434b0000000000000000000000000000000000000000000000000000908401528151919291600891620000909160039190620000da565b508151620000a6906004906020850190620000da565b506005805460ff90921660ff19909216919091179055505060068054600160a060020a03191633179055436007556200017f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b6200017c91905b808211156200015b576000815560010162000166565b90565b611578806200018f6000396000f3fe608060405234801561001057600080fd5b5060043610610112576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100b4578063ad54056d11610083578063ad54056d14610318578063b524f3a5146103c5578063dd62ed3e146103eb578063ec126c771461041957610112565b80638da5cb5b1461029457806395d89b41146102b8578063a457c2d7146102c0578063a9059cbb146102ec57610112565b806323b872dd116100f057806323b872dd146101ee578063313ce56714610224578063395093511461024257806370a082311461026e57610112565b806306fdde0314610117578063095ea7b31461019457806318160ddd146101d4575b600080fd5b61011f61044b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610159578181015183820152602001610141565b50505050905090810190601f1680156101865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c0600480360360408110156101aa57600080fd5b50600160a060020a0381351690602001356104e2565b604080519115158252519081900360200190f35b6101dc6104ff565b60408051918252519081900360200190f35b6101c06004803603606081101561020457600080fd5b50600160a060020a03813581169160208101359091169060400135610505565b61022c610593565b6040805160ff9092168252519081900360200190f35b6101c06004803603604081101561025857600080fd5b50600160a060020a03813516906020013561059c565b6101dc6004803603602081101561028457600080fd5b5035600160a060020a03166105f0565b61029c61060b565b60408051600160a060020a039092168252519081900360200190f35b61011f61063e565b6101c0600480360360408110156102d657600080fd5b50600160a060020a03813516906020013561069f565b6101c06004803603604081101561030257600080fd5b50600160a060020a03813516906020013561070e565b6101c06004803603604081101561032e57600080fd5b8135919081019060408101602082013564010000000081111561035057600080fd5b82018360208201111561036257600080fd5b8035906020019184600183028401116401000000008311171561038457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610722945050505050565b6101c0600480360360208110156103db57600080fd5b5035600160a060020a03166107f9565b6101dc6004803603604081101561040157600080fd5b50600160a060020a0381358116916020013516610968565b6101c06004803603606081101561042f57600080fd5b50803590600160a060020a036020820135169060400135610993565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b820191906000526020600020905b8154815290600101906020018083116104ba57829003601f168201915b505050505090505b90565b60006104f66104ef610a50565b8484610a54565b50600192915050565b60025490565b6000610512848484610b4a565b6105898461051e610a50565b610584856060604051908101604052806028815260200161147160289139600160a060020a038a1660009081526001602052604081209061055d610a50565b600160a060020a03168152602081019190915260400160002054919063ffffffff610cb116565b610a54565b5060019392505050565b60055460ff1690565b60006104f66105a9610a50565b8461058485600160006105ba610a50565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d4b16565b600160a060020a031660009081526020819052604090205490565b60075460009043106106295750600654600160a060020a03166104df565b506005546101009004600160a060020a031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b60006104f66106ac610a50565b84610584856060604051908101604052806025815260200161152860259139600160006106d7610a50565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610cb116565b60006104f661071b610a50565b8484610b4a565b600061072d82610daf565b61073e610738610a50565b84611166565b610746610a50565b600160a060020a03167f9c92ad817e5474d30a4378deface765150479363a897b0590fbb12ae9d89396b84846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156107b557818101518382015260200161079d565b50505050905090810190601f1680156107e25780820380516001836020036101000a031916815260200191505b50935050505060405180910390a250600192915050565b600061080361060b565b600160a060020a03163314610862576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03821615156108c2576040805160e560020a62461bcd02815260206004820152601d60248201527f6e6577206f776e657220697320746865207a65726f2061646472657373000000604482015290519081900360640190fd5b6108ca61060b565b6005805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a03938416810291909117918290556006805473ffffffffffffffffffffffffffffffffffffffff19168685161790819055436133f40160078190556040519094918216939290920416907fe1968d4263a733e2597ef67ea6ad267343bba5f8bf0f99d85190e06b05d824d990600090a4506001919050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600061099d61060b565b600160a060020a031633146109fc576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b610a068383611268565b604080518381529051600160a060020a0385169186917f05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d619181900360200190a35060019392505050565b3390565b600160a060020a0383161515610a9e5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806114df6024913960400191505060405180910390fd5b600160a060020a0382161515610ae85760405160e560020a62461bcd0281526004018080602001828103825260228152602001806113e56022913960400191505060405180910390fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a0383161515610b945760405160e560020a62461bcd0281526004018080602001828103825260258152602001806114ba6025913960400191505060405180910390fd5b600160a060020a0382161515610bde5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806113a06023913960400191505060405180910390fd5b610c22816060604051908101604052806026815260200161140760269139600160a060020a038616600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038085166000908152602081905260408082209390935590841681522054610c57908263ffffffff610d4b16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d435760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578181015183820152602001610cf0565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610da8576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b8051601a811015610e0a576040805160e560020a62461bcd02815260206004820152601b60248201527f61646472657373206c656e67746820697320746f6f2073686f72740000000000604482015290519081900360640190fd5b6000826000815181101515610e1b57fe5b90602001015160f860020a900460f860020a0290506000836001815181101515610e4157fe5b90602001015160f860020a900460f860020a0290506000846002815181101515610e6757fe5b90602001015160f860020a900460f860020a0290506000856003815181101515610e8d57fe5b90602001015160f860020a900460f860020a0290506000866004815181101515610eb357fe5b90602001015160f860020a900460f860020a0290506000876005815181101515610ed957fe5b016020015160f860020a908190040290507f4200000000000000000000000000000000000000000000000000000000000000600160f860020a031987161480610f4b57507f4300000000000000000000000000000000000000000000000000000000000000600160f860020a03198716145b15610f98576022871115610f935760405160e560020a62461bcd02815260040180806020018281038252602281526020018061144f6022913960400191505060405180910390fd5b61115c565b7f3100000000000000000000000000000000000000000000000000000000000000600160f860020a03198216148015610ffa57507f6200000000000000000000000000000000000000000000000000000000000000600160f860020a03198716145b801561102f57507f6c00000000000000000000000000000000000000000000000000000000000000600160f860020a03198616145b801561106457507f6f00000000000000000000000000000000000000000000000000000000000000600160f860020a03198516145b801561109957507f6300000000000000000000000000000000000000000000000000000000000000600160f860020a03198416145b80156110ce57507f6b00000000000000000000000000000000000000000000000000000000000000600160f860020a03198316145b156111225786602d14806110e25750866041145b1515610f935760405160e560020a62461bcd0281526004018080602001828103825260258152602001806115036025913960400191505060405180910390fd5b60405160e560020a62461bcd02815260040180806020018281038252602281526020018061142d6022913960400191505060405180910390fd5b5050505050505050565b600160a060020a03821615156111b05760405160e560020a62461bcd0281526004018080602001828103825260218152602001806114996021913960400191505060405180910390fd5b6111f481606060405190810160405280602281526020016113c360229139600160a060020a038516600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038316600090815260208190526040902055600254611220908263ffffffff61135d16565b600255604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03821615156112c8576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6002546112db908263ffffffff610d4b16565b600255600160a060020a038216600090815260208190526040902054611307908263ffffffff610d4b16565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610da883836040805190810160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cb156fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365756e737570706f727465642061646472657373206c656164696e672073796d626f6c6d61696e6e65742061646472657373206c656e67746820697320746f6f206c6f6e6745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737365677769742061646472657373206c656e677468206973206e6f74203435206f7220363545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa165627a7a72305820640407681b9585622c49ecf915802516be246e2f226bcb478c201e6711af6f330029

Deployed Bytecode

0x608060405234801561001057600080fd5b5060043610610112576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100b4578063ad54056d11610083578063ad54056d14610318578063b524f3a5146103c5578063dd62ed3e146103eb578063ec126c771461041957610112565b80638da5cb5b1461029457806395d89b41146102b8578063a457c2d7146102c0578063a9059cbb146102ec57610112565b806323b872dd116100f057806323b872dd146101ee578063313ce56714610224578063395093511461024257806370a082311461026e57610112565b806306fdde0314610117578063095ea7b31461019457806318160ddd146101d4575b600080fd5b61011f61044b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610159578181015183820152602001610141565b50505050905090810190601f1680156101865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c0600480360360408110156101aa57600080fd5b50600160a060020a0381351690602001356104e2565b604080519115158252519081900360200190f35b6101dc6104ff565b60408051918252519081900360200190f35b6101c06004803603606081101561020457600080fd5b50600160a060020a03813581169160208101359091169060400135610505565b61022c610593565b6040805160ff9092168252519081900360200190f35b6101c06004803603604081101561025857600080fd5b50600160a060020a03813516906020013561059c565b6101dc6004803603602081101561028457600080fd5b5035600160a060020a03166105f0565b61029c61060b565b60408051600160a060020a039092168252519081900360200190f35b61011f61063e565b6101c0600480360360408110156102d657600080fd5b50600160a060020a03813516906020013561069f565b6101c06004803603604081101561030257600080fd5b50600160a060020a03813516906020013561070e565b6101c06004803603604081101561032e57600080fd5b8135919081019060408101602082013564010000000081111561035057600080fd5b82018360208201111561036257600080fd5b8035906020019184600183028401116401000000008311171561038457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610722945050505050565b6101c0600480360360208110156103db57600080fd5b5035600160a060020a03166107f9565b6101dc6004803603604081101561040157600080fd5b50600160a060020a0381358116916020013516610968565b6101c06004803603606081101561042f57600080fd5b50803590600160a060020a036020820135169060400135610993565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b820191906000526020600020905b8154815290600101906020018083116104ba57829003601f168201915b505050505090505b90565b60006104f66104ef610a50565b8484610a54565b50600192915050565b60025490565b6000610512848484610b4a565b6105898461051e610a50565b610584856060604051908101604052806028815260200161147160289139600160a060020a038a1660009081526001602052604081209061055d610a50565b600160a060020a03168152602081019190915260400160002054919063ffffffff610cb116565b610a54565b5060019392505050565b60055460ff1690565b60006104f66105a9610a50565b8461058485600160006105ba610a50565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d4b16565b600160a060020a031660009081526020819052604090205490565b60075460009043106106295750600654600160a060020a03166104df565b506005546101009004600160a060020a031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b60006104f66106ac610a50565b84610584856060604051908101604052806025815260200161152860259139600160006106d7610a50565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610cb116565b60006104f661071b610a50565b8484610b4a565b600061072d82610daf565b61073e610738610a50565b84611166565b610746610a50565b600160a060020a03167f9c92ad817e5474d30a4378deface765150479363a897b0590fbb12ae9d89396b84846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156107b557818101518382015260200161079d565b50505050905090810190601f1680156107e25780820380516001836020036101000a031916815260200191505b50935050505060405180910390a250600192915050565b600061080361060b565b600160a060020a03163314610862576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03821615156108c2576040805160e560020a62461bcd02815260206004820152601d60248201527f6e6577206f776e657220697320746865207a65726f2061646472657373000000604482015290519081900360640190fd5b6108ca61060b565b6005805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a03938416810291909117918290556006805473ffffffffffffffffffffffffffffffffffffffff19168685161790819055436133f40160078190556040519094918216939290920416907fe1968d4263a733e2597ef67ea6ad267343bba5f8bf0f99d85190e06b05d824d990600090a4506001919050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600061099d61060b565b600160a060020a031633146109fc576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b610a068383611268565b604080518381529051600160a060020a0385169186917f05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d619181900360200190a35060019392505050565b3390565b600160a060020a0383161515610a9e5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806114df6024913960400191505060405180910390fd5b600160a060020a0382161515610ae85760405160e560020a62461bcd0281526004018080602001828103825260228152602001806113e56022913960400191505060405180910390fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a0383161515610b945760405160e560020a62461bcd0281526004018080602001828103825260258152602001806114ba6025913960400191505060405180910390fd5b600160a060020a0382161515610bde5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806113a06023913960400191505060405180910390fd5b610c22816060604051908101604052806026815260200161140760269139600160a060020a038616600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038085166000908152602081905260408082209390935590841681522054610c57908263ffffffff610d4b16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d435760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578181015183820152602001610cf0565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610da8576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b8051601a811015610e0a576040805160e560020a62461bcd02815260206004820152601b60248201527f61646472657373206c656e67746820697320746f6f2073686f72740000000000604482015290519081900360640190fd5b6000826000815181101515610e1b57fe5b90602001015160f860020a900460f860020a0290506000836001815181101515610e4157fe5b90602001015160f860020a900460f860020a0290506000846002815181101515610e6757fe5b90602001015160f860020a900460f860020a0290506000856003815181101515610e8d57fe5b90602001015160f860020a900460f860020a0290506000866004815181101515610eb357fe5b90602001015160f860020a900460f860020a0290506000876005815181101515610ed957fe5b016020015160f860020a908190040290507f4200000000000000000000000000000000000000000000000000000000000000600160f860020a031987161480610f4b57507f4300000000000000000000000000000000000000000000000000000000000000600160f860020a03198716145b15610f98576022871115610f935760405160e560020a62461bcd02815260040180806020018281038252602281526020018061144f6022913960400191505060405180910390fd5b61115c565b7f3100000000000000000000000000000000000000000000000000000000000000600160f860020a03198216148015610ffa57507f6200000000000000000000000000000000000000000000000000000000000000600160f860020a03198716145b801561102f57507f6c00000000000000000000000000000000000000000000000000000000000000600160f860020a03198616145b801561106457507f6f00000000000000000000000000000000000000000000000000000000000000600160f860020a03198516145b801561109957507f6300000000000000000000000000000000000000000000000000000000000000600160f860020a03198416145b80156110ce57507f6b00000000000000000000000000000000000000000000000000000000000000600160f860020a03198316145b156111225786602d14806110e25750866041145b1515610f935760405160e560020a62461bcd0281526004018080602001828103825260258152602001806115036025913960400191505060405180910390fd5b60405160e560020a62461bcd02815260040180806020018281038252602281526020018061142d6022913960400191505060405180910390fd5b5050505050505050565b600160a060020a03821615156111b05760405160e560020a62461bcd0281526004018080602001828103825260218152602001806114996021913960400191505060405180910390fd5b6111f481606060405190810160405280602281526020016113c360229139600160a060020a038516600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038316600090815260208190526040902055600254611220908263ffffffff61135d16565b600255604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03821615156112c8576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6002546112db908263ffffffff610d4b16565b600255600160a060020a038216600090815260208190526040902054611307908263ffffffff610d4b16565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610da883836040805190810160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cb156fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365756e737570706f727465642061646472657373206c656164696e672073796d626f6c6d61696e6e65742061646472657373206c656e67746820697320746f6f206c6f6e6745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737365677769742061646472657373206c656e677468206973206e6f74203435206f7220363545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa165627a7a72305820640407681b9585622c49ecf915802516be246e2f226bcb478c201e6711af6f330029

Deployed Bytecode Sourcemap

19642:2732:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19642:2732:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18627:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;18627:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12171:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12171:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;11192:91;;;:::i;:::-;;;;;;;;;;;;;;;;12795:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12795:304:0;;;;;;;;;;;;;;;;;:::i;19479:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13508:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13508:210:0;;;;;;;;:::i;11346:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11346:110:0;-1:-1:-1;;;;;11346:110:0;;:::i;20356:181::-;;;:::i;:::-;;;;-1:-1:-1;;;;;20356:181:0;;;;;;;;;;;;;;18829:87;;;:::i;14221:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14221:261:0;;;;;;;;:::i;11669:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11669:158:0;;;;;;;;:::i;21152:240::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21152:240:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;21152:240:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;21152:240:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;21152:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;21152:240:0;;-1:-1:-1;21152:240:0;;-1:-1:-1;;;;;21152:240:0:i;20545:381::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20545:381:0;-1:-1:-1;;;;;20545:381:0;;:::i;11890:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11890:134:0;;;;;;;;;;:::i;20934:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20934:210:0;;;-1:-1:-1;;;;;20934:210:0;;;;;;;;;;:::i;18627:83::-;18697:5;18690:12;;;;;;;;-1:-1:-1;;18690:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18664:13;;18690:12;;18697:5;;18690:12;;18697:5;18690:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18627:83;;:::o;12171:152::-;12237:4;12254:39;12263:12;:10;:12::i;:::-;12277:7;12286:6;12254:8;:39::i;:::-;-1:-1:-1;12311:4:0;12171:152;;;;:::o;11192:91::-;11263:12;;11192:91;:::o;12795:304::-;12884:4;12901:36;12911:6;12919:9;12930:6;12901:9;:36::i;:::-;12948:121;12957:6;12965:12;:10;:12::i;:::-;12979:89;13017:6;12979:89;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12979:19:0;;;;;;:11;:19;;;;;;12999:12;:10;:12::i;:::-;-1:-1:-1;;;;;12979:33:0;;;;;;;;;;;;-1:-1:-1;12979:33:0;;;:89;;:37;:89;:::i;:::-;12948:8;:121::i;:::-;-1:-1:-1;13087:4:0;12795:304;;;;;:::o;19479:83::-;19545:9;;;;19479:83;:::o;13508:210::-;13588:4;13605:83;13614:12;:10;:12::i;:::-;13628:7;13637:50;13676:10;13637:11;:25;13649:12;:10;:12::i;:::-;-1:-1:-1;;;;;13637:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;13637:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;11346:110::-;-1:-1:-1;;;;;11430:18:0;11403:7;11430:18;;;;;;;;;;;;11346:110::o;20356:181::-;20434:24;;20394:7;;20418:12;:40;20414:89;;-1:-1:-1;20482:9:0;;-1:-1:-1;;;;;20482:9:0;20475:16;;20414:89;-1:-1:-1;20520:9:0;;;;;-1:-1:-1;;;;;20520:9:0;;20356:181::o;18829:87::-;18901:7;18894:14;;;;;;;;-1:-1:-1;;18894:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18868:13;;18894:14;;18901:7;;18894:14;;18901:7;18894:14;;;;;;;;;;;;;;;;;;;;;;;;14221:261;14306:4;14323:129;14332:12;:10;:12::i;:::-;14346:7;14355:96;14394:15;14355:96;;;;;;;;;;;;;;;;;;:11;:25;14367:12;:10;:12::i;:::-;-1:-1:-1;;;;;14355:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14355:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;11669:158::-;11738:4;11755:42;11765:12;:10;:12::i;:::-;11779:9;11790:6;11755:9;:42::i;21152:240::-;21225:4;21242:24;21257:8;21242:14;:24::i;:::-;21277:27;21283:12;:10;:12::i;:::-;21297:6;21277:5;:27::i;:::-;21331:12;:10;:12::i;:::-;-1:-1:-1;;;;;21320:42:0;;21345:6;21353:8;21320:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;21320:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21380:4:0;21152:240;;;;:::o;20545:381::-;20614:4;20143:7;:5;:7::i;:::-;-1:-1:-1;;;;;20129:21:0;:10;:21;20121:44;;;;;-1:-1:-1;;;;;20121:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20639:22:0;;;;20631:64;;;;;-1:-1:-1;;;;;20631:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20718:7;:5;:7::i;:::-;20706:9;:19;;-1:-1:-1;;20706:19:0;;-1:-1:-1;;;;;20706:19:0;;;;;;;;;;;;;20736:9;:20;;-1:-1:-1;;20736:20:0;;;;;;;;;20794:12;20809:5;20794:20;20767:24;:47;;;20830:66;;20794:20;;20860:9;;;;20849;;;;;;20830:66;;-1:-1:-1;;20830:66:0;-1:-1:-1;20914:4:0;20545:381;;;:::o;11890:134::-;-1:-1:-1;;;;;11989:18:0;;;11962:7;11989:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11890:134::o;20934:210::-;21025:4;20143:7;:5;:7::i;:::-;-1:-1:-1;;;;;20129:21:0;:10;:21;20121:44;;;;;-1:-1:-1;;;;;20121:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21042:22;21048:7;21057:6;21042:5;:22::i;:::-;21080:34;;;;;;;;-1:-1:-1;;;;;21080:34:0;;;21090:6;;21080:34;;;;;;;;;-1:-1:-1;21132:4:0;20934:210;;;;;:::o;893:98::-;973:10;893:98;:::o;17152:338::-;-1:-1:-1;;;;;17246:19:0;;;;17238:68;;;;-1:-1:-1;;;;;17238:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17325:21:0;;;;17317:68;;;;-1:-1:-1;;;;;17317:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17398:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17450:32;;;;;;;;;;;;;;;;;17152:338;;;:::o;14972:471::-;-1:-1:-1;;;;;15070:20:0;;;;15062:70;;;;-1:-1:-1;;;;;15062:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15151:23:0;;;;15143:71;;;;-1:-1:-1;;;;;15143:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15247;15269:6;15247:71;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15247:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;15227:17:0;;;:9;:17;;;;;;;;;;;:91;;;;15352:20;;;;;;;:32;;15377:6;15352:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;15329:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;15400:35;;;;;;;15329:20;;15400:35;;;;;;;;;;;;;14972:471;;;:::o;5953:192::-;6039:7;6075:12;6067:6;;;;6059:29;;;;-1:-1:-1;;;;;6059:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6059:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6111:5:0;;;5953:192::o;5024:181::-;5082:7;5114:5;;;5138:6;;;;5130:46;;;;;-1:-1:-1;;;;;5130:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5196:1;5024:181;-1:-1:-1;;;5024:181:0:o;21400:971::-;21487:22;;21538:2;21528:12;;;21520:52;;;;;-1:-1:-1;;;;;21520:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21585:7;21601:8;21611:1;21595:18;;;;;;;;;;;;;;;-1:-1:-1;;;21595:18:0;;-1:-1:-1;;;21595:18:0;21585:28;;21624:8;21641;21651:1;21635:18;;;;;;;;;;;;;;;-1:-1:-1;;;21635:18:0;;-1:-1:-1;;;21635:18:0;21624:29;;21664:8;21681;21691:1;21675:18;;;;;;;;;;;;;;;-1:-1:-1;;;21675:18:0;;-1:-1:-1;;;21675:18:0;21664:29;;21704:8;21721;21731:1;21715:18;;;;;;;;;;;;;;;-1:-1:-1;;;21715:18:0;;-1:-1:-1;;;21715:18:0;21704:29;;21744:8;21761;21771:1;21755:18;;;;;;;;;;;;;;;-1:-1:-1;;;21755:18:0;;-1:-1:-1;;;21755:18:0;21744:29;;21784:8;21801;21811:1;21795:18;;;;;;;;;;;;;;-1:-1:-1;;;21795:18:0;;;;;;-1:-1:-1;21973:9:0;-1:-1:-1;;;;;;21973:9:0;;;;:22;;-1:-1:-1;21986:9:0;-1:-1:-1;;;;;;21986:9:0;;;21973:22;21969:395;;;22030:2;22020:12;;;22012:59;;;;-1:-1:-1;;;;;22012:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21969:395;;;22093:10;-1:-1:-1;;;;;;22093:10:0;;;:23;;;;-1:-1:-1;22107:9:0;-1:-1:-1;;;;;;22107:9:0;;;22093:23;:37;;;;-1:-1:-1;22120:10:0;-1:-1:-1;;;;;;22120:10:0;;;22093:37;:51;;;;-1:-1:-1;22134:10:0;-1:-1:-1;;;;;;22134:10:0;;;22093:51;:65;;;;-1:-1:-1;22148:10:0;-1:-1:-1;;;;;;22148:10:0;;;22093:65;:79;;;;-1:-1:-1;22162:10:0;-1:-1:-1;;;;;;22162:10:0;;;22093:79;22089:275;;;22197:6;22207:2;22197:12;:28;;;;22213:6;22223:2;22213:12;22197:28;22189:78;;;;;;-1:-1:-1;;;;;22189:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22089:275;22300:52;;-1:-1:-1;;;;;22300:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21400:971;;;;;;;;:::o;16364:348::-;-1:-1:-1;;;;;16440:21:0;;;;16432:67;;;;-1:-1:-1;;;;;16432:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16533:68;16556:6;16533:68;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16533:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;16512:18:0;;:9;:18;;;;;;;;;;:89;16627:12;;:24;;16644:6;16627:24;:16;:24;:::i;:::-;16612:12;:39;16667:37;;;;;;;;16693:1;;-1:-1:-1;;;;;16667:37:0;;;;;;;;;;;;16364:348;;:::o;15724:308::-;-1:-1:-1;;;;;15800:21:0;;;;15792:65;;;;;-1:-1:-1;;;;;15792:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15885:12;;:24;;15902:6;15885:24;:16;:24;:::i;:::-;15870:12;:39;-1:-1:-1;;;;;15941:18:0;;:9;:18;;;;;;;;;;;:30;;15964:6;15941:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;15920:18:0;;:9;:18;;;;;;;;;;;:51;;;;15987:37;;;;;;;15920:18;;:9;;15987:37;;;;;;;;;;15724:308;;:::o;5480:136::-;5538:7;5565:43;5569:1;5572;5565:43;;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

bzzr://640407681b9585622c49ecf915802516be246e2f226bcb478c201e6711af6f33

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.