Contract 0x54261774905f3e6e9718f2abb10ed6555cae308a 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x474c106d85eca33208a79522114049bb92947b79b1e90e17b6d0b057e96444cbSwapin119862212021-10-22 6:55:482 hrs 36 mins agoAnyswap: Deployer 3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00027950235
0xd651722f99211affd17f4ec16601b518f319006d6eaa3928b35e1f53bae4d5c6Swapout119848432021-10-22 5:42:503 hrs 49 mins ago0x9fbbe60183a84878171a8a5795fb28c6105aebb0 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000129875
0x05543452dfec82b76e3f3766c7039ce38940785d766f845c0d856d0d5ae1186eSwapout119728082021-10-21 19:22:3714 hrs 9 mins ago0xc64ef1c4c8f417657c6e20b367a6bb4ac4fcb6d3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000129875
0xe32c18f4ad72c976fee1ff40ace118fe7edd4e4077cf7b58b21cf3250526f787Approve119605272021-10-21 8:50:061 day 42 mins ago0x0beb7feb89ca5e75ab3e5d71bcce79edec97dfbe IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000267906
0x5d929538d293b7c227234b24479aa9dacb564d6794ff900091d1cf61aeff49cdSwapin119514762021-10-21 1:09:201 day 8 hrs agoAnyswap: Deployer 3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00020375235
0x5f758c0b47ab67e93b9934943d73a9b5877aec311e12841b227a595f027572ceSwapin119508102021-10-21 0:35:181 day 8 hrs agoAnyswap: Deployer 3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00020375235
0xbd4a1e907e360985f9d33ae8c205848bc290ea252e41a0ef6ff329e2aa9ae711Swapin119501402021-10-21 0:01:171 day 9 hrs agoAnyswap: Deployer 3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00020375235
0x26741a3c1fa4c5977aee3b8df813d7c23e018c4dded693489710a7feac0c19efApprove119490282021-10-20 23:05:411 day 10 hrs ago0xb5a48fed4d5aba3e52cfc81b21356857a7b48b4c IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x921bf0ad1a7661793b16e774dc20363aabf6684491763c19ecdd3d9bcdcf4a9eSwapout119471602021-10-20 21:31:581 day 12 hrs ago0xaba965bdb05d969903e3e83063d7b8cc2d7de5e2 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000133725
0x80ab39f86d2eeb7a2e6ebe1ecb64cf56a7a3a87b5e5388eba176f217bf52eeebApprove119413142021-10-20 16:35:311 day 16 hrs ago0xd246b564f8f446a39d0f1fed12eb2dd412617a7d IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000127255
0xa5f149775807965fc6127ef1d26413107b0112a4b72d9e579482c45197c4ae32Approve119413082021-10-20 16:35:131 day 16 hrs ago0xd246b564f8f446a39d0f1fed12eb2dd412617a7d IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x8c9102fc2b1c78bb523de68e45907f2a0b5edd505e7cb048375e2f87ac3f74e9Swapout119217182021-10-20 0:09:242 days 9 hrs ago0xc64ef1c4c8f417657c6e20b367a6bb4ac4fcb6d3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000129875
0x36548319e0921674b233d69e603d068fa78a12afbf5dae8ba0542f32bcbcf0a3Approve119175632021-10-19 20:40:182 days 12 hrs ago0xcf1f3eb83dbcf4e5f47e88361228180e4cd9cbb9 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000127255
0x94ea73b1df72268212875d1bfc43fef01eb5ac34ed5ac96374775b51e57c4182Approve119175562021-10-19 20:39:572 days 12 hrs ago0xcf1f3eb83dbcf4e5f47e88361228180e4cd9cbb9 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x5b7e36b12aca79f7f62af119efab2f1b3fb29c4ff8b67a8ae9ddeb8e2e7780e1Swapin119145432021-10-19 17:44:392 days 15 hrs agoAnyswap: Deployer 3 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00027944175
0x2e102e41b9c5175b6d5a11766b9bf1f494932920fc90b21afc63297c664ebabcApprove119134062021-10-19 16:46:202 days 16 hrs ago0x83be61691fb53cb5aa259a7ad3e8dee3f56a6603 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x95ac8efd87f803e7ad5deae5c86761d679e1b096a0b8746b489ca49b85fb5985Transfer118942592021-10-19 0:41:323 days 8 hrs ago0xf8f8a47c0f5a2e11245a9b53915ba1e39c9bdeac IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000182435
0xbb38c1bf8fc0664e63446e1c5a960bebabbf32d2a73ca4da585c5a519fd9087bApprove118901012021-10-18 21:13:363 days 12 hrs ago0xf8f8a47c0f5a2e11245a9b53915ba1e39c9bdeac IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x26fb5de0e3482e2002a6be853db4d930dbf0fddbe169d0a5a91d73b33ac53aa7Approve118861532021-10-18 17:55:383 days 15 hrs ago0xb87a0d8848d8ad73d83a778213c6d600339252d9 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x54eda85d5b85aeef4ff9505a400ff75f48e2ba5cdd8f03cdcba8b750acd460f4Approve118321452021-10-16 20:40:175 days 12 hrs ago0x429fc000c964502ee09322f5a5cb250b9d494501 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0x9ef6bdbe98f9db79bf6426f939e861f5136663609f2fa5db75be7638c4ccb39bApprove118273742021-10-16 16:37:465 days 16 hrs ago0xbf0496c53ed6c60c8ef3f7981a40af3f7d02a3ba IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000267906
0x7dc430eb50be10b6e67dd94af8ad2683bbfcbcd219bbf5d2d2b417ac6faabb9dApprove118183692021-10-16 9:05:216 days 26 mins ago0x195dd12544e24c807c2c599232be1c6fb21c7a96 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000267906
0xeaaa5881221565d5dd3dee9f71dddbbf7e1d807ff406b12e4665eb2e248e4df6Approve118065212021-10-15 23:09:526 days 10 hrs ago0x61507ab9559c1d9faf026c69899d6119475e0c07 IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000223255
0xfc1cf68edc6ec09b6c3c6bc6a12f9003a688f5831406052030f1d39556240dbeSwapout117802462021-10-15 1:12:477 days 8 hrs ago0xce2341f762dca58ff109cf0c495c082d9714866f IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.000181825
0x6069ea5ed357d4ca2b57628fed9b475525f15ee5f578f8340ae2f898e40f25bdSwapout117794432021-10-15 0:32:387 days 8 hrs ago0xce2341f762dca58ff109cf0c495c082d9714866f IN  0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB0.00012943
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xa412815d721d9c1126990d3e0323c9d1caf6b2b5b6910163d3e7bfc96d7b8fb654609182021-03-07 3:18:41229 days 6 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xa412815d721d9c1126990d3e0323c9d1caf6b2b5b6910163d3e7bfc96d7b8fb654609182021-03-07 3:18:41229 days 6 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xa412815d721d9c1126990d3e0323c9d1caf6b2b5b6910163d3e7bfc96d7b8fb654609182021-03-07 3:18:41229 days 6 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xef76fb4f45071d623cd6d63ba73d4b9e555039237232ef2ce9818de4eeeeb6dd54522182021-03-06 20:03:39229 days 13 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xef76fb4f45071d623cd6d63ba73d4b9e555039237232ef2ce9818de4eeeeb6dd54522182021-03-06 20:03:39229 days 13 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x308ee237376944c795b0fcc60bb625bf5a4f8851e23c8a0ce89934b52ec3900354491022021-03-06 17:27:18229 days 16 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x308ee237376944c795b0fcc60bb625bf5a4f8851e23c8a0ce89934b52ec3900354491022021-03-06 17:27:18229 days 16 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x5e3a6b05c2af9e3a0e92d335feec50a913cdf13f309bb75f853fe124535d742154450172021-03-06 14:02:18229 days 19 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x5e3a6b05c2af9e3a0e92d335feec50a913cdf13f309bb75f853fe124535d742154450172021-03-06 14:02:18229 days 19 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xbdbdc69de3df70349965e0c4b36683e37a855e4074a1652b91ffdee118fb567154424752021-03-06 11:55:12229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xbdbdc69de3df70349965e0c4b36683e37a855e4074a1652b91ffdee118fb567154424752021-03-06 11:55:12229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x6b61404162eeb69f94b8432a5d308df44dccc2124bdd00a2b196b4d27727250d54424692021-03-06 11:54:54229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x6b61404162eeb69f94b8432a5d308df44dccc2124bdd00a2b196b4d27727250d54424692021-03-06 11:54:54229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x6b61404162eeb69f94b8432a5d308df44dccc2124bdd00a2b196b4d27727250d54424692021-03-06 11:54:54229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xdd1b3c1d6cec370daa921c2e307841664c9288a881fe7f9e4f1a4e19e994e96d54423472021-03-06 11:48:48229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0xdd1b3c1d6cec370daa921c2e307841664c9288a881fe7f9e4f1a4e19e994e96d54423472021-03-06 11:48:48229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x4696b20c93157e1f2532c335729d93edd6f6cf242ed533b79f33ded4d2db3bc054423332021-03-06 11:48:06229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x4696b20c93157e1f2532c335729d93edd6f6cf242ed533b79f33ded4d2db3bc054423332021-03-06 11:48:06229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x84285ab102de57e4ac1e125316cdc8a7f1c0245814be2dab34d69a2c526b523a54423242021-03-06 11:47:39229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x84285ab102de57e4ac1e125316cdc8a7f1c0245814be2dab34d69a2c526b523a54423242021-03-06 11:47:39229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x170e703240d85b97fc44a583984adcfdf8a1c7bf8100e84a4c421333052c110654423162021-03-06 11:47:15229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x170e703240d85b97fc44a583984adcfdf8a1c7bf8100e84a4c421333052c110654423162021-03-06 11:47:15229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x170e703240d85b97fc44a583984adcfdf8a1c7bf8100e84a4c421333052c110654423162021-03-06 11:47:15229 days 21 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x033a26f102cb45e49eb322a3af62cb5ad8c8d63362eaa4c497a89b513b74aaf554418822021-03-06 11:25:33229 days 22 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
0x033a26f102cb45e49eb322a3af62cb5ad8c8d63362eaa4c497a89b513b74aaf554418822021-03-06 11:25:33229 days 22 hrs ago 0x0945b2ae9fefa0c3183d810378d94af065d5f28b 0x54261774905f3e6e9718f2abb10ed6555cae308a0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BtcSwapAssetV2

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 BscScan.com on 2021-04-19
*/

// 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/BtcSwapAssetV2.sol

pragma solidity ^0.5.0;



contract BtcSwapAssetV2 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 Bitcoin", "anyBTC", 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];

        if (ch == '1' || ch == '3') {
            require(length <= 34, "mainnet address length is too long");
        } else if (ch == '2' || ch == 'm' || ch == 'n') {
            require(length <= 35, "testnet address length is too long");
        } else if ((ch3 == '1') && ((ch == 'b' && ch2 == 'c') || (ch == 't' && ch2 == 'b'))) {
            require(length == 42 || length == 62, "segwit address length is not 42 or 62");
        } 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"}]

60806040523480156200001157600080fd5b50604080518082018252600b81527f414e5920426974636f696e00000000000000000000000000000000000000000060208083019182528351808501909452600684527f616e794254430000000000000000000000000000000000000000000000000000908401528151919291600891620000909160039190620000da565b508151620000a6906004906020850190620000da565b506005805460ff90921660ff19909216919091179055505060068054600160a060020a03191633179055436007556200017f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b6200017c91905b808211156200015b576000815560010162000166565b90565b6115ca806200018f6000396000f3fe608060405234801561001057600080fd5b5060043610610112576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100b4578063ad54056d11610083578063ad54056d14610318578063b524f3a5146103c5578063dd62ed3e146103eb578063ec126c771461041957610112565b80638da5cb5b1461029457806395d89b41146102b8578063a457c2d7146102c0578063a9059cbb146102ec57610112565b806323b872dd116100f057806323b872dd146101ee578063313ce56714610224578063395093511461024257806370a082311461026e57610112565b806306fdde0314610117578063095ea7b31461019457806318160ddd146101d4575b600080fd5b61011f61044b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610159578181015183820152602001610141565b50505050905090810190601f1680156101865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c0600480360360408110156101aa57600080fd5b50600160a060020a0381351690602001356104e2565b604080519115158252519081900360200190f35b6101dc6104ff565b60408051918252519081900360200190f35b6101c06004803603606081101561020457600080fd5b50600160a060020a03813581169160208101359091169060400135610505565b61022c610593565b6040805160ff9092168252519081900360200190f35b6101c06004803603604081101561025857600080fd5b50600160a060020a03813516906020013561059c565b6101dc6004803603602081101561028457600080fd5b5035600160a060020a03166105f0565b61029c61060b565b60408051600160a060020a039092168252519081900360200190f35b61011f61063e565b6101c0600480360360408110156102d657600080fd5b50600160a060020a03813516906020013561069f565b6101c06004803603604081101561030257600080fd5b50600160a060020a03813516906020013561070e565b6101c06004803603604081101561032e57600080fd5b8135919081019060408101602082013564010000000081111561035057600080fd5b82018360208201111561036257600080fd5b8035906020019184600183028401116401000000008311171561038457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610722945050505050565b6101c0600480360360208110156103db57600080fd5b5035600160a060020a03166107f9565b6101dc6004803603604081101561040157600080fd5b50600160a060020a0381358116916020013516610968565b6101c06004803603606081101561042f57600080fd5b50803590600160a060020a036020820135169060400135610993565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b820191906000526020600020905b8154815290600101906020018083116104ba57829003601f168201915b505050505090505b90565b60006104f66104ef610a50565b8484610a54565b50600192915050565b60025490565b6000610512848484610b4a565b6105898461051e610a50565b61058485606060405190810160405280602881526020016114e860289139600160a060020a038a1660009081526001602052604081209061055d610a50565b600160a060020a03168152602081019190915260400160002054919063ffffffff610cb116565b610a54565b5060019392505050565b60055460ff1690565b60006104f66105a9610a50565b8461058485600160006105ba610a50565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d4b16565b600160a060020a031660009081526020819052604090205490565b60075460009043106106295750600654600160a060020a03166104df565b506005546101009004600160a060020a031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d75780601f106104ac576101008083540402835291602001916104d7565b60006104f66106ac610a50565b84610584856060604051908101604052806025815260200161157a60259139600160006106d7610a50565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610cb116565b60006104f661071b610a50565b8484610b4a565b600061072d82610daf565b61073e610738610a50565b84611196565b610746610a50565b600160a060020a03167f9c92ad817e5474d30a4378deface765150479363a897b0590fbb12ae9d89396b84846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156107b557818101518382015260200161079d565b50505050905090810190601f1680156107e25780820380516001836020036101000a031916815260200191505b50935050505060405180910390a250600192915050565b600061080361060b565b600160a060020a03163314610862576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03821615156108c2576040805160e560020a62461bcd02815260206004820152601d60248201527f6e6577206f776e657220697320746865207a65726f2061646472657373000000604482015290519081900360640190fd5b6108ca61060b565b6005805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a03938416810291909117918290556006805473ffffffffffffffffffffffffffffffffffffffff19168685161790819055436133f40160078190556040519094918216939290920416907fe1968d4263a733e2597ef67ea6ad267343bba5f8bf0f99d85190e06b05d824d990600090a4506001919050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600061099d61060b565b600160a060020a031633146109fc576040805160e560020a62461bcd02815260206004820152600a60248201527f6f6e6c79206f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b610a068383611298565b604080518381529051600160a060020a0385169186917f05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d619181900360200190a35060019392505050565b3390565b600160a060020a0383161515610a9e5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806115566024913960400191505060405180910390fd5b600160a060020a0382161515610ae85760405160e560020a62461bcd0281526004018080602001828103825260228152602001806114376022913960400191505060405180910390fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a0383161515610b945760405160e560020a62461bcd0281526004018080602001828103825260258152602001806115316025913960400191505060405180910390fd5b600160a060020a0382161515610bde5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806113d06023913960400191505060405180910390fd5b610c22816060604051908101604052806026815260200161147e60269139600160a060020a038616600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038085166000908152602081905260408082209390935590841681522054610c57908263ffffffff610d4b16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d435760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578181015183820152602001610cf0565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610da8576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b8051601a811015610e0a576040805160e560020a62461bcd02815260206004820152601b60248201527f61646472657373206c656e67746820697320746f6f2073686f72740000000000604482015290519081900360640190fd5b6000826000815181101515610e1b57fe5b90602001015160f860020a900460f860020a0290506000836001815181101515610e4157fe5b90602001015160f860020a900460f860020a0290506000846002815181101515610e6757fe5b016020015160f860020a908190040290507f3100000000000000000000000000000000000000000000000000000000000000600160f860020a031984161480610ed957507f3300000000000000000000000000000000000000000000000000000000000000600160f860020a03198416145b15610f26576022841115610f215760405160e560020a62461bcd0281526004018080602001828103825260228152602001806114c66022913960400191505060405180910390fd5b61118f565b7f3200000000000000000000000000000000000000000000000000000000000000600160f860020a031984161480610f8757507f6d00000000000000000000000000000000000000000000000000000000000000600160f860020a03198416145b80610fbb57507f6e00000000000000000000000000000000000000000000000000000000000000600160f860020a03198416145b15611003576023841115610f215760405160e560020a62461bcd0281526004018080602001828103825260228152602001806113f36022913960400191505060405180910390fd5b7f3100000000000000000000000000000000000000000000000000000000000000600160f860020a0319821614801561110157507f6200000000000000000000000000000000000000000000000000000000000000600160f860020a0319841614801561109957507f6300000000000000000000000000000000000000000000000000000000000000600160f860020a03198316145b8061110157507f7400000000000000000000000000000000000000000000000000000000000000600160f860020a0319841614801561110157507f6200000000000000000000000000000000000000000000000000000000000000600160f860020a03198316145b156111555783602a1480611115575083603e145b1515610f215760405160e560020a62461bcd0281526004018080602001828103825260258152602001806114596025913960400191505060405180910390fd5b60405160e560020a62461bcd0281526004018080602001828103825260228152602001806114a46022913960400191505060405180910390fd5b5050505050565b600160a060020a03821615156111e05760405160e560020a62461bcd0281526004018080602001828103825260218152602001806115106021913960400191505060405180910390fd5b611224816060604051908101604052806022815260200161141560229139600160a060020a038516600090815260208190526040902054919063ffffffff610cb116565b600160a060020a038316600090815260208190526040902055600254611250908263ffffffff61138d16565b600255604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03821615156112f8576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60025461130b908263ffffffff610d4b16565b600255600160a060020a038216600090815260208190526040902054611337908263ffffffff610d4b16565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610da883836040805190810160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cb156fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373746573746e65742061646472657373206c656e67746820697320746f6f206c6f6e6745524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573737365677769742061646472657373206c656e677468206973206e6f74203432206f7220363245524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365756e737570706f727465642061646472657373206c656164696e672073796d626f6c6d61696e6e65742061646472657373206c656e67746820697320746f6f206c6f6e6745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa165627a7a72305820cb8639677a800ae5a6132ad40d3aa882c947762a28b9041953e63bb94e746f470029

Deployed ByteCode Sourcemap

19640:2592:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19640:2592: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;20351:181::-;;;:::i;:::-;;;;-1:-1:-1;;;;;20351: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;21147:240::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21147:240:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;21147:240:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;21147: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;21147:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;21147:240:0;;-1:-1:-1;21147:240:0;;-1:-1:-1;;;;;21147:240:0:i;20540:381::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20540:381:0;-1:-1:-1;;;;;20540: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;20929:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20929:210:0;;;-1:-1:-1;;;;;20929: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;20351:181::-;20429:24;;20389:7;;20413:12;:40;20409:89;;-1:-1:-1;20477:9:0;;-1:-1:-1;;;;;20477:9:0;20470:16;;20409:89;-1:-1:-1;20515:9:0;;;;;-1:-1:-1;;;;;20515:9:0;;20351: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;21147:240::-;21220:4;21237:24;21252:8;21237:14;:24::i;:::-;21272:27;21278:12;:10;:12::i;:::-;21292:6;21272:5;:27::i;:::-;21326:12;:10;:12::i;:::-;-1:-1:-1;;;;;21315:42:0;;21340:6;21348:8;21315: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;21315:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21375:4:0;21147:240;;;;:::o;20540:381::-;20609:4;20139:7;:5;:7::i;:::-;-1:-1:-1;;;;;20125:21:0;:10;:21;20117:44;;;;;-1:-1:-1;;;;;20117:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20634:22:0;;;;20626:64;;;;;-1:-1:-1;;;;;20626:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20713:7;:5;:7::i;:::-;20701:9;:19;;-1:-1:-1;;20701:19:0;;-1:-1:-1;;;;;20701:19:0;;;;;;;;;;;;;20731:9;:20;;-1:-1:-1;;20731:20:0;;;;;;;;;20789:12;20804:5;20789:20;20762:24;:47;;;20825:66;;20789:20;;20855:9;;;;20844;;;;;;20825:66;;-1:-1:-1;;20825:66:0;-1:-1:-1;20909:4:0;20540:381;;;:::o;11890:134::-;-1:-1:-1;;;;;11989:18:0;;;11962:7;11989:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11890:134::o;20929:210::-;21020:4;20139:7;:5;:7::i;:::-;-1:-1:-1;;;;;20125:21:0;:10;:21;20117:44;;;;;-1:-1:-1;;;;;20117:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21037:22;21043:7;21052:6;21037:5;:22::i;:::-;21075:34;;;;;;;;-1:-1:-1;;;;;21075:34:0;;;21085:6;;21075:34;;;;;;;;;-1:-1:-1;21127:4:0;20929: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;21395:834::-;21482:22;;21533:2;21523:12;;;21515:52;;;;;-1:-1:-1;;;;;21515:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21580:7;21596:8;21606:1;21590:18;;;;;;;;;;;;;;;-1:-1:-1;;;21590:18:0;;-1:-1:-1;;;21590:18:0;21580:28;;21619:8;21636;21646:1;21630:18;;;;;;;;;;;;;;;-1:-1:-1;;;21630:18:0;;-1:-1:-1;;;21630:18:0;21619:29;;21659:8;21676;21686:1;21670:18;;;;;;;;;;;;;;-1:-1:-1;;;21670:18:0;;;;;;-1:-1:-1;21705:9:0;-1:-1:-1;;;;;;21705:9:0;;;;:22;;-1:-1:-1;21718:9:0;-1:-1:-1;;;;;;21718:9:0;;;21705:22;21701:521;;;21762:2;21752:12;;;21744:59;;;;-1:-1:-1;;;;;21744:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21701:521;;;21825:9;-1:-1:-1;;;;;;21825:9:0;;;;:22;;-1:-1:-1;21838:9:0;-1:-1:-1;;;;;;21838:9:0;;;21825:22;:35;;;-1:-1:-1;21851:9:0;-1:-1:-1;;;;;;21851:9:0;;;21825:35;21821:401;;;21895:2;21885:12;;;21877:59;;;;-1:-1:-1;;;;;21877:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21821:401;21959:10;-1:-1:-1;;;;;;21959:10:0;;;21958:72;;;;-1:-1:-1;21976:9:0;-1:-1:-1;;;;;;21976:9:0;;;:23;;;;-1:-1:-1;21989:10:0;-1:-1:-1;;;;;;21989:10:0;;;21976:23;21975:54;;;-1:-1:-1;22005:9:0;-1:-1:-1;;;;;;22005:9:0;;;:23;;;;-1:-1:-1;22018:10:0;-1:-1:-1;;;;;;22018:10:0;;;22005:23;21954:268;;;22055:6;22065:2;22055:12;:28;;;;22071:6;22081:2;22071:12;22055:28;22047:78;;;;;;-1:-1:-1;;;;;22047:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21954:268;22158:52;;-1:-1:-1;;;;;22158:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21395:834;;;;;:::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://cb8639677a800ae5a6132ad40d3aa882c947762a28b9041953e63bb94e746f47
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.