Contract 0xB0a1DE764A033A76f28E821fBe402EDBFEe937dB

 

Contract Overview

Ditto: XDITTO Token
Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xe5a66b4b9bd24952241eaba49e932537751c52c66c6eac769824f2a67a00686785870402021-06-24 21:51:579 mins ago0x3494763cfe645c952ca727a0c3de55a352af8fed IN  Ditto: XDITTO Token0 BNB0.000220895
0x35df4f0fa7617105978237ed7b6afe8ed43fcf068bf8636a7b90c7860a010cf285854092021-06-24 20:30:241 hr 31 mins ago0x17e3597f156a309b0fd31fbec6760d8400b518b5 IN  Ditto: XDITTO Token0 BNB0.00042971
0x3a9b5747478c566550227fa40a5aa52af48101f4e10b4108dd8c24573ab8023685757312021-06-24 12:25:199 hrs 36 mins ago0x2fcad63d1f9dd1c602dbb09e84d37d150a4abb1f IN  Ditto: XDITTO Token0 BNB0.000220895
0xbf68907590dc5b08747c2ff7b5cd9854f656589297fb660fbdd8bedea684a96f85751932021-06-24 11:58:2510 hrs 3 mins ago0x5a6653c17c845562a051616e71d1f9a8101566c2 IN  Ditto: XDITTO Token0 BNB0.00007256
0xdf09c2ec4f4692f4a89e19f5ee76ec3b15da95caf264d43f82fd967353398eae85746942021-06-24 11:33:2810 hrs 28 mins ago0x09dc113b466285e37f37a8ad467246c04addab8d IN  Ditto: XDITTO Token0 BNB0.000220895
0xfce4a72d73936073e30523f9011b04894e4b4602a1bce404e41f6f42e14448ed85743662021-06-24 11:17:0410 hrs 44 mins ago0xd5cbc381fef846ed9bd9fdb8230e45c965bd17ab IN  Ditto: XDITTO Token0 BNB0.000336485
0x8d5120066ce156b8d7aab90b4610cfde0c4c7eaa8ea8b81eb6fcc146dc8d91a685743592021-06-24 11:16:4310 hrs 44 mins ago0xd5cbc381fef846ed9bd9fdb8230e45c965bd17ab IN  Ditto: XDITTO Token0 BNB0.000124715
0x5f1c38e6934433cf98bffd71514a9c543df592ec920887abcb28b7d8f5b1effb85743412021-06-24 11:15:4910 hrs 45 mins ago0xd5cbc381fef846ed9bd9fdb8230e45c965bd17ab IN  Ditto: XDITTO Token0 BNB0.000220715
0xd69ff3a320c4170202d33b2964f065baf9c09b8154f3404438622ec7ccb605d585730472021-06-24 10:11:0411 hrs 50 mins ago0x3e8734ec146c981e3ed1f6b582d447dde701d90c IN  Ditto: XDITTO Token0 BNB0.000220895
0x82e4f7e1691d7b33f6a7012572de0b6f63783701162516b0515e9e7135f7bd8f85714762021-06-24 8:52:2813 hrs 9 mins ago0x6f312c8edd1fac7058952212ca379f8fb71560b6 IN  Ditto: XDITTO Token0 BNB0.000261485
0xad951cb79e6472faa77542e5a9c9b1b3381a451d4ac0507d2009608b9f45976b85713702021-06-24 8:47:1013 hrs 14 mins ago0x6ee94c563eb3e51c2085dcdee21f3e7112edf3ad IN  Ditto: XDITTO Token0 BNB0.000336485
0xd20661d0ec8bb894a04bca2af005ac5e9c3e6354de57767233dffa6a9d8d2f0385683632021-06-24 6:16:3015 hrs 45 mins ago0x65b4ea9cae64006340f54019b490ec6bfe798ba4 IN  Ditto: XDITTO Token0 BNB0.000220895
0x12535fdcea0b626c2dfa85da8733782c5156a5713e68397e8fe646f9d26a5e2785645002021-06-24 3:03:1118 hrs 58 mins ago0x961769a93629b63a46ebe66bd54be873054b20b5 IN  Ditto: XDITTO Token0 BNB0.000220895
0xf42fcd3fd165091593ba88639ee4e97d7706063e97740eb34444b1e26c19bc8b85636582021-06-24 2:20:1219 hrs 41 mins ago0x839375339b030c4a8a2f8bcedd85c308d898307a IN  Ditto: XDITTO Token0 BNB0.000101584
0x16021c6744211a534df4acd322795ea9cc72e43f81bd4083a825fae88b46384985604132021-06-23 23:37:5722 hrs 23 mins ago0xbd1c93834719bac7e4f677410fdc11a4c0dff883 IN  Ditto: XDITTO Token0 BNB0.000222035
0xd19caea23e1066a287cf36a5e2027ba185157ade04120ed68c400b0fbd2a8ce985579182021-06-23 21:32:241 day 29 mins ago0x652d70dacf312d662b4981d0f97827358a1fe1f2 IN  Ditto: XDITTO Token0 BNB0.00007256
0x8898237d8a25663393f369bfe7d9ac4f003bb6f6be93c7a37b67aafbac0a56ef85573512021-06-23 21:04:031 day 57 mins ago0x5330d2023ea98c64ba05debd2fc9d2dec8a86e71 IN  Ditto: XDITTO Token0 BNB0.000220895
0x90a05296b1f9277d529e67d01e9044bd08ae7fc39fe8073c73b8f5169bee62a085564572021-06-23 20:19:181 day 1 hr ago0x961769a93629b63a46ebe66bd54be873054b20b5 IN  Ditto: XDITTO Token0 BNB0.000220895
0x6c940ad060e416ffc2371f5307a3bfbe1615e3d0424bfdaa0175f7d9e1b3a76085526592021-06-23 17:08:081 day 4 hrs ago0x4c038f761132bba53a9353566001c679a5b9a0c3 IN  Ditto: XDITTO Token0 BNB0.000222035
0xc9a2cc3374613a3e458280a85faac9264ec56f6fd6efdbb257a51a31bc70fe5285520842021-06-23 16:39:221 day 5 hrs ago0xfcb9d751d9be4da3823a4217ed2e058d8d574ea7 IN  Ditto: XDITTO Token0 BNB0.00007256
0x3e259a1555d42179425049d2584e3bc24902a85a6f26a5c1726af0c732c0e34685519112021-06-23 16:30:431 day 5 hrs ago0xfcb9d751d9be4da3823a4217ed2e058d8d574ea7 IN  Ditto: XDITTO Token0 BNB0.000222035
0x9c50d3236cc572ccf13ec651cde38d0590c65b7016025cbbac67ec639cddb65685494522021-06-23 14:27:401 day 7 hrs ago0x9cda8cd7c68571a5727d08d3debd213c3077ca18 IN  Ditto: XDITTO Token0 BNB0.00042971
0xaaf6789f05e3b03ede6bf3bea99684f70726181aff47c2951c9c68e7877fa6fa85493262021-06-23 14:21:221 day 7 hrs ago0x9cda8cd7c68571a5727d08d3debd213c3077ca18 IN  Ditto: XDITTO Token0 BNB0.00042971
0x79d85f390fd69aef0905848c6add5d975c8fbcfca456c3fd2239def6073ce0a685489932021-06-23 14:04:431 day 7 hrs ago0xb8a2cc8036f11f4046908d717b0a5e4f4ded3170 IN  Ditto: XDITTO Token0 BNB0.000222035
0xc39335a2df7f696110be7649750a58fbac44de9ecfb9f86cedab7382bc34086e85476982021-06-23 12:59:391 day 9 hrs ago0x495c98f4f60c1b318459d2a584831fc767e12b5c IN  Ditto: XDITTO Token0 BNB0.000222035
[ Download CSV Export 

OVERVIEW

xDITTO is a non-rebasing token that is swappable for DITTO at a variable rate. Users can lock DITTO in the xDITTO smart contract to mint xDITTO.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x7336684e54979912da48d02767bdae4219203e4ff02436d68e57137262b0b53e57794422021-03-18 5:07:0098 days 16 hrs ago Ditto: XDITTO Token  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
xDitto

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-18
*/

// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2020 DITTO Money

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity 0.6.12;

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

    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;
    }
}

// 
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), 'Ownable: caller is not the owner');
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// 
interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

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

// 
/**
 * @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.
     */
    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.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        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.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

// 
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, 'Address: insufficient balance');

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}('');
        require(success, 'Address: unable to send value, recipient may have reverted');
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, 'Address: low-level call failed');
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, 'Address: insufficient balance for call');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// 
/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: 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 {BEP20-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 {BEP20-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, 'BEP20: 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), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: 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), 'BEP20: 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), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: 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), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: 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, 'BEP20: burn amount exceeds allowance')
        );
    }
}

contract TokenPool is Ownable {
    BEP20 public token;

    constructor(BEP20 _token) public {
        token = _token;
    }

    function balance() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    function transfer(address to, uint256 value) external onlyOwner returns (bool) {
        return token.transfer(to, value);
    }

    function rescueFunds(address tokenToRescue, address to, uint256 amount) external onlyOwner returns (bool) {
        require(address(token) != tokenToRescue, 'TokenPool: Cannot claim token held by the contract');

        return BEP20(tokenToRescue).transfer(to, amount);
    }
}

/* xDitto token with Governance.

  xDitto is a non-rebasing BEP20 token that is swappable for DITTO at a variable rate.
  Its purpose is to expand DITTO's reach and market cap without diluting DITTO's value.
  Users can mint xDITTO by locking DITTO and redeem DITTO for xDITTO at any time.
  xDITTO can be easily listed on CEXes like Binance.
  It also allows for easier integration with staking and yield farming dapps.
*/

contract xDitto is BEP20('xDitto', 'XDITTO') {
    
    BEP20 ditto = BEP20(0x233d91A0713155003fc4DcE0AFa871b508B3B715);
    TokenPool dittoPool;
    
    constructor() public {
        dittoPool = new TokenPool(ditto);
    }
    
    function getMintAmount(uint256 amountIn) public view returns (uint256) {
        if (totalSupply() == 0) {
            return amountIn * 1e9;
        } else {
            return totalSupply().mul(amountIn).div(dittoPool.balance());
        }
    }
    
    function getRedeemAmount(uint256 amount) public view returns (uint256) {
        return dittoPool.balance().mul(amount).div(totalSupply());
    }
    
    function mint(address _to, uint256 _amountIn) public {
        
        uint256 mintAmount = getMintAmount(_amountIn);
        
        ditto.transferFrom(msg.sender, address(dittoPool), _amountIn);
        _mint(_to, mintAmount);
        
        _moveDelegates(address(0), _delegates[_to], mintAmount);
    }
    
    function burn(uint256 _amount) public {
        
        uint256 redeemAmount = getRedeemAmount(_amount);
        
        require(redeemAmount > 0, "Burn amount too small");
        
        _burn(msg.sender, _amount);
        dittoPool.transfer(msg.sender, redeemAmount);

        _moveDelegates(_delegates[msg.sender], address(0), _amount);
    }
    
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "DITTO::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "DITTO::delegateBySig: invalid nonce");
        require(now <= expiry, "DITTO::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "DITTO::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying DITTOs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "DITTO::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"getMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getRedeemAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amountIn","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405260058054610100600160a81b03191674233d91a0713155003fc4dce0afa871b508b3b715001790553480156200003957600080fd5b506040518060400160405280600681526020016578446974746f60d01b8152506040518060400160405280600681526020016558444954544f60d01b8152508160039080519060200190620000909291906200012d565b508051620000a69060049060208401906200012d565b505060058054601260ff1990911617908190556040516101009091046001600160a01b03169150620000d890620001b2565b6001600160a01b03909116815260405190819003602001906000f08015801562000106573d6000803e3d6000fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055620001d7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017057805160ff1916838001178555620001a0565b82800160010185558215620001a0579182015b82811115620001a057825182559160200191906001019062000183565b50620001ae929150620001c0565b5090565b6107368062001fa083390190565b5b80821115620001ae5760008155600101620001c1565b611db980620001e76000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636fcfff45116100de578063a457c2d711610097578063c3cda52011610071578063c3cda52014610501578063dd62ed3e14610548578063e7a324dc14610576578063f1127ed81461057e57610173565b8063a457c2d714610483578063a9059cbb146104af578063b4b5ea57146104db57610173565b80636fcfff45146103a757806370a08231146103e6578063782d6fe11461040c5780637ecebe001461043857806395d89b411461045e5780639de2f7961461046657610173565b8063313ce56711610130578063313ce567146102aa57806339509351146102c857806340c10f19146102f457806342966c6814610322578063587cde1e1461033f5780635c19a95c1461038157610173565b806306fdde0314610178578063095ea7b3146101f557806318160ddd1461023557806320606b701461024f57806323b872dd146102575780632c3ee88c1461028d575b600080fd5b6101806105d0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b038135169060200135610666565b604080519115158252519081900360200190f35b61023d610684565b60408051918252519081900360200190f35b61023d61068a565b6102216004803603606081101561026d57600080fd5b506001600160a01b038135811691602081013590911690604001356106ae565b61023d600480360360208110156102a357600080fd5b5035610735565b6102b26107d4565b6040805160ff9092168252519081900360200190f35b610221600480360360408110156102de57600080fd5b506001600160a01b0381351690602001356107dd565b6103206004803603604081101561030a57600080fd5b506001600160a01b03813516906020013561082b565b005b6103206004803603602081101561033857600080fd5b50356108fd565b6103656004803603602081101561035557600080fd5b50356001600160a01b0316610a0b565b604080516001600160a01b039092168252519081900360200190f35b6103206004803603602081101561039757600080fd5b50356001600160a01b0316610a29565b6103cd600480360360208110156103bd57600080fd5b50356001600160a01b0316610a36565b6040805163ffffffff9092168252519081900360200190f35b61023d600480360360208110156103fc57600080fd5b50356001600160a01b0316610a4e565b61023d6004803603604081101561042257600080fd5b506001600160a01b038135169060200135610a69565b61023d6004803603602081101561044e57600080fd5b50356001600160a01b0316610c71565b610180610c83565b61023d6004803603602081101561047c57600080fd5b5035610ce4565b6102216004803603604081101561049957600080fd5b506001600160a01b038135169060200135610d8a565b610221600480360360408110156104c557600080fd5b506001600160a01b038135169060200135610df2565b61023d600480360360208110156104f157600080fd5b50356001600160a01b0316610e06565b610320600480360360c081101561051757600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610e6a565b61023d6004803603604081101561055e57600080fd5b506001600160a01b03813581169160200135166110dd565b61023d611108565b6105b06004803603604081101561059457600080fd5b5080356001600160a01b0316906020013563ffffffff1661112c565b6040805163ffffffff909316835260208301919091528051918290030190f35b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561065c5780601f106106315761010080835404028352916020019161065c565b820191906000526020600020905b81548152906001019060200180831161063f57829003601f168201915b5050505050905090565b600061067a610673611159565b848461115d565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60006106bb848484611249565b61072b846106c7611159565b61072685604051806060016040528060288152602001611bf7602891396001600160a01b038a16600090815260016020526040812090610705611159565b6001600160a01b031681526020810191909152604001600020549190611399565b61115d565b5060019392505050565b60006107cc610742610684565b6107c684600660009054906101000a90046001600160a01b03166001600160a01b031663b69ef8a86040518163ffffffff1660e01b815260040160206040518083038186803b15801561079457600080fd5b505afa1580156107a8573d6000803e3d6000fd5b505050506040513d60208110156107be57600080fd5b505190611430565b90611489565b90505b919050565b60055460ff1690565b600061067a6107ea611159565b8461072685600160006107fb611159565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906114cb565b600061083682610ce4565b600554600654604080516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101879052905193945061010090920416916323b872dd916064808201926020929091908290030181600087803b15801561089c57600080fd5b505af11580156108b0573d6000803e3d6000fd5b505050506040513d60208110156108c657600080fd5b506108d390508382611525565b6001600160a01b038084166000908152600760205260408120546108f8921683611609565b505050565b600061090882610735565b905060008111610957576040805162461bcd60e51b8152602060048201526015602482015274109d5c9b88185b5bdd5b9d081d1bdbc81cdb585b1b605a1b604482015290519081900360640190fd5b6109613383611746565b6006546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050506040513d60208110156109df57600080fd5b505033600090815260076020526040812054610a07916001600160a01b039091169084611609565b5050565b6001600160a01b039081166000908152600760205260409020541690565b610a333382611836565b50565b60096020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610aa95760405162461bcd60e51b8152600401808060200182810382526028815260200180611b9a6028913960400191505060405180910390fd5b6001600160a01b03831660009081526009602052604090205463ffffffff1680610ad757600091505061067e565b6001600160a01b038416600090815260086020908152604080832063ffffffff600019860181168552925290912054168310610b46576001600160a01b03841660009081526008602090815260408083206000199490940163ffffffff1683529290522060010154905061067e565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff16831015610b8157600091505061067e565b600060001982015b8163ffffffff168163ffffffff161115610c3a57600282820363ffffffff16048103610bb3611b39565b506001600160a01b038716600090815260086020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610c155760200151945061067e9350505050565b805163ffffffff16871115610c2c57819350610c33565b6001820392505b5050610b89565b506001600160a01b038516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b600a6020526000908152604090205481565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561065c5780601f106106315761010080835404028352916020019161065c565b6000610cee610684565b610cff5750633b9aca0081026107cf565b600654604080516316d3df1560e31b81529051610d83926001600160a01b03169163b69ef8a8916004808301926020929190829003018186803b158015610d4557600080fd5b505afa158015610d59573d6000803e3d6000fd5b505050506040513d6020811015610d6f57600080fd5b50516107c684610d7d610684565b90611430565b90506107cf565b600061067a610d97611159565b8461072685604051806060016040528060258152602001611cd36025913960016000610dc1611159565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611399565b600061067a610dff611159565b8484611249565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610e31576000610e63565b6001600160a01b038316600090815260086020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610e956105d0565b80519060200120610ea46118cb565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015610fd7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110295760405162461bcd60e51b8152600401808060200182810382526027815260200180611d3b6027913960400191505060405180910390fd5b6001600160a01b0381166000908152600a6020526040902080546001810190915589146110875760405162461bcd60e51b8152600401808060200182810382526023815260200180611c1f6023913960400191505060405180910390fd5b874211156110c65760405162461bcd60e51b8152600401808060200182810382526027815260200180611c426027913960400191505060405180910390fd5b6110d0818b611836565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b3390565b6001600160a01b0383166111a25760405162461bcd60e51b8152600401808060200182810382526024815260200180611b766024913960400191505060405180910390fd5b6001600160a01b0382166111e75760405162461bcd60e51b8152600401808060200182810382526022815260200180611d626022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661128e5760405162461bcd60e51b8152600401808060200182810382526025815260200180611b516025913960400191505060405180910390fd5b6001600160a01b0382166112d35760405162461bcd60e51b8152600401808060200182810382526023815260200180611cb06023913960400191505060405180910390fd5b61131081604051806060016040528060268152602001611c8a602691396001600160a01b0386166000908152602081905260409020549190611399565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461133f90826114cb565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156114285760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113ed5781810151838201526020016113d5565b50505050905090810190601f16801561141a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008261143f5750600061067e565b8282028284828161144c57fe5b0414610e635760405162461bcd60e51b8152600401808060200182810382526021815260200180611c696021913960400191505060405180910390fd5b6000610e6383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506118cf565b600082820183811015610e63576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611580576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60025461158d90826114cb565b6002556001600160a01b0382166000908152602081905260409020546115b390826114cb565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b03161415801561162b5750600081115b156108f8576001600160a01b038316156116bd576001600160a01b03831660009081526009602052604081205463ffffffff16908161166b57600061169d565b6001600160a01b038516600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b905060006116ab8285611934565b90506116b986848484611976565b5050505b6001600160a01b038216156108f8576001600160a01b03821660009081526009602052604081205463ffffffff1690816116f857600061172a565b6001600160a01b038416600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b9050600061173882856114cb565b90506110d585848484611976565b6001600160a01b03821661178b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611cf86021913960400191505060405180910390fd5b6117c881604051806060016040528060228152602001611d19602291396001600160a01b0385166000908152602081905260409020549190611399565b6001600160a01b0383166000908152602081905260409020556002546117ee9082611934565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038083166000908152600760205260408120549091169061185d84610a4e565b6001600160a01b0385811660008181526007602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46118c5828483611609565b50505050565b4690565b6000818361191e5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113ed5781810151838201526020016113d5565b50600083858161192a57fe5b0495945050505050565b6000610e6383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611399565b600061199a43604051806060016040528060358152602001611bc260359139611adb565b905060008463ffffffff161180156119e357506001600160a01b038516600090815260086020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611a20576001600160a01b038516600090815260086020908152604080832063ffffffff60001989011684529091529020600101829055611a91565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600884528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260099092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410611b315760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113ed5781810151838201526020016113d5565b509192915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f2061646472657373444954544f3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e6564444954544f3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365444954544f3a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365444954544f3a3a64656c656761746542795369673a207369676e61747572652065787069726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7742455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f206164647265737342455032303a206275726e20616d6f756e7420657863656564732062616c616e6365444954544f3a3a64656c656761746542795369673a20696e76616c6964207369676e617475726542455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212201a3fc949431185a74e93bcf3c6f91587099c3053e332ed850ed658c04b67a69464736f6c634300060c0033608060405234801561001057600080fd5b506040516107363803806107368339818101604052602081101561003357600080fd5b5051600061003f6100ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03929092169190911790556100b2565b3390565b610675806100c16000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063a9059cbb1161005b578063a9059cbb146100fa578063b69ef8a814610126578063f2fde38b14610140578063fc0c546a146101665761007d565b80636ccae05414610082578063715018a6146100cc5780638da5cb5b146100d6575b600080fd5b6100b86004803603606081101561009857600080fd5b506001600160a01b0381358116916020810135909116906040013561016e565b604080519115158252519081900360200190f35b6100d46102a0565b005b6100de610342565b604080516001600160a01b039092168252519081900360200190f35b6100b86004803603604081101561011057600080fd5b506001600160a01b038135169060200135610351565b61012e610434565b60408051918252519081900360200190f35b6100d46004803603602081101561015657600080fd5b50356001600160a01b03166104b0565b6100de610514565b6000610178610523565b6000546001600160a01b039081169116146101c8576040805162461bcd60e51b815260206004820181905260248201526000805160206105ee833981519152604482015290519081900360640190fd5b6001546001600160a01b03858116911614156102155760405162461bcd60e51b815260040180806020018281038252603281526020018061060e6032913960400191505060405180910390fd5b836001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561026c57600080fd5b505af1158015610280573d6000803e3d6000fd5b505050506040513d602081101561029657600080fd5b5051949350505050565b6102a8610523565b6000546001600160a01b039081169116146102f8576040805162461bcd60e51b815260206004820181905260248201526000805160206105ee833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600061035b610523565b6000546001600160a01b039081169116146103ab576040805162461bcd60e51b815260206004820181905260248201526000805160206105ee833981519152604482015290519081900360640190fd5b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561040157600080fd5b505af1158015610415573d6000803e3d6000fd5b505050506040513d602081101561042b57600080fd5b50519392505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561047f57600080fd5b505afa158015610493573d6000803e3d6000fd5b505050506040513d60208110156104a957600080fd5b5051905090565b6104b8610523565b6000546001600160a01b03908116911614610508576040805162461bcd60e51b815260206004820181905260248201526000805160206105ee833981519152604482015290519081900360640190fd5b61051181610527565b50565b6001546001600160a01b031681565b3390565b6001600160a01b03811661056c5760405162461bcd60e51b81526004018080602001828103825260268152602001806105c86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572546f6b656e506f6f6c3a2043616e6e6f7420636c61696d20746f6b656e2068656c642062792074686520636f6e7472616374a264697066735822122029d63f9b3b7cbeeac2049fb7ad443bb0c3729214aa4619b3019fdfd0f277856964736f6c634300060c0033

Deployed ByteCode Sourcemap

30645:9507:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22036:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23523:161;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23523:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;22512:100;;;:::i;:::-;;;;;;;;;;;;;;;;32568:122;;;:::i;24155:397::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24155:397:0;;;;;;;;;;;;;;;;;:::i;31154:147::-;;;;;;;;;;;;;;;;-1:-1:-1;31154:147:0;;:::i;22195:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24960:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24960:210:0;;;;;;;;:::i;31313:318::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31313:318:0;;;;;;;;:::i;:::-;;31643:359;;;;;;;;;;;;;;;;-1:-1:-1;31643:359:0;;:::i;33551:149::-;;;;;;;;;;;;;;;;-1:-1:-1;33551:149:0;-1:-1:-1;;;;;33551:149:0;;:::i;:::-;;;;-1:-1:-1;;;;;33551:149:0;;;;;;;;;;;;;;33844:104;;;;;;;;;;;;;;;;-1:-1:-1;33844:104:0;-1:-1:-1;;;;;33844:104:0;;:::i;32446:49::-;;;;;;;;;;;;;;;;-1:-1:-1;32446:49:0;-1:-1:-1;;;;;32446:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;22674:119;;;;;;;;;;;;;;;;-1:-1:-1;22674:119:0;-1:-1:-1;;;;;22674:119:0;;:::i;36450:1254::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36450:1254:0;;;;;;;;:::i;32982:39::-;;;;;;;;;;;;;;;;-1:-1:-1;32982:39:0;-1:-1:-1;;;;;32982:39:0;;:::i;22352:96::-;;;:::i;30889:253::-;;;;;;;;;;;;;;;;-1:-1:-1;30889:253:0;;:::i;25672:311::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25672:311:0;;;;;;;;:::i;23005:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23005:167:0;;;;;;;;:::i;35764:255::-;;;;;;;;;;;;;;;;-1:-1:-1;35764:255:0;-1:-1:-1;;;;;35764:255:0;;:::i;34382:1181::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34382:1181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23234:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23234:143:0;;;;;;;;;;:::i;32784:117::-;;;:::i;32307:70::-;;;;;;;;;;;;;;;;-1:-1:-1;32307:70:0;;-1:-1:-1;;;;;32307:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;22036:92;22115:5;22108:12;;;;;;;;-1:-1:-1;;22108:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22082:13;;22108:12;;22115:5;;22108:12;;22115:5;22108:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22036:92;:::o;23523:161::-;23598:4;23615:39;23624:12;:10;:12::i;:::-;23638:7;23647:6;23615:8;:39::i;:::-;-1:-1:-1;23672:4:0;23523:161;;;;;:::o;22512:100::-;22592:12;;22512:100;:::o;32568:122::-;32610:80;32568:122;:::o;24155:397::-;24287:4;24304:36;24314:6;24322:9;24333:6;24304:9;:36::i;:::-;24351:171;24374:6;24395:12;:10;:12::i;:::-;24422:89;24460:6;24422:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24422:19:0;;;;;;:11;:19;;;;;;24442:12;:10;:12::i;:::-;-1:-1:-1;;;;;24422:33:0;;;;;;;;;;;;-1:-1:-1;24422:33:0;;;:89;:37;:89::i;:::-;24351:8;:171::i;:::-;-1:-1:-1;24540:4:0;24155:397;;;;;:::o;31154:147::-;31216:7;31243:50;31279:13;:11;:13::i;:::-;31243:31;31267:6;31243:9;;;;;;;;;-1:-1:-1;;;;;31243:9:0;-1:-1:-1;;;;;31243:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31243:19:0;;:23;:31::i;:::-;:35;;:50::i;:::-;31236:57;;31154:147;;;;:::o;22195:92::-;22270:9;;;;22195:92;:::o;24960:210::-;25040:4;25057:83;25066:12;:10;:12::i;:::-;25080:7;25089:50;25128:10;25089:11;:25;25101:12;:10;:12::i;:::-;-1:-1:-1;;;;;25089:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;25089:25:0;;;:34;;;;;;;;;;;:38;:50::i;31313:318::-;31387:18;31408:24;31422:9;31408:13;:24::i;:::-;31453:5;;31492:9;;31453:61;;;-1:-1:-1;;;31453:61:0;;31472:10;31453:61;;;;-1:-1:-1;;;;;31492:9:0;;;31453:61;;;;;;;;;;;;31387:45;;-1:-1:-1;31453:5:0;;;;;;:18;;:61;;;;;;;;;;;;;;;31492:9;31453:5;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31525:22:0;;-1:-1:-1;31531:3:0;31536:10;31525:5;:22::i;:::-;-1:-1:-1;;;;;31595:15:0;;;31591:1;31595:15;;;:10;:15;;;;;;31568:55;;31595:15;31612:10;31568:14;:55::i;:::-;31313:318;;;:::o;31643:359::-;31702:20;31725:24;31741:7;31725:15;:24::i;:::-;31702:47;;31793:1;31778:12;:16;31770:50;;;;;-1:-1:-1;;;31770:50:0;;;;;;;;;;;;-1:-1:-1;;;31770:50:0;;;;;;;;;;;;;;;31841:26;31847:10;31859:7;31841:5;:26::i;:::-;31878:9;;:44;;;-1:-1:-1;;;31878:44:0;;31897:10;31878:44;;;;;;;;;;;;-1:-1:-1;;;;;31878:9:0;;;;:18;;:44;;;;;;;;;;;;;;;:9;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31961:10:0;31950:22;;;;:10;31878:44;31950:22;;;;;31935:59;;-1:-1:-1;;;;;31950:22:0;;;;31986:7;31935:14;:59::i;:::-;31643:359;;:::o;33551:149::-;-1:-1:-1;;;;;33671:21:0;;;33639:7;33671:21;;;:10;:21;;;;;;;;33551:149::o;33844:104::-;33908:32;33918:10;33930:9;33908;:32::i;:::-;33844:104;:::o;32446:49::-;;;;;;;;;;;;;;;:::o;22674:119::-;-1:-1:-1;;;;;22767:18:0;22740:7;22767:18;;;;;;;;;;;;22674:119::o;36450:1254::-;36558:7;36605:12;36591:11;:26;36583:79;;;;-1:-1:-1;;;36583:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36697:23:0;;36675:19;36697:23;;;:14;:23;;;;;;;;36735:17;36731:58;;36776:1;36769:8;;;;;36731:58;-1:-1:-1;;;;;36849:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;36870:16:0;;36849:38;;;;;;;;;:48;;:63;-1:-1:-1;36845:147:0;;-1:-1:-1;;;;;36936:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;36957:16:0;;;;36936:38;;;;;;;;36972:1;36936:44;;;-1:-1:-1;36929:51:0;;36845:147;-1:-1:-1;;;;;37053:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;37049:88:0;;;37124:1;37117:8;;;;;37049:88;37149:12;-1:-1:-1;;37191:16:0;;37218:428;37233:5;37225:13;;:5;:13;;;37218:428;;;37297:1;37280:13;;;37279:19;;;37271:27;;37340:20;;:::i;:::-;-1:-1:-1;;;;;;37363:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;37340:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37410:27;;37406:229;;;37465:8;;;;-1:-1:-1;37458:15:0;;-1:-1:-1;;;;37458:15:0;37406:229;37499:12;;:26;;;-1:-1:-1;37495:140:0;;;37554:6;37546:14;;37495:140;;;37618:1;37609:6;:10;37601:18;;37495:140;37218:428;;;;;-1:-1:-1;;;;;;37663:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;36450:1254:0;;;;:::o;32982:39::-;;;;;;;;;;;;;:::o;22352:96::-;22433:7;22426:14;;;;;;;;-1:-1:-1;;22426:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22400:13;;22426:14;;22433:7;;22426:14;;22433:7;22426:14;;;;;;;;;;;;;;;;;;;;;;;;30889:253;30951:7;30975:13;:11;:13::i;:::-;30971:164;;-1:-1:-1;31028:3:0;31017:14;;31010:21;;30971:164;31103:9;;:19;;;-1:-1:-1;;;31103:19:0;;;;31071:52;;-1:-1:-1;;;;;31103:9:0;;:17;;:19;;;;;;;;;;;;;;:9;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31103:19:0;31071:27;31089:8;31071:13;:11;:13::i;:::-;:17;;:27::i;:52::-;31064:59;;;;25672:311;25757:4;25774:179;25797:12;:10;:12::i;:::-;25824:7;25846:96;25885:15;25846:96;;;;;;;;;;;;;;;;;:11;:25;25858:12;:10;:12::i;:::-;-1:-1:-1;;;;;25846:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;25846:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;23005:167::-;23083:4;23100:42;23110:12;:10;:12::i;:::-;23124:9;23135:6;23100:9;:42::i;35764:255::-;-1:-1:-1;;;;;35903:23:0;;35856:7;35903:23;;;:14;:23;;;;;;;;35944:16;:67;;36010:1;35944:67;;;-1:-1:-1;;;;;35963:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;35984:16:0;;35963:38;;;;;;;;35999:1;35963:44;;35944:67;35937:74;35764:255;-1:-1:-1;;;35764:255:0:o;34382:1181::-;34575:23;32610:80;34704:6;:4;:6::i;:::-;34688:24;;;;;;34731:12;:10;:12::i;:::-;34625:165;;;;;;;;;;;;;;;;;;;;;;;;;34770:4;34625:165;;;;;;;;;;;;;;;;;;;;;;;34601:200;;;;;;32830:71;34859:140;;;;-1:-1:-1;;;;;34859:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34835:175;;;;;;-1:-1:-1;;;35064:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35040:158;;;;;;;;;-1:-1:-1;35231:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34601:200;;-1:-1:-1;34835:175:0;;35040:158;;-1:-1:-1;;35231:26:0;;;;;;;-1:-1:-1;;35231:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35231:26:0;;-1:-1:-1;;35231:26:0;;;-1:-1:-1;;;;;;;35276:23:0;;35268:75;;;;-1:-1:-1;;;35268:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35371:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;35362:28;;35354:76;;;;-1:-1:-1;;;35354:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35456:6;35449:3;:13;;35441:65;;;;-1:-1:-1;;;35441:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35524:31;35534:9;35545;35524;:31::i;:::-;35517:38;;;;34382:1181;;;;;;;:::o;23234:143::-;-1:-1:-1;;;;;23342:18:0;;;23315:7;23342:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23234:143::o;32784:117::-;32830:71;32784:117;:::o;32307:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1889:98::-;1969:10;1889:98;:::o;28687:372::-;-1:-1:-1;;;;;28815:19:0;;28807:68;;;;-1:-1:-1;;;28807:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28894:21:0;;28886:68;;;;-1:-1:-1;;;28886:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28967:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29019:32;;;;;;;;;;;;;;;;;28687:372;;;:::o;26473:505::-;-1:-1:-1;;;;;26605:20:0;;26597:70;;;;-1:-1:-1;;;26597:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26686:23:0;;26678:71;;;;-1:-1:-1;;;26678:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26782;26804:6;26782:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26782:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;26762:17:0;;;:9;:17;;;;;;;;;;;:91;;;;26887:20;;;;;;;:32;;26912:6;26887:24;:32::i;:::-;-1:-1:-1;;;;;26864:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;26935:35;;;;;;;26864:20;;26935:35;;;;;;;;;;;;;26473:505;;;:::o;9409:226::-;9529:7;9565:12;9557:6;;;;9549:29;;;;-1:-1:-1;;;9549:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9601:5:0;;;9409:226::o;9894:471::-;9952:7;10197:6;10193:47;;-1:-1:-1;10227:1:0;10220:8;;10193:47;10264:5;;;10268:1;10264;:5;:1;10288:5;;;;;:10;10280:56;;;;-1:-1:-1;;;10280:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10841:132;10899:7;10926:39;10930:1;10933;10926:39;;;;;;;;;;;;;;;;;:3;:39::i;8506:181::-;8564:7;8596:5;;;8620:6;;;;8612:46;;;;;-1:-1:-1;;;8612:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27259:308;-1:-1:-1;;;;;27335:21:0;;27327:65;;;;;-1:-1:-1;;;27327:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27420:12;;:24;;27437:6;27420:16;:24::i;:::-;27405:12;:39;-1:-1:-1;;;;;27476:18:0;;:9;:18;;;;;;;;;;;:30;;27499:6;27476:22;:30::i;:::-;-1:-1:-1;;;;;27455:18:0;;:9;:18;;;;;;;;;;;:51;;;;27522:37;;;;;;;27455:18;;:9;;27522:37;;;;;;;;;;27259:308;;:::o;38159:947::-;38265:6;-1:-1:-1;;;;;38255:16:0;:6;-1:-1:-1;;;;;38255:16:0;;;:30;;;;;38284:1;38275:6;:10;38255:30;38251:848;;;-1:-1:-1;;;;;38306:20:0;;;38302:385;;-1:-1:-1;;;;;38414:22:0;;38395:16;38414:22;;;:14;:22;;;;;;;;;38475:13;:60;;38534:1;38475:60;;;-1:-1:-1;;;;;38491:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;38511:13:0;;38491:34;;;;;;;;38523:1;38491:40;;38475:60;38455:80;-1:-1:-1;38554:17:0;38574:21;38455:80;38588:6;38574:13;:21::i;:::-;38554:41;;38614:57;38631:6;38639:9;38650;38661;38614:16;:57::i;:::-;38302:385;;;;-1:-1:-1;;;;;38707:20:0;;;38703:385;;-1:-1:-1;;;;;38815:22:0;;38796:16;38815:22;;;:14;:22;;;;;;;;;38876:13;:60;;38935:1;38876:60;;;-1:-1:-1;;;;;38892:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;38912:13:0;;38892:34;;;;;;;;38924:1;38892:40;;38876:60;38856:80;-1:-1:-1;38955:17:0;38975:21;38856:80;38989:6;38975:13;:21::i;:::-;38955:41;;39015:57;39032:6;39040:9;39051;39062;39015:16;:57::i;27899:348::-;-1:-1:-1;;;;;27975:21:0;;27967:67;;;;-1:-1:-1;;;27967:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28068:68;28091:6;28068:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28068:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;28047:18:0;;:9;:18;;;;;;;;;;:89;28162:12;;:24;;28179:6;28162:16;:24::i;:::-;28147:12;:39;28202:37;;;;;;;;28228:1;;-1:-1:-1;;;;;28202:37:0;;;;;;;;;;;;27899:348;;:::o;37712:439::-;-1:-1:-1;;;;;37829:21:0;;;37803:23;37829:21;;;:10;:21;;;;;;;;;;37888:20;37840:9;37888;:20::i;:::-;-1:-1:-1;;;;;37965:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;37965:33:0;;;;;;;;;;38016:54;;37861:47;;-1:-1:-1;37965:33:0;38016:54;;;;;;37965:21;38016:54;38083:60;38098:15;38115:9;38126:16;38083:14;:60::i;:::-;37712:439;;;;:::o;39996:153::-;40106:9;39996:153;:::o;11469:312::-;11589:7;11624:12;11617:5;11609:28;;;;-1:-1:-1;;;11609:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11648:9;11664:1;11660;:5;;;;;;;11469:312;-1:-1:-1;;;;;11469:312:0:o;8970:136::-;9028:7;9055:43;9059:1;9062;9055:43;;;;;;;;;;;;;;;;;:3;:43::i;39114:705::-;39293:18;39314:77;39321:12;39314:77;;;;;;;;;;;;;;;;;:6;:77::i;:::-;39293:98;;39423:1;39408:12;:16;;;:85;;;;-1:-1:-1;;;;;;39428:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;39451:16:0;;39428:40;;;;;;;;;:50;:65;;;:50;;:65;39408:85;39404:339;;;-1:-1:-1;;;;;39510:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;39533:16:0;;39510:40;;;;;;;;39548:1;39510:46;:57;;;39404:339;;;39639:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39600:22:0;;-1:-1:-1;39600:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;39600:72:0;;;;;;;;;;;;;39687:25;;;:14;:25;;;;;;:44;;39715:16;;;39687:44;;;;;;;;;;39404:339;39760:51;;;;;;;;;;;;;;-1:-1:-1;;;;;39760:51:0;;;;;;;;;;;39114:705;;;;;:::o;39827:161::-;39902:6;39940:12;39933:5;39929:9;;39921:32;;;;-1:-1:-1;;;39921:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39978:1:0;;39827:161;-1:-1:-1;;39827:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://29d63f9b3b7cbeeac2049fb7ad443bb0c3729214aa4619b3019fdfd0f2778569
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.