ETH Price: $1,942.86 (-1.96%)
 

Overview

ETH Balance

0.031675656410912327 ETH

Eth Value

$61.54 (@ $1,942.86/ETH)

More Info

Private Name Tags

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Withdraw Marketi...135145412021-10-29 21:40:051576 days ago1635543605IN
0xF2FBB896...3277c55aB
0 ETH0.00477107142.44564333
Withdraw Balance...135087622021-10-28 23:45:591577 days ago1635464759IN
0xF2FBB896...3277c55aB
0 ETH0.00503147159.16337042
Withdraw Balance...134940672021-10-26 16:29:431580 days ago1635265783IN
0xF2FBB896...3277c55aB
0 ETH0.00671686212.47844183
Withdraw Marketi...133958382021-10-11 6:53:091595 days ago1633935189IN
0xF2FBB896...3277c55aB
0 ETH0.002528775.4971894
Withdraw Balance...133958132021-10-11 6:48:281595 days ago1633934908IN
0xF2FBB896...3277c55aB
0 ETH0.00318469100.74311853
Withdraw Balance...133873892021-10-09 23:07:571596 days ago1633820877IN
0xF2FBB896...3277c55aB
0 ETH0.0024727678.22237979
Withdraw Balance...132971052021-09-25 20:20:221611 days ago1632601222IN
0xF2FBB896...3277c55aB
0 ETH0.0011773137.24268742
Withdraw Marketi...132970712021-09-25 20:14:491611 days ago1632600889IN
0xF2FBB896...3277c55aB
0 ETH0.0009610240.50527126
Withdraw Balance...132919692021-09-25 1:29:531611 days ago1632533393IN
0xF2FBB896...3277c55aB
0 ETH0.001386643.86321773
Withdraw Marketi...132918142021-09-25 0:55:071611 days ago1632531307IN
0xF2FBB896...3277c55aB
0 ETH0.0013865641.39737743
Withdraw Marketi...132604842021-09-20 4:26:591616 days ago1632112019IN
0xF2FBB896...3277c55aB
0 ETH0.0020488261.16997795
Withdraw Balance...132599882021-09-20 2:30:191616 days ago1632105019IN
0xF2FBB896...3277c55aB
0 ETH0.0022038969.71714155
Withdraw Balance...132597192021-09-20 1:31:191616 days ago1632101479IN
0xF2FBB896...3277c55aB
0 ETH0.0025510780.69971159
Withdraw Marketi...132136312021-09-12 22:22:481623 days ago1631485368IN
0xF2FBB896...3277c55aB
0 ETH0.0020267860.51188687
Withdraw Balance...131998242021-09-10 19:02:191626 days ago1631300539IN
0xF2FBB896...3277c55aB
0 ETH0.0025580880.92127269
Withdraw Balance...131997822021-09-10 18:53:011626 days ago1631299981IN
0xF2FBB896...3277c55aB
0 ETH0.0024244876.69505138
Withdraw Balance...131997812021-09-10 18:52:431626 days ago1631299963IN
0xF2FBB896...3277c55aB
0 ETH0.0025817381.66944429
Withdraw Marketi...131705152021-09-06 6:10:361630 days ago1630908636IN
0xF2FBB896...3277c55aB
0 ETH0.00374061111.68015474
Withdraw Balance...131607222021-09-04 18:00:111632 days ago1630778411IN
0xF2FBB896...3277c55aB
0 ETH0.00369958117.03096826
Withdraw Balance...131506452021-09-03 4:42:131633 days ago1630644133IN
0xF2FBB896...3277c55aB
0 ETH0.0024552677.66881386
Withdraw Balance...131506302021-09-03 4:38:251633 days ago1630643905IN
0xF2FBB896...3277c55aB
0 ETH0.0025750181.45694188
Withdraw Balance...131372092021-09-01 2:49:291635 days ago1630464569IN
0xF2FBB896...3277c55aB
0 ETH0.00326306103.22222591
Withdraw Marketi...131344922021-08-31 16:48:451636 days ago1630428525IN
0xF2FBB896...3277c55aB
0 ETH0.0031262193.3367149
Withdraw Balance...131212032021-08-29 15:33:231638 days ago1630251203IN
0xF2FBB896...3277c55aB
0 ETH0.0022371970.77053588
Withdraw Balance...131205052021-08-29 13:01:321638 days ago1630242092IN
0xF2FBB896...3277c55aB
0 ETH0.0013436942.50593338
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-135145412021-10-29 21:40:051576 days ago1635543605
0xF2FBB896...3277c55aB
0.06335131 ETH
-135087622021-10-28 23:45:591577 days ago1635464759
0xF2FBB896...3277c55aB
0.30092716 ETH
-134940672021-10-26 16:29:431580 days ago1635265783
0xF2FBB896...3277c55aB
0.03167565 ETH
-134895902021-10-25 23:41:111580 days ago1635205271
0xF2FBB896...3277c55aB
0.15837828 ETH
-133958382021-10-11 6:53:091595 days ago1633935189
0xF2FBB896...3277c55aB
0.12029517 ETH
-133958132021-10-11 6:48:281595 days ago1633934908
0xF2FBB896...3277c55aB
0.06014758 ETH
-133873892021-10-09 23:07:571596 days ago1633820877
0xF2FBB896...3277c55aB
0.06014758 ETH
-133861762021-10-09 18:37:461597 days ago1633804666
0xF2FBB896...3277c55aB
0.30073794 ETH
-132971052021-09-25 20:20:221611 days ago1632601222
0xF2FBB896...3277c55aB
0.09903503 ETH
-132919692021-09-25 1:29:531611 days ago1632533393
0xF2FBB896...3277c55aB
0.09903503 ETH
-132918142021-09-25 0:55:071611 days ago1632531307
0xF2FBB896...3277c55aB
0.19807007 ETH
-132901072021-09-24 18:35:471612 days ago1632508547
0xF2FBB896...3277c55aB
0.49517519 ETH
-132604842021-09-20 4:26:591616 days ago1632112019
0xF2FBB896...3277c55aB
0.22013776 ETH
-132599882021-09-20 2:30:191616 days ago1632105019
0xF2FBB896...3277c55aB
0.11006888 ETH
-132597192021-09-20 1:31:191616 days ago1632101479
0xF2FBB896...3277c55aB
0.11006888 ETH
-132596092021-09-20 1:07:151616 days ago1632100035
0xF2FBB896...3277c55aB
0.24403863 ETH
-132463252021-09-17 23:51:031618 days ago1631922663
0xF2FBB896...3277c55aB
0.30630576 ETH
-132136312021-09-12 22:22:481623 days ago1631485368
0xF2FBB896...3277c55aB
0.13927086 ETH
-131998242021-09-10 19:02:191626 days ago1631300539
0xF2FBB896...3277c55aB
0.09658671 ETH
-131997822021-09-10 18:53:011626 days ago1631299981
0xF2FBB896...3277c55aB
0.09658671 ETH
-131997812021-09-10 18:52:431626 days ago1631299963
0xF2FBB896...3277c55aB
0.09658671 ETH
-131997012021-09-10 18:35:161626 days ago1631298916
0xF2FBB896...3277c55aB
0.34817717 ETH
-131705152021-09-06 6:10:361630 days ago1630908636
0xF2FBB896...3277c55aB
0.41449555 ETH
-131704332021-09-06 5:48:341630 days ago1630907314
0xF2FBB896...3277c55aB
0.13475642 ETH
-131607222021-09-04 18:00:111632 days ago1630778411
0xF2FBB896...3277c55aB
0.2454306 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PaymentContract

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-08-16
*/

// Sources flattened with hardhat v2.6.0 https://hardhat.org

// File @openzeppelin/contracts/math/SafeMath.sol@v3.4.1-solc-0.7-2

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}



/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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);
            }
        }
    }
}



pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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


pragma solidity >= 0.6.0 < 0.8.0;



/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}



pragma solidity ^0.6.12;
contract PaymentContract is AccessControl {
    using SafeMath for uint256;

    string public name = "Cardino Payment Contract";
    address public owner;

    uint256 public decimals = 10 ** 18;



    // list of addresses for owners and marketing wallet
    address[] private owners = [0xB3BEB19190DbfDaf17782A656210A9D5DbC84BB3, 0x5c1C906e89b59569e020a84b7958014f210cA255, 0xe10E9a58B3139Fe0EE67EbF18C27D0C41aE0668C];
    address private marketing = 0x40Fe68980068909E98d204A152759251961CC788;
    uint256 private totalPercent = 100;

    // mapping will allow us to create a relationship of investor to their current remaining balance
    mapping( address => uint256 ) public _currentBalance;


    uint256 public marketingWalletPortion  = 40;

    uint256 public shareholdersPercentage = totalPercent.sub(marketingWalletPortion);

    uint256 public individualShareholderPercent = shareholdersPercentage.div(3);

    event MarketingWalletPercentageChanged( uint256 newPercentage);
    event EtherReceived(address from, uint256 amount);

    bytes32 public constant OWNERS = keccak256("OWNERS");
    bytes32 public constant MARKETING = keccak256("MARKETING");


    
    
    constructor () public {
        owner = msg.sender;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(OWNERS, owners[0]);
        _setupRole(OWNERS, owners[1]);
        _setupRole(OWNERS, owners[2]);
        _setupRole(MARKETING, marketing);

    }



    receive() external payable {


        uint256 ethSent = msg.value;
        uint256 marketingShare = (ethSent * marketingWalletPortion) / 100;
        uint256 leftOver = ethSent - marketingShare;

        uint256 shareholdersShare = leftOver / 3;
        for(uint256 i=0; i < owners.length; i++){
            _currentBalance[owners[i]] = _currentBalance[owners[i]] + shareholdersShare;
        }
        _currentBalance[marketing] = _currentBalance[marketing] + (marketingShare);

        emit EtherReceived(msg.sender, msg.value);

    }

    function updateMarketingPercentage(uint256 newMarketingCut) public {
        if( hasRole(OWNERS, msg.sender) == true) {

        if(newMarketingCut <= 40){

            marketingWalletPortion = newMarketingCut; 
            shareholdersPercentage = totalPercent.sub(marketingWalletPortion);
            individualShareholderPercent = shareholdersPercentage.div(3);

            emit MarketingWalletPercentageChanged(newMarketingCut);
        }

        }
    }


    function withdrawBalanceOwner() public {

        if(_currentBalance[msg.sender] > 0){

            uint256 amountToPay = _currentBalance[msg.sender];
            address payable withdrawee;
            if(hasRole(OWNERS, msg.sender)){

                _currentBalance[msg.sender] = _currentBalance[msg.sender].sub(amountToPay);
                withdrawee = payable(msg.sender);

                withdrawee.transfer(amountToPay);
            }
        }


    }

    function checkBalance() external view returns (uint256 balance){
        return _currentBalance[msg.sender];

    }

    function checkTotalBalance() external view returns (uint256 totalBalance) {
        if(hasRole(OWNERS, msg.sender) || hasRole(MARKETING, msg.sender)){
            return address(this).balance;

        }

    }


    function withdrawMarketing() public {
        if(hasRole(MARKETING, msg.sender)){

            uint256 amountToPay = _currentBalance[msg.sender];
            if(amountToPay > 0){

                _currentBalance[msg.sender] = _currentBalance[msg.sender].sub(amountToPay);
                address payable marketingPayable = payable(marketing);
                marketingPayable.transfer(amountToPay);
            }
        }
        
    }
    

    function updateMarketingWalletAddress(address newAddress) public {
        if(hasRole(DEFAULT_ADMIN_ROLE, msg.sender)){

            address  oldAddress = marketing;
            if(newAddress != oldAddress){

                revokeRole(MARKETING, marketing);
                grantRole(MARKETING, newAddress);
                marketing = newAddress;
                _currentBalance[newAddress] = _currentBalance[oldAddress];
                _currentBalance[oldAddress] = 0;
            }
        }
            
    }


}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"MarketingWalletPercentageChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNERS","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_currentBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkTotalBalance","outputs":[{"internalType":"uint256","name":"totalBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"individualShareholderPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWalletPortion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareholdersPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMarketingCut","type":"uint256"}],"name":"updateMarketingPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateMarketingWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalanceOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280601881526020017f43617264696e6f205061796d656e7420436f6e74726163740000000000000000815250600190805190602001906200005192919062000690565b50670de0b6b3a7640000600355604051806060016040528073b3beb19190dbfdaf17782a656210a9d5dbc84bb373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001735c1c906e89b59569e020a84b7958014f210ca25573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173e10e9a58b3139fe0ee67ebf18c27d0c41ae0668c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060049060036200014b92919062000717565b507340fe68980068909e98d204a152759251961cc788600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060646006556028600855620001c9600854600654620003eb60201b620013cf1790919060201c565b600955620001e960036009546200046f60201b620014521790919060201c565b600a55348015620001f957600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002506000801b33620004fa60201b60201c565b620002bb7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f60046000815481106200028457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004fa60201b60201c565b620003267f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f6004600181548110620002ef57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004fa60201b60201c565b620003917f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f60046002815481106200035a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004fa60201b60201c565b620003e57f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004fa60201b60201c565b62000802565b60008282111562000464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808211620004e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381620004f157fe5b04905092915050565b6200050c82826200051060201b60201c565b5050565b6200053e81600080858152602001908152602001600020600001620005b360201b620014db1790919060201c565b15620005af5762000554620005eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620005e3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620005f360201b60201c565b905092915050565b600033905090565b60006200060783836200066d60201b60201c565b6200066257826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000667565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006d357805160ff191683800117855562000704565b8280016001018555821562000704579182015b8281111562000703578251825591602001919060010190620006e6565b5b509050620007139190620007a6565b5090565b82805482825590600052602060002090810192821562000793579160200282015b82811115620007925782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000738565b5b509050620007a29190620007c5565b5090565b5b80821115620007c1576000816000905550600101620007a7565b5090565b5b80821115620007fe57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101620007c6565b5090565b6119bd80620008126000396000f3fe6080604052600436106101445760003560e01c8063969e24d8116100b6578063ca15c8731161006f578063ca15c8731461084d578063d36260771461089c578063d547741f146108d7578063d801b70d14610932578063e530a7d01461095d578063fe9882da14610988576103ac565b8063969e24d8146107395780639b5ac3ee1461078a578063a217fddf146107b5578063a4b34ffd146107e0578063c2e65e421461080b578063c71daccb14610822576103ac565b806336568abe1161010857806336568abe146105415780635cf4f8651461059c57806370278992146105b35780638da5cb5b146106185780639010d07c1461065957806391d14854146106c8576103ac565b806306fdde03146103b1578063248a9ca3146104415780632a9078d6146104905780632f2ff15d146104bb578063313ce56714610516576103ac565b366103ac5760003490506000606460085483028161015e57fe5b0490506000818303905060006003828161017457fe5b04905060005b6004805490508110156102875781600760006004848154811061019957fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600760006004848154811061021157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061017a565b508260076000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540160076000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b3334604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150505050005b600080fd5b3480156103bd57600080fd5b506103c66109b3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104065780820151818401526020810190506103eb565b50505050905090810190601f1680156104335780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044d57600080fd5b5061047a6004803603602081101561046457600080fd5b8101908080359060200190929190505050610a51565b6040518082815260200191505060405180910390f35b34801561049c57600080fd5b506104a5610a70565b6040518082815260200191505060405180910390f35b3480156104c757600080fd5b50610514600480360360408110156104de57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a94565b005b34801561052257600080fd5b5061052b610b1d565b6040518082815260200191505060405180910390f35b34801561054d57600080fd5b5061059a6004803603604081101561056457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b23565b005b3480156105a857600080fd5b506105b1610bbc565b005b3480156105bf57600080fd5b50610602600480360360208110156105d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d41565b6040518082815260200191505060405180910390f35b34801561062457600080fd5b5061062d610d59565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561066557600080fd5b5061069c6004803603604081101561067c57600080fd5b810190808035906020019092919080359060200190929190505050610d7f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106d457600080fd5b50610721600480360360408110156106eb57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610db0565b60405180821515815260200191505060405180910390f35b34801561074557600080fd5b506107886004803603602081101561075c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610de1565b005b34801561079657600080fd5b5061079f610fd2565b6040518082815260200191505060405180910390f35b3480156107c157600080fd5b506107ca610fd8565b6040518082815260200191505060405180910390f35b3480156107ec57600080fd5b506107f5610fdf565b6040518082815260200191505060405180910390f35b34801561081757600080fd5b50610820610fe5565b005b34801561082e57600080fd5b50610837611187565b6040518082815260200191505060405180910390f35b34801561085957600080fd5b506108866004803603602081101561087057600080fd5b81019080803590602001909291905050506111ce565b6040518082815260200191505060405180910390f35b3480156108a857600080fd5b506108d5600480360360208110156108bf57600080fd5b81019080803590602001909291905050506111f4565b005b3480156108e357600080fd5b50610930600480360360408110156108fa57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ae565b005b34801561093e57600080fd5b50610947611337565b6040518082815260200191505060405180910390f35b34801561096957600080fd5b5061097261133d565b6040518082815260200191505060405180910390f35b34801561099457600080fd5b5061099d611361565b6040518082815260200191505060405180910390f35b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b505050505081565b6000806000838152602001908152602001600020600201549050919050565b7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f81565b610aba60008084815260200190815260200160002060020154610ab561150b565b610db0565b610b0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806118fa602f913960400191505060405180910390fd5b610b198282611513565b5050565b60035481565b610b2b61150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611959602f913960400191505060405180910390fd5b610bb882826115a6565b5050565b610be67f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a533610db0565b15610d3f576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610d3d57610c8a81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113cf90919063ffffffff16565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610d3a573d6000803e3d6000fd5b50505b505b565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610da88260008086815260200190815260200160002060000161163990919063ffffffff16565b905092915050565b6000610dd98260008086815260200190815260200160002060000161165390919063ffffffff16565b905092915050565b610dee6000801b33610db0565b15610fcf576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610fcd57610e997f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112ae565b610ec37f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a583610a94565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b50565b60085481565b6000801b81565b60095481565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611185576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061109d7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b15611182576110f482600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113cf90919063ffffffff16565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503390508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611180573d6000803e3d6000fd5b505b50505b565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006111ed600080848152602001908152602001600020600001611683565b9050919050565b600115156112227f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b151514156112ab57602881116112aa57806008819055506112506008546006546113cf90919063ffffffff16565b60098190555061126c600360095461145290919063ffffffff16565b600a819055507f287f7db84de26e34c025d1c227b26e235b8806917d6e01c34a363c60a668b82a816040518082815260200191505060405180910390a15b5b50565b6112d4600080848152602001908152602001600020600201546112cf61150b565b610db0565b611329576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806119296030913960400191505060405180910390fd5b61133382826115a6565b5050565b600a5481565b7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a581565b600061138d7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b806113be57506113bd7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a533610db0565b5b156113cb574790506113cc565b5b90565b600082821115611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008082116114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816114d257fe5b04905092915050565b6000611503836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611698565b905092915050565b600033905090565b61153a816000808581526020019081526020016000206000016114db90919063ffffffff16565b156115a25761154761150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6115cd8160008085815260200190815260200160002060000161170890919063ffffffff16565b15611635576115da61150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006116488360000183611738565b60001c905092915050565b600061167b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6117bb565b905092915050565b6000611691826000016117de565b9050919050565b60006116a483836117bb565b6116fd578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611702565b600090505b92915050565b6000611730836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6117ef565b905092915050565b600081836000018054905011611799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806118d86022913960400191505060405180910390fd5b8260000182815481106117a857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020549050600081146118cb576000600182039050600060018660000180549050039050600086600001828154811061183a57fe5b906000526020600020015490508087600001848154811061185757fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061188f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506118d1565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220e577798e77f69102d28b4d65545b09f406c1c5d2d6eaf27a4b8043bbf2960a5864736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106101445760003560e01c8063969e24d8116100b6578063ca15c8731161006f578063ca15c8731461084d578063d36260771461089c578063d547741f146108d7578063d801b70d14610932578063e530a7d01461095d578063fe9882da14610988576103ac565b8063969e24d8146107395780639b5ac3ee1461078a578063a217fddf146107b5578063a4b34ffd146107e0578063c2e65e421461080b578063c71daccb14610822576103ac565b806336568abe1161010857806336568abe146105415780635cf4f8651461059c57806370278992146105b35780638da5cb5b146106185780639010d07c1461065957806391d14854146106c8576103ac565b806306fdde03146103b1578063248a9ca3146104415780632a9078d6146104905780632f2ff15d146104bb578063313ce56714610516576103ac565b366103ac5760003490506000606460085483028161015e57fe5b0490506000818303905060006003828161017457fe5b04905060005b6004805490508110156102875781600760006004848154811061019957fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600760006004848154811061021157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061017a565b508260076000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540160076000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b3334604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150505050005b600080fd5b3480156103bd57600080fd5b506103c66109b3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104065780820151818401526020810190506103eb565b50505050905090810190601f1680156104335780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044d57600080fd5b5061047a6004803603602081101561046457600080fd5b8101908080359060200190929190505050610a51565b6040518082815260200191505060405180910390f35b34801561049c57600080fd5b506104a5610a70565b6040518082815260200191505060405180910390f35b3480156104c757600080fd5b50610514600480360360408110156104de57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a94565b005b34801561052257600080fd5b5061052b610b1d565b6040518082815260200191505060405180910390f35b34801561054d57600080fd5b5061059a6004803603604081101561056457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b23565b005b3480156105a857600080fd5b506105b1610bbc565b005b3480156105bf57600080fd5b50610602600480360360208110156105d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d41565b6040518082815260200191505060405180910390f35b34801561062457600080fd5b5061062d610d59565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561066557600080fd5b5061069c6004803603604081101561067c57600080fd5b810190808035906020019092919080359060200190929190505050610d7f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106d457600080fd5b50610721600480360360408110156106eb57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610db0565b60405180821515815260200191505060405180910390f35b34801561074557600080fd5b506107886004803603602081101561075c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610de1565b005b34801561079657600080fd5b5061079f610fd2565b6040518082815260200191505060405180910390f35b3480156107c157600080fd5b506107ca610fd8565b6040518082815260200191505060405180910390f35b3480156107ec57600080fd5b506107f5610fdf565b6040518082815260200191505060405180910390f35b34801561081757600080fd5b50610820610fe5565b005b34801561082e57600080fd5b50610837611187565b6040518082815260200191505060405180910390f35b34801561085957600080fd5b506108866004803603602081101561087057600080fd5b81019080803590602001909291905050506111ce565b6040518082815260200191505060405180910390f35b3480156108a857600080fd5b506108d5600480360360208110156108bf57600080fd5b81019080803590602001909291905050506111f4565b005b3480156108e357600080fd5b50610930600480360360408110156108fa57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ae565b005b34801561093e57600080fd5b50610947611337565b6040518082815260200191505060405180910390f35b34801561096957600080fd5b5061097261133d565b6040518082815260200191505060405180910390f35b34801561099457600080fd5b5061099d611361565b6040518082815260200191505060405180910390f35b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b505050505081565b6000806000838152602001908152602001600020600201549050919050565b7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f81565b610aba60008084815260200190815260200160002060020154610ab561150b565b610db0565b610b0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806118fa602f913960400191505060405180910390fd5b610b198282611513565b5050565b60035481565b610b2b61150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611959602f913960400191505060405180910390fd5b610bb882826115a6565b5050565b610be67f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a533610db0565b15610d3f576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610d3d57610c8a81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113cf90919063ffffffff16565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610d3a573d6000803e3d6000fd5b50505b505b565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610da88260008086815260200190815260200160002060000161163990919063ffffffff16565b905092915050565b6000610dd98260008086815260200190815260200160002060000161165390919063ffffffff16565b905092915050565b610dee6000801b33610db0565b15610fcf576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610fcd57610e997f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112ae565b610ec37f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a583610a94565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b50565b60085481565b6000801b81565b60095481565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611185576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061109d7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b15611182576110f482600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113cf90919063ffffffff16565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503390508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611180573d6000803e3d6000fd5b505b50505b565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006111ed600080848152602001908152602001600020600001611683565b9050919050565b600115156112227f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b151514156112ab57602881116112aa57806008819055506112506008546006546113cf90919063ffffffff16565b60098190555061126c600360095461145290919063ffffffff16565b600a819055507f287f7db84de26e34c025d1c227b26e235b8806917d6e01c34a363c60a668b82a816040518082815260200191505060405180910390a15b5b50565b6112d4600080848152602001908152602001600020600201546112cf61150b565b610db0565b611329576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806119296030913960400191505060405180910390fd5b61133382826115a6565b5050565b600a5481565b7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a581565b600061138d7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f33610db0565b806113be57506113bd7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a533610db0565b5b156113cb574790506113cc565b5b90565b600082821115611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008082116114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816114d257fe5b04905092915050565b6000611503836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611698565b905092915050565b600033905090565b61153a816000808581526020019081526020016000206000016114db90919063ffffffff16565b156115a25761154761150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6115cd8160008085815260200190815260200160002060000161170890919063ffffffff16565b15611635576115da61150b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006116488360000183611738565b60001c905092915050565b600061167b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6117bb565b905092915050565b6000611691826000016117de565b9050919050565b60006116a483836117bb565b6116fd578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611702565b600090505b92915050565b6000611730836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6117ef565b905092915050565b600081836000018054905011611799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806118d86022913960400191505060405180910390fd5b8260000182815481106117a857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020549050600081146118cb576000600182039050600060018660000180549050039050600086600001828154811061183a57fe5b906000526020600020015490508087600001848154811061185757fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061188f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506118d1565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220e577798e77f69102d28b4d65545b09f406c1c5d2d6eaf27a4b8043bbf2960a5864736f6c634300060c0033

Deployed Bytecode Sourcemap

33634:4384:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35180:15;35198:9;35180:27;;35218:22;35280:3;35254:22;;35244:7;:32;35243:40;;;;;;35218:65;;35294:16;35323:14;35313:7;:24;35294:43;;35350:25;35389:1;35378:8;:12;;;;;;35350:40;;35405:9;35401:142;35422:6;:13;;;;35418:1;:17;35401:142;;;35514:17;35485:15;:26;35501:6;35508:1;35501:9;;;;;;;;;;;;;;;;;;;;;;;;;35485:26;;;;;;;;;;;;;;;;:46;35456:15;:26;35472:6;35479:1;35472:9;;;;;;;;;;;;;;;;;;;;;;;;;35456:26;;;;;;;;;;;;;;;:75;;;;35437:3;;;;;;;35401:142;;;;35612:14;35582:15;:26;35598:9;;;;;;;;;;;35582:26;;;;;;;;;;;;;;;;:45;35553:15;:26;35569:9;;;;;;;;;;;35553:26;;;;;;;;;;;;;;;:74;;;;35645:36;35659:10;35671:9;35645:36;;;;;;;;;;;;;;;;;;;;;;;;;;35138:553;;;;33634:4384;;;;;33718:47;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30381:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34709:52;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30757:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33801:34;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31966:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37019:449;;;;;;;;;;;;;:::i;:::-;;34294:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33772:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30054:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29015:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37482:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34357:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27760:49;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34409:80;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36182:477;;;;;;;;;;;;;:::i;:::-;;36667:118;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29328:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35699:473;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31229:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34498:75;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34768:58;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36793:216;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33718:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30381:114::-;30438:7;30465:6;:12;30472:4;30465:12;;;;;;;;;;;:22;;;30458:29;;30381:114;;;:::o;34709:52::-;34742:19;34709:52;:::o;30757:227::-;30841:45;30849:6;:12;30856:4;30849:12;;;;;;;;;;;:22;;;30873:12;:10;:12::i;:::-;30841:7;:45::i;:::-;30833:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30951:25;30962:4;30968:7;30951:10;:25::i;:::-;30757:227;;:::o;33801:34::-;;;;:::o;31966:209::-;32064:12;:10;:12::i;:::-;32053:23;;:7;:23;;;32045:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32141:26;32153:4;32159:7;32141:11;:26::i;:::-;31966:209;;:::o;37019:449::-;37069:30;34804:22;37088:10;37069:7;:30::i;:::-;37066:385;;;37117:19;37139:15;:27;37155:10;37139:27;;;;;;;;;;;;;;;;37117:49;;37198:1;37184:11;:15;37181:259;;;37251:44;37283:11;37251:15;:27;37267:10;37251:27;;;;;;;;;;;;;;;;:31;;:44;;;;:::i;:::-;37221:15;:27;37237:10;37221:27;;;;;;;;;;;;;;;:74;;;;37314:32;37357:9;;;;;;;;;;;37314:53;;37386:16;:25;;:38;37412:11;37386:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37181:259;;37066:385;;37019:449::o;34294:52::-;;;;;;;;;;;;;;;;;:::o;33772:20::-;;;;;;;;;;;;;:::o;30054:138::-;30127:7;30154:30;30178:5;30154:6;:12;30161:4;30154:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;30147:37;;30054:138;;;;:::o;29015:139::-;29084:4;29108:38;29138:7;29108:6;:12;29115:4;29108:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;29101:45;;29015:139;;;;:::o;37482:529::-;37561:39;27805:4;37569:18;;37589:10;37561:7;:39::i;:::-;37558:432;;;37618:19;37640:9;;;;;;;;;;;37618:31;;37681:10;37667:24;;:10;:24;;;37664:315;;37713:32;34804:22;37735:9;;;;;;;;;;;37713:10;:32::i;:::-;37764;34804:22;37785:10;37764:9;:32::i;:::-;37827:10;37815:9;;:22;;;;;;;;;;;;;;;;;;37886:15;:27;37902:10;37886:27;;;;;;;;;;;;;;;;37856:15;:27;37872:10;37856:27;;;;;;;;;;;;;;;:57;;;;37962:1;37932:15;:27;37948:10;37932:27;;;;;;;;;;;;;;;:31;;;;37664:315;37558:432;;37482:529;:::o;34357:43::-;;;;:::o;27760:49::-;27805:4;27760:49;;;:::o;34409:80::-;;;;:::o;36182:477::-;36267:1;36237:15;:27;36253:10;36237:27;;;;;;;;;;;;;;;;:31;36234:414;;;36286:19;36308:15;:27;36324:10;36308:27;;;;;;;;;;;;;;;;36286:49;;36350:26;36394:27;34742:19;36410:10;36394:7;:27::i;:::-;36391:246;;;36473:44;36505:11;36473:15;:27;36489:10;36473:27;;;;;;;;;;;;;;;;:31;;:44;;;;:::i;:::-;36443:15;:27;36459:10;36443:27;;;;;;;;;;;;;;;:74;;;;36557:10;36536:32;;36589:10;:19;;:32;36609:11;36589:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36391:246;36234:414;;;36182:477::o;36667:118::-;36714:15;36748;:27;36764:10;36748:27;;;;;;;;;;;;;;;;36741:34;;36667:118;:::o;29328:127::-;29391:7;29418:29;:6;:12;29425:4;29418:12;;;;;;;;;;;:20;;:27;:29::i;:::-;29411:36;;29328:127;;;:::o;35699:473::-;35812:4;35781:35;;:27;34742:19;35797:10;35781:7;:27::i;:::-;:35;;;35777:388;;;35853:2;35834:15;:21;35831:321;;35898:15;35873:22;:40;;;;35954;35971:22;;35954:12;;:16;;:40;;;;:::i;:::-;35929:22;:65;;;;36040:29;36067:1;36040:22;;:26;;:29;;;;:::i;:::-;36009:28;:60;;;;36091:49;36124:15;36091:49;;;;;;;;;;;;;;;;;;35831:321;35777:388;35699:473;:::o;31229:230::-;31314:45;31322:6;:12;31329:4;31322:12;;;;;;;;;;;:22;;;31346:12;:10;:12::i;:::-;31314:7;:45::i;:::-;31306:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31425:26;31437:4;31443:7;31425:11;:26::i;:::-;31229:230;;:::o;34498:75::-;;;;:::o;34768:58::-;34804:22;34768:58;:::o;36793:216::-;36845:20;36881:27;34742:19;36897:10;36881:7;:27::i;:::-;:61;;;;36912:30;34804:22;36931:10;36912:7;:30::i;:::-;36881:61;36878:122;;;36965:21;36958:28;;;;36878:122;36793:216;;:::o;3371:158::-;3429:7;3462:1;3457;:6;;3449:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3520:1;3516;:5;3509:12;;3371:158;;;;:::o;4486:153::-;4544:7;4576:1;4572;:5;4564:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4630:1;4626;:5;;;;;;4619:12;;4486:153;;;;:::o;14139:152::-;14209:4;14233:50;14238:3;:10;;14274:5;14258:23;;14250:32;;14233:4;:50::i;:::-;14226:57;;14139:152;;;;:::o;25756:106::-;25809:15;25844:10;25837:17;;25756:106;:::o;33209:188::-;33283:33;33308:7;33283:6;:12;33290:4;33283:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;33279:111;;;33365:12;:10;:12::i;:::-;33338:40;;33356:7;33338:40;;33350:4;33338:40;;;;;;;;;;33279:111;33209:188;;:::o;33405:192::-;33480:36;33508:7;33480:6;:12;33487:4;33480:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;33476:114;;;33565:12;:10;:12::i;:::-;33538:40;;33556:7;33538:40;;33550:4;33538:40;;;;;;;;;;33476:114;33405:192;;:::o;15425:158::-;15499:7;15550:22;15554:3;:10;;15566:5;15550:3;:22::i;:::-;15542:31;;15519:56;;15425:158;;;;:::o;14711:167::-;14791:4;14815:55;14825:3;:10;;14861:5;14845:23;;14837:32;;14815:9;:55::i;:::-;14808:62;;14711:167;;;;:::o;14964:117::-;15027:7;15054:19;15062:3;:10;;15054:7;:19::i;:::-;15047:26;;14964:117;;;:::o;9203:414::-;9266:4;9288:21;9298:3;9303:5;9288:9;:21::i;:::-;9283:327;;9326:3;:11;;9343:5;9326:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9509:3;:11;;:18;;;;9487:3;:12;;:19;9500:5;9487:19;;;;;;;;;;;:40;;;;9549:4;9542:11;;;;9283:327;9593:5;9586:12;;9203:414;;;;;:::o;14467:158::-;14540:4;14564:53;14572:3;:10;;14608:5;14592:23;;14584:32;;14564:7;:53::i;:::-;14557:60;;14467:158;;;;:::o;12091:204::-;12158:7;12207:5;12186:3;:11;;:18;;;;:26;12178:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12269:3;:11;;12281:5;12269:18;;;;;;;;;;;;;;;;12262:25;;12091:204;;;;:::o;11423:129::-;11496:4;11543:1;11520:3;:12;;:19;11533:5;11520:19;;;;;;;;;;;;:24;;11513:31;;11423:129;;;;:::o;11638:109::-;11694:7;11721:3;:11;;:18;;;;11714:25;;11638:109;;;:::o;9793:1544::-;9859:4;9977:18;9998:3;:12;;:19;10011:5;9998:19;;;;;;;;;;;;9977:40;;10048:1;10034:10;:15;10030:1300;;10396:21;10433:1;10420:10;:14;10396:38;;10449:17;10490:1;10469:3;:11;;:18;;;;:22;10449:42;;10736:17;10756:3;:11;;10768:9;10756:22;;;;;;;;;;;;;;;;10736:42;;10902:9;10873:3;:11;;10885:13;10873:26;;;;;;;;;;;;;;;:38;;;;11021:1;11005:13;:17;10979:3;:12;;:23;10992:9;10979:23;;;;;;;;;;;:43;;;;11131:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;11226:3;:12;;:19;11239:5;11226:19;;;;;;;;;;;11219:26;;;11269:4;11262:11;;;;;;;;10030:1300;11313:5;11306:12;;;9793:1544;;;;;:::o

Swarm Source

ipfs://e577798e77f69102d28b4d65545b09f406c1c5d2d6eaf27a4b8043bbf2960a58

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.