ETH Price: $3,166.40 (+3.03%)

Contract

0x6ce5b005894B08edEc9F338f005E79729F528807
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve209887902024-10-18 0:13:1131 days ago1729210391IN
0x6ce5b005...29F528807
0 ETH0.0004268515.85213599
Approve205553722024-08-18 12:00:2392 days ago1723982423IN
0x6ce5b005...29F528807
0 ETH0.000034471.27741491
Approve205553672024-08-18 11:59:2392 days ago1723982363IN
0x6ce5b005...29F528807
0 ETH0.000069071.40223391
Set Approval For...202026662024-06-30 6:19:23141 days ago1719728363IN
0x6ce5b005...29F528807
0 ETH0.000093922.01985093
Approve197186152024-04-23 14:13:35209 days ago1713881615IN
0x6ce5b005...29F528807
0 ETH0.0007293527.08643154
Transfer194158872024-03-12 2:01:47251 days ago1710208907IN
0x6ce5b005...29F528807
0 ETH0.0027736651.31665693
Approve192547062024-02-18 12:31:23274 days ago1708259483IN
0x6ce5b005...29F528807
0 ETH0.0010901622.15773296
Approve192499192024-02-17 20:22:11275 days ago1708201331IN
0x6ce5b005...29F528807
0 ETH0.0008804817.89607243
Approve192479562024-02-17 13:44:23275 days ago1708177463IN
0x6ce5b005...29F528807
0 ETH0.001325826.91442518
Approve192460892024-02-17 7:26:23275 days ago1708154783IN
0x6ce5b005...29F528807
0 ETH0.0010604521.52764105
Approve192416112024-02-16 16:22:47276 days ago1708100567IN
0x6ce5b005...29F528807
0 ETH0.0023300247.30047301
Approve192393982024-02-16 8:53:23276 days ago1708073603IN
0x6ce5b005...29F528807
0 ETH0.0011707823.90140007
Approve192392082024-02-16 8:14:35276 days ago1708071275IN
0x6ce5b005...29F528807
0 ETH0.0011153822.67046361
Approve192373702024-02-16 2:03:59276 days ago1708049039IN
0x6ce5b005...29F528807
0 ETH0.001142623.22360528
Approve192333432024-02-15 12:30:59277 days ago1708000259IN
0x6ce5b005...29F528807
0 ETH0.001328627.00413895
Approve192318962024-02-15 7:39:23277 days ago1707982763IN
0x6ce5b005...29F528807
0 ETH0.0010043920.38974383
Transfer192286542024-02-14 20:43:35277 days ago1707943415IN
0x6ce5b005...29F528807
0 ETH0.0007989624.66707646
Transfer192286482024-02-14 20:42:23278 days ago1707943343IN
0x6ce5b005...29F528807
0 ETH0.000778824.04473507
Transfer Ownersh...192278922024-02-14 18:09:59278 days ago1707934199IN
0x6ce5b005...29F528807
0 ETH0.0007823927.17783842
Transfer192265242024-02-14 13:31:47278 days ago1707917507IN
0x6ce5b005...29F528807
0 ETH0.0507705225.75023093
Set Whitelist192265042024-02-14 13:27:47278 days ago1707917267IN
0x6ce5b005...29F528807
0 ETH0.0007457930.09066233
Transfer192264922024-02-14 13:25:23278 days ago1707917123IN
0x6ce5b005...29F528807
0 ETH0.000914125.66264602
Transfer192262922024-02-14 12:44:59278 days ago1707914699IN
0x6ce5b005...29F528807
0 ETH0.0009700527.24264761
Transfer192262902024-02-14 12:44:35278 days ago1707914675IN
0x6ce5b005...29F528807
0 ETH0.0008786324.67515108
Transfer192262892024-02-14 12:44:23278 days ago1707914663IN
0x6ce5b005...29F528807
0 ETH0.0008556924.03094956
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OsamaComputer

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 6 : OsamaComputer.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "./ERC404/ERC404Metadata.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract OsamaComputer is ERC404Metadata {
    string public baseTokenURI;

    constructor(
        address _owner
    ) ERC404Metadata("Osama Computer", "OSAMA", 18, 10000, _owner) {
        balanceOf[_owner] = 10000 * 10 ** 18;
    }

    function setTokenURI(string memory _tokenURI) public onlyOwner {
        baseTokenURI = _tokenURI;
    }

    function setNameSymbol(
        string memory _name,
        string memory _symbol
    ) public onlyOwner {
        _setNameSymbol(_name, _symbol);
    }

    /**
     * @dev Overrides the parent implementation in ERC404Metadata.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }
}

File 2 of 6 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            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.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 3 of 6 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 4 of 6 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 5 of 6 : ERC404.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

abstract contract Ownable {
    event OwnershipTransferred(address indexed user, address indexed newOwner);

    error Unauthorized();
    error InvalidOwner();

    address public owner;

    modifier onlyOwner() virtual {
        if (msg.sender != owner) revert Unauthorized();

        _;
    }

    constructor(address _owner) {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    function transferOwnership(address _owner) public virtual onlyOwner {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(msg.sender, _owner);
    }

    function revokeOwnership() public virtual onlyOwner {
        owner = address(0);

        emit OwnershipTransferred(msg.sender, address(0));
    }
}

abstract contract ERC721Receiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721Receiver.onERC721Received.selector;
    }
}

/// @notice ERC404
///         A gas-efficient, mixed ERC20 / ERC721 implementation
///         with native liquidity and fractionalization.
///
///         This is an experimental standard designed to integrate
///         with pre-existing ERC20 / ERC721 support as smoothly as
///         possible.
///
/// @dev    In order to support full functionality of ERC20 and ERC721
///         supply assumptions are made that slightly constraint usage.
///         Ensure decimals are sufficiently large (standard 18 recommended)
///         as ids are effectively encoded in the lowest range of amounts.
///
///         NFTs are spent on ERC20 functions in a FILO queue, this is by
///         design.
///
abstract contract ERC404 is Ownable {
    // Events
    event ERC20Transfer(
        address indexed from,
        address indexed to,
        uint256 amount
    );
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed id
    );
    event ERC721Approval(
        address indexed owner,
        address indexed spender,
        uint256 indexed id
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    // Errors
    error NotFound();
    error AlreadyExists();
    error InvalidRecipient();
    error InvalidSender();
    error UnsafeRecipient();

    // Metadata
    /// @dev Token name
    string public name;

    /// @dev Token symbol
    string public symbol;

    /// @dev Decimals for fractional representation
    uint8 public immutable decimals;

    /// @dev Total supply in fractionalized representation
    uint256 public immutable totalSupply;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public minted;

    // Mappings
    /// @dev Balance of user in fractional representation
    mapping(address => uint256) public balanceOf;

    /// @dev Allowance of user in fractional representation
    mapping(address => mapping(address => uint256)) public allowance;

    /// @dev Approval in native representaion
    mapping(uint256 => address) public getApproved;

    /// @dev Approval for all in native representation
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /// @dev Owner of id in native representation
    mapping(uint256 => address) internal _ownerOf;

    /// @dev Array of owned ids in native representation
    mapping(address => uint256[]) internal _owned;

    /// @dev Tracks indices for the _owned mapping
    mapping(uint256 => uint256) internal _ownedIndex;

    /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc)
    mapping(address => bool) public whitelist;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * (10 ** decimals);
    }

    /// @notice Initialization function to set pairs / etc
    ///         saving gas by avoiding mint / burn on unnecessary targets
    function setWhitelist(address target, bool state) public onlyOwner {
        whitelist[target] = state;
    }

    /// @notice Function to find owner of a given native token
    function ownerOf(uint256 id) public view virtual returns (address owner) {
        owner = _ownerOf[id];

        if (owner == address(0)) {
            revert NotFound();
        }
    }

    /// @notice tokenURI must be implemented by child contract
    function tokenURI(uint256 id) public view virtual returns (string memory);

    /// @notice Function for token approvals
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function approve(
        address spender,
        uint256 amountOrId
    ) public virtual returns (bool) {
        if (amountOrId <= minted && amountOrId > 0) {
            address owner = _ownerOf[amountOrId];

            if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) {
                revert Unauthorized();
            }

            getApproved[amountOrId] = spender;

            emit Approval(owner, spender, amountOrId);
        } else {
            allowance[msg.sender][spender] = amountOrId;

            emit Approval(msg.sender, spender, amountOrId);
        }

        return true;
    }

    /// @notice Function native approvals
    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /// @notice Function for mixed transfers
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public virtual {
        if (amountOrId <= minted) {
            if (from != _ownerOf[amountOrId]) {
                revert InvalidSender();
            }

            if (to == address(0)) {
                revert InvalidRecipient();
            }

            if (
                msg.sender != from &&
                !isApprovedForAll[from][msg.sender] &&
                msg.sender != getApproved[amountOrId]
            ) {
                revert Unauthorized();
            }

            balanceOf[from] -= _getUnit();

            unchecked {
                balanceOf[to] += _getUnit();
            }

            _ownerOf[amountOrId] = to;
            delete getApproved[amountOrId];

            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            // pop
            _owned[from].pop();
            // update index for the moved id
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            // push token to to owned
            _owned[to].push(amountOrId);
            // update index for to owned
            _ownedIndex[amountOrId] = _owned[to].length - 1;

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } else {
            uint256 allowed = allowance[from][msg.sender];

            if (allowed != type(uint256).max)
                allowance[from][msg.sender] = allowed - amountOrId;

            _transfer(from, to, amountOrId);
        }
    }

    /// @notice Function for fractional transfers
    function transfer(
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        return _transfer(msg.sender, to, amount);
    }

    /// @notice Function for native transfers with contract support
    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Function for native transfers with contract support and callback data
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        uint256 unit = _getUnit();
        uint256 balanceBeforeSender = balanceOf[from];
        uint256 balanceBeforeReceiver = balanceOf[to];

        balanceOf[from] -= amount;

        unchecked {
            balanceOf[to] += amount;
        }

        // Skip burn for certain addresses to save gas
        if (!whitelist[from]) {
            uint256 tokens_to_burn = (balanceBeforeSender / unit) -
                (balanceOf[from] / unit);
            for (uint256 i = 0; i < tokens_to_burn; i++) {
                _burn(from);
            }
        }

        // Skip minting for certain addresses to save gas
        if (!whitelist[to]) {
            uint256 tokens_to_mint = (balanceOf[to] / unit) -
                (balanceBeforeReceiver / unit);
            for (uint256 i = 0; i < tokens_to_mint; i++) {
                _mint(to);
            }
        }

        emit ERC20Transfer(from, to, amount);
        return true;
    }

    // Internal utility logic
    function _getUnit() internal view returns (uint256) {
        return 10 ** decimals;
    }

    function _mint(address to) internal virtual {
        if (to == address(0)) {
            revert InvalidRecipient();
        }

        unchecked {
            minted++;
        }

        uint256 id = minted;

        if (_ownerOf[id] != address(0)) {
            revert AlreadyExists();
        }

        _ownerOf[id] = to;
        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

        emit Transfer(address(0), to, id);
    }

    function _burn(address from) internal virtual {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        emit Transfer(from, address(0), id);
    }

    function _setNameSymbol(
        string memory _name,
        string memory _symbol
    ) internal {
        name = _name;
        symbol = _symbol;
    }
}

File 6 of 6 : ERC404Metadata.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "./ERC404.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract ERC404Metadata is ERC404 {
    using Strings for uint256;

    /**
     * @dev Since ERC404 dynamically burns and mints tokenIds, any one piece of 
     * metadata is not necessarily tied to one tokenId across different points 
     * in time. Static hosting services, such as IPFS, cannot dynamically update
     * to accomodate these requirements. Hence, metadataIds maps a tokenId
     * to a number between 0 and totalNativeSupply, which correlates to the metadata 
     * index of that tokenId.
     * It should be noted that due to the re-implementation of the _mint function,
     * any transfers occuring before the totalNativeSupply is reached will generate new
     * metadata for that NFT.
     */
    mapping(uint256 => uint256) public metadataIds;

    /**
     * @dev pendingIds is a linked list of tokenIds. Its implementation is 
     * essentially a LIFO queue. It accounts for transfers between a 
     * whitelisted and non-whitelisted user where NFTs are burned but 
     * not minted, or vice-versa.
     */
    mapping(uint256 => uint256) public pendingIds;

    /**
     * @dev Implemented in the _mint function.
     */
    uint256 public totalNativeSupply;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) ERC404(_name, _symbol, _decimals, _totalNativeSupply, _owner) {
        totalNativeSupply = _totalNativeSupply;
    }

    /**
     * @dev Implementation from ERC721.
     * Empty by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev Implementation from ERC721, with the only changes being 
     * 1. tokenId is instead metadataIds[tokenId], where 0 < tokenId < totalNativeSupply
     * 2. _requireOwned(tokenId); is not used, since there is no implementation
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(baseURI, metadataIds[tokenId].toString()) : "";
    }

    /**
     * @dev Re-implementation from ERC404.sol
     */
    function _mint(address to) internal virtual override {
        if (to == address(0)) {
            revert InvalidRecipient();
        }

        unchecked {
            minted++;
        }

        uint256 id = minted;

        if (_ownerOf[id] != address(0)) {
            revert AlreadyExists();
        }

        _ownerOf[id] = to;
        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

        /**
         * @dev The logic is as follows:
         * 1. if minted > totalNativeSupply, the tokenId is added to the queue
         * 2. otherwise, the metadataId is the tokenId
         * (this means that mints under the totalNativeSupply generate new metadata)
         */
        if (id > totalNativeSupply) {
            uint256 firstId = pendingIds[0];
            metadataIds[id] = firstId;
            pendingIds[0] = pendingIds[firstId];
        } else {
            metadataIds[id] = id;
        }

        emit Transfer(address(0), to, id);
    }

    /**
     * @dev Re-implementation from ERC404.sol
     */
    function _burn(address from) internal virtual override {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        /**
         * @dev Tokens are prepended to the head of the linked list.
         * If the recipient of the transfer is not whitelisted,
         * these values will removed during the _mint function. 
         */
        uint256 metadataId = metadataIds[id];
        pendingIds[metadataId] = pendingIds[0];
        pendingIds[0] = metadataId;

        emit Transfer(from, address(0), id);
    }

}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metadataIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","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":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pendingIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNativeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b50604051620040b8380380620040b88339818101604052810190620000379190620002d9565b6040518060400160405280600e81526020017f4f73616d6120436f6d70757465720000000000000000000000000000000000008152506040518060400160405280600581526020017f4f53414d41000000000000000000000000000000000000000000000000000000815250601261271084848484848480600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000116576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508460019081620001c3919062000585565b508360029081620001d5919062000585565b508260ff1660808160ff1681525050608051600a620001f59190620007fc565b826200020291906200084d565b60a08181525050505050505081600e81905550505050505069021e19e0c9bab2400000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505062000898565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002a18262000274565b9050919050565b620002b38162000294565b8114620002bf57600080fd5b50565b600081519050620002d381620002a8565b92915050565b600060208284031215620002f257620002f16200026f565b5b60006200030284828501620002c2565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200038d57607f821691505b602082108103620003a357620003a262000345565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200040d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003ce565b620004198683620003ce565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000466620004606200045a8462000431565b6200043b565b62000431565b9050919050565b6000819050919050565b620004828362000445565b6200049a62000491826200046d565b848454620003db565b825550505050565b600090565b620004b1620004a2565b620004be81848462000477565b505050565b5b81811015620004e657620004da600082620004a7565b600181019050620004c4565b5050565b601f8211156200053557620004ff81620003a9565b6200050a84620003be565b810160208510156200051a578190505b620005326200052985620003be565b830182620004c3565b50505b505050565b600082821c905092915050565b60006200055a600019846008026200053a565b1980831691505092915050565b600062000575838362000547565b9150826002028217905092915050565b62000590826200030b565b67ffffffffffffffff811115620005ac57620005ab62000316565b5b620005b8825462000374565b620005c5828285620004ea565b600060209050601f831160018114620005fd5760008415620005e8578287015190505b620005f4858262000567565b86555062000664565b601f1984166200060d86620003a9565b60005b82811015620006375784890151825560018201915060208501945060208101905062000610565b8683101562000657578489015162000653601f89168262000547565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620006fa57808604811115620006d257620006d16200066c565b5b6001851615620006e25780820291505b8081029050620006f2856200069b565b9450620006b2565b94509492505050565b600082620007155760019050620007e8565b81620007255760009050620007e8565b81600181146200073e576002811462000749576200077f565b6001915050620007e8565b60ff8411156200075e576200075d6200066c565b5b8360020a9150848211156200077857620007776200066c565b5b50620007e8565b5060208310610133831016604e8410600b8410161715620007b95782820a905083811115620007b357620007b26200066c565b5b620007e8565b620007c88484846001620006a8565b92509050818404811115620007e257620007e16200066c565b5b81810290505b9392505050565b600060ff82169050919050565b6000620008098262000431565b91506200081683620007ef565b9250620008457fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000703565b905092915050565b60006200085a8262000431565b9150620008678362000431565b9250828202620008778162000431565b915082820484148315176200089157620008906200066c565b5b5092915050565b60805160a0516137f3620008c5600039600061096f0152600081816113050152611d4101526137f36000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806381456f48116100f9578063c87b56dd11610097578063e0df5b6f11610071578063e0df5b6f1461051b578063e985e9c514610537578063f2fde38b14610567578063ff57527f14610583576101c4565b8063c87b56dd1461049d578063d547cfb7146104cd578063dd62ed3e146104eb576101c4565b80639b19251a116100d35780639b19251a14610405578063a22cb46514610435578063a9059cbb14610451578063b88d4fde14610481576101c4565b806381456f48146103ab5780638da5cb5b146103c957806395d89b41146103e7576101c4565b8063313ce56711610166578063504334c211610140578063504334c21461031357806353d6fd591461032f5780636352211e1461034b57806370a082311461037b576101c4565b8063313ce567146102bb57806342842e0e146102d95780634f02c420146102f5576101c4565b806318160ddd116101a257806318160ddd1461024757806323b872dd146102655780632b968958146102815780632fa55ac01461028b576101c4565b806306fdde03146101c9578063081812fc146101e7578063095ea7b314610217575b600080fd5b6101d16105b3565b6040516101de9190612a15565b60405180910390f35b61020160048036038101906101fc9190612a81565b610641565b60405161020e9190612aef565b60405180910390f35b610231600480360381019061022c9190612b36565b610674565b60405161023e9190612b91565b60405180910390f35b61024f61096d565b60405161025c9190612bbb565b60405180910390f35b61027f600480360381019061027a9190612bd6565b610991565b005b6102896111c8565b005b6102a560048036038101906102a09190612a81565b6112eb565b6040516102b29190612bbb565b60405180910390f35b6102c3611303565b6040516102d09190612c45565b60405180910390f35b6102f360048036038101906102ee9190612bd6565b611327565b005b6102fd61145a565b60405161030a9190612bbb565b60405180910390f35b61032d60048036038101906103289190612d95565b611460565b005b61034960048036038101906103449190612e39565b6114f3565b005b61036560048036038101906103609190612a81565b6115d3565b6040516103729190612aef565b60405180910390f35b61039560048036038101906103909190612e79565b611676565b6040516103a29190612bbb565b60405180910390f35b6103b361168e565b6040516103c09190612bbb565b60405180910390f35b6103d1611694565b6040516103de9190612aef565b60405180910390f35b6103ef6116b8565b6040516103fc9190612a15565b60405180910390f35b61041f600480360381019061041a9190612e79565b611746565b60405161042c9190612b91565b60405180910390f35b61044f600480360381019061044a9190612e39565b611766565b005b61046b60048036038101906104669190612b36565b611863565b6040516104789190612b91565b60405180910390f35b61049b60048036038101906104969190612f06565b611878565b005b6104b760048036038101906104b29190612a81565b6119b1565b6040516104c49190612a15565b60405180910390f35b6104d5611a23565b6040516104e29190612a15565b60405180910390f35b61050560048036038101906105009190612f8e565b611ab1565b6040516105129190612bbb565b60405180910390f35b61053560048036038101906105309190612fce565b611ad6565b005b610551600480360381019061054c9190612f8e565b611b6e565b60405161055e9190612b91565b60405180910390f35b610581600480360381019061057c9190612e79565b611b9d565b005b61059d60048036038101906105989190612a81565b611d25565b6040516105aa9190612bbb565b60405180910390f35b600180546105c090613046565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec90613046565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b505050505081565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060035482111580156106885750600082115b1561087c5760006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156107885750600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156107bf576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836006600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161086e9190612bbb565b60405180910390a350610963565b81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161095a9190612bbb565b60405180910390a35b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6003548111611080576008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610a32576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610b5b5750600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610bc657506006600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610bfd576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c05611d3d565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c5391906130a6565b92505081905550610c62611d3d565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610dc691906130a6565b81548110610dd757610dd66130da565b5b9060005260206000200154905080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600a60008581526020019081526020016000205481548110610e4957610e486130da565b5b9060005260206000200181905550600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480610ea657610ea5613109565b5b60019003818190600052602060002001600090559055600a600083815260200190815260200160002054600a600083815260200190815260200160002081905550600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610f9c91906130a6565b600a600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487611065611d3d565b6040516110729190612bbb565b60405180910390a3506111c3565b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111b557818161113491906130a6565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6111c0848484611d71565b50505b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b600c6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b611332838383610991565b60008273ffffffffffffffffffffffffffffffffffffffff163b1415801561141e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016113b99392919061316f565b6020604051808303816000875af11580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc9190613211565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611455576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60035481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114ef82826120dc565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611578576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611671576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60046020528060005260406000206000915090505481565b600e5481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600280546116c590613046565b80601f01602080910402602001604051908101604052809291908181526020018280546116f190613046565b801561173e5780601f106117135761010080835404028352916020019161173e565b820191906000526020600020905b81548152906001019060200180831161172157829003601f168201915b505050505081565b600b6020528060005260406000206000915054906101000a900460ff1681565b80600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118579190612b91565b60405180910390a35050565b6000611870338484611d71565b905092915050565b611883858585610991565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611973575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b815260040161190e95949392919061326b565b6020604051808303816000875af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190613211565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156119aa576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b606060006119bd612100565b905060008151116119dd5760405180602001604052806000815250611a1b565b806119fa600c600086815260200190815260200160002054612192565b604051602001611a0b9291906132f5565b6040516020818303038152906040525b915050919050565b600f8054611a3090613046565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5c90613046565b8015611aa95780601f10611a7e57610100808354040283529160200191611aa9565b820191906000526020600020905b815481529060010190602001808311611a8c57829003601f168201915b505050505081565b6005602052816000526040600020602052806000526040600020600091509150505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b5b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f9081611b6a91906134c5565b5050565b60076020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c22576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c88576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600d6020528060005260406000206000915090505481565b60007f0000000000000000000000000000000000000000000000000000000000000000600a611d6c91906136ca565b905090565b600080611d7c611d3d565b90506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5591906130a6565b9250508190555084600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f8957600083600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f479190613744565b8484611f539190613744565b611f5d91906130a6565b905060005b81811015611f8657611f7389612260565b8080611f7e90613775565b915050611f62565b50505b600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166120695760008382611fe89190613744565b84600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120339190613744565b61203d91906130a6565b905060005b818110156120665761205388612518565b808061205e90613775565b915050612042565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516120c69190612bbb565b60405180910390a3600193505050509392505050565b81600190816120eb91906134c5565b5080600290816120fb91906134c5565b505050565b6060600f805461210f90613046565b80601f016020809104026020016040519081016040528092919081815260200182805461213b90613046565b80156121885780601f1061215d57610100808354040283529160200191612188565b820191906000526020600020905b81548152906001019060200180831161216b57829003601f168201915b5050505050905090565b6060600060016121a184612832565b01905060008167ffffffffffffffff8111156121c0576121bf612c6a565b5b6040519080825280601f01601f1916602001820160405280156121f25781602001600182028036833780820191505090505b509050600082602001820190505b600115612255578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161224957612248613715565b5b04945060008503612200575b819350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122c6576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061235691906130a6565b81548110612367576123666130da565b5b90600052602060002001549050600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806123c3576123c2613109565b5b60019003818190600052602060002001600090559055600a6000828152602001908152602001600020600090556008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600c6000838152602001908152602001600020549050600d600080815260200190815260200160002054600d60008381526020019081526020016000208190555080600d60008081526020019081526020016000208190555081600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257e576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036000815480929190600101919050555060006003549050600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612630576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061273791906130a6565b600a600083815260200190815260200160002081905550600e548111156127b9576000600d600080815260200190815260200160002054905080600c600084815260200190815260200160002081905550600d600082815260200190815260200160002054600d600080815260200190815260200160002081905550506127d2565b80600c6000838152602001908152602001600020819055505b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612890577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161288657612885613715565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106128cd576d04ee2d6d415b85acef810000000083816128c3576128c2613715565b5b0492506020810190505b662386f26fc1000083106128fc57662386f26fc1000083816128f2576128f1613715565b5b0492506010810190505b6305f5e1008310612925576305f5e100838161291b5761291a613715565b5b0492506008810190505b612710831061294a5761271083816129405761293f613715565b5b0492506004810190505b6064831061296d576064838161296357612962613715565b5b0492506002810190505b600a831061297c576001810190505b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129bf5780820151818401526020810190506129a4565b60008484015250505050565b6000601f19601f8301169050919050565b60006129e782612985565b6129f18185612990565b9350612a018185602086016129a1565b612a0a816129cb565b840191505092915050565b60006020820190508181036000830152612a2f81846129dc565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612a5e81612a4b565b8114612a6957600080fd5b50565b600081359050612a7b81612a55565b92915050565b600060208284031215612a9757612a96612a41565b5b6000612aa584828501612a6c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ad982612aae565b9050919050565b612ae981612ace565b82525050565b6000602082019050612b046000830184612ae0565b92915050565b612b1381612ace565b8114612b1e57600080fd5b50565b600081359050612b3081612b0a565b92915050565b60008060408385031215612b4d57612b4c612a41565b5b6000612b5b85828601612b21565b9250506020612b6c85828601612a6c565b9150509250929050565b60008115159050919050565b612b8b81612b76565b82525050565b6000602082019050612ba66000830184612b82565b92915050565b612bb581612a4b565b82525050565b6000602082019050612bd06000830184612bac565b92915050565b600080600060608486031215612bef57612bee612a41565b5b6000612bfd86828701612b21565b9350506020612c0e86828701612b21565b9250506040612c1f86828701612a6c565b9150509250925092565b600060ff82169050919050565b612c3f81612c29565b82525050565b6000602082019050612c5a6000830184612c36565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ca2826129cb565b810181811067ffffffffffffffff82111715612cc157612cc0612c6a565b5b80604052505050565b6000612cd4612a37565b9050612ce08282612c99565b919050565b600067ffffffffffffffff821115612d0057612cff612c6a565b5b612d09826129cb565b9050602081019050919050565b82818337600083830152505050565b6000612d38612d3384612ce5565b612cca565b905082815260208101848484011115612d5457612d53612c65565b5b612d5f848285612d16565b509392505050565b600082601f830112612d7c57612d7b612c60565b5b8135612d8c848260208601612d25565b91505092915050565b60008060408385031215612dac57612dab612a41565b5b600083013567ffffffffffffffff811115612dca57612dc9612a46565b5b612dd685828601612d67565b925050602083013567ffffffffffffffff811115612df757612df6612a46565b5b612e0385828601612d67565b9150509250929050565b612e1681612b76565b8114612e2157600080fd5b50565b600081359050612e3381612e0d565b92915050565b60008060408385031215612e5057612e4f612a41565b5b6000612e5e85828601612b21565b9250506020612e6f85828601612e24565b9150509250929050565b600060208284031215612e8f57612e8e612a41565b5b6000612e9d84828501612b21565b91505092915050565b600080fd5b600080fd5b60008083601f840112612ec657612ec5612c60565b5b8235905067ffffffffffffffff811115612ee357612ee2612ea6565b5b602083019150836001820283011115612eff57612efe612eab565b5b9250929050565b600080600080600060808688031215612f2257612f21612a41565b5b6000612f3088828901612b21565b9550506020612f4188828901612b21565b9450506040612f5288828901612a6c565b935050606086013567ffffffffffffffff811115612f7357612f72612a46565b5b612f7f88828901612eb0565b92509250509295509295909350565b60008060408385031215612fa557612fa4612a41565b5b6000612fb385828601612b21565b9250506020612fc485828601612b21565b9150509250929050565b600060208284031215612fe457612fe3612a41565b5b600082013567ffffffffffffffff81111561300257613001612a46565b5b61300e84828501612d67565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305e57607f821691505b60208210810361307157613070613017565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130b182612a4b565b91506130bc83612a4b565b92508282039050818111156130d4576130d3613077565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613159600083613138565b915061316482613149565b600082019050919050565b60006080820190506131846000830186612ae0565b6131916020830185612ae0565b61319e6040830184612bac565b81810360608301526131af8161314c565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ee816131b9565b81146131f957600080fd5b50565b60008151905061320b816131e5565b92915050565b60006020828403121561322757613226612a41565b5b6000613235848285016131fc565b91505092915050565b600061324a8385613138565b9350613257838584612d16565b613260836129cb565b840190509392505050565b60006080820190506132806000830188612ae0565b61328d6020830187612ae0565b61329a6040830186612bac565b81810360608301526132ad81848661323e565b90509695505050505050565b600081905092915050565b60006132cf82612985565b6132d981856132b9565b93506132e98185602086016129a1565b80840191505092915050565b600061330182856132c4565b915061330d82846132c4565b91508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261337b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261333e565b613385868361333e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006133c26133bd6133b884612a4b565b61339d565b612a4b565b9050919050565b6000819050919050565b6133dc836133a7565b6133f06133e8826133c9565b84845461334b565b825550505050565b600090565b6134056133f8565b6134108184846133d3565b505050565b5b81811015613434576134296000826133fd565b600181019050613416565b5050565b601f8211156134795761344a81613319565b6134538461332e565b81016020851015613462578190505b61347661346e8561332e565b830182613415565b50505b505050565b600082821c905092915050565b600061349c6000198460080261347e565b1980831691505092915050565b60006134b5838361348b565b9150826002028217905092915050565b6134ce82612985565b67ffffffffffffffff8111156134e7576134e6612c6a565b5b6134f18254613046565b6134fc828285613438565b600060209050601f83116001811461352f576000841561351d578287015190505b61352785826134a9565b86555061358f565b601f19841661353d86613319565b60005b8281101561356557848901518255600182019150602085019450602081019050613540565b86831015613582578489015161357e601f89168261348b565b8355505b6001600288020188555050505b505050505050565b60008160011c9050919050565b6000808291508390505b60018511156135ee578086048111156135ca576135c9613077565b5b60018516156135d95780820291505b80810290506135e785613597565b94506135ae565b94509492505050565b60008261360757600190506136c3565b8161361557600090506136c3565b816001811461362b576002811461363557613664565b60019150506136c3565b60ff84111561364757613646613077565b5b8360020a91508482111561365e5761365d613077565b5b506136c3565b5060208310610133831016604e8410600b84101617156136995782820a90508381111561369457613693613077565b5b6136c3565b6136a684848460016135a4565b925090508184048111156136bd576136bc613077565b5b81810290505b9392505050565b60006136d582612a4b565b91506136e083612c29565b925061370d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846135f7565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061374f82612a4b565b915061375a83612a4b565b92508261376a57613769613715565b5b828204905092915050565b600061378082612a4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137b2576137b1613077565b5b60018201905091905056fea26469706673582212208ae62e3149579c63a3fa5cfa044742fc6045b4853f1069661a502a28cd9a58de64736f6c63430008140033000000000000000000000000dc543236a949f46fe0273af812153a316c6b45f1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806381456f48116100f9578063c87b56dd11610097578063e0df5b6f11610071578063e0df5b6f1461051b578063e985e9c514610537578063f2fde38b14610567578063ff57527f14610583576101c4565b8063c87b56dd1461049d578063d547cfb7146104cd578063dd62ed3e146104eb576101c4565b80639b19251a116100d35780639b19251a14610405578063a22cb46514610435578063a9059cbb14610451578063b88d4fde14610481576101c4565b806381456f48146103ab5780638da5cb5b146103c957806395d89b41146103e7576101c4565b8063313ce56711610166578063504334c211610140578063504334c21461031357806353d6fd591461032f5780636352211e1461034b57806370a082311461037b576101c4565b8063313ce567146102bb57806342842e0e146102d95780634f02c420146102f5576101c4565b806318160ddd116101a257806318160ddd1461024757806323b872dd146102655780632b968958146102815780632fa55ac01461028b576101c4565b806306fdde03146101c9578063081812fc146101e7578063095ea7b314610217575b600080fd5b6101d16105b3565b6040516101de9190612a15565b60405180910390f35b61020160048036038101906101fc9190612a81565b610641565b60405161020e9190612aef565b60405180910390f35b610231600480360381019061022c9190612b36565b610674565b60405161023e9190612b91565b60405180910390f35b61024f61096d565b60405161025c9190612bbb565b60405180910390f35b61027f600480360381019061027a9190612bd6565b610991565b005b6102896111c8565b005b6102a560048036038101906102a09190612a81565b6112eb565b6040516102b29190612bbb565b60405180910390f35b6102c3611303565b6040516102d09190612c45565b60405180910390f35b6102f360048036038101906102ee9190612bd6565b611327565b005b6102fd61145a565b60405161030a9190612bbb565b60405180910390f35b61032d60048036038101906103289190612d95565b611460565b005b61034960048036038101906103449190612e39565b6114f3565b005b61036560048036038101906103609190612a81565b6115d3565b6040516103729190612aef565b60405180910390f35b61039560048036038101906103909190612e79565b611676565b6040516103a29190612bbb565b60405180910390f35b6103b361168e565b6040516103c09190612bbb565b60405180910390f35b6103d1611694565b6040516103de9190612aef565b60405180910390f35b6103ef6116b8565b6040516103fc9190612a15565b60405180910390f35b61041f600480360381019061041a9190612e79565b611746565b60405161042c9190612b91565b60405180910390f35b61044f600480360381019061044a9190612e39565b611766565b005b61046b60048036038101906104669190612b36565b611863565b6040516104789190612b91565b60405180910390f35b61049b60048036038101906104969190612f06565b611878565b005b6104b760048036038101906104b29190612a81565b6119b1565b6040516104c49190612a15565b60405180910390f35b6104d5611a23565b6040516104e29190612a15565b60405180910390f35b61050560048036038101906105009190612f8e565b611ab1565b6040516105129190612bbb565b60405180910390f35b61053560048036038101906105309190612fce565b611ad6565b005b610551600480360381019061054c9190612f8e565b611b6e565b60405161055e9190612b91565b60405180910390f35b610581600480360381019061057c9190612e79565b611b9d565b005b61059d60048036038101906105989190612a81565b611d25565b6040516105aa9190612bbb565b60405180910390f35b600180546105c090613046565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec90613046565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b505050505081565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060035482111580156106885750600082115b1561087c5760006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156107885750600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156107bf576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836006600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161086e9190612bbb565b60405180910390a350610963565b81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161095a9190612bbb565b60405180910390a35b6001905092915050565b7f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b6003548111611080576008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610a32576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610b5b5750600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610bc657506006600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610bfd576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c05611d3d565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c5391906130a6565b92505081905550610c62611d3d565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610dc691906130a6565b81548110610dd757610dd66130da565b5b9060005260206000200154905080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600a60008581526020019081526020016000205481548110610e4957610e486130da565b5b9060005260206000200181905550600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480610ea657610ea5613109565b5b60019003818190600052602060002001600090559055600a600083815260200190815260200160002054600a600083815260200190815260200160002081905550600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610f9c91906130a6565b600a600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487611065611d3d565b6040516110729190612bbb565b60405180910390a3506111c3565b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111b557818161113491906130a6565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6111c0848484611d71565b50505b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b600c6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000001281565b611332838383610991565b60008273ffffffffffffffffffffffffffffffffffffffff163b1415801561141e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016113b99392919061316f565b6020604051808303816000875af11580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc9190613211565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611455576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60035481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114ef82826120dc565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611578576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611671576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60046020528060005260406000206000915090505481565b600e5481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600280546116c590613046565b80601f01602080910402602001604051908101604052809291908181526020018280546116f190613046565b801561173e5780601f106117135761010080835404028352916020019161173e565b820191906000526020600020905b81548152906001019060200180831161172157829003601f168201915b505050505081565b600b6020528060005260406000206000915054906101000a900460ff1681565b80600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118579190612b91565b60405180910390a35050565b6000611870338484611d71565b905092915050565b611883858585610991565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611973575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b815260040161190e95949392919061326b565b6020604051808303816000875af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190613211565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156119aa576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b606060006119bd612100565b905060008151116119dd5760405180602001604052806000815250611a1b565b806119fa600c600086815260200190815260200160002054612192565b604051602001611a0b9291906132f5565b6040516020818303038152906040525b915050919050565b600f8054611a3090613046565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5c90613046565b8015611aa95780601f10611a7e57610100808354040283529160200191611aa9565b820191906000526020600020905b815481529060010190602001808311611a8c57829003601f168201915b505050505081565b6005602052816000526040600020602052806000526040600020600091509150505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b5b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f9081611b6a91906134c5565b5050565b60076020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c22576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c88576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600d6020528060005260406000206000915090505481565b60007f0000000000000000000000000000000000000000000000000000000000000012600a611d6c91906136ca565b905090565b600080611d7c611d3d565b90506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5591906130a6565b9250508190555084600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f8957600083600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f479190613744565b8484611f539190613744565b611f5d91906130a6565b905060005b81811015611f8657611f7389612260565b8080611f7e90613775565b915050611f62565b50505b600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166120695760008382611fe89190613744565b84600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120339190613744565b61203d91906130a6565b905060005b818110156120665761205388612518565b808061205e90613775565b915050612042565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516120c69190612bbb565b60405180910390a3600193505050509392505050565b81600190816120eb91906134c5565b5080600290816120fb91906134c5565b505050565b6060600f805461210f90613046565b80601f016020809104026020016040519081016040528092919081815260200182805461213b90613046565b80156121885780601f1061215d57610100808354040283529160200191612188565b820191906000526020600020905b81548152906001019060200180831161216b57829003601f168201915b5050505050905090565b6060600060016121a184612832565b01905060008167ffffffffffffffff8111156121c0576121bf612c6a565b5b6040519080825280601f01601f1916602001820160405280156121f25781602001600182028036833780820191505090505b509050600082602001820190505b600115612255578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161224957612248613715565b5b04945060008503612200575b819350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122c6576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061235691906130a6565b81548110612367576123666130da565b5b90600052602060002001549050600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806123c3576123c2613109565b5b60019003818190600052602060002001600090559055600a6000828152602001908152602001600020600090556008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600c6000838152602001908152602001600020549050600d600080815260200190815260200160002054600d60008381526020019081526020016000208190555080600d60008081526020019081526020016000208190555081600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257e576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036000815480929190600101919050555060006003549050600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612630576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061273791906130a6565b600a600083815260200190815260200160002081905550600e548111156127b9576000600d600080815260200190815260200160002054905080600c600084815260200190815260200160002081905550600d600082815260200190815260200160002054600d600080815260200190815260200160002081905550506127d2565b80600c6000838152602001908152602001600020819055505b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612890577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161288657612885613715565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106128cd576d04ee2d6d415b85acef810000000083816128c3576128c2613715565b5b0492506020810190505b662386f26fc1000083106128fc57662386f26fc1000083816128f2576128f1613715565b5b0492506010810190505b6305f5e1008310612925576305f5e100838161291b5761291a613715565b5b0492506008810190505b612710831061294a5761271083816129405761293f613715565b5b0492506004810190505b6064831061296d576064838161296357612962613715565b5b0492506002810190505b600a831061297c576001810190505b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129bf5780820151818401526020810190506129a4565b60008484015250505050565b6000601f19601f8301169050919050565b60006129e782612985565b6129f18185612990565b9350612a018185602086016129a1565b612a0a816129cb565b840191505092915050565b60006020820190508181036000830152612a2f81846129dc565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612a5e81612a4b565b8114612a6957600080fd5b50565b600081359050612a7b81612a55565b92915050565b600060208284031215612a9757612a96612a41565b5b6000612aa584828501612a6c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ad982612aae565b9050919050565b612ae981612ace565b82525050565b6000602082019050612b046000830184612ae0565b92915050565b612b1381612ace565b8114612b1e57600080fd5b50565b600081359050612b3081612b0a565b92915050565b60008060408385031215612b4d57612b4c612a41565b5b6000612b5b85828601612b21565b9250506020612b6c85828601612a6c565b9150509250929050565b60008115159050919050565b612b8b81612b76565b82525050565b6000602082019050612ba66000830184612b82565b92915050565b612bb581612a4b565b82525050565b6000602082019050612bd06000830184612bac565b92915050565b600080600060608486031215612bef57612bee612a41565b5b6000612bfd86828701612b21565b9350506020612c0e86828701612b21565b9250506040612c1f86828701612a6c565b9150509250925092565b600060ff82169050919050565b612c3f81612c29565b82525050565b6000602082019050612c5a6000830184612c36565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ca2826129cb565b810181811067ffffffffffffffff82111715612cc157612cc0612c6a565b5b80604052505050565b6000612cd4612a37565b9050612ce08282612c99565b919050565b600067ffffffffffffffff821115612d0057612cff612c6a565b5b612d09826129cb565b9050602081019050919050565b82818337600083830152505050565b6000612d38612d3384612ce5565b612cca565b905082815260208101848484011115612d5457612d53612c65565b5b612d5f848285612d16565b509392505050565b600082601f830112612d7c57612d7b612c60565b5b8135612d8c848260208601612d25565b91505092915050565b60008060408385031215612dac57612dab612a41565b5b600083013567ffffffffffffffff811115612dca57612dc9612a46565b5b612dd685828601612d67565b925050602083013567ffffffffffffffff811115612df757612df6612a46565b5b612e0385828601612d67565b9150509250929050565b612e1681612b76565b8114612e2157600080fd5b50565b600081359050612e3381612e0d565b92915050565b60008060408385031215612e5057612e4f612a41565b5b6000612e5e85828601612b21565b9250506020612e6f85828601612e24565b9150509250929050565b600060208284031215612e8f57612e8e612a41565b5b6000612e9d84828501612b21565b91505092915050565b600080fd5b600080fd5b60008083601f840112612ec657612ec5612c60565b5b8235905067ffffffffffffffff811115612ee357612ee2612ea6565b5b602083019150836001820283011115612eff57612efe612eab565b5b9250929050565b600080600080600060808688031215612f2257612f21612a41565b5b6000612f3088828901612b21565b9550506020612f4188828901612b21565b9450506040612f5288828901612a6c565b935050606086013567ffffffffffffffff811115612f7357612f72612a46565b5b612f7f88828901612eb0565b92509250509295509295909350565b60008060408385031215612fa557612fa4612a41565b5b6000612fb385828601612b21565b9250506020612fc485828601612b21565b9150509250929050565b600060208284031215612fe457612fe3612a41565b5b600082013567ffffffffffffffff81111561300257613001612a46565b5b61300e84828501612d67565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305e57607f821691505b60208210810361307157613070613017565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130b182612a4b565b91506130bc83612a4b565b92508282039050818111156130d4576130d3613077565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613159600083613138565b915061316482613149565b600082019050919050565b60006080820190506131846000830186612ae0565b6131916020830185612ae0565b61319e6040830184612bac565b81810360608301526131af8161314c565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ee816131b9565b81146131f957600080fd5b50565b60008151905061320b816131e5565b92915050565b60006020828403121561322757613226612a41565b5b6000613235848285016131fc565b91505092915050565b600061324a8385613138565b9350613257838584612d16565b613260836129cb565b840190509392505050565b60006080820190506132806000830188612ae0565b61328d6020830187612ae0565b61329a6040830186612bac565b81810360608301526132ad81848661323e565b90509695505050505050565b600081905092915050565b60006132cf82612985565b6132d981856132b9565b93506132e98185602086016129a1565b80840191505092915050565b600061330182856132c4565b915061330d82846132c4565b91508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261337b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261333e565b613385868361333e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006133c26133bd6133b884612a4b565b61339d565b612a4b565b9050919050565b6000819050919050565b6133dc836133a7565b6133f06133e8826133c9565b84845461334b565b825550505050565b600090565b6134056133f8565b6134108184846133d3565b505050565b5b81811015613434576134296000826133fd565b600181019050613416565b5050565b601f8211156134795761344a81613319565b6134538461332e565b81016020851015613462578190505b61347661346e8561332e565b830182613415565b50505b505050565b600082821c905092915050565b600061349c6000198460080261347e565b1980831691505092915050565b60006134b5838361348b565b9150826002028217905092915050565b6134ce82612985565b67ffffffffffffffff8111156134e7576134e6612c6a565b5b6134f18254613046565b6134fc828285613438565b600060209050601f83116001811461352f576000841561351d578287015190505b61352785826134a9565b86555061358f565b601f19841661353d86613319565b60005b8281101561356557848901518255600182019150602085019450602081019050613540565b86831015613582578489015161357e601f89168261348b565b8355505b6001600288020188555050505b505050505050565b60008160011c9050919050565b6000808291508390505b60018511156135ee578086048111156135ca576135c9613077565b5b60018516156135d95780820291505b80810290506135e785613597565b94506135ae565b94509492505050565b60008261360757600190506136c3565b8161361557600090506136c3565b816001811461362b576002811461363557613664565b60019150506136c3565b60ff84111561364757613646613077565b5b8360020a91508482111561365e5761365d613077565b5b506136c3565b5060208310610133831016604e8410600b84101617156136995782820a90508381111561369457613693613077565b5b6136c3565b6136a684848460016135a4565b925090508184048111156136bd576136bc613077565b5b81810290505b9392505050565b60006136d582612a4b565b91506136e083612c29565b925061370d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846135f7565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061374f82612a4b565b915061375a83612a4b565b92508261376a57613769613715565b5b828204905092915050565b600061378082612a4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137b2576137b1613077565b5b60018201905091905056fea26469706673582212208ae62e3149579c63a3fa5cfa044742fc6045b4853f1069661a502a28cd9a58de64736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000dc543236a949f46fe0273af812153a316c6b45f1

-----Decoded View---------------
Arg [0] : _owner (address): 0xDC543236A949f46FE0273AF812153A316c6B45f1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000dc543236a949f46fe0273af812153a316c6b45f1


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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