Overview
APE Balance
138 APE
APE Value
$208.87 (@ $1.51/APE)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 18 from a total of 18 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint Twisted | 6640977 | 3 days ago | IN | 69 APE | 0.00200281 | ||||
Mint Twisted | 6636738 | 4 days ago | IN | 69 APE | 0.00200281 | ||||
Set Base URI | 6635713 | 4 days ago | IN | 0 APE | 0.00234688 | ||||
Set Price | 6635433 | 4 days ago | IN | 0 APE | 0.00116993 | ||||
Mint Twisted | 6635399 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635387 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635317 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635313 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635307 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635304 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635301 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635294 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635281 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635276 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635266 | 4 days ago | IN | 0 APE | 0.00738295 | ||||
Mint Twisted | 6635257 | 4 days ago | IN | 0 APE | 0.00825234 | ||||
Set Price | 6635249 | 4 days ago | IN | 0 APE | 0.00061108 | ||||
Start Sale | 6635218 | 4 days ago | IN | 0 APE | 0.00115918 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TwistedApe
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-12-13 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol) pragma solidity ^0.8.20; /** * @dev Helper library for emitting standardized panic codes. * * ```solidity * contract Example { * using Panic for uint256; * * // Use any of the declared internal constants * function foo() { Panic.GENERIC.panic(); } * * // Alternatively * function foo() { Panic.panic(Panic.GENERIC); } * } * ``` * * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil]. * * _Available since v5.1._ */ // slither-disable-next-line unused-state library Panic { /// @dev generic / unspecified error uint256 internal constant GENERIC = 0x00; /// @dev used by the assert() builtin uint256 internal constant ASSERT = 0x01; /// @dev arithmetic underflow or overflow uint256 internal constant UNDER_OVERFLOW = 0x11; /// @dev division or modulo by zero uint256 internal constant DIVISION_BY_ZERO = 0x12; /// @dev enum conversion error uint256 internal constant ENUM_CONVERSION_ERROR = 0x21; /// @dev invalid encoding in storage uint256 internal constant STORAGE_ENCODING_ERROR = 0x22; /// @dev empty array pop uint256 internal constant EMPTY_ARRAY_POP = 0x31; /// @dev array out of bounds access uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32; /// @dev resource error (too large allocation or too large array) uint256 internal constant RESOURCE_ERROR = 0x41; /// @dev calling invalid internal function uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51; /// @dev Reverts with a panic code. Recommended to use with /// the internal constants with predefined codes. function panic(uint256 code) internal pure { assembly ("memory-safe") { mstore(0x00, 0x4e487b71) mstore(0x20, code) revert(0x1c, 0x24) } } } // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. pragma solidity ^0.8.20; /** * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeCast { /** * @dev Value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value); /** * @dev An int value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedIntToUint(int256 value); /** * @dev Value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedIntDowncast(uint8 bits, int256 value); /** * @dev An uint value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedUintToInt(uint256 value); /** * @dev Returns the downcasted uint248 from uint256, reverting on * overflow (when the input is greater than largest uint248). * * Counterpart to Solidity's `uint248` operator. * * Requirements: * * - input must fit into 248 bits */ function toUint248(uint256 value) internal pure returns (uint248) { if (value > type(uint248).max) { revert SafeCastOverflowedUintDowncast(248, value); } return uint248(value); } /** * @dev Returns the downcasted uint240 from uint256, reverting on * overflow (when the input is greater than largest uint240). * * Counterpart to Solidity's `uint240` operator. * * Requirements: * * - input must fit into 240 bits */ function toUint240(uint256 value) internal pure returns (uint240) { if (value > type(uint240).max) { revert SafeCastOverflowedUintDowncast(240, value); } return uint240(value); } /** * @dev Returns the downcasted uint232 from uint256, reverting on * overflow (when the input is greater than largest uint232). * * Counterpart to Solidity's `uint232` operator. * * Requirements: * * - input must fit into 232 bits */ function toUint232(uint256 value) internal pure returns (uint232) { if (value > type(uint232).max) { revert SafeCastOverflowedUintDowncast(232, value); } return uint232(value); } /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { if (value > type(uint224).max) { revert SafeCastOverflowedUintDowncast(224, value); } return uint224(value); } /** * @dev Returns the downcasted uint216 from uint256, reverting on * overflow (when the input is greater than largest uint216). * * Counterpart to Solidity's `uint216` operator. * * Requirements: * * - input must fit into 216 bits */ function toUint216(uint256 value) internal pure returns (uint216) { if (value > type(uint216).max) { revert SafeCastOverflowedUintDowncast(216, value); } return uint216(value); } /** * @dev Returns the downcasted uint208 from uint256, reverting on * overflow (when the input is greater than largest uint208). * * Counterpart to Solidity's `uint208` operator. * * Requirements: * * - input must fit into 208 bits */ function toUint208(uint256 value) internal pure returns (uint208) { if (value > type(uint208).max) { revert SafeCastOverflowedUintDowncast(208, value); } return uint208(value); } /** * @dev Returns the downcasted uint200 from uint256, reverting on * overflow (when the input is greater than largest uint200). * * Counterpart to Solidity's `uint200` operator. * * Requirements: * * - input must fit into 200 bits */ function toUint200(uint256 value) internal pure returns (uint200) { if (value > type(uint200).max) { revert SafeCastOverflowedUintDowncast(200, value); } return uint200(value); } /** * @dev Returns the downcasted uint192 from uint256, reverting on * overflow (when the input is greater than largest uint192). * * Counterpart to Solidity's `uint192` operator. * * Requirements: * * - input must fit into 192 bits */ function toUint192(uint256 value) internal pure returns (uint192) { if (value > type(uint192).max) { revert SafeCastOverflowedUintDowncast(192, value); } return uint192(value); } /** * @dev Returns the downcasted uint184 from uint256, reverting on * overflow (when the input is greater than largest uint184). * * Counterpart to Solidity's `uint184` operator. * * Requirements: * * - input must fit into 184 bits */ function toUint184(uint256 value) internal pure returns (uint184) { if (value > type(uint184).max) { revert SafeCastOverflowedUintDowncast(184, value); } return uint184(value); } /** * @dev Returns the downcasted uint176 from uint256, reverting on * overflow (when the input is greater than largest uint176). * * Counterpart to Solidity's `uint176` operator. * * Requirements: * * - input must fit into 176 bits */ function toUint176(uint256 value) internal pure returns (uint176) { if (value > type(uint176).max) { revert SafeCastOverflowedUintDowncast(176, value); } return uint176(value); } /** * @dev Returns the downcasted uint168 from uint256, reverting on * overflow (when the input is greater than largest uint168). * * Counterpart to Solidity's `uint168` operator. * * Requirements: * * - input must fit into 168 bits */ function toUint168(uint256 value) internal pure returns (uint168) { if (value > type(uint168).max) { revert SafeCastOverflowedUintDowncast(168, value); } return uint168(value); } /** * @dev Returns the downcasted uint160 from uint256, reverting on * overflow (when the input is greater than largest uint160). * * Counterpart to Solidity's `uint160` operator. * * Requirements: * * - input must fit into 160 bits */ function toUint160(uint256 value) internal pure returns (uint160) { if (value > type(uint160).max) { revert SafeCastOverflowedUintDowncast(160, value); } return uint160(value); } /** * @dev Returns the downcasted uint152 from uint256, reverting on * overflow (when the input is greater than largest uint152). * * Counterpart to Solidity's `uint152` operator. * * Requirements: * * - input must fit into 152 bits */ function toUint152(uint256 value) internal pure returns (uint152) { if (value > type(uint152).max) { revert SafeCastOverflowedUintDowncast(152, value); } return uint152(value); } /** * @dev Returns the downcasted uint144 from uint256, reverting on * overflow (when the input is greater than largest uint144). * * Counterpart to Solidity's `uint144` operator. * * Requirements: * * - input must fit into 144 bits */ function toUint144(uint256 value) internal pure returns (uint144) { if (value > type(uint144).max) { revert SafeCastOverflowedUintDowncast(144, value); } return uint144(value); } /** * @dev Returns the downcasted uint136 from uint256, reverting on * overflow (when the input is greater than largest uint136). * * Counterpart to Solidity's `uint136` operator. * * Requirements: * * - input must fit into 136 bits */ function toUint136(uint256 value) internal pure returns (uint136) { if (value > type(uint136).max) { revert SafeCastOverflowedUintDowncast(136, value); } return uint136(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { if (value > type(uint128).max) { revert SafeCastOverflowedUintDowncast(128, value); } return uint128(value); } /** * @dev Returns the downcasted uint120 from uint256, reverting on * overflow (when the input is greater than largest uint120). * * Counterpart to Solidity's `uint120` operator. * * Requirements: * * - input must fit into 120 bits */ function toUint120(uint256 value) internal pure returns (uint120) { if (value > type(uint120).max) { revert SafeCastOverflowedUintDowncast(120, value); } return uint120(value); } /** * @dev Returns the downcasted uint112 from uint256, reverting on * overflow (when the input is greater than largest uint112). * * Counterpart to Solidity's `uint112` operator. * * Requirements: * * - input must fit into 112 bits */ function toUint112(uint256 value) internal pure returns (uint112) { if (value > type(uint112).max) { revert SafeCastOverflowedUintDowncast(112, value); } return uint112(value); } /** * @dev Returns the downcasted uint104 from uint256, reverting on * overflow (when the input is greater than largest uint104). * * Counterpart to Solidity's `uint104` operator. * * Requirements: * * - input must fit into 104 bits */ function toUint104(uint256 value) internal pure returns (uint104) { if (value > type(uint104).max) { revert SafeCastOverflowedUintDowncast(104, value); } return uint104(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { if (value > type(uint96).max) { revert SafeCastOverflowedUintDowncast(96, value); } return uint96(value); } /** * @dev Returns the downcasted uint88 from uint256, reverting on * overflow (when the input is greater than largest uint88). * * Counterpart to Solidity's `uint88` operator. * * Requirements: * * - input must fit into 88 bits */ function toUint88(uint256 value) internal pure returns (uint88) { if (value > type(uint88).max) { revert SafeCastOverflowedUintDowncast(88, value); } return uint88(value); } /** * @dev Returns the downcasted uint80 from uint256, reverting on * overflow (when the input is greater than largest uint80). * * Counterpart to Solidity's `uint80` operator. * * Requirements: * * - input must fit into 80 bits */ function toUint80(uint256 value) internal pure returns (uint80) { if (value > type(uint80).max) { revert SafeCastOverflowedUintDowncast(80, value); } return uint80(value); } /** * @dev Returns the downcasted uint72 from uint256, reverting on * overflow (when the input is greater than largest uint72). * * Counterpart to Solidity's `uint72` operator. * * Requirements: * * - input must fit into 72 bits */ function toUint72(uint256 value) internal pure returns (uint72) { if (value > type(uint72).max) { revert SafeCastOverflowedUintDowncast(72, value); } return uint72(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { if (value > type(uint64).max) { revert SafeCastOverflowedUintDowncast(64, value); } return uint64(value); } /** * @dev Returns the downcasted uint56 from uint256, reverting on * overflow (when the input is greater than largest uint56). * * Counterpart to Solidity's `uint56` operator. * * Requirements: * * - input must fit into 56 bits */ function toUint56(uint256 value) internal pure returns (uint56) { if (value > type(uint56).max) { revert SafeCastOverflowedUintDowncast(56, value); } return uint56(value); } /** * @dev Returns the downcasted uint48 from uint256, reverting on * overflow (when the input is greater than largest uint48). * * Counterpart to Solidity's `uint48` operator. * * Requirements: * * - input must fit into 48 bits */ function toUint48(uint256 value) internal pure returns (uint48) { if (value > type(uint48).max) { revert SafeCastOverflowedUintDowncast(48, value); } return uint48(value); } /** * @dev Returns the downcasted uint40 from uint256, reverting on * overflow (when the input is greater than largest uint40). * * Counterpart to Solidity's `uint40` operator. * * Requirements: * * - input must fit into 40 bits */ function toUint40(uint256 value) internal pure returns (uint40) { if (value > type(uint40).max) { revert SafeCastOverflowedUintDowncast(40, value); } return uint40(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { if (value > type(uint32).max) { revert SafeCastOverflowedUintDowncast(32, value); } return uint32(value); } /** * @dev Returns the downcasted uint24 from uint256, reverting on * overflow (when the input is greater than largest uint24). * * Counterpart to Solidity's `uint24` operator. * * Requirements: * * - input must fit into 24 bits */ function toUint24(uint256 value) internal pure returns (uint24) { if (value > type(uint24).max) { revert SafeCastOverflowedUintDowncast(24, value); } return uint24(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { if (value > type(uint16).max) { revert SafeCastOverflowedUintDowncast(16, value); } return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits */ function toUint8(uint256 value) internal pure returns (uint8) { if (value > type(uint8).max) { revert SafeCastOverflowedUintDowncast(8, value); } return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { if (value < 0) { revert SafeCastOverflowedIntToUint(value); } return uint256(value); } /** * @dev Returns the downcasted int248 from int256, reverting on * overflow (when the input is less than smallest int248 or * greater than largest int248). * * Counterpart to Solidity's `int248` operator. * * Requirements: * * - input must fit into 248 bits */ function toInt248(int256 value) internal pure returns (int248 downcasted) { downcasted = int248(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(248, value); } } /** * @dev Returns the downcasted int240 from int256, reverting on * overflow (when the input is less than smallest int240 or * greater than largest int240). * * Counterpart to Solidity's `int240` operator. * * Requirements: * * - input must fit into 240 bits */ function toInt240(int256 value) internal pure returns (int240 downcasted) { downcasted = int240(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(240, value); } } /** * @dev Returns the downcasted int232 from int256, reverting on * overflow (when the input is less than smallest int232 or * greater than largest int232). * * Counterpart to Solidity's `int232` operator. * * Requirements: * * - input must fit into 232 bits */ function toInt232(int256 value) internal pure returns (int232 downcasted) { downcasted = int232(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(232, value); } } /** * @dev Returns the downcasted int224 from int256, reverting on * overflow (when the input is less than smallest int224 or * greater than largest int224). * * Counterpart to Solidity's `int224` operator. * * Requirements: * * - input must fit into 224 bits */ function toInt224(int256 value) internal pure returns (int224 downcasted) { downcasted = int224(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(224, value); } } /** * @dev Returns the downcasted int216 from int256, reverting on * overflow (when the input is less than smallest int216 or * greater than largest int216). * * Counterpart to Solidity's `int216` operator. * * Requirements: * * - input must fit into 216 bits */ function toInt216(int256 value) internal pure returns (int216 downcasted) { downcasted = int216(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(216, value); } } /** * @dev Returns the downcasted int208 from int256, reverting on * overflow (when the input is less than smallest int208 or * greater than largest int208). * * Counterpart to Solidity's `int208` operator. * * Requirements: * * - input must fit into 208 bits */ function toInt208(int256 value) internal pure returns (int208 downcasted) { downcasted = int208(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(208, value); } } /** * @dev Returns the downcasted int200 from int256, reverting on * overflow (when the input is less than smallest int200 or * greater than largest int200). * * Counterpart to Solidity's `int200` operator. * * Requirements: * * - input must fit into 200 bits */ function toInt200(int256 value) internal pure returns (int200 downcasted) { downcasted = int200(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(200, value); } } /** * @dev Returns the downcasted int192 from int256, reverting on * overflow (when the input is less than smallest int192 or * greater than largest int192). * * Counterpart to Solidity's `int192` operator. * * Requirements: * * - input must fit into 192 bits */ function toInt192(int256 value) internal pure returns (int192 downcasted) { downcasted = int192(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(192, value); } } /** * @dev Returns the downcasted int184 from int256, reverting on * overflow (when the input is less than smallest int184 or * greater than largest int184). * * Counterpart to Solidity's `int184` operator. * * Requirements: * * - input must fit into 184 bits */ function toInt184(int256 value) internal pure returns (int184 downcasted) { downcasted = int184(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(184, value); } } /** * @dev Returns the downcasted int176 from int256, reverting on * overflow (when the input is less than smallest int176 or * greater than largest int176). * * Counterpart to Solidity's `int176` operator. * * Requirements: * * - input must fit into 176 bits */ function toInt176(int256 value) internal pure returns (int176 downcasted) { downcasted = int176(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(176, value); } } /** * @dev Returns the downcasted int168 from int256, reverting on * overflow (when the input is less than smallest int168 or * greater than largest int168). * * Counterpart to Solidity's `int168` operator. * * Requirements: * * - input must fit into 168 bits */ function toInt168(int256 value) internal pure returns (int168 downcasted) { downcasted = int168(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(168, value); } } /** * @dev Returns the downcasted int160 from int256, reverting on * overflow (when the input is less than smallest int160 or * greater than largest int160). * * Counterpart to Solidity's `int160` operator. * * Requirements: * * - input must fit into 160 bits */ function toInt160(int256 value) internal pure returns (int160 downcasted) { downcasted = int160(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(160, value); } } /** * @dev Returns the downcasted int152 from int256, reverting on * overflow (when the input is less than smallest int152 or * greater than largest int152). * * Counterpart to Solidity's `int152` operator. * * Requirements: * * - input must fit into 152 bits */ function toInt152(int256 value) internal pure returns (int152 downcasted) { downcasted = int152(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(152, value); } } /** * @dev Returns the downcasted int144 from int256, reverting on * overflow (when the input is less than smallest int144 or * greater than largest int144). * * Counterpart to Solidity's `int144` operator. * * Requirements: * * - input must fit into 144 bits */ function toInt144(int256 value) internal pure returns (int144 downcasted) { downcasted = int144(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(144, value); } } /** * @dev Returns the downcasted int136 from int256, reverting on * overflow (when the input is less than smallest int136 or * greater than largest int136). * * Counterpart to Solidity's `int136` operator. * * Requirements: * * - input must fit into 136 bits */ function toInt136(int256 value) internal pure returns (int136 downcasted) { downcasted = int136(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(136, value); } } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits */ function toInt128(int256 value) internal pure returns (int128 downcasted) { downcasted = int128(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(128, value); } } /** * @dev Returns the downcasted int120 from int256, reverting on * overflow (when the input is less than smallest int120 or * greater than largest int120). * * Counterpart to Solidity's `int120` operator. * * Requirements: * * - input must fit into 120 bits */ function toInt120(int256 value) internal pure returns (int120 downcasted) { downcasted = int120(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(120, value); } } /** * @dev Returns the downcasted int112 from int256, reverting on * overflow (when the input is less than smallest int112 or * greater than largest int112). * * Counterpart to Solidity's `int112` operator. * * Requirements: * * - input must fit into 112 bits */ function toInt112(int256 value) internal pure returns (int112 downcasted) { downcasted = int112(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(112, value); } } /** * @dev Returns the downcasted int104 from int256, reverting on * overflow (when the input is less than smallest int104 or * greater than largest int104). * * Counterpart to Solidity's `int104` operator. * * Requirements: * * - input must fit into 104 bits */ function toInt104(int256 value) internal pure returns (int104 downcasted) { downcasted = int104(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(104, value); } } /** * @dev Returns the downcasted int96 from int256, reverting on * overflow (when the input is less than smallest int96 or * greater than largest int96). * * Counterpart to Solidity's `int96` operator. * * Requirements: * * - input must fit into 96 bits */ function toInt96(int256 value) internal pure returns (int96 downcasted) { downcasted = int96(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(96, value); } } /** * @dev Returns the downcasted int88 from int256, reverting on * overflow (when the input is less than smallest int88 or * greater than largest int88). * * Counterpart to Solidity's `int88` operator. * * Requirements: * * - input must fit into 88 bits */ function toInt88(int256 value) internal pure returns (int88 downcasted) { downcasted = int88(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(88, value); } } /** * @dev Returns the downcasted int80 from int256, reverting on * overflow (when the input is less than smallest int80 or * greater than largest int80). * * Counterpart to Solidity's `int80` operator. * * Requirements: * * - input must fit into 80 bits */ function toInt80(int256 value) internal pure returns (int80 downcasted) { downcasted = int80(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(80, value); } } /** * @dev Returns the downcasted int72 from int256, reverting on * overflow (when the input is less than smallest int72 or * greater than largest int72). * * Counterpart to Solidity's `int72` operator. * * Requirements: * * - input must fit into 72 bits */ function toInt72(int256 value) internal pure returns (int72 downcasted) { downcasted = int72(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(72, value); } } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits */ function toInt64(int256 value) internal pure returns (int64 downcasted) { downcasted = int64(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(64, value); } } /** * @dev Returns the downcasted int56 from int256, reverting on * overflow (when the input is less than smallest int56 or * greater than largest int56). * * Counterpart to Solidity's `int56` operator. * * Requirements: * * - input must fit into 56 bits */ function toInt56(int256 value) internal pure returns (int56 downcasted) { downcasted = int56(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(56, value); } } /** * @dev Returns the downcasted int48 from int256, reverting on * overflow (when the input is less than smallest int48 or * greater than largest int48). * * Counterpart to Solidity's `int48` operator. * * Requirements: * * - input must fit into 48 bits */ function toInt48(int256 value) internal pure returns (int48 downcasted) { downcasted = int48(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(48, value); } } /** * @dev Returns the downcasted int40 from int256, reverting on * overflow (when the input is less than smallest int40 or * greater than largest int40). * * Counterpart to Solidity's `int40` operator. * * Requirements: * * - input must fit into 40 bits */ function toInt40(int256 value) internal pure returns (int40 downcasted) { downcasted = int40(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(40, value); } } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits */ function toInt32(int256 value) internal pure returns (int32 downcasted) { downcasted = int32(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(32, value); } } /** * @dev Returns the downcasted int24 from int256, reverting on * overflow (when the input is less than smallest int24 or * greater than largest int24). * * Counterpart to Solidity's `int24` operator. * * Requirements: * * - input must fit into 24 bits */ function toInt24(int256 value) internal pure returns (int24 downcasted) { downcasted = int24(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(24, value); } } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits */ function toInt16(int256 value) internal pure returns (int16 downcasted) { downcasted = int16(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(16, value); } } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits */ function toInt8(int256 value) internal pure returns (int8 downcasted) { downcasted = int8(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(8, value); } } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive if (value > uint256(type(int256).max)) { revert SafeCastOverflowedUintToInt(value); } return int256(value); } /** * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump. */ function toUint(bool b) internal pure returns (uint256 u) { assembly ("memory-safe") { u := iszero(iszero(b)) } } } // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC-721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC-721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { 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 success flag (no overflow). */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow). */ function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow). */ function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { 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 success flag (no division by zero). */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero). */ function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant. * * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone. * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute * one branch when needed, making this function more expensive. */ function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) { unchecked { // branchless ternary works because: // b ^ (a ^ b) == a // b ^ 0 == b return b ^ ((a ^ b) * SafeCast.toUint(condition)); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(a > b, a, b); } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(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. Panic.panic(Panic.DIVISION_BY_ZERO); } // The following calculation ensures accurate ceiling division without overflow. // Since a is non-zero, (a - 1) / b will not overflow. // The largest possible result occurs when (a - 1) / b is type(uint256).max, // but the largest value we can obtain is type(uint256).max - 1, which happens // when a = type(uint256).max and b = 1. unchecked { return SafeCast.toUint(a > 0) * ((a - 1) / b + 1); } } /** * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * * 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²⁵⁶ and mod 2²⁵⁶ - 1, then use // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2²⁵⁶ + 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²⁵⁶. Also prevents denominator == 0. if (denominator <= prod1) { Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW)); } /////////////////////////////////////////////// // 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²⁵⁶ / 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²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv ≡ 1 mod 2⁴. 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⁸ inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶ inverse *= 2 - denominator * inverse; // inverse mod 2³² inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴ inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸ inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶ // 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²⁵⁶. Since the preconditions guarantee that the outcome is // less than 2²⁵⁶, 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; } } /** * @dev 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) { return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0); } /** * @dev Calculate the modular multiplicative inverse of a number in Z/nZ. * * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0. * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible. * * If the input value is not inversible, 0 is returned. * * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}. */ function invMod(uint256 a, uint256 n) internal pure returns (uint256) { unchecked { if (n == 0) return 0; // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version) // Used to compute integers x and y such that: ax + ny = gcd(a, n). // When the gcd is 1, then the inverse of a modulo n exists and it's x. // ax + ny = 1 // ax = 1 + (-y)n // ax ≡ 1 (mod n) # x is the inverse of a modulo n // If the remainder is 0 the gcd is n right away. uint256 remainder = a % n; uint256 gcd = n; // Therefore the initial coefficients are: // ax + ny = gcd(a, n) = n // 0a + 1n = n int256 x = 0; int256 y = 1; while (remainder != 0) { uint256 quotient = gcd / remainder; (gcd, remainder) = ( // The old remainder is the next gcd to try. remainder, // Compute the next remainder. // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd // where gcd is at most n (capped to type(uint256).max) gcd - remainder * quotient ); (x, y) = ( // Increment the coefficient of a. y, // Decrement the coefficient of n. // Can overflow, but the result is casted to uint256 so that the // next value of y is "wrapped around" to a value between 0 and n - 1. x - y * int256(quotient) ); } if (gcd != 1) return 0; // No inverse exists. return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative. } } /** * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`. * * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that * `a**(p-2)` is the modular multiplicative inverse of a in Fp. * * NOTE: this function does NOT check that `p` is a prime greater than `2`. */ function invModPrime(uint256 a, uint256 p) internal view returns (uint256) { unchecked { return Math.modExp(a, p - 2, p); } } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m) * * Requirements: * - modulus can't be zero * - underlying staticcall to precompile must succeed * * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make * sure the chain you're using it on supports the precompiled contract for modular exponentiation * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, * the underlying function will succeed given the lack of a revert, but the result may be incorrectly * interpreted as 0. */ function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) { (bool success, uint256 result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m). * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying * to operate modulo 0 or if the underlying precompile reverted. * * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack * of a revert, but the result may be incorrectly interpreted as 0. */ function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) { if (m == 0) return (false, 0); assembly ("memory-safe") { let ptr := mload(0x40) // | Offset | Content | Content (Hex) | // |-----------|------------|--------------------------------------------------------------------| // | 0x00:0x1f | size of b | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x20:0x3f | size of e | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x40:0x5f | size of m | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x60:0x7f | value of b | 0x<.............................................................b> | // | 0x80:0x9f | value of e | 0x<.............................................................e> | // | 0xa0:0xbf | value of m | 0x<.............................................................m> | mstore(ptr, 0x20) mstore(add(ptr, 0x20), 0x20) mstore(add(ptr, 0x40), 0x20) mstore(add(ptr, 0x60), b) mstore(add(ptr, 0x80), e) mstore(add(ptr, 0xa0), m) // Given the result < m, it's guaranteed to fit in 32 bytes, // so we can use the memory scratch space located at offset 0. success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20) result := mload(0x00) } } /** * @dev Variant of {modExp} that supports inputs of arbitrary length. */ function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) { (bool success, bytes memory result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Variant of {tryModExp} that supports inputs of arbitrary length. */ function tryModExp( bytes memory b, bytes memory e, bytes memory m ) internal view returns (bool success, bytes memory result) { if (_zeroBytes(m)) return (false, new bytes(0)); uint256 mLen = m.length; // Encode call args in result and move the free memory pointer result = abi.encodePacked(b.length, e.length, mLen, b, e, m); assembly ("memory-safe") { let dataPtr := add(result, 0x20) // Write result on top of args to avoid allocating extra memory. success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen) // Overwrite the length. // result.length > returndatasize() is guaranteed because returndatasize() == m.length mstore(result, mLen) // Set the memory pointer after the returned data. mstore(0x40, add(dataPtr, mLen)) } } /** * @dev Returns whether the provided byte array is zero. */ function _zeroBytes(bytes memory byteArray) private pure returns (bool) { for (uint256 i = 0; i < byteArray.length; ++i) { if (byteArray[i] != 0) { return false; } } return true; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * This method is based on Newton's method for computing square roots; the algorithm is restricted to only * using integer operations. */ function sqrt(uint256 a) internal pure returns (uint256) { unchecked { // Take care of easy edge cases when a == 0 or a == 1 if (a <= 1) { return a; } // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between // the current value as `ε_n = | x_n - sqrt(a) |`. // // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is // bigger than any uint256. // // By noticing that // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)` // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar // to the msb function. uint256 aa = a; uint256 xn = 1; if (aa >= (1 << 128)) { aa >>= 128; xn <<= 64; } if (aa >= (1 << 64)) { aa >>= 64; xn <<= 32; } if (aa >= (1 << 32)) { aa >>= 32; xn <<= 16; } if (aa >= (1 << 16)) { aa >>= 16; xn <<= 8; } if (aa >= (1 << 8)) { aa >>= 8; xn <<= 4; } if (aa >= (1 << 4)) { aa >>= 4; xn <<= 2; } if (aa >= (1 << 2)) { xn <<= 1; } // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1). // // We can refine our estimation by noticing that the middle of that interval minimizes the error. // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2). // This is going to be our x_0 (and ε_0) xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2) // From here, Newton's method give us: // x_{n+1} = (x_n + a / x_n) / 2 // // One should note that: // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a // = ((x_n² + a) / (2 * x_n))² - a // = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a // = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²) // = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²) // = (x_n² - a)² / (2 * x_n)² // = ((x_n² - a) / (2 * x_n))² // ≥ 0 // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n // // This gives us the proof of quadratic convergence of the sequence: // ε_{n+1} = | x_{n+1} - sqrt(a) | // = | (x_n + a / x_n) / 2 - sqrt(a) | // = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) | // = | (x_n - sqrt(a))² / (2 * x_n) | // = | ε_n² / (2 * x_n) | // = ε_n² / | (2 * x_n) | // // For the first iteration, we have a special case where x_0 is known: // ε_1 = ε_0² / | (2 * x_0) | // ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2))) // ≤ 2**(2*e-4) / (3 * 2**(e-1)) // ≤ 2**(e-3) / 3 // ≤ 2**(e-3-log2(3)) // ≤ 2**(e-4.5) // // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n: // ε_{n+1} = ε_n² / | (2 * x_n) | // ≤ (2**(e-k))² / (2 * 2**(e-1)) // ≤ 2**(2*e-2*k) / 2**e // ≤ 2**(e-2*k) xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5) -- special case, see above xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9) -- general case with k = 4.5 xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18) -- general case with k = 9 xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36) -- general case with k = 18 xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72) -- general case with k = 36 xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144) -- general case with k = 72 // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either // sqrt(a) or sqrt(a) + 1. return xn - SafeCast.toUint(xn > a / xn); } } /** * @dev 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a); } } /** * @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; uint256 exp; unchecked { exp = 128 * SafeCast.toUint(value > (1 << 128) - 1); value >>= exp; result += exp; exp = 64 * SafeCast.toUint(value > (1 << 64) - 1); value >>= exp; result += exp; exp = 32 * SafeCast.toUint(value > (1 << 32) - 1); value >>= exp; result += exp; exp = 16 * SafeCast.toUint(value > (1 << 16) - 1); value >>= exp; result += exp; exp = 8 * SafeCast.toUint(value > (1 << 8) - 1); value >>= exp; result += exp; exp = 4 * SafeCast.toUint(value > (1 << 4) - 1); value >>= exp; result += exp; exp = 2 * SafeCast.toUint(value > (1 << 2) - 1); value >>= exp; result += exp; result += SafeCast.toUint(value > 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value); } } /** * @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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value); } } /** * @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; uint256 isGt; unchecked { isGt = SafeCast.toUint(value > (1 << 128) - 1); value >>= isGt * 128; result += isGt * 16; isGt = SafeCast.toUint(value > (1 << 64) - 1); value >>= isGt * 64; result += isGt * 8; isGt = SafeCast.toUint(value > (1 << 32) - 1); value >>= isGt * 32; result += isGt * 4; isGt = SafeCast.toUint(value > (1 << 16) - 1); value >>= isGt * 16; result += isGt * 2; result += SafeCast.toUint(value > (1 << 8) - 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value); } } /** * @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; } } // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant. * * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone. * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute * one branch when needed, making this function more expensive. */ function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) { unchecked { // branchless ternary works because: // b ^ (a ^ b) == a // b ^ 0 == b return b ^ ((a ^ b) * int256(SafeCast.toUint(condition))); } } /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return ternary(a > b, a, b); } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return ternary(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 { // Formula from the "Bit Twiddling Hacks" by Sean Eron Anderson. // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift, // taking advantage of the most significant (or "sign" bit) in two's complement representation. // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result, // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative). int256 mask = n >> 255; // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it. return uint256((n + mask) ^ mask); } } } // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; /** * @dev Required interface of an ERC-721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC-721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol) pragma solidity ^0.8.20; /** * @dev Library that provide common ERC-721 utility functions. * * See https://eips.ethereum.org/EIPS/eip-721[ERC-721]. * * _Available since v5.1._ */ library ERC721Utils { /** * @dev Performs an acceptance check for the provided `operator` by calling {IERC721-onERC721Received} * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`). * * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA). * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept * the transfer. */ function checkOnERC721Received( address operator, address from, address to, uint256 tokenId, bytes memory data ) internal { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { // Token rejected revert IERC721Errors.ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { // non-IERC721Receiver implementer revert IERC721Errors.ERC721InvalidReceiver(to); } else { assembly ("memory-safe") { revert(add(32, reason), mload(reason)) } } } } } } // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // OpenZeppelin Contracts (last updated v5.1.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @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; assembly ("memory-safe") { ptr := add(buffer, add(32, length)) } while (true) { ptr--; assembly ("memory-safe") { 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 Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal * representation, according to EIP-55. */ function toChecksumHexString(address addr) internal pure returns (string memory) { bytes memory buffer = bytes(toHexString(addr)); // hash the hex part of buffer (skip length + 2 bytes, length 40) uint256 hashValue; assembly ("memory-safe") { hashValue := shr(96, keccak256(add(buffer, 0x22), 40)) } for (uint256 i = 41; i > 1; --i) { // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f) if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) { // case shift by xoring with 0x20 buffer[i] ^= 0x20; } hashValue >>= 4; } return string(buffer); } /** * @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)); } } // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if: * - `spender` does not have approval from `owner` for `tokenId`. * - `spender` does not have approval to manage all of `owner`'s assets. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC-721 standard to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } } pragma solidity ^0.8.19; contract TwistedApe is ERC721("Twisted Ape", "TWISTED") { string public baseURI; bool public isSaleActive; uint256 public circulatingSupply; address public owner = msg.sender; uint256 public itemPrice = 69 ether; uint256 public constant totalSupply = 1000; address public Twisted = 0xF8d68e46B32Aa1E73F8a1384Ea994F9b0BA9429e; address public Fuego = 0xADDaF99990b665D8553f08653966fa8995Cc1209; //////////////////// // PUBLIC SALE // //////////////////// // Mint multiple Twisted at once function mintTwisted(uint256 _howMany) external payable twistedAvailable(_howMany) { require( isSaleActive, "Sale is not active" ); require(_howMany > 0 && _howMany <= 10, "Mint min 1, max 10"); require(msg.value >= _howMany * itemPrice, "Wrong amount of APE"); for (uint256 i = 0; i < _howMany; i++) _mint(msg.sender, ++circulatingSupply); } ////////////////////////// // Only Owner Methods // ////////////////////////// event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function stopSale() external onlyOwner { isSaleActive = false; } function startSale() external onlyOwner { isSaleActive = true; } // Owner can withdraw ETH from here function withdrawETH() external onlyOwner { uint256 balance = address(this).balance; uint256 _90_percent = (balance * 0.90 ether) / 1 ether; uint256 _10_percent = (balance * 0.10 ether) / 1 ether; payable(msg.sender).transfer(_90_percent); payable(Fuego).transfer(_10_percent); } // Change price in case APE moons function setPrice(uint256 _newPrice) external onlyOwner { itemPrice = _newPrice; } // Update metadata function setBaseURI(string memory __baseURI) external onlyOwner { baseURI = __baseURI; } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. * To renounce ownership set the 0x00 address as the new owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } /////////////////// // Query Method // /////////////////// function twistedRemaining() public view returns (uint256) { return totalSupply - circulatingSupply; } function _baseURI() internal view override returns (string memory) { return baseURI; } /////////////////// // Helper Code // /////////////////// modifier twistedAvailable(uint256 _howMany) { require(_howMany <= twistedRemaining(), "Try minting less Twisted Apes"); _; } modifier onlyOwner() { require(owner == msg.sender, "Ownable: caller is not the owner"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"previousOwner","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Fuego","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Twisted","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"itemPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_howMany","type":"uint256"}],"name":"mintTwisted","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"twistedRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523360095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506803bd913e6c1df40000600a5573f8d68e46b32aa1e73f8a1384ea994f9b0ba9429e600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073addaf99990b665d8553f08653966fa8995cc1209600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015610104575f80fd5b506040518060400160405280600b81526020017f54776973746564204170650000000000000000000000000000000000000000008152506040518060400160405280600781526020017f5457495354454400000000000000000000000000000000000000000000000000815250815f908161017f91906103d1565b50806001908161018f91906103d1565b5050506104a0565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061021257607f821691505b602082108103610225576102246101ce565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026102877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261024c565b610291868361024c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6102d56102d06102cb846102a9565b6102b2565b6102a9565b9050919050565b5f819050919050565b6102ee836102bb565b6103026102fa826102dc565b848454610258565b825550505050565b5f90565b61031661030a565b6103218184846102e5565b505050565b5b81811015610344576103395f8261030e565b600181019050610327565b5050565b601f8211156103895761035a8161022b565b6103638461023d565b81016020851015610372578190505b61038661037e8561023d565b830182610326565b50505b505050565b5f82821c905092915050565b5f6103a95f198460080261038e565b1980831691505092915050565b5f6103c1838361039a565b9150826002028217905092915050565b6103da82610197565b67ffffffffffffffff8111156103f3576103f26101a1565b5b6103fd82546101fb565b610408828285610348565b5f60209050601f831160018114610439575f8415610427578287015190505b61043185826103b6565b865550610498565b601f1984166104478661022b565b5f5b8281101561046e57848901518255600182019150602085019450602081019050610449565b8683101561048b5784890151610487601f89168261039a565b8355505b6001600288020188555050505b505050505050565b613098806104ad5f395ff3fe6080604052600436106101c1575f3560e01c806391b7f5ed116100f6578063b66a0e5d11610094578063e086e5ec11610063578063e086e5ec14610609578063e36b0b371461061f578063e985e9c514610635578063f2fde38b14610671576101c1565b8063b66a0e5d14610565578063b88d4fde1461057b578063c87b56dd146105a3578063dac6db1c146105df576101c1565b806399ce97ba116100d057806399ce97ba146104cd5780639c0797cd146104f7578063a22cb46514610521578063a26f45fd14610549576101c1565b806391b7f5ed146104515780639358928b1461047957806395d89b41146104a3576101c1565b806342842e0e116101635780636352211e1161013d5780636352211e146103855780636c0360eb146103c157806370a08231146103eb5780638da5cb5b14610427576101c1565b806342842e0e1461030b57806355f804b314610333578063564566a81461035b576101c1565b8063095ea7b31161019f578063095ea7b31461026757806318160ddd1461028f57806323b872dd146102b95780633ebc8980146102e1576101c1565b806301ffc9a7146101c557806306fdde0314610201578063081812fc1461022b575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190612244565b610699565b6040516101f89190612289565b60405180910390f35b34801561020c575f80fd5b5061021561077a565b6040516102229190612312565b60405180910390f35b348015610236575f80fd5b50610251600480360381019061024c9190612365565b610809565b60405161025e91906123cf565b60405180910390f35b348015610272575f80fd5b5061028d60048036038101906102889190612412565b610824565b005b34801561029a575f80fd5b506102a361083a565b6040516102b0919061245f565b60405180910390f35b3480156102c4575f80fd5b506102df60048036038101906102da9190612478565b610840565b005b3480156102ec575f80fd5b506102f561093f565b60405161030291906123cf565b60405180910390f35b348015610316575f80fd5b50610331600480360381019061032c9190612478565b610964565b005b34801561033e575f80fd5b50610359600480360381019061035491906125f4565b610983565b005b348015610366575f80fd5b5061036f610a25565b60405161037c9190612289565b60405180910390f35b348015610390575f80fd5b506103ab60048036038101906103a69190612365565b610a37565b6040516103b891906123cf565b60405180910390f35b3480156103cc575f80fd5b506103d5610a48565b6040516103e29190612312565b60405180910390f35b3480156103f6575f80fd5b50610411600480360381019061040c919061263b565b610ad4565b60405161041e919061245f565b60405180910390f35b348015610432575f80fd5b5061043b610b8a565b60405161044891906123cf565b60405180910390f35b34801561045c575f80fd5b5061047760048036038101906104729190612365565b610baf565b005b348015610484575f80fd5b5061048d610c48565b60405161049a919061245f565b60405180910390f35b3480156104ae575f80fd5b506104b7610c4e565b6040516104c49190612312565b60405180910390f35b3480156104d8575f80fd5b506104e1610cde565b6040516104ee91906123cf565b60405180910390f35b348015610502575f80fd5b5061050b610d03565b604051610518919061245f565b60405180910390f35b34801561052c575f80fd5b5061054760048036038101906105429190612690565b610d19565b005b610563600480360381019061055e9190612365565b610d2f565b005b348015610570575f80fd5b50610579610ea0565b005b348015610586575f80fd5b506105a1600480360381019061059c919061276c565b610f4b565b005b3480156105ae575f80fd5b506105c960048036038101906105c49190612365565b610f70565b6040516105d69190612312565b60405180910390f35b3480156105ea575f80fd5b506105f3610fd6565b604051610600919061245f565b60405180910390f35b348015610614575f80fd5b5061061d610fdc565b005b34801561062a575f80fd5b50610633611171565b005b348015610640575f80fd5b5061065b600480360381019061065691906127ec565b61121b565b6040516106689190612289565b60405180910390f35b34801561067c575f80fd5b506106976004803603810190610692919061263b565b6112a9565b005b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610773575061077282611464565b5b9050919050565b60605f805461078890612857565b80601f01602080910402602001604051908101604052809291908181526020018280546107b490612857565b80156107ff5780601f106107d6576101008083540402835291602001916107ff565b820191905f5260205f20905b8154815290600101906020018083116107e257829003601f168201915b5050505050905090565b5f610813826114cd565b5061081d82611553565b9050919050565b610836828261083161158c565b611593565b5050565b6103e881565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b0575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016108a791906123cf565b60405180910390fd5b5f6108c383836108be61158c565b6115a5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610939578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161093093929190612887565b60405180910390fd5b50505050565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61097e83838360405180602001604052805f815250610f4b565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990612906565b60405180910390fd5b8060069081610a219190612ac1565b5050565b60075f9054906101000a900460ff1681565b5f610a41826114cd565b9050919050565b60068054610a5590612857565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8190612857565b8015610acc5780601f10610aa357610100808354040283529160200191610acc565b820191905f5260205f20905b815481529060010190602001808311610aaf57829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b45575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610b3c91906123cf565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590612906565b60405180910390fd5b80600a8190555050565b60085481565b606060018054610c5d90612857565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8990612857565b8015610cd45780601f10610cab57610100808354040283529160200191610cd4565b820191905f5260205f20905b815481529060010190602001808311610cb757829003601f168201915b5050505050905090565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6008546103e8610d149190612bbd565b905090565b610d2b610d2461158c565b83836117b0565b5050565b80610d38610d03565b811115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190612c3a565b60405180910390fd5b60075f9054906101000a900460ff16610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90612ca2565b60405180910390fd5b5f82118015610dd85750600a8211155b610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90612d0a565b60405180910390fd5b600a5482610e259190612d28565b341015610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90612db3565b60405180910390fd5b5f5b82811015610e9b57610e8e3360085f8154610e8390612dd1565b919050819055611919565b8080600101915050610e69565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690612906565b60405180910390fd5b600160075f6101000a81548160ff021916908315150217905550565b610f56848484610840565b610f6a610f6161158c565b85858585611a0c565b50505050565b6060610f7b826114cd565b505f610f85611bb8565b90505f815111610fa35760405180602001604052805f815250610fce565b80610fad84611c48565b604051602001610fbe929190612e52565b6040516020818303038152906040525b915050919050565b600a5481565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290612906565b60405180910390fd5b5f4790505f670de0b6b3a7640000670c7d713b49da00008361108d9190612d28565b6110979190612ea2565b90505f670de0b6b3a764000067016345785d8a0000846110b79190612d28565b6110c19190612ea2565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f19350505050158015611106573d5f803e3d5ffd5b50600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561116b573d5f803e3d5ffd5b50505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f790612906565b60405180910390fd5b5f60075f6101000a81548160ff021916908315150217905550565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f90612906565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139d90612f42565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f806114d883611d12565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361154a57826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611541919061245f565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6115a08383836001611d4b565b505050565b5f806115b084611d12565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146115f1576115f0818486611f0a565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461167c576116305f855f80611d4b565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146116fb57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361182057816040517f5b08ba1800000000000000000000000000000000000000000000000000000000815260040161181791906123cf565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161190c9190612289565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611989575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161198091906123cf565b60405180910390fd5b5f61199583835f6115a5565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a07575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016119fe91906123cf565b60405180910390fd5b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611bb1578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b8152600401611a6a9493929190612fb2565b6020604051808303815f875af1925050508015611aa557506040513d601f19601f82011682018060405250810190611aa29190613010565b60015b611b26573d805f8114611ad3576040519150601f19603f3d011682016040523d82523d5f602084013e611ad8565b606091505b505f815103611b1e57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611b1591906123cf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611baf57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611ba691906123cf565b60405180910390fd5b505b5050505050565b606060068054611bc790612857565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf390612857565b8015611c3e5780601f10611c1557610100808354040283529160200191611c3e565b820191905f5260205f20905b815481529060010190602001808311611c2157829003601f168201915b5050505050905090565b60605f6001611c5684611fcd565b0190505f8167ffffffffffffffff811115611c7457611c736124d0565b5b6040519080825280601f01601f191660200182016040528015611ca65781602001600182028036833780820191505090505b5090505f82602001820190505b600115611d07578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611cfc57611cfb612e75565b5b0494505f8503611cb3575b819350505050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8080611d8357505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611eb5575f611d92846114cd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611dfc57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015611e0f5750611e0d818461121b565b155b15611e5157826040517fa9fbf51f000000000000000000000000000000000000000000000000000000008152600401611e4891906123cf565b60405180910390fd5b8115611eb357838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b611f1583838361211e565b611fc8575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f8957806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611f80919061245f565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401611fbf92919061303b565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612029577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161201f5761201e612e75565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612066576d04ee2d6d415b85acef8100000000838161205c5761205b612e75565b5b0492506020810190505b662386f26fc10000831061209557662386f26fc10000838161208b5761208a612e75565b5b0492506010810190505b6305f5e10083106120be576305f5e10083816120b4576120b3612e75565b5b0492506008810190505b61271083106120e35761271083816120d9576120d8612e75565b5b0492506004810190505b6064831061210657606483816120fc576120fb612e75565b5b0492506002810190505b600a8310612115576001810190505b80915050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156121d557508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121965750612195848461121b565b5b806121d457508273ffffffffffffffffffffffffffffffffffffffff166121bc83611553565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612223816121ef565b811461222d575f80fd5b50565b5f8135905061223e8161221a565b92915050565b5f60208284031215612259576122586121e7565b5b5f61226684828501612230565b91505092915050565b5f8115159050919050565b6122838161226f565b82525050565b5f60208201905061229c5f83018461227a565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6122e4826122a2565b6122ee81856122ac565b93506122fe8185602086016122bc565b612307816122ca565b840191505092915050565b5f6020820190508181035f83015261232a81846122da565b905092915050565b5f819050919050565b61234481612332565b811461234e575f80fd5b50565b5f8135905061235f8161233b565b92915050565b5f6020828403121561237a576123796121e7565b5b5f61238784828501612351565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6123b982612390565b9050919050565b6123c9816123af565b82525050565b5f6020820190506123e25f8301846123c0565b92915050565b6123f1816123af565b81146123fb575f80fd5b50565b5f8135905061240c816123e8565b92915050565b5f8060408385031215612428576124276121e7565b5b5f612435858286016123fe565b925050602061244685828601612351565b9150509250929050565b61245981612332565b82525050565b5f6020820190506124725f830184612450565b92915050565b5f805f6060848603121561248f5761248e6121e7565b5b5f61249c868287016123fe565b93505060206124ad868287016123fe565b92505060406124be86828701612351565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612506826122ca565b810181811067ffffffffffffffff82111715612525576125246124d0565b5b80604052505050565b5f6125376121de565b905061254382826124fd565b919050565b5f67ffffffffffffffff821115612562576125616124d0565b5b61256b826122ca565b9050602081019050919050565b828183375f83830152505050565b5f61259861259384612548565b61252e565b9050828152602081018484840111156125b4576125b36124cc565b5b6125bf848285612578565b509392505050565b5f82601f8301126125db576125da6124c8565b5b81356125eb848260208601612586565b91505092915050565b5f60208284031215612609576126086121e7565b5b5f82013567ffffffffffffffff811115612626576126256121eb565b5b612632848285016125c7565b91505092915050565b5f602082840312156126505761264f6121e7565b5b5f61265d848285016123fe565b91505092915050565b61266f8161226f565b8114612679575f80fd5b50565b5f8135905061268a81612666565b92915050565b5f80604083850312156126a6576126a56121e7565b5b5f6126b3858286016123fe565b92505060206126c48582860161267c565b9150509250929050565b5f67ffffffffffffffff8211156126e8576126e76124d0565b5b6126f1826122ca565b9050602081019050919050565b5f61271061270b846126ce565b61252e565b90508281526020810184848401111561272c5761272b6124cc565b5b612737848285612578565b509392505050565b5f82601f830112612753576127526124c8565b5b81356127638482602086016126fe565b91505092915050565b5f805f8060808587031215612784576127836121e7565b5b5f612791878288016123fe565b94505060206127a2878288016123fe565b93505060406127b387828801612351565b925050606085013567ffffffffffffffff8111156127d4576127d36121eb565b5b6127e08782880161273f565b91505092959194509250565b5f8060408385031215612802576128016121e7565b5b5f61280f858286016123fe565b9250506020612820858286016123fe565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061286e57607f821691505b6020821081036128815761288061282a565b5b50919050565b5f60608201905061289a5f8301866123c0565b6128a76020830185612450565b6128b460408301846123c0565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6128f06020836122ac565b91506128fb826128bc565b602082019050919050565b5f6020820190508181035f83015261291d816128e4565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026129807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612945565b61298a8683612945565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6129c56129c06129bb84612332565b6129a2565b612332565b9050919050565b5f819050919050565b6129de836129ab565b6129f26129ea826129cc565b848454612951565b825550505050565b5f90565b612a066129fa565b612a118184846129d5565b505050565b5b81811015612a3457612a295f826129fe565b600181019050612a17565b5050565b601f821115612a7957612a4a81612924565b612a5384612936565b81016020851015612a62578190505b612a76612a6e85612936565b830182612a16565b50505b505050565b5f82821c905092915050565b5f612a995f1984600802612a7e565b1980831691505092915050565b5f612ab18383612a8a565b9150826002028217905092915050565b612aca826122a2565b67ffffffffffffffff811115612ae357612ae26124d0565b5b612aed8254612857565b612af8828285612a38565b5f60209050601f831160018114612b29575f8415612b17578287015190505b612b218582612aa6565b865550612b88565b601f198416612b3786612924565b5f5b82811015612b5e57848901518255600182019150602085019450602081019050612b39565b86831015612b7b5784890151612b77601f891682612a8a565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612bc782612332565b9150612bd283612332565b9250828203905081811115612bea57612be9612b90565b5b92915050565b7f547279206d696e74696e67206c657373205477697374656420417065730000005f82015250565b5f612c24601d836122ac565b9150612c2f82612bf0565b602082019050919050565b5f6020820190508181035f830152612c5181612c18565b9050919050565b7f53616c65206973206e6f742061637469766500000000000000000000000000005f82015250565b5f612c8c6012836122ac565b9150612c9782612c58565b602082019050919050565b5f6020820190508181035f830152612cb981612c80565b9050919050565b7f4d696e74206d696e20312c206d617820313000000000000000000000000000005f82015250565b5f612cf46012836122ac565b9150612cff82612cc0565b602082019050919050565b5f6020820190508181035f830152612d2181612ce8565b9050919050565b5f612d3282612332565b9150612d3d83612332565b9250828202612d4b81612332565b91508282048414831517612d6257612d61612b90565b5b5092915050565b7f57726f6e6720616d6f756e74206f6620415045000000000000000000000000005f82015250565b5f612d9d6013836122ac565b9150612da882612d69565b602082019050919050565b5f6020820190508181035f830152612dca81612d91565b9050919050565b5f612ddb82612332565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612e0d57612e0c612b90565b5b600182019050919050565b5f81905092915050565b5f612e2c826122a2565b612e368185612e18565b9350612e468185602086016122bc565b80840191505092915050565b5f612e5d8285612e22565b9150612e698284612e22565b91508190509392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612eac82612332565b9150612eb783612332565b925082612ec757612ec6612e75565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612f2c6026836122ac565b9150612f3782612ed2565b604082019050919050565b5f6020820190508181035f830152612f5981612f20565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612f8482612f60565b612f8e8185612f6a565b9350612f9e8185602086016122bc565b612fa7816122ca565b840191505092915050565b5f608082019050612fc55f8301876123c0565b612fd260208301866123c0565b612fdf6040830185612450565b8181036060830152612ff18184612f7a565b905095945050505050565b5f8151905061300a8161221a565b92915050565b5f60208284031215613025576130246121e7565b5b5f61303284828501612ffc565b91505092915050565b5f60408201905061304e5f8301856123c0565b61305b6020830184612450565b939250505056fea264697066735822122053c19c0608f2b9cac3b4f3aabf14be591585a696b5fa880c1ffefc10f35cba4164736f6c634300081a0033
Deployed Bytecode
0x6080604052600436106101c1575f3560e01c806391b7f5ed116100f6578063b66a0e5d11610094578063e086e5ec11610063578063e086e5ec14610609578063e36b0b371461061f578063e985e9c514610635578063f2fde38b14610671576101c1565b8063b66a0e5d14610565578063b88d4fde1461057b578063c87b56dd146105a3578063dac6db1c146105df576101c1565b806399ce97ba116100d057806399ce97ba146104cd5780639c0797cd146104f7578063a22cb46514610521578063a26f45fd14610549576101c1565b806391b7f5ed146104515780639358928b1461047957806395d89b41146104a3576101c1565b806342842e0e116101635780636352211e1161013d5780636352211e146103855780636c0360eb146103c157806370a08231146103eb5780638da5cb5b14610427576101c1565b806342842e0e1461030b57806355f804b314610333578063564566a81461035b576101c1565b8063095ea7b31161019f578063095ea7b31461026757806318160ddd1461028f57806323b872dd146102b95780633ebc8980146102e1576101c1565b806301ffc9a7146101c557806306fdde0314610201578063081812fc1461022b575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190612244565b610699565b6040516101f89190612289565b60405180910390f35b34801561020c575f80fd5b5061021561077a565b6040516102229190612312565b60405180910390f35b348015610236575f80fd5b50610251600480360381019061024c9190612365565b610809565b60405161025e91906123cf565b60405180910390f35b348015610272575f80fd5b5061028d60048036038101906102889190612412565b610824565b005b34801561029a575f80fd5b506102a361083a565b6040516102b0919061245f565b60405180910390f35b3480156102c4575f80fd5b506102df60048036038101906102da9190612478565b610840565b005b3480156102ec575f80fd5b506102f561093f565b60405161030291906123cf565b60405180910390f35b348015610316575f80fd5b50610331600480360381019061032c9190612478565b610964565b005b34801561033e575f80fd5b50610359600480360381019061035491906125f4565b610983565b005b348015610366575f80fd5b5061036f610a25565b60405161037c9190612289565b60405180910390f35b348015610390575f80fd5b506103ab60048036038101906103a69190612365565b610a37565b6040516103b891906123cf565b60405180910390f35b3480156103cc575f80fd5b506103d5610a48565b6040516103e29190612312565b60405180910390f35b3480156103f6575f80fd5b50610411600480360381019061040c919061263b565b610ad4565b60405161041e919061245f565b60405180910390f35b348015610432575f80fd5b5061043b610b8a565b60405161044891906123cf565b60405180910390f35b34801561045c575f80fd5b5061047760048036038101906104729190612365565b610baf565b005b348015610484575f80fd5b5061048d610c48565b60405161049a919061245f565b60405180910390f35b3480156104ae575f80fd5b506104b7610c4e565b6040516104c49190612312565b60405180910390f35b3480156104d8575f80fd5b506104e1610cde565b6040516104ee91906123cf565b60405180910390f35b348015610502575f80fd5b5061050b610d03565b604051610518919061245f565b60405180910390f35b34801561052c575f80fd5b5061054760048036038101906105429190612690565b610d19565b005b610563600480360381019061055e9190612365565b610d2f565b005b348015610570575f80fd5b50610579610ea0565b005b348015610586575f80fd5b506105a1600480360381019061059c919061276c565b610f4b565b005b3480156105ae575f80fd5b506105c960048036038101906105c49190612365565b610f70565b6040516105d69190612312565b60405180910390f35b3480156105ea575f80fd5b506105f3610fd6565b604051610600919061245f565b60405180910390f35b348015610614575f80fd5b5061061d610fdc565b005b34801561062a575f80fd5b50610633611171565b005b348015610640575f80fd5b5061065b600480360381019061065691906127ec565b61121b565b6040516106689190612289565b60405180910390f35b34801561067c575f80fd5b506106976004803603810190610692919061263b565b6112a9565b005b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610773575061077282611464565b5b9050919050565b60605f805461078890612857565b80601f01602080910402602001604051908101604052809291908181526020018280546107b490612857565b80156107ff5780601f106107d6576101008083540402835291602001916107ff565b820191905f5260205f20905b8154815290600101906020018083116107e257829003601f168201915b5050505050905090565b5f610813826114cd565b5061081d82611553565b9050919050565b610836828261083161158c565b611593565b5050565b6103e881565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b0575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016108a791906123cf565b60405180910390fd5b5f6108c383836108be61158c565b6115a5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610939578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161093093929190612887565b60405180910390fd5b50505050565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61097e83838360405180602001604052805f815250610f4b565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990612906565b60405180910390fd5b8060069081610a219190612ac1565b5050565b60075f9054906101000a900460ff1681565b5f610a41826114cd565b9050919050565b60068054610a5590612857565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8190612857565b8015610acc5780601f10610aa357610100808354040283529160200191610acc565b820191905f5260205f20905b815481529060010190602001808311610aaf57829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b45575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610b3c91906123cf565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590612906565b60405180910390fd5b80600a8190555050565b60085481565b606060018054610c5d90612857565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8990612857565b8015610cd45780601f10610cab57610100808354040283529160200191610cd4565b820191905f5260205f20905b815481529060010190602001808311610cb757829003601f168201915b5050505050905090565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6008546103e8610d149190612bbd565b905090565b610d2b610d2461158c565b83836117b0565b5050565b80610d38610d03565b811115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190612c3a565b60405180910390fd5b60075f9054906101000a900460ff16610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90612ca2565b60405180910390fd5b5f82118015610dd85750600a8211155b610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90612d0a565b60405180910390fd5b600a5482610e259190612d28565b341015610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90612db3565b60405180910390fd5b5f5b82811015610e9b57610e8e3360085f8154610e8390612dd1565b919050819055611919565b8080600101915050610e69565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690612906565b60405180910390fd5b600160075f6101000a81548160ff021916908315150217905550565b610f56848484610840565b610f6a610f6161158c565b85858585611a0c565b50505050565b6060610f7b826114cd565b505f610f85611bb8565b90505f815111610fa35760405180602001604052805f815250610fce565b80610fad84611c48565b604051602001610fbe929190612e52565b6040516020818303038152906040525b915050919050565b600a5481565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290612906565b60405180910390fd5b5f4790505f670de0b6b3a7640000670c7d713b49da00008361108d9190612d28565b6110979190612ea2565b90505f670de0b6b3a764000067016345785d8a0000846110b79190612d28565b6110c19190612ea2565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f19350505050158015611106573d5f803e3d5ffd5b50600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561116b573d5f803e3d5ffd5b50505050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f790612906565b60405180910390fd5b5f60075f6101000a81548160ff021916908315150217905550565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f90612906565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139d90612f42565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f806114d883611d12565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361154a57826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611541919061245f565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6115a08383836001611d4b565b505050565b5f806115b084611d12565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146115f1576115f0818486611f0a565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461167c576116305f855f80611d4b565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146116fb57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361182057816040517f5b08ba1800000000000000000000000000000000000000000000000000000000815260040161181791906123cf565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161190c9190612289565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611989575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161198091906123cf565b60405180910390fd5b5f61199583835f6115a5565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a07575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016119fe91906123cf565b60405180910390fd5b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611bb1578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b8152600401611a6a9493929190612fb2565b6020604051808303815f875af1925050508015611aa557506040513d601f19601f82011682018060405250810190611aa29190613010565b60015b611b26573d805f8114611ad3576040519150601f19603f3d011682016040523d82523d5f602084013e611ad8565b606091505b505f815103611b1e57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611b1591906123cf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611baf57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611ba691906123cf565b60405180910390fd5b505b5050505050565b606060068054611bc790612857565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf390612857565b8015611c3e5780601f10611c1557610100808354040283529160200191611c3e565b820191905f5260205f20905b815481529060010190602001808311611c2157829003601f168201915b5050505050905090565b60605f6001611c5684611fcd565b0190505f8167ffffffffffffffff811115611c7457611c736124d0565b5b6040519080825280601f01601f191660200182016040528015611ca65781602001600182028036833780820191505090505b5090505f82602001820190505b600115611d07578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611cfc57611cfb612e75565b5b0494505f8503611cb3575b819350505050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8080611d8357505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611eb5575f611d92846114cd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611dfc57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015611e0f5750611e0d818461121b565b155b15611e5157826040517fa9fbf51f000000000000000000000000000000000000000000000000000000008152600401611e4891906123cf565b60405180910390fd5b8115611eb357838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b611f1583838361211e565b611fc8575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f8957806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611f80919061245f565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401611fbf92919061303b565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612029577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161201f5761201e612e75565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612066576d04ee2d6d415b85acef8100000000838161205c5761205b612e75565b5b0492506020810190505b662386f26fc10000831061209557662386f26fc10000838161208b5761208a612e75565b5b0492506010810190505b6305f5e10083106120be576305f5e10083816120b4576120b3612e75565b5b0492506008810190505b61271083106120e35761271083816120d9576120d8612e75565b5b0492506004810190505b6064831061210657606483816120fc576120fb612e75565b5b0492506002810190505b600a8310612115576001810190505b80915050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156121d557508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121965750612195848461121b565b5b806121d457508273ffffffffffffffffffffffffffffffffffffffff166121bc83611553565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612223816121ef565b811461222d575f80fd5b50565b5f8135905061223e8161221a565b92915050565b5f60208284031215612259576122586121e7565b5b5f61226684828501612230565b91505092915050565b5f8115159050919050565b6122838161226f565b82525050565b5f60208201905061229c5f83018461227a565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6122e4826122a2565b6122ee81856122ac565b93506122fe8185602086016122bc565b612307816122ca565b840191505092915050565b5f6020820190508181035f83015261232a81846122da565b905092915050565b5f819050919050565b61234481612332565b811461234e575f80fd5b50565b5f8135905061235f8161233b565b92915050565b5f6020828403121561237a576123796121e7565b5b5f61238784828501612351565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6123b982612390565b9050919050565b6123c9816123af565b82525050565b5f6020820190506123e25f8301846123c0565b92915050565b6123f1816123af565b81146123fb575f80fd5b50565b5f8135905061240c816123e8565b92915050565b5f8060408385031215612428576124276121e7565b5b5f612435858286016123fe565b925050602061244685828601612351565b9150509250929050565b61245981612332565b82525050565b5f6020820190506124725f830184612450565b92915050565b5f805f6060848603121561248f5761248e6121e7565b5b5f61249c868287016123fe565b93505060206124ad868287016123fe565b92505060406124be86828701612351565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612506826122ca565b810181811067ffffffffffffffff82111715612525576125246124d0565b5b80604052505050565b5f6125376121de565b905061254382826124fd565b919050565b5f67ffffffffffffffff821115612562576125616124d0565b5b61256b826122ca565b9050602081019050919050565b828183375f83830152505050565b5f61259861259384612548565b61252e565b9050828152602081018484840111156125b4576125b36124cc565b5b6125bf848285612578565b509392505050565b5f82601f8301126125db576125da6124c8565b5b81356125eb848260208601612586565b91505092915050565b5f60208284031215612609576126086121e7565b5b5f82013567ffffffffffffffff811115612626576126256121eb565b5b612632848285016125c7565b91505092915050565b5f602082840312156126505761264f6121e7565b5b5f61265d848285016123fe565b91505092915050565b61266f8161226f565b8114612679575f80fd5b50565b5f8135905061268a81612666565b92915050565b5f80604083850312156126a6576126a56121e7565b5b5f6126b3858286016123fe565b92505060206126c48582860161267c565b9150509250929050565b5f67ffffffffffffffff8211156126e8576126e76124d0565b5b6126f1826122ca565b9050602081019050919050565b5f61271061270b846126ce565b61252e565b90508281526020810184848401111561272c5761272b6124cc565b5b612737848285612578565b509392505050565b5f82601f830112612753576127526124c8565b5b81356127638482602086016126fe565b91505092915050565b5f805f8060808587031215612784576127836121e7565b5b5f612791878288016123fe565b94505060206127a2878288016123fe565b93505060406127b387828801612351565b925050606085013567ffffffffffffffff8111156127d4576127d36121eb565b5b6127e08782880161273f565b91505092959194509250565b5f8060408385031215612802576128016121e7565b5b5f61280f858286016123fe565b9250506020612820858286016123fe565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061286e57607f821691505b6020821081036128815761288061282a565b5b50919050565b5f60608201905061289a5f8301866123c0565b6128a76020830185612450565b6128b460408301846123c0565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6128f06020836122ac565b91506128fb826128bc565b602082019050919050565b5f6020820190508181035f83015261291d816128e4565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026129807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612945565b61298a8683612945565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6129c56129c06129bb84612332565b6129a2565b612332565b9050919050565b5f819050919050565b6129de836129ab565b6129f26129ea826129cc565b848454612951565b825550505050565b5f90565b612a066129fa565b612a118184846129d5565b505050565b5b81811015612a3457612a295f826129fe565b600181019050612a17565b5050565b601f821115612a7957612a4a81612924565b612a5384612936565b81016020851015612a62578190505b612a76612a6e85612936565b830182612a16565b50505b505050565b5f82821c905092915050565b5f612a995f1984600802612a7e565b1980831691505092915050565b5f612ab18383612a8a565b9150826002028217905092915050565b612aca826122a2565b67ffffffffffffffff811115612ae357612ae26124d0565b5b612aed8254612857565b612af8828285612a38565b5f60209050601f831160018114612b29575f8415612b17578287015190505b612b218582612aa6565b865550612b88565b601f198416612b3786612924565b5f5b82811015612b5e57848901518255600182019150602085019450602081019050612b39565b86831015612b7b5784890151612b77601f891682612a8a565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612bc782612332565b9150612bd283612332565b9250828203905081811115612bea57612be9612b90565b5b92915050565b7f547279206d696e74696e67206c657373205477697374656420417065730000005f82015250565b5f612c24601d836122ac565b9150612c2f82612bf0565b602082019050919050565b5f6020820190508181035f830152612c5181612c18565b9050919050565b7f53616c65206973206e6f742061637469766500000000000000000000000000005f82015250565b5f612c8c6012836122ac565b9150612c9782612c58565b602082019050919050565b5f6020820190508181035f830152612cb981612c80565b9050919050565b7f4d696e74206d696e20312c206d617820313000000000000000000000000000005f82015250565b5f612cf46012836122ac565b9150612cff82612cc0565b602082019050919050565b5f6020820190508181035f830152612d2181612ce8565b9050919050565b5f612d3282612332565b9150612d3d83612332565b9250828202612d4b81612332565b91508282048414831517612d6257612d61612b90565b5b5092915050565b7f57726f6e6720616d6f756e74206f6620415045000000000000000000000000005f82015250565b5f612d9d6013836122ac565b9150612da882612d69565b602082019050919050565b5f6020820190508181035f830152612dca81612d91565b9050919050565b5f612ddb82612332565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612e0d57612e0c612b90565b5b600182019050919050565b5f81905092915050565b5f612e2c826122a2565b612e368185612e18565b9350612e468185602086016122bc565b80840191505092915050565b5f612e5d8285612e22565b9150612e698284612e22565b91508190509392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612eac82612332565b9150612eb783612332565b925082612ec757612ec6612e75565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612f2c6026836122ac565b9150612f3782612ed2565b604082019050919050565b5f6020820190508181035f830152612f5981612f20565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612f8482612f60565b612f8e8185612f6a565b9350612f9e8185602086016122bc565b612fa7816122ca565b840191505092915050565b5f608082019050612fc55f8301876123c0565b612fd260208301866123c0565b612fdf6040830185612450565b8181036060830152612ff18184612f7a565b905095945050505050565b5f8151905061300a8161221a565b92915050565b5f60208284031215613025576130246121e7565b5b5f61303284828501612ffc565b91505092915050565b5f60408201905061304e5f8301856123c0565b61305b6020830184612450565b939250505056fea264697066735822122053c19c0608f2b9cac3b4f3aabf14be591585a696b5fa880c1ffefc10f35cba4164736f6c634300081a0033
Deployed Bytecode Sourcemap
107922:3184:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92584:305;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93415:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94587:158;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94406:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108168:42;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95256:588;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108219:67;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95915:134;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;109869:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108016:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93228:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107988:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92953:213;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108086:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109741:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108047:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93575:95;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108293:65;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110522:115;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94817:146;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108485:465;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;109234:78;;;;;;;;;;;;;:::i;:::-;;96120:236;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93741:260;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108126:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109361:333;;;;;;;;;;;;;:::i;:::-;;109148:78;;;;;;;;;;;;;:::i;:::-;;95034:155;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110195:242;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;92584:305;92686:4;92738:25;92723:40;;;:11;:40;;;;:105;;;;92795:33;92780:48;;;:11;:48;;;;92723:105;:158;;;;92845:36;92869:11;92845:23;:36::i;:::-;92723:158;92703:178;;92584:305;;;:::o;93415:91::-;93460:13;93493:5;93486:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93415:91;:::o;94587:158::-;94654:7;94674:22;94688:7;94674:13;:22::i;:::-;;94716:21;94729:7;94716:12;:21::i;:::-;94709:28;;94587:158;;;:::o;94406:115::-;94478:35;94487:2;94491:7;94500:12;:10;:12::i;:::-;94478:8;:35::i;:::-;94406:115;;:::o;108168:42::-;108206:4;108168:42;:::o;95256:588::-;95365:1;95351:16;;:2;:16;;;95347:89;;95421:1;95391:33;;;;;;;;;;;:::i;:::-;;;;;;;;95347:89;95657:21;95681:34;95689:2;95693:7;95702:12;:10;:12::i;:::-;95681:7;:34::i;:::-;95657:58;;95747:4;95730:21;;:13;:21;;;95726:111;;95796:4;95802:7;95811:13;95775:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;95726:111;95336:508;95256:588;;;:::o;108219:67::-;;;;;;;;;;;;;:::o;95915:134::-;96002:39;96019:4;96025:2;96029:7;96002:39;;;;;;;;;;;;:16;:39::i;:::-;95915:134;;;:::o;109869:102::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;109954:9:::1;109944:7;:19;;;;;;:::i;:::-;;109869:102:::0;:::o;108016:24::-;;;;;;;;;;;;;:::o;93228:120::-;93291:7;93318:22;93332:7;93318:13;:22::i;:::-;93311:29;;93228:120;;;:::o;107988:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;92953:213::-;93016:7;93057:1;93040:19;;:5;:19;;;93036:89;;93110:1;93083:30;;;;;;;;;;;:::i;:::-;;;;;;;;93036:89;93142:9;:16;93152:5;93142:16;;;;;;;;;;;;;;;;93135:23;;92953:213;;;:::o;108086:33::-;;;;;;;;;;;;;:::o;109741:96::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;109820:9:::1;109808;:21;;;;109741:96:::0;:::o;108047:32::-;;;;:::o;93575:95::-;93622:13;93655:7;93648:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93575:95;:::o;108293:65::-;;;;;;;;;;;;;:::o;110522:115::-;110571:7;110612:17;;108206:4;110598:31;;;;:::i;:::-;110591:38;;110522:115;:::o;94817:146::-;94903:52;94922:12;:10;:12::i;:::-;94936:8;94946;94903:18;:52::i;:::-;94817:146;;:::o;108485:465::-;108585:8;110905:18;:16;:18::i;:::-;110893:8;:30;;110885:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;108633:12:::1;;;;;;;;;;;108611:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;108721:1;108710:8;:12;:30;;;;;108738:2;108726:8;:14;;108710:30;108702:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;108806:9;;108795:8;:20;;;;:::i;:::-;108782:9;:33;;108774:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;108857:9;108852:90;108876:8;108872:1;:12;108852:90;;;108904:38;108910:10;108924:17;;108922:19;;;;;:::i;:::-;;;;;;;108904:5;:38::i;:::-;108886:3;;;;;;;108852:90;;;;108485:465:::0;;:::o;109234:78::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;109300:4:::1;109285:12;;:19;;;;;;;;;;;;;;;;;;109234:78::o:0;96120:236::-;96234:31;96247:4;96253:2;96257:7;96234:12;:31::i;:::-;96276:72;96310:12;:10;:12::i;:::-;96324:4;96330:2;96334:7;96343:4;96276:33;:72::i;:::-;96120:236;;;;:::o;93741:260::-;93805:13;93831:22;93845:7;93831:13;:22::i;:::-;;93866:21;93890:10;:8;:10::i;:::-;93866:34;;93942:1;93924:7;93918:21;:25;:75;;;;;;;;;;;;;;;;;93960:7;93969:18;:7;:16;:18::i;:::-;93946:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;93918:75;93911:82;;;93741:260;;;:::o;108126:35::-;;;;:::o;109361:333::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;109414:15:::1;109432:21;109414:39;;109466:19;109513:7;109499:10;109489:7;:20;;;;:::i;:::-;109488:32;;;;:::i;:::-;109466:54;;109531:19;109578:7;109564:10;109554:7;:20;;;;:::i;:::-;109553:32;;;;:::i;:::-;109531:54;;109606:10;109598:28;;:41;109627:11;109598:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;109658:5;;;;;;;;;;;109650:23;;:36;109674:11;109650:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;109403:291;;;109361:333::o:0;109148:78::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;109213:5:::1;109198:12;;:20;;;;;;;;;;;;;;;;;;109148:78::o:0;95034:155::-;95122:4;95146:18;:25;95165:5;95146:25;;;;;;;;;;;;;;;:35;95172:8;95146:35;;;;;;;;;;;;;;;;;;;;;;;;;95139:42;;95034:155;;;;:::o;110195:242::-;111034:10;111025:19;;:5;;;;;;;;;;;:19;;;111017:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;110304:1:::1;110284:22;;:8;:22;;::::0;110276:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;110393:8;110365:37;;110386:5;;;;;;;;;;;110365:37;;;;;;;;;;;;110421:8;110413:5;;:16;;;;;;;;;;;;;;;;;;110195:242:::0;:::o;84584:148::-;84660:4;84699:25;84684:40;;;:11;:40;;;;84677:47;;84584:148;;;:::o;107638:247::-;107701:7;107721:13;107737:17;107746:7;107737:8;:17::i;:::-;107721:33;;107786:1;107769:19;;:5;:19;;;107765:90;;107835:7;107812:31;;;;;;;;;;;:::i;:::-;;;;;;;;107765:90;107872:5;107865:12;;;107638:247;;;:::o;97119:129::-;97189:7;97216:15;:24;97232:7;97216:24;;;;;;;;;;;;;;;;;;;;;97209:31;;97119:129;;;:::o;79623:98::-;79676:7;79703:10;79696:17;;79623:98;:::o;105870:122::-;105951:33;105960:2;105964:7;105973:4;105979;105951:8;:33::i;:::-;105870:122;;;:::o;100080:824::-;100166:7;100186:12;100201:17;100210:7;100201:8;:17::i;:::-;100186:32;;100297:1;100281:18;;:4;:18;;;100277:88;;100316:37;100333:4;100339;100345:7;100316:16;:37::i;:::-;100277:88;100428:1;100412:18;;:4;:18;;;100408:263;;100530:48;100547:1;100551:7;100568:1;100572:5;100530:8;:48::i;:::-;100643:1;100624:9;:15;100634:4;100624:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;100408:263;100701:1;100687:16;;:2;:16;;;100683:111;;100766:1;100749:9;:13;100759:2;100749:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;100683:111;100825:2;100806:7;:16;100814:7;100806:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;100864:7;100860:2;100845:27;;100854:4;100845:27;;;;;;;;;;;;100892:4;100885:11;;;100080:824;;;;;:::o;107077:318::-;107205:1;107185:22;;:8;:22;;;107181:93;;107253:8;107231:31;;;;;;;;;;;:::i;:::-;;;;;;;;107181:93;107322:8;107284:18;:25;107303:5;107284:25;;;;;;;;;;;;;;;:35;107310:8;107284:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;107368:8;107346:41;;107361:5;107346:41;;;107378:8;107346:41;;;;;;:::i;:::-;;;;;;;;107077:318;;;:::o;101240:335::-;101322:1;101308:16;;:2;:16;;;101304:89;;101378:1;101348:33;;;;;;;;;;;:::i;:::-;;;;;;;;101304:89;101403:21;101427:32;101435:2;101439:7;101456:1;101427:7;:32::i;:::-;101403:56;;101499:1;101474:27;;:13;:27;;;101470:98;;101553:1;101525:31;;;;;;;;;;;:::i;:::-;;;;;;;;101470:98;101293:282;101240:335;;:::o;78027:948::-;78231:1;78214:2;:14;;;:18;78210:758;;;78269:2;78253:36;;;78290:8;78300:4;78306:7;78315:4;78253:67;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;78249:708;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78633:1;78616:6;:13;:18;78612:330;;78758:2;78722:39;;;;;;;;;;;:::i;:::-;;;;;;;;78612:330;78892:6;78886:13;78877:6;78873:2;78869:15;78862:38;78249:708;78378:41;;;78368:51;;;:6;:51;;;;78364:185;;78526:2;78490:39;;;;;;;;;;;:::i;:::-;;;;;;;;78364:185;78321:243;78210:758;78027:948;;;;;:::o;110645:100::-;110697:13;110730:7;110723:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110645:100;:::o;80481:650::-;80537:13;80588:14;80625:1;80605:17;80616:5;80605:10;:17::i;:::-;:21;80588:38;;80641:20;80675:6;80664:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80641:41;;80697:11;80794:6;80790:2;80786:15;80778:6;80774:28;80767:35;;80831:254;80838:4;80831:254;;;80863:5;;;;;;;;80969:10;80964:2;80957:5;80953:14;80948:32;80943:3;80935:46;81027:2;81018:11;;;;;;:::i;:::-;;;;;81061:1;81052:5;:10;80831:254;81048:21;80831:254;81106:6;81099:13;;;;;80481:650;;;:::o;96881:117::-;96947:7;96974;:16;96982:7;96974:16;;;;;;;;;;;;;;;;;;;;;96967:23;;96881:117;;;:::o;106180:678::-;106342:9;:31;;;;106371:1;106355:18;;:4;:18;;;;106342:31;106338:471;;;106390:13;106406:22;106420:7;106406:13;:22::i;:::-;106390:38;;106575:1;106559:18;;:4;:18;;;;:35;;;;;106590:4;106581:13;;:5;:13;;;;106559:35;:69;;;;;106599:29;106616:5;106623:4;106599:16;:29::i;:::-;106598:30;106559:69;106555:144;;;106678:4;106656:27;;;;;;;;;;;:::i;:::-;;;;;;;;106555:144;106719:9;106715:83;;;106774:7;106770:2;106754:28;;106763:5;106754:28;;;;;;;;;;;;106715:83;106375:434;106338:471;106848:2;106821:15;:24;106837:7;106821:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;106180:678;;;;:::o;98287:376::-;98400:38;98414:5;98421:7;98430;98400:13;:38::i;:::-;98395:261;;98476:1;98459:19;;:5;:19;;;98455:190;;98529:7;98506:31;;;;;;;;;;;:::i;:::-;;;;;;;;98455:190;98612:7;98621;98585:44;;;;;;;;;;;;:::i;:::-;;;;;;;;98395:261;98287:376;;;:::o;64901:948::-;64954:7;64974:14;64991:1;64974:18;;65041:8;65032:5;:17;65028:106;;65079:8;65070:17;;;;;;:::i;:::-;;;;;65116:2;65106:12;;;;65028:106;65161:8;65152:5;:17;65148:106;;65199:8;65190:17;;;;;;:::i;:::-;;;;;65236:2;65226:12;;;;65148:106;65281:8;65272:5;:17;65268:106;;65319:8;65310:17;;;;;;:::i;:::-;;;;;65356:2;65346:12;;;;65268:106;65401:7;65392:5;:16;65388:103;;65438:7;65429:16;;;;;;:::i;:::-;;;;;65474:1;65464:11;;;;65388:103;65518:7;65509:5;:16;65505:103;;65555:7;65546:16;;;;;;:::i;:::-;;;;;65591:1;65581:11;;;;65505:103;65635:7;65626:5;:16;65622:103;;65672:7;65663:16;;;;;;:::i;:::-;;;;;65708:1;65698:11;;;;65622:103;65752:7;65743:5;:16;65739:68;;65790:1;65780:11;;;;65739:68;65835:6;65828:13;;;64901:948;;;:::o;97568:276::-;97671:4;97727:1;97708:21;;:7;:21;;;;:128;;;;;97756:7;97747:16;;:5;:16;;;:52;;;;97767:32;97784:5;97791:7;97767:16;:32::i;:::-;97747:52;:88;;;;97828:7;97803:32;;:21;97816:7;97803:12;:21::i;:::-;:32;;;97747:88;97708:128;97688:148;;97568:276;;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:118::-;4870:24;4888:5;4870:24;:::i;:::-;4865:3;4858:37;4783:118;;:::o;4907:222::-;5000:4;5038:2;5027:9;5023:18;5015:26;;5051:71;5119:1;5108:9;5104:17;5095:6;5051:71;:::i;:::-;4907:222;;;;:::o;5135:619::-;5212:6;5220;5228;5277:2;5265:9;5256:7;5252:23;5248:32;5245:119;;;5283:79;;:::i;:::-;5245:119;5403:1;5428:53;5473:7;5464:6;5453:9;5449:22;5428:53;:::i;:::-;5418:63;;5374:117;5530:2;5556:53;5601:7;5592:6;5581:9;5577:22;5556:53;:::i;:::-;5546:63;;5501:118;5658:2;5684:53;5729:7;5720:6;5709:9;5705:22;5684:53;:::i;:::-;5674:63;;5629:118;5135:619;;;;;:::o;5760:117::-;5869:1;5866;5859:12;5883:117;5992:1;5989;5982:12;6006:180;6054:77;6051:1;6044:88;6151:4;6148:1;6141:15;6175:4;6172:1;6165:15;6192:281;6275:27;6297:4;6275:27;:::i;:::-;6267:6;6263:40;6405:6;6393:10;6390:22;6369:18;6357:10;6354:34;6351:62;6348:88;;;6416:18;;:::i;:::-;6348:88;6456:10;6452:2;6445:22;6235:238;6192:281;;:::o;6479:129::-;6513:6;6540:20;;:::i;:::-;6530:30;;6569:33;6597:4;6589:6;6569:33;:::i;:::-;6479:129;;;:::o;6614:308::-;6676:4;6766:18;6758:6;6755:30;6752:56;;;6788:18;;:::i;:::-;6752:56;6826:29;6848:6;6826:29;:::i;:::-;6818:37;;6910:4;6904;6900:15;6892:23;;6614:308;;;:::o;6928:148::-;7026:6;7021:3;7016;7003:30;7067:1;7058:6;7053:3;7049:16;7042:27;6928:148;;;:::o;7082:425::-;7160:5;7185:66;7201:49;7243:6;7201:49;:::i;:::-;7185:66;:::i;:::-;7176:75;;7274:6;7267:5;7260:21;7312:4;7305:5;7301:16;7350:3;7341:6;7336:3;7332:16;7329:25;7326:112;;;7357:79;;:::i;:::-;7326:112;7447:54;7494:6;7489:3;7484;7447:54;:::i;:::-;7166:341;7082:425;;;;;:::o;7527:340::-;7583:5;7632:3;7625:4;7617:6;7613:17;7609:27;7599:122;;7640:79;;:::i;:::-;7599:122;7757:6;7744:20;7782:79;7857:3;7849:6;7842:4;7834:6;7830:17;7782:79;:::i;:::-;7773:88;;7589:278;7527:340;;;;:::o;7873:509::-;7942:6;7991:2;7979:9;7970:7;7966:23;7962:32;7959:119;;;7997:79;;:::i;:::-;7959:119;8145:1;8134:9;8130:17;8117:31;8175:18;8167:6;8164:30;8161:117;;;8197:79;;:::i;:::-;8161:117;8302:63;8357:7;8348:6;8337:9;8333:22;8302:63;:::i;:::-;8292:73;;8088:287;7873:509;;;;:::o;8388:329::-;8447:6;8496:2;8484:9;8475:7;8471:23;8467:32;8464:119;;;8502:79;;:::i;:::-;8464:119;8622:1;8647:53;8692:7;8683:6;8672:9;8668:22;8647:53;:::i;:::-;8637:63;;8593:117;8388:329;;;;:::o;8723:116::-;8793:21;8808:5;8793:21;:::i;:::-;8786:5;8783:32;8773:60;;8829:1;8826;8819:12;8773:60;8723:116;:::o;8845:133::-;8888:5;8926:6;8913:20;8904:29;;8942:30;8966:5;8942:30;:::i;:::-;8845:133;;;;:::o;8984:468::-;9049:6;9057;9106:2;9094:9;9085:7;9081:23;9077:32;9074:119;;;9112:79;;:::i;:::-;9074:119;9232:1;9257:53;9302:7;9293:6;9282:9;9278:22;9257:53;:::i;:::-;9247:63;;9203:117;9359:2;9385:50;9427:7;9418:6;9407:9;9403:22;9385:50;:::i;:::-;9375:60;;9330:115;8984:468;;;;;:::o;9458:307::-;9519:4;9609:18;9601:6;9598:30;9595:56;;;9631:18;;:::i;:::-;9595:56;9669:29;9691:6;9669:29;:::i;:::-;9661:37;;9753:4;9747;9743:15;9735:23;;9458:307;;;:::o;9771:423::-;9848:5;9873:65;9889:48;9930:6;9889:48;:::i;:::-;9873:65;:::i;:::-;9864:74;;9961:6;9954:5;9947:21;9999:4;9992:5;9988:16;10037:3;10028:6;10023:3;10019:16;10016:25;10013:112;;;10044:79;;:::i;:::-;10013:112;10134:54;10181:6;10176:3;10171;10134:54;:::i;:::-;9854:340;9771:423;;;;;:::o;10213:338::-;10268:5;10317:3;10310:4;10302:6;10298:17;10294:27;10284:122;;10325:79;;:::i;:::-;10284:122;10442:6;10429:20;10467:78;10541:3;10533:6;10526:4;10518:6;10514:17;10467:78;:::i;:::-;10458:87;;10274:277;10213:338;;;;:::o;10557:943::-;10652:6;10660;10668;10676;10725:3;10713:9;10704:7;10700:23;10696:33;10693:120;;;10732:79;;:::i;:::-;10693:120;10852:1;10877:53;10922:7;10913:6;10902:9;10898:22;10877:53;:::i;:::-;10867:63;;10823:117;10979:2;11005:53;11050:7;11041:6;11030:9;11026:22;11005:53;:::i;:::-;10995:63;;10950:118;11107:2;11133:53;11178:7;11169:6;11158:9;11154:22;11133:53;:::i;:::-;11123:63;;11078:118;11263:2;11252:9;11248:18;11235:32;11294:18;11286:6;11283:30;11280:117;;;11316:79;;:::i;:::-;11280:117;11421:62;11475:7;11466:6;11455:9;11451:22;11421:62;:::i;:::-;11411:72;;11206:287;10557:943;;;;;;;:::o;11506:474::-;11574:6;11582;11631:2;11619:9;11610:7;11606:23;11602:32;11599:119;;;11637:79;;:::i;:::-;11599:119;11757:1;11782:53;11827:7;11818:6;11807:9;11803:22;11782:53;:::i;:::-;11772:63;;11728:117;11884:2;11910:53;11955:7;11946:6;11935:9;11931:22;11910:53;:::i;:::-;11900:63;;11855:118;11506:474;;;;;:::o;11986:180::-;12034:77;12031:1;12024:88;12131:4;12128:1;12121:15;12155:4;12152:1;12145:15;12172:320;12216:6;12253:1;12247:4;12243:12;12233:22;;12300:1;12294:4;12290:12;12321:18;12311:81;;12377:4;12369:6;12365:17;12355:27;;12311:81;12439:2;12431:6;12428:14;12408:18;12405:38;12402:84;;12458:18;;:::i;:::-;12402:84;12223:269;12172:320;;;:::o;12498:442::-;12647:4;12685:2;12674:9;12670:18;12662:26;;12698:71;12766:1;12755:9;12751:17;12742:6;12698:71;:::i;:::-;12779:72;12847:2;12836:9;12832:18;12823:6;12779:72;:::i;:::-;12861;12929:2;12918:9;12914:18;12905:6;12861:72;:::i;:::-;12498:442;;;;;;:::o;12946:182::-;13086:34;13082:1;13074:6;13070:14;13063:58;12946:182;:::o;13134:366::-;13276:3;13297:67;13361:2;13356:3;13297:67;:::i;:::-;13290:74;;13373:93;13462:3;13373:93;:::i;:::-;13491:2;13486:3;13482:12;13475:19;;13134:366;;;:::o;13506:419::-;13672:4;13710:2;13699:9;13695:18;13687:26;;13759:9;13753:4;13749:20;13745:1;13734:9;13730:17;13723:47;13787:131;13913:4;13787:131;:::i;:::-;13779:139;;13506:419;;;:::o;13931:141::-;13980:4;14003:3;13995:11;;14026:3;14023:1;14016:14;14060:4;14057:1;14047:18;14039:26;;13931:141;;;:::o;14078:93::-;14115:6;14162:2;14157;14150:5;14146:14;14142:23;14132:33;;14078:93;;;:::o;14177:107::-;14221:8;14271:5;14265:4;14261:16;14240:37;;14177:107;;;;:::o;14290:393::-;14359:6;14409:1;14397:10;14393:18;14432:97;14462:66;14451:9;14432:97;:::i;:::-;14550:39;14580:8;14569:9;14550:39;:::i;:::-;14538:51;;14622:4;14618:9;14611:5;14607:21;14598:30;;14671:4;14661:8;14657:19;14650:5;14647:30;14637:40;;14366:317;;14290:393;;;;;:::o;14689:60::-;14717:3;14738:5;14731:12;;14689:60;;;:::o;14755:142::-;14805:9;14838:53;14856:34;14865:24;14883:5;14865:24;:::i;:::-;14856:34;:::i;:::-;14838:53;:::i;:::-;14825:66;;14755:142;;;:::o;14903:75::-;14946:3;14967:5;14960:12;;14903:75;;;:::o;14984:269::-;15094:39;15125:7;15094:39;:::i;:::-;15155:91;15204:41;15228:16;15204:41;:::i;:::-;15196:6;15189:4;15183:11;15155:91;:::i;:::-;15149:4;15142:105;15060:193;14984:269;;;:::o;15259:73::-;15304:3;15259:73;:::o;15338:189::-;15415:32;;:::i;:::-;15456:65;15514:6;15506;15500:4;15456:65;:::i;:::-;15391:136;15338:189;;:::o;15533:186::-;15593:120;15610:3;15603:5;15600:14;15593:120;;;15664:39;15701:1;15694:5;15664:39;:::i;:::-;15637:1;15630:5;15626:13;15617:22;;15593:120;;;15533:186;;:::o;15725:543::-;15826:2;15821:3;15818:11;15815:446;;;15860:38;15892:5;15860:38;:::i;:::-;15944:29;15962:10;15944:29;:::i;:::-;15934:8;15930:44;16127:2;16115:10;16112:18;16109:49;;;16148:8;16133:23;;16109:49;16171:80;16227:22;16245:3;16227:22;:::i;:::-;16217:8;16213:37;16200:11;16171:80;:::i;:::-;15830:431;;15815:446;15725:543;;;:::o;16274:117::-;16328:8;16378:5;16372:4;16368:16;16347:37;;16274:117;;;;:::o;16397:169::-;16441:6;16474:51;16522:1;16518:6;16510:5;16507:1;16503:13;16474:51;:::i;:::-;16470:56;16555:4;16549;16545:15;16535:25;;16448:118;16397:169;;;;:::o;16571:295::-;16647:4;16793:29;16818:3;16812:4;16793:29;:::i;:::-;16785:37;;16855:3;16852:1;16848:11;16842:4;16839:21;16831:29;;16571:295;;;;:::o;16871:1395::-;16988:37;17021:3;16988:37;:::i;:::-;17090:18;17082:6;17079:30;17076:56;;;17112:18;;:::i;:::-;17076:56;17156:38;17188:4;17182:11;17156:38;:::i;:::-;17241:67;17301:6;17293;17287:4;17241:67;:::i;:::-;17335:1;17359:4;17346:17;;17391:2;17383:6;17380:14;17408:1;17403:618;;;;18065:1;18082:6;18079:77;;;18131:9;18126:3;18122:19;18116:26;18107:35;;18079:77;18182:67;18242:6;18235:5;18182:67;:::i;:::-;18176:4;18169:81;18038:222;17373:887;;17403:618;17455:4;17451:9;17443:6;17439:22;17489:37;17521:4;17489:37;:::i;:::-;17548:1;17562:208;17576:7;17573:1;17570:14;17562:208;;;17655:9;17650:3;17646:19;17640:26;17632:6;17625:42;17706:1;17698:6;17694:14;17684:24;;17753:2;17742:9;17738:18;17725:31;;17599:4;17596:1;17592:12;17587:17;;17562:208;;;17798:6;17789:7;17786:19;17783:179;;;17856:9;17851:3;17847:19;17841:26;17899:48;17941:4;17933:6;17929:17;17918:9;17899:48;:::i;:::-;17891:6;17884:64;17806:156;17783:179;18008:1;18004;17996:6;17992:14;17988:22;17982:4;17975:36;17410:611;;;17373:887;;16963:1303;;;16871:1395;;:::o;18272:180::-;18320:77;18317:1;18310:88;18417:4;18414:1;18407:15;18441:4;18438:1;18431:15;18458:194;18498:4;18518:20;18536:1;18518:20;:::i;:::-;18513:25;;18552:20;18570:1;18552:20;:::i;:::-;18547:25;;18596:1;18593;18589:9;18581:17;;18620:1;18614:4;18611:11;18608:37;;;18625:18;;:::i;:::-;18608:37;18458:194;;;;:::o;18658:179::-;18798:31;18794:1;18786:6;18782:14;18775:55;18658:179;:::o;18843:366::-;18985:3;19006:67;19070:2;19065:3;19006:67;:::i;:::-;18999:74;;19082:93;19171:3;19082:93;:::i;:::-;19200:2;19195:3;19191:12;19184:19;;18843:366;;;:::o;19215:419::-;19381:4;19419:2;19408:9;19404:18;19396:26;;19468:9;19462:4;19458:20;19454:1;19443:9;19439:17;19432:47;19496:131;19622:4;19496:131;:::i;:::-;19488:139;;19215:419;;;:::o;19640:168::-;19780:20;19776:1;19768:6;19764:14;19757:44;19640:168;:::o;19814:366::-;19956:3;19977:67;20041:2;20036:3;19977:67;:::i;:::-;19970:74;;20053:93;20142:3;20053:93;:::i;:::-;20171:2;20166:3;20162:12;20155:19;;19814:366;;;:::o;20186:419::-;20352:4;20390:2;20379:9;20375:18;20367:26;;20439:9;20433:4;20429:20;20425:1;20414:9;20410:17;20403:47;20467:131;20593:4;20467:131;:::i;:::-;20459:139;;20186:419;;;:::o;20611:168::-;20751:20;20747:1;20739:6;20735:14;20728:44;20611:168;:::o;20785:366::-;20927:3;20948:67;21012:2;21007:3;20948:67;:::i;:::-;20941:74;;21024:93;21113:3;21024:93;:::i;:::-;21142:2;21137:3;21133:12;21126:19;;20785:366;;;:::o;21157:419::-;21323:4;21361:2;21350:9;21346:18;21338:26;;21410:9;21404:4;21400:20;21396:1;21385:9;21381:17;21374:47;21438:131;21564:4;21438:131;:::i;:::-;21430:139;;21157:419;;;:::o;21582:410::-;21622:7;21645:20;21663:1;21645:20;:::i;:::-;21640:25;;21679:20;21697:1;21679:20;:::i;:::-;21674:25;;21734:1;21731;21727:9;21756:30;21774:11;21756:30;:::i;:::-;21745:41;;21935:1;21926:7;21922:15;21919:1;21916:22;21896:1;21889:9;21869:83;21846:139;;21965:18;;:::i;:::-;21846:139;21630:362;21582:410;;;;:::o;21998:169::-;22138:21;22134:1;22126:6;22122:14;22115:45;21998:169;:::o;22173:366::-;22315:3;22336:67;22400:2;22395:3;22336:67;:::i;:::-;22329:74;;22412:93;22501:3;22412:93;:::i;:::-;22530:2;22525:3;22521:12;22514:19;;22173:366;;;:::o;22545:419::-;22711:4;22749:2;22738:9;22734:18;22726:26;;22798:9;22792:4;22788:20;22784:1;22773:9;22769:17;22762:47;22826:131;22952:4;22826:131;:::i;:::-;22818:139;;22545:419;;;:::o;22970:233::-;23009:3;23032:24;23050:5;23032:24;:::i;:::-;23023:33;;23078:66;23071:5;23068:77;23065:103;;23148:18;;:::i;:::-;23065:103;23195:1;23188:5;23184:13;23177:20;;22970:233;;;:::o;23209:148::-;23311:11;23348:3;23333:18;;23209:148;;;;:::o;23363:390::-;23469:3;23497:39;23530:5;23497:39;:::i;:::-;23552:89;23634:6;23629:3;23552:89;:::i;:::-;23545:96;;23650:65;23708:6;23703:3;23696:4;23689:5;23685:16;23650:65;:::i;:::-;23740:6;23735:3;23731:16;23724:23;;23473:280;23363:390;;;;:::o;23759:435::-;23939:3;23961:95;24052:3;24043:6;23961:95;:::i;:::-;23954:102;;24073:95;24164:3;24155:6;24073:95;:::i;:::-;24066:102;;24185:3;24178:10;;23759:435;;;;;:::o;24200:180::-;24248:77;24245:1;24238:88;24345:4;24342:1;24335:15;24369:4;24366:1;24359:15;24386:185;24426:1;24443:20;24461:1;24443:20;:::i;:::-;24438:25;;24477:20;24495:1;24477:20;:::i;:::-;24472:25;;24516:1;24506:35;;24521:18;;:::i;:::-;24506:35;24563:1;24560;24556:9;24551:14;;24386:185;;;;:::o;24577:225::-;24717:34;24713:1;24705:6;24701:14;24694:58;24786:8;24781:2;24773:6;24769:15;24762:33;24577:225;:::o;24808:366::-;24950:3;24971:67;25035:2;25030:3;24971:67;:::i;:::-;24964:74;;25047:93;25136:3;25047:93;:::i;:::-;25165:2;25160:3;25156:12;25149:19;;24808:366;;;:::o;25180:419::-;25346:4;25384:2;25373:9;25369:18;25361:26;;25433:9;25427:4;25423:20;25419:1;25408:9;25404:17;25397:47;25461:131;25587:4;25461:131;:::i;:::-;25453:139;;25180:419;;;:::o;25605:98::-;25656:6;25690:5;25684:12;25674:22;;25605:98;;;:::o;25709:168::-;25792:11;25826:6;25821:3;25814:19;25866:4;25861:3;25857:14;25842:29;;25709:168;;;;:::o;25883:373::-;25969:3;25997:38;26029:5;25997:38;:::i;:::-;26051:70;26114:6;26109:3;26051:70;:::i;:::-;26044:77;;26130:65;26188:6;26183:3;26176:4;26169:5;26165:16;26130:65;:::i;:::-;26220:29;26242:6;26220:29;:::i;:::-;26215:3;26211:39;26204:46;;25973:283;25883:373;;;;:::o;26262:640::-;26457:4;26495:3;26484:9;26480:19;26472:27;;26509:71;26577:1;26566:9;26562:17;26553:6;26509:71;:::i;:::-;26590:72;26658:2;26647:9;26643:18;26634:6;26590:72;:::i;:::-;26672;26740:2;26729:9;26725:18;26716:6;26672:72;:::i;:::-;26791:9;26785:4;26781:20;26776:2;26765:9;26761:18;26754:48;26819:76;26890:4;26881:6;26819:76;:::i;:::-;26811:84;;26262:640;;;;;;;:::o;26908:141::-;26964:5;26995:6;26989:13;26980:22;;27011:32;27037:5;27011:32;:::i;:::-;26908:141;;;;:::o;27055:349::-;27124:6;27173:2;27161:9;27152:7;27148:23;27144:32;27141:119;;;27179:79;;:::i;:::-;27141:119;27299:1;27324:63;27379:7;27370:6;27359:9;27355:22;27324:63;:::i;:::-;27314:73;;27270:127;27055:349;;;;:::o;27410:332::-;27531:4;27569:2;27558:9;27554:18;27546:26;;27582:71;27650:1;27639:9;27635:17;27626:6;27582:71;:::i;:::-;27663:72;27731:2;27720:9;27716:18;27707:6;27663:72;:::i;:::-;27410:332;;;;;:::o
Swarm Source
ipfs://53c19c0608f2b9cac3b4f3aabf14be591585a696b5fa880c1ffefc10f35cba41
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
APE | Ape (APE) | 100.00% | $1.51 | 138 | $208.87 |
[ 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.