Contract 0x31B5d91806AF3364678715f4C5Bf50c1e3bAE10A

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc3a77c6cf026a23401339b1906205c0a2de32e93366d3d6cda5b5eb82254f320Approve110893202021-09-20 21:06:4321 hrs 9 mins ago0x0282e055d3b2f7c0ad656952ac1bb989fb6d0086 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000123675
0xd06578b675b38df53b33e3168657d6dfdac5cf95fe139a6e533ea5dc91334f72Approve110666492021-09-20 2:10:411 day 16 hrs ago0x0282e055d3b2f7c0ad656952ac1bb989fb6d0086 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000123675
0x417d8f97d0eec3f5b7e663611b63d4fbe0fb79a879259f70620078edd30d4468Approve109059532021-09-14 11:43:107 days 6 hrs ago0x3cf25e997b5da3a6568f8186227da0df03d4d031 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00007234
0x548db0ab88f4cb4909fdfd596510c076350a8d8ae0f9853e9cb70f356e983aefApprove108196842021-09-11 11:37:3310 days 6 hrs ago0xcb5078eb5b17bc3bbdc7c5b2ab1b8c9bccaff2ab IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00007234
0x3ba59a6aed3e14e62f95da89256baa15fdf9bf8c7685be147ad68031973566d8Approve107839642021-09-10 5:27:4811 days 12 hrs ago0x55cf97ed5346c16359a25ef9a8c0bbff928e7432 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000265914
0x81a445f47d1f1200dce4405d5cb4c3321e8486c301108c03269746eef5694419Approve107126992021-09-07 17:24:5914 days 50 mins ago0x5d1e001a7a235fc7711999699f694057306fa91b IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000101276
0x77190d04d8732d34248148cbaf1cdfa5c22dff1f4db1552520df86a154bb2b64Approve106961772021-09-07 3:18:0714 days 14 hrs ago0x585fbb3498a59110d6b70b1a55d84683a78522df IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x0fbf60e061b604d39cb9a87f296ce426d6d611847d853ee2f089f666de8240e3Approve102958892021-08-24 2:06:2028 days 16 hrs ago0xc520c6f36e3e27944380a7eac91ab442823d7885 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.0000737868
0xa98f5131e0174b69cba34e8af6a3a825087280556db6be62ba97943e647f2028Approve102853322021-08-23 17:16:1729 days 59 mins ago0xe1d42b728c52c1f6466fc87669af74378d3433ba IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00007234
0xf6bddb16ff473a862e6c33a29c35f5298d30d23452d913b84309fe88e2d75d59Approve102751712021-08-23 8:40:0929 days 9 hrs ago0x1bfe80b9f73f93ce42030d176fffddff7c71c95c IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.0000737868
0x1f90f7597e6dc31df0c2ed20e71d0099e655ae84807308892f54f1a81438d9e9Approve101873262021-08-20 7:00:2332 days 11 hrs ago0xc753d0b503a99b1e93e63f8b350fac28d86999f4 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000310233
0xeb37738b071f75e6f2a36752a7f44819e16287346212f4063a75d907e20bcffeTransfer101244812021-08-18 2:22:3134 days 15 hrs ago0xbe46dbddf14ee0cfd5d21a85fef7020fd52265f9 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00018729
0xff05c9b460ae85351fac51e965c9892f035415d35b9fd691bdbd3ccd493ed5f8Transfer101244212021-08-18 2:19:3134 days 15 hrs ago0xbe46dbddf14ee0cfd5d21a85fef7020fd52265f9 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00026217
0x2ea81881a5530c1603268df289844b97ad5677606dce819cf4771552ba899263Approve100167672021-08-14 8:19:4738 days 9 hrs ago0x1cd73736ef70b89eeeaf0e329af42132e4975762 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x76355def53f214058749e0ff6db6a29524c41506527058c882cf827f86dca9c1Approve100092752021-08-14 2:02:2838 days 16 hrs ago0x26de69886e4566b0870cc31947f87055a8334371 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x64f3c16a0a2ac6cd13f2e4f2dd7332be71e88d6a28c0c4227793713570cad4daApprove100055882021-08-13 22:51:4938 days 19 hrs ago0x3f049e5850229d18f01460dfda38c3ea6422b5a4 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00007234
0xa6bf3f2420a600d6a81c5881b6f9643ec996345a44f45eb818a5f10dd77bbf20Approve99631852021-08-12 10:54:1840 days 7 hrs ago0x03bd77990f28a2393792fa111e553f4665121c88 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00028936
0xfddbbce96575bdd871a90a7d3afe2d435244691947bc21432baddb56bcdb9086Approve98273142021-08-07 14:40:3445 days 3 hrs ago0x613aff4a65ca8b4bad1589b99e5f2dff2099e304 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x83e23438e4ec6135978cae479d241b05ec1a0250192e4d0e0a364f404c30410aApprove98100552021-08-06 23:49:4345 days 18 hrs ago0x7122c91049511b58a14ce2ce10f1acf318cc51d0 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000264186
0xb93ae73dcedc9403fe6471c27643276d5a47e7710e850cbe51a80f94f71127ebTransfer97508032021-08-04 20:51:4147 days 21 hrs ago0xbe46dbddf14ee0cfd5d21a85fef7020fd52265f9 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.00018717
0xe988ffd4b9fc4c418bb8da5eac2b03251838924e05c500c09ad49576e3e6951fApprove97408792021-08-04 12:20:1348 days 5 hrs ago0xe2ad5f71d33f8495bd96c63f567db1bd3ba82d6b IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.0002260269
0x0a7208f5996dcc3daa81ab4eff959b24161193da46fdc06c274b7904aff5e8acApprove97299382021-08-04 2:48:5848 days 15 hrs ago0x2cd665c7c93650c3150b4acf890b6a164b280efb IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x9b8656545fc8ab2bc27ab7721917393525fa25d1bdd316117f97091b4c79bdd2Approve96117742021-07-30 20:42:2852 days 21 hrs ago0x6538196538a7f5228269b20f2afa1da39f89bf9b IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x3963053a211f49e914c97b3cb9c0e8268ba6ba6be64c609dc291ae2286cca65cApprove96027232021-07-30 13:00:1853 days 5 hrs ago0x78de0b7935f529bedebe19fc93fdbd18d184d553 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
0x22d7babaa12511b957ef169a6e2f301d82b048b0da1a6dd65ccd7e62007de526Approve95453192021-07-28 10:17:4555 days 7 hrs ago0xa1e50e1fd1d852262cd40d6625f36d68d09d67d3 IN  0x31b5d91806af3364678715f4c5bf50c1e3bae10a0 BNB0.000221595
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BNBCash

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

pragma solidity 0.4.24;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on 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-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a)
        internal
        pure
        returns (int256)
    {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
}

/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable is Initializable {
  address private _owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function initialize(address sender) internal initializer {
    _owner = sender;
  }

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

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(isOwner());
    _;
  }

  /**
   * @return true if `msg.sender` is the owner of the contract.
   */
  function isOwner() public view returns(bool) {
    return msg.sender == _owner;
  }

  /**
   * @dev Allows the current owner to relinquish control of the contract.
   * @notice Renouncing to ownership will leave the contract without an owner.
   * It will not be possible to call the functions with the `onlyOwner`
   * modifier anymore.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(_owner);
    _owner = address(0);
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    _transferOwnership(newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0));
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }

  uint256[50] private ______gap;
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is Initializable, IERC20 {
  string private _name;
  string private _symbol;
  uint8 private _decimals;

  function initialize(string name, string symbol, uint8 decimals) internal initializer {
    _name = name;
    _symbol = symbol;
    _decimals = decimals;
  }

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

  /**
   * @return the symbol of the token.
   */
  function symbol() public view returns(string) {
    return _symbol;
  }

  /**
   * @return the number of decimals of the token.
   */
  function decimals() public view returns(uint8) {
    return _decimals;
  }

  uint256[50] private ______gap;
}


/**
 * @title uFragments ERC20 token
 * @dev This is part of an implementation of the uFragments Ideal Money protocol.
 *      uFragments is a normal ERC20 token, but its supply can be adjusted by splitting and
 *      combining tokens proportionally across all wallets.
 *
 *      uFragment balances are internally represented with a hidden denomination, 'gons'.
 *      We support splitting the currency in expansion and combining the currency on contraction by
 *      changing the exchange rate between the hidden 'gons' and the public 'fragments'.
 */
contract BNBCash is ERC20Detailed, Ownable {
    // PLEASE READ BEFORE CHANGING ANY ACCOUNTING OR MATH
    // Anytime there is division, there is a risk of numerical instability from rounding errors. In
    // order to minimize this risk, we adhere to the following guidelines:
    // 1) The conversion rate adopted is the number of gons that equals 1 fragment.
    //    The inverse rate must not be used--TOTAL_GONS is always the numerator and _totalSupply is
    //    always the denominator. (i.e. If you want to convert gons to fragments instead of
    //    multiplying by the inverse rate, you should divide by the normal rate)
    // 2) Gon balances converted into Fragments are always rounded down (truncated).
    //
    // We make the following guarantees:
    // - If address 'A' transfers x Fragments to address 'B'. A's resulting external balance will
    //   be decreased by precisely x Fragments, and B's external balance will be precisely
    //   increased by x Fragments.
    //
    // We do not guarantee that the sum of all balances equals the result of calling totalSupply().
    // This is because, for any conversion function 'f()' that has non-zero rounding error,
    // f(x0) + f(x1) + ... + f(xn) is not always equal to f(x0 + x1 + ... xn).
    using SafeMath for uint256;
    using SafeMathInt for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event LogMonetaryPolicyUpdated(address monetaryPolicy);

    // Used for authentication
    address public monetaryPolicy;

    modifier onlyMonetaryPolicy() {
        require(msg.sender == monetaryPolicy);
        _;
    }

    bool private rebasePausedDeprecated;
    bool private tokenPausedDeprecated;

    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    uint256 private constant DECIMALS = 18;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 4000 * uint(10)**DECIMALS;

    // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _gonsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;
    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

    // This is denominated in Fragments, because the gons-fragments conversion might change before
    // it's fully paid.
    mapping (address => mapping (address => uint256)) private _allowedFragments;

    address public deployer;

    modifier onlyDeployer() {
        require(msg.sender == deployer);
        _;
    }

    constructor () public {
        deployer = msg.sender;
    }
    /**
     * @param monetaryPolicy_ The address of the monetary policy contract to use for authentication.
     */
    function setMonetaryPolicy(address monetaryPolicy_)
        external
        onlyOwner
    {
        monetaryPolicy = monetaryPolicy_;
        emit LogMonetaryPolicyUpdated(monetaryPolicy_);
    }

    /**
     * @dev Notifies Fragments contract about a new rebase cycle.
     * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
     * @return The total number of fragments after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta)
        external
        onlyMonetaryPolicy
        returns (uint256)
    {
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

        if (supplyDelta < 0) {
            _totalSupply = _totalSupply.sub(uint256(supplyDelta.abs()));
        } else {
            _totalSupply = _totalSupply.add(uint256(supplyDelta));
        }

        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        // From this point forward, _gonsPerFragment is taken as the source of truth.
        // We recalculate a new _totalSupply to be in agreement with the _gonsPerFragment
        // conversion rate.
        // This means our applied supplyDelta can deviate from the requested supplyDelta,
        // but this deviation is guaranteed to be < (_totalSupply^2)/(TOTAL_GONS - _totalSupply).
        //
        // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this
        // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is
        // ever increased, it must be re-included.
        // _totalSupply = TOTAL_GONS.div(_gonsPerFragment)

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    function initialize(string name_, string symbol_, address owner_)
        public
        onlyDeployer
        initializer
    {
        ERC20Detailed.initialize(name_, symbol_, uint8(DECIMALS));
        Ownable.initialize(owner_);

        rebasePausedDeprecated = false;
        tokenPausedDeprecated = false;

        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        _gonBalances[owner_] = TOTAL_GONS;

        emit Transfer(address(0x0), owner_, _totalSupply);
    }

    /**
     * @return The total number of fragments.
     */
    function totalSupply()
        public
        view
        returns (uint256)
    {
        return _totalSupply;
    }
    
    function rebaseRate()
        public
        view
        returns (uint256)
    {
        return totalSupply().mul(1e6).div(INITIAL_FRAGMENTS_SUPPLY);
    }

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who)
        public
        view
        returns (uint256)
    {
        return _gonBalances[who].div(_gonsPerFragment);
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender)
        public
        view
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(address from, address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(from, to, value);

        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"name_","type":"string"},{"name":"symbol_","type":"string"},{"name":"owner_","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","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":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","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":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"epoch","type":"uint256"},{"name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebaseRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"monetaryPolicy","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"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":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deployer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"epoch","type":"uint256"},{"indexed":false,"name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]

608060405234801561001057600080fd5b503360a060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506122e8806100616000396000f30060806040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde0314610122578063077f224a146101b2578063095ea7b31461028157806318160ddd146102e657806323b872dd14610311578063313ce5671461039657806339509351146103c757806370a082311461042c578063715018a6146104835780637a43e23f1461049a5780637cb95d00146104e55780638b5a6a08146105105780638da5cb5b146105535780638e27d7d7146105aa5780638f32d59b1461060157806395d89b4114610630578063a457c2d7146106c0578063a9059cbb14610725578063d5f394881461078a578063dd62ed3e146107e1578063f2fde38b14610858575b600080fd5b34801561012e57600080fd5b5061013761089b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017757808201518184015260208101905061015c565b50505050905090810190601f1680156101a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101be57600080fd5b5061027f600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061093d565b005b34801561028d57600080fd5b506102cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c33565b604051808215151515815260200191505060405180910390f35b3480156102f257600080fd5b506102fb610d25565b6040518082815260200191505060405180910390f35b34801561031d57600080fd5b5061037c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d2f565b604051808215151515815260200191505060405180910390f35b3480156103a257600080fd5b506103ab61106c565b604051808260ff1660ff16815260200191505060405180910390f35b3480156103d357600080fd5b50610412600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611083565b604051808215151515815260200191505060405180910390f35b34801561043857600080fd5b5061046d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061127f565b6040518082815260200191505060405180910390f35b34801561048f57600080fd5b506104986112dc565b005b3480156104a657600080fd5b506104cf6004803603810190808035906020019092919080359060200190929190505050611398565b6040518082815260200191505060405180910390f35b3480156104f157600080fd5b506104fa611544565b6040518082815260200191505060405180910390f35b34801561051c57600080fd5b50610551600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611582565b005b34801561055f57600080fd5b5061056861163c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105b657600080fd5b506105bf611666565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060d57600080fd5b5061061661168c565b604051808215151515815260200191505060405180910390f35b34801561063c57600080fd5b506106456116e4565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561068557808201518184015260208101905061066a565b50505050905090810190601f1680156106b25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156106cc57600080fd5b5061070b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611786565b604051808215151515815260200191505060405180910390f35b34801561073157600080fd5b50610770600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a18565b604051808215151515815260200191505060405180910390f35b34801561079657600080fd5b5061079f611c45565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107ed57600080fd5b50610842600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c6b565b6040518082815260200191505060405180910390f35b34801561086457600080fd5b50610899600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cf2565b005b606060338054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b60a060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561099957600080fd5b60008060019054906101000a900460ff16806109b957506109b8611d11565b5b806109d057506000809054906101000a900460ff16155b1515610a6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff161590508015610ab9576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610ac584846012611d28565b610ace82611eb8565b6000609b60146101000a81548160ff0219169083151502179055506000609b60156101000a81548160ff0219169083151502179055506012600a0a610fa002609c81905550610b41609c546012600a0a610fa002600019811515610b2e57fe5b066000190361203e90919063ffffffff16565b609d819055506012600a0a610fa002600019811515610b5c57fe5b0660001903609e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef609c546040518082815260200191505060405180910390a38015610c2d5760008060016101000a81548160ff0219169083151502179055505b50505050565b600081609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000609c54905090565b60008083600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610d6f57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610daa57600080fd5b610e3984609f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461206890919063ffffffff16565b609f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ece609d548561208990919063ffffffff16565b9150610f2282609e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461206890919063ffffffff16565b609e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fb782609e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c790919063ffffffff16565b609e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a36001925050509392505050565b6000603560009054906101000a900460ff16905090565b600061111482609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c790919063ffffffff16565b609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60006112d5609d54609e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461203e90919063ffffffff16565b9050919050565b6112e461168c565b15156112ef57600080fd5b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113f657600080fd5b600082141561144357827f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2609c546040518082815260200191505060405180910390a2609c54905061153e565b600082121561147457611469611458836120e8565b609c5461206890919063ffffffff16565b609c81905550611490565b61148982609c546120c790919063ffffffff16565b609c819055505b6000196fffffffffffffffffffffffffffffffff16609c5411156114ca576000196fffffffffffffffffffffffffffffffff16609c819055505b6114f8609c546012600a0a610fa0026000198115156114e557fe5b066000190361203e90919063ffffffff16565b609d81905550827f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2609c546040518082815260200191505060405180910390a2609c5490505b92915050565b600061157d6012600a0a610fa00261156f620f4240611561610d25565b61208990919063ffffffff16565b61203e90919063ffffffff16565b905090565b61158a61168c565b151561159557600080fd5b80609b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd3897281604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b606060348054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561177c5780601f106117515761010080835404028352916020019161177c565b820191906000526020600020905b81548152906001019060200180831161175f57829003601f168201915b5050505050905090565b600080609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508083101515611898576000609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061192c565b6118ab838261206890919063ffffffff16565b609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925609f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60008083600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611a5857600080fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611a9357600080fd5b611aa8609d548561208990919063ffffffff16565b9150611afc82609e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461206890919063ffffffff16565b609e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b9182609e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c790919063ffffffff16565b609e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a360019250505092915050565b60a060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000609f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611cfa61168c565b1515611d0557600080fd5b611d0e8161211b565b50565b6000806000309150813b9050600081149250505090565b60008060019054906101000a900460ff1680611d485750611d47611d11565b5b80611d5f57506000809054906101000a900460ff16155b1515611df9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff161590508015611e48576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8360339080519060200190611e5e929190612217565b508260349080519060200190611e75929190612217565b5081603560006101000a81548160ff021916908360ff1602179055508015611eb25760008060016101000a81548160ff0219169083151502179055505b50505050565b60008060019054906101000a900460ff1680611ed85750611ed7611d11565b5b80611eef57506000809054906101000a900460ff16155b1515611f89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff161590508015611fd8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b81606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550801561203a5760008060016101000a81548160ff0219169083151502179055505b5050565b60008060008311151561205057600080fd5b828481151561205b57fe5b0490508091505092915050565b60008083831115151561207a57600080fd5b82840390508091505092915050565b600080600084141561209e57600091506120c0565b82840290508284828115156120af57fe5b041415156120bc57600080fd5b8091505b5092915050565b60008082840190508381101515156120de57600080fd5b8091505092915050565b600060ff60019060020a02821415151561210157600080fd5b6000821261210f5781612114565b816000035b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561215757600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061225857805160ff1916838001178555612286565b82800160010185558215612286579182015b8281111561228557825182559160200191906001019061226a565b5b5090506122939190612297565b5090565b6122b991905b808211156122b557600081600090555060010161229d565b5090565b905600a165627a7a72305820f0748a88c3181f9778786e576d72fe5d025d9459efd1324d64bab11c47012d460029

Deployed ByteCode Sourcemap

10117:10447:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9157:69;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9157:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9157:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15158:544;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15158:544:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18838:233;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18838:233:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15775:123;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15775:123:0;;;;;;;;;;;;;;;;;;;;;;;17709:487;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17709:487:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9429:76;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9429:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19444:343;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19444:343:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16193:159;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16193:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7024:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7024:116:0;;;;;;13744:1406;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13744:1406:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15910:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15910:162:0;;;;;;;;;;;;;;;;;;;;;;;13274:202;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13274:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6365:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6365:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11640:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11640:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6667:85;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6667:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;9285:73;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9285:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9285:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20049:512;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20049:512:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16578:388;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16578:388:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12960:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12960:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17273:174;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17273:174:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7307:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7307:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9157:69;9193:6;9215:5;9208:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9157:69;:::o;15158:544::-;13049:8;;;;;;;;;;;13035:22;;:10;:22;;;13027:31;;;;;;;;4751:19;4644:12;;;;;;;;;;;:31;;;;4660:15;:13;:15::i;:::-;4644:31;:47;;;;4680:11;;;;;;;;;;;4679:12;4644:47;4636:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4774:12;;;;;;;;;;;4773:13;4751:35;;4797:14;4793:83;;;4837:4;4822:12;;:19;;;;;;;;;;;;;;;;;;4864:4;4850:11;;:18;;;;;;;;;;;;;;;;;;4793:83;15299:57;15324:5;15331:7;12046:2;15299:24;:57::i;:::-;15367:26;15386:6;15367:18;:26::i;:::-;15431:5;15406:22;;:30;;;;;;;;;;;;;;;;;;15471:5;15447:21;;:29;;;;;;;;;;;;;;;;;;12046:2;12176;12171:18;12164:4;:25;15489:12;:39;;;;15558:28;15573:12;;12046:2;12176;12171:18;12164:4;:25;12103:1;12094:11;12426:38;;;;;;;;12103:1;12094:11;12411:54;15558:14;;:28;;;;:::i;:::-;15539:16;:47;;;;12046:2;12176;12171:18;12164:4;:25;12103:1;12094:11;12426:38;;;;;;;;12103:1;12094:11;12411:54;15599:12;:20;15612:6;15599:20;;;;;;;;;;;;;;;:33;;;;15673:6;15650:44;;15667:3;15650:44;;;15681:12;;15650:44;;;;;;;;;;;;;;;;;;4898:14;4894:57;;;4938:5;4923:12;;:20;;;;;;;;;;;;;;;;;;4894:57;13069:1;15158:544;;;:::o;18838:233::-;18921:4;18984:5;18943:17;:29;18961:10;18943:29;;;;;;;;;;;;;;;:38;18973:7;18943:38;;;;;;;;;;;;;;;:46;;;;19026:7;19005:36;;19014:10;19005:36;;;19035:5;19005:36;;;;;;;;;;;;;;;;;;19059:4;19052:11;;18838:233;;;;:::o;15775:123::-;15846:7;15878:12;;15871:19;;15775:123;:::o;17709:487::-;17834:4;17953:16;17812:2;11938:3;11924:18;;:2;:18;;;;11916:27;;;;;;;;11976:4;11962:19;;:2;:19;;;;11954:28;;;;;;;;17894:46;17934:5;17894:17;:23;17912:4;17894:23;;;;;;;;;;;;;;;:35;17918:10;17894:35;;;;;;;;;;;;;;;;:39;;:46;;;;:::i;:::-;17856:17;:23;17874:4;17856:23;;;;;;;;;;;;;;;:35;17880:10;17856:35;;;;;;;;;;;;;;;:84;;;;17972:27;17982:16;;17972:5;:9;;:27;;;;:::i;:::-;17953:46;;18031:32;18054:8;18031:12;:18;18044:4;18031:18;;;;;;;;;;;;;;;;:22;;:32;;;;:::i;:::-;18010:12;:18;18023:4;18010:18;;;;;;;;;;;;;;;:53;;;;18093:30;18114:8;18093:12;:16;18106:2;18093:16;;;;;;;;;;;;;;;;:20;;:30;;;;:::i;:::-;18074:12;:16;18087:2;18074:16;;;;;;;;;;;;;;;:49;;;;18154:2;18139:25;;18148:4;18139:25;;;18158:5;18139:25;;;;;;;;;;;;;;;;;;18184:4;18177:11;;17709:487;;;;;;;:::o;9429:76::-;9469:5;9490:9;;;;;;;;;;;9483:16;;9429:76;:::o;19444:343::-;19542:4;19618:54;19661:10;19618:17;:29;19636:10;19618:29;;;;;;;;;;;;;;;:38;19648:7;19618:38;;;;;;;;;;;;;;;;:42;;:54;;;;:::i;:::-;19564:17;:29;19582:10;19564:29;;;;;;;;;;;;;;;:38;19594:7;19564:38;;;;;;;;;;;;;;;:108;;;;19709:7;19688:69;;19697:10;19688:69;;;19718:17;:29;19736:10;19718:29;;;;;;;;;;;;;;;:38;19748:7;19718:38;;;;;;;;;;;;;;;;19688:69;;;;;;;;;;;;;;;;;;19775:4;19768:11;;19444:343;;;;:::o;16193:159::-;16273:7;16305:39;16327:16;;16305:12;:17;16318:3;16305:17;;;;;;;;;;;;;;;;:21;;:39;;;;:::i;:::-;16298:46;;16193:159;;;:::o;7024:116::-;6558:9;:7;:9::i;:::-;6550:18;;;;;;;;7101:6;;;;;;;;;;;7082:26;;;;;;;;;;;;7132:1;7115:6;;:19;;;;;;;;;;;;;;;;;;7024:116::o;13744:1406::-;13859:7;11741:14;;;;;;;;;;;11727:28;;:10;:28;;;11719:37;;;;;;;;13903:1;13888:11;:16;13884:118;;;13936:5;13926:30;13943:12;;13926:30;;;;;;;;;;;;;;;;;;13978:12;;13971:19;;;;13884:118;14032:1;14018:11;:15;14014:193;;;14065:44;14090:17;:11;:15;:17::i;:::-;14065:12;;:16;;:44;;;;:::i;:::-;14050:12;:59;;;;14014:193;;;14157:38;14182:11;14157:12;;:16;;:38;;;;:::i;:::-;14142:12;:53;;;;14014:193;12593:1;12584:11;14238:10;;14223:12;;:25;14219:83;;;12593:1;12584:11;14280:10;;14265:12;:25;;;;14219:83;14333:28;14348:12;;12046:2;12176;12171:18;12164:4;:25;12103:1;12094:11;12426:38;;;;;;;;12103:1;12094:11;12411:54;14333:14;;:28;;;;:::i;:::-;14314:16;:47;;;;15092:5;15082:30;15099:12;;15082:30;;;;;;;;;;;;;;;;;;15130:12;;15123:19;;11767:1;13744:1406;;;;:::o;15910:162::-;15980:7;16012:52;12046:2;12176;12171:18;12164:4;:25;16012:22;16030:3;16012:13;:11;:13::i;:::-;:17;;:22;;;;:::i;:::-;:26;;:52;;;;:::i;:::-;16005:59;;15910:162;:::o;13274:202::-;6558:9;:7;:9::i;:::-;6550:18;;;;;;;;13396:15;13379:14;;:32;;;;;;;;;;;;;;;;;;13427:41;13452:15;13427:41;;;;;;;;;;;;;;;;;;;;;;13274:202;:::o;6365:72::-;6402:7;6425:6;;;;;;;;;;;6418:13;;6365:72;:::o;11640:29::-;;;;;;;;;;;;;:::o;6667:85::-;6706:4;6740:6;;;;;;;;;;;6726:20;;:10;:20;;;6719:27;;6667:85;:::o;9285:73::-;9323:6;9345:7;9338:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9285:73;:::o;20049:512::-;20152:4;20174:16;20193:17;:29;20211:10;20193:29;;;;;;;;;;;;;;;:38;20223:7;20193:38;;;;;;;;;;;;;;;;20174:57;;20265:8;20246:15;:27;;20242:205;;;20331:1;20290:17;:29;20308:10;20290:29;;;;;;;;;;;;;;;:38;20320:7;20290:38;;;;;;;;;;;;;;;:42;;;;20242:205;;;20406:29;20419:15;20406:8;:12;;:29;;;;:::i;:::-;20365:17;:29;20383:10;20365:29;;;;;;;;;;;;;;;:38;20395:7;20365:38;;;;;;;;;;;;;;;:70;;;;20242:205;20483:7;20462:69;;20471:10;20462:69;;;20492:17;:29;20510:10;20492:29;;;;;;;;;;;;;;;:38;20522:7;20492:38;;;;;;;;;;;;;;;;20462:69;;;;;;;;;;;;;;;;;;20549:4;20542:11;;20049:512;;;;;:::o;16578:388::-;16685:4;16707:16;16663:2;11938:3;11924:18;;:2;:18;;;;11916:27;;;;;;;;11976:4;11962:19;;:2;:19;;;;11954:28;;;;;;;;16726:27;16736:16;;16726:5;:9;;:27;;;;:::i;:::-;16707:46;;16791:38;16820:8;16791:12;:24;16804:10;16791:24;;;;;;;;;;;;;;;;:28;;:38;;;;:::i;:::-;16764:12;:24;16777:10;16764:24;;;;;;;;;;;;;;;:65;;;;16859:30;16880:8;16859:12;:16;16872:2;16859:16;;;;;;;;;;;;;;;;:20;;:30;;;;:::i;:::-;16840:12;:16;16853:2;16840:16;;;;;;;;;;;;;;;:49;;;;16926:2;16905:31;;16914:10;16905:31;;;16930:5;16905:31;;;;;;;;;;;;;;;;;;16954:4;16947:11;;16578:388;;;;;;:::o;12960:23::-;;;;;;;;;;;;;:::o;17273:174::-;17373:7;17405:17;:25;17423:6;17405:25;;;;;;;;;;;;;;;:34;17431:7;17405:34;;;;;;;;;;;;;;;;17398:41;;17273:174;;;;:::o;7307:103::-;6558:9;:7;:9::i;:::-;6550:18;;;;;;;;7376:28;7395:8;7376:18;:28::i;:::-;7307:103;:::o;5045:508::-;5092:4;5439:12;5474:10;5462:4;5439:28;;5520:4;5508:17;5502:23;;5546:1;5540:2;:7;5533:14;;5045:508;;;:::o;8940:160::-;4751:19;4644:12;;;;;;;;;;;:31;;;;4660:15;:13;:15::i;:::-;4644:31;:47;;;;4680:11;;;;;;;;;;;4679:12;4644:47;4636:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4774:12;;;;;;;;;;;4773:13;4751:35;;4797:14;4793:83;;;4837:4;4822:12;;:19;;;;;;;;;;;;;;;;;;4864:4;4850:11;;:18;;;;;;;;;;;;;;;;;;4793:83;9040:4;9032:5;:12;;;;;;;;;;;;:::i;:::-;;9061:6;9051:7;:16;;;;;;;;;;;;:::i;:::-;;9086:8;9074:9;;:20;;;;;;;;;;;;;;;;;;4898:14;4894:57;;;4938:5;4923:12;;:20;;;;;;;;;;;;;;;;;;4894:57;8940:160;;;;:::o;6220:85::-;4751:19;4644:12;;;;;;;;;;;:31;;;;4660:15;:13;:15::i;:::-;4644:31;:47;;;;4680:11;;;;;;;;;;;4679:12;4644:47;4636:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4774:12;;;;;;;;;;;4773:13;4751:35;;4797:14;4793:83;;;4837:4;4822:12;;:19;;;;;;;;;;;;;;;;;;4864:4;4850:11;;:18;;;;;;;;;;;;;;;;;;4793:83;6293:6;6284;;:15;;;;;;;;;;;;;;;;;;4898:14;4894:57;;;4938:5;4923:12;;:20;;;;;;;;;;;;;;;;;;4894:57;6220:85;;:::o;722:276::-;780:7;875:9;808:1;804;:5;796:14;;;;;;;;891:1;887;:5;;;;;;;;875:17;;991:1;984:8;;722:276;;;;;:::o;1116:136::-;1174:7;1212:9;1203:1;1198;:6;;1190:15;;;;;;;;1228:1;1224;:5;1212:17;;1245:1;1238:8;;1116:136;;;;;:::o;214:393::-;272:7;541:9;505:1;500;:6;496:37;;;524:1;517:8;;;;496:37;557:1;553;:5;541:17;;582:1;577;573;:5;;;;;;;;:10;565:19;;;;;;;;600:1;593:8;;214:393;;;;;;:::o;1320:136::-;1378:7;1394:9;1410:1;1406;:5;1394:17;;1431:1;1426;:6;;1418:15;;;;;;;;1449:1;1442:8;;1320:136;;;;;:::o;3459:161::-;3532:6;1890:3;1884:1;1877:16;;;;3564:1;:15;;3556:24;;;;;;;;3602:1;3598;:5;:14;;3611:1;3598:14;;;3607:1;3606:2;;3598:14;3591:21;;3459:161;;;:::o;7550:173::-;7640:1;7620:22;;:8;:22;;;;7612:31;;;;;;;;7684:8;7655:38;;7676:6;;;;;;;;;;;7655:38;;;;;;;;;;;;7709:8;7700:6;;:17;;;;;;;;;;;;;;;;;;7550:173;:::o;10117:10447::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://f0748a88c3181f9778786e576d72fe5d025d9459efd1324d64bab11c47012d46
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.