Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19298998 | 255 days ago | IN | 0 ETH | 0.00196616 | ||||
Approve | 19298997 | 255 days ago | IN | 0 ETH | 0.00183826 | ||||
Approve | 19298996 | 255 days ago | IN | 0 ETH | 0.00209912 | ||||
Approve | 19274543 | 259 days ago | IN | 0 ETH | 0.00146218 | ||||
Approve | 19274535 | 259 days ago | IN | 0 ETH | 0.00146784 | ||||
Approve | 19274462 | 259 days ago | IN | 0 ETH | 0.00162854 | ||||
Approve | 19274461 | 259 days ago | IN | 0 ETH | 0.00167627 | ||||
Approve | 19274458 | 259 days ago | IN | 0 ETH | 0.00168846 | ||||
Approve | 19274457 | 259 days ago | IN | 0 ETH | 0.00163701 | ||||
Approve | 19274457 | 259 days ago | IN | 0 ETH | 0.00201484 | ||||
Approve | 19274455 | 259 days ago | IN | 0 ETH | 0.00164945 | ||||
Approve | 19274454 | 259 days ago | IN | 0 ETH | 0.00174993 | ||||
Approve | 19274451 | 259 days ago | IN | 0 ETH | 0.00177951 | ||||
Approve | 19274449 | 259 days ago | IN | 0 ETH | 0.00176383 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.00225698 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.00225698 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.00225698 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.00225698 | ||||
Approve | 19274448 | 259 days ago | IN | 0 ETH | 0.0017841 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TRUMPSNEAKERS
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-02-20 */ // File: @openzeppelin/[email protected]/interfaces/IERC3156FlashBorrower.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC3156FlashBorrower.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC3156 FlashBorrower, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. */ interface IERC3156FlashBorrower { /** * @dev Receive a flash loan. * @param initiator The initiator of the loan. * @param token The loan currency. * @param amount The amount of tokens lent. * @param fee The additional amount of tokens to repay. * @param data Arbitrary data structure, intended to contain user-defined parameters. * @return The keccak256 hash of "ERC3156FlashBorrower.onFlashLoan" */ function onFlashLoan( address initiator, address token, uint256 amount, uint256 fee, bytes calldata data ) external returns (bytes32); } // File: @openzeppelin/[email protected]/interfaces/IERC3156FlashLender.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC3156FlashLender.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC3156 FlashLender, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. */ interface IERC3156FlashLender { /** * @dev The amount of currency available to be lended. * @param token The loan currency. * @return The amount of `token` that can be borrowed. */ function maxFlashLoan(address token) external view returns (uint256); /** * @dev The fee to be charged for a given loan. * @param token The loan currency. * @param amount The amount of tokens lent. * @return The amount of `token` to be charged for the loan, on top of the returned principal. */ function flashFee(address token, uint256 amount) external view returns (uint256); /** * @dev Initiate a flash loan. * @param receiver The receiver of the tokens in the loan, and the receiver of the callback. * @param token The loan currency. * @param amount The amount of tokens lent. * @param data Arbitrary data structure, intended to contain user-defined parameters. */ function flashLoan( IERC3156FlashBorrower receiver, address token, uint256 amount, bytes calldata data ) external returns (bool); } // File: @openzeppelin/[email protected]/utils/math/SafeCast.sol // OpenZeppelin Contracts (last updated v5.0.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 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); } } // File: @openzeppelin/[email protected]/interfaces/IERC6372.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC6372.sol) pragma solidity ^0.8.20; interface IERC6372 { /** * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting). */ function clock() external view returns (uint48); /** * @dev Description of the clock */ // solhint-disable-next-line func-name-mixedcase function CLOCK_MODE() external view returns (string memory); } // File: @openzeppelin/[email protected]/governance/utils/IVotes.sol // OpenZeppelin Contracts (last updated v5.0.0) (governance/utils/IVotes.sol) pragma solidity ^0.8.20; /** * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts. */ interface IVotes { /** * @dev The signature used has expired. */ error VotesExpiredSignature(uint256 expiry); /** * @dev Emitted when an account changes their delegate. */ event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /** * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of voting units. */ event DelegateVotesChanged(address indexed delegate, uint256 previousVotes, uint256 newVotes); /** * @dev Returns the current amount of votes that `account` has. */ function getVotes(address account) external view returns (uint256); /** * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is * configured to use block numbers, this will return the value at the end of the corresponding block. */ function getPastVotes(address account, uint256 timepoint) external view returns (uint256); /** * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is * configured to use block numbers, this will return the value at the end of the corresponding block. * * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. * Votes that have not been delegated are still part of total supply, even though they would not participate in a * vote. */ function getPastTotalSupply(uint256 timepoint) external view returns (uint256); /** * @dev Returns the delegate that `account` has chosen. */ function delegates(address account) external view returns (address); /** * @dev Delegates votes from the sender to `delegatee`. */ function delegate(address delegatee) external; /** * @dev Delegates votes from signer to `delegatee`. */ function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external; } // File: @openzeppelin/[email protected]/interfaces/IERC5805.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5805.sol) pragma solidity ^0.8.20; interface IERC5805 is IERC6372, IVotes {} // File: @openzeppelin/[email protected]/utils/Nonces.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol) pragma solidity ^0.8.20; /** * @dev Provides tracking nonces for addresses. Nonces will only increment. */ abstract contract Nonces { /** * @dev The nonce used for an `account` is not the expected current nonce. */ error InvalidAccountNonce(address account, uint256 currentNonce); mapping(address account => uint256) private _nonces; /** * @dev Returns the next unused nonce for an address. */ function nonces(address owner) public view virtual returns (uint256) { return _nonces[owner]; } /** * @dev Consumes a nonce. * * Returns the current value and increments nonce. */ function _useNonce(address owner) internal virtual returns (uint256) { // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be // decremented or reset. This guarantees that the nonce never overflows. unchecked { // It is important to do x++ and not ++x here. return _nonces[owner]++; } } /** * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`. */ function _useCheckedNonce(address owner, uint256 nonce) internal virtual { uint256 current = _useNonce(owner); if (nonce != current) { revert InvalidAccountNonce(owner, current); } } } // File: @openzeppelin/[email protected]/interfaces/IERC5267.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol) pragma solidity ^0.8.20; interface IERC5267 { /** * @dev MAY be emitted to signal that the domain could have changed. */ event EIP712DomainChanged(); /** * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712 * signature. */ function eip712Domain() external view returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ); } // File: @openzeppelin/[email protected]/utils/StorageSlot.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.20; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ```solidity * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(newImplementation.code.length > 0); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } } // File: @openzeppelin/[email protected]/utils/ShortStrings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol) pragma solidity ^0.8.20; // | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | // | length | 0x BB | type ShortString is bytes32; /** * @dev This library provides functions to convert short memory strings * into a `ShortString` type that can be used as an immutable variable. * * Strings of arbitrary length can be optimized using this library if * they are short enough (up to 31 bytes) by packing them with their * length (1 byte) in a single EVM word (32 bytes). Additionally, a * fallback mechanism can be used for every other case. * * Usage example: * * ```solidity * contract Named { * using ShortStrings for *; * * ShortString private immutable _name; * string private _nameFallback; * * constructor(string memory contractName) { * _name = contractName.toShortStringWithFallback(_nameFallback); * } * * function name() external view returns (string memory) { * return _name.toStringWithFallback(_nameFallback); * } * } * ``` */ library ShortStrings { // Used as an identifier for strings longer than 31 bytes. bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF; error StringTooLong(string str); error InvalidShortString(); /** * @dev Encode a string of at most 31 chars into a `ShortString`. * * This will trigger a `StringTooLong` error is the input string is too long. */ function toShortString(string memory str) internal pure returns (ShortString) { bytes memory bstr = bytes(str); if (bstr.length > 31) { revert StringTooLong(str); } return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length)); } /** * @dev Decode a `ShortString` back to a "normal" string. */ function toString(ShortString sstr) internal pure returns (string memory) { uint256 len = byteLength(sstr); // using `new string(len)` would work locally but is not memory safe. string memory str = new string(32); /// @solidity memory-safe-assembly assembly { mstore(str, len) mstore(add(str, 0x20), sstr) } return str; } /** * @dev Return the length of a `ShortString`. */ function byteLength(ShortString sstr) internal pure returns (uint256) { uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF; if (result > 31) { revert InvalidShortString(); } return result; } /** * @dev Encode a string into a `ShortString`, or write it to storage if it is too long. */ function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) { if (bytes(value).length < 32) { return toShortString(value); } else { StorageSlot.getStringSlot(store).value = value; return ShortString.wrap(FALLBACK_SENTINEL); } } /** * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}. */ function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) { if (ShortString.unwrap(value) != FALLBACK_SENTINEL) { return toString(value); } else { return store; } } /** * @dev Return the length of a string that was encoded to `ShortString` or written to storage using * {setWithFallback}. * * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of * actual characters as the UTF-8 encoding of a single character can span over multiple bytes. */ function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) { if (ShortString.unwrap(value) != FALLBACK_SENTINEL) { return byteLength(value); } else { return bytes(store).length; } } } // File: @openzeppelin/[email protected]/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/[email protected]/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/[email protected]/utils/types/Time.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/types/Time.sol) pragma solidity ^0.8.20; /** * @dev This library provides helpers for manipulating time-related objects. * * It uses the following types: * - `uint48` for timepoints * - `uint32` for durations * * While the library doesn't provide specific types for timepoints and duration, it does provide: * - a `Delay` type to represent duration that can be programmed to change value automatically at a given point * - additional helper functions */ library Time { using Time for *; /** * @dev Get the block timestamp as a Timepoint. */ function timestamp() internal view returns (uint48) { return SafeCast.toUint48(block.timestamp); } /** * @dev Get the block number as a Timepoint. */ function blockNumber() internal view returns (uint48) { return SafeCast.toUint48(block.number); } // ==================================================== Delay ===================================================== /** * @dev A `Delay` is a uint32 duration that can be programmed to change value automatically at a given point in the * future. The "effect" timepoint describes when the transitions happens from the "old" value to the "new" value. * This allows updating the delay applied to some operation while keeping some guarantees. * * In particular, the {update} function guarantees that if the delay is reduced, the old delay still applies for * some time. For example if the delay is currently 7 days to do an upgrade, the admin should not be able to set * the delay to 0 and upgrade immediately. If the admin wants to reduce the delay, the old delay (7 days) should * still apply for some time. * * * The `Delay` type is 112 bits long, and packs the following: * * ``` * | [uint48]: effect date (timepoint) * | | [uint32]: value before (duration) * ↓ ↓ ↓ [uint32]: value after (duration) * 0xAAAAAAAAAAAABBBBBBBBCCCCCCCC * ``` * * NOTE: The {get} and {withUpdate} functions operate using timestamps. Block number based delays are not currently * supported. */ type Delay is uint112; /** * @dev Wrap a duration into a Delay to add the one-step "update in the future" feature */ function toDelay(uint32 duration) internal pure returns (Delay) { return Delay.wrap(duration); } /** * @dev Get the value at a given timepoint plus the pending value and effect timepoint if there is a scheduled * change after this timepoint. If the effect timepoint is 0, then the pending value should not be considered. */ function _getFullAt(Delay self, uint48 timepoint) private pure returns (uint32, uint32, uint48) { (uint32 valueBefore, uint32 valueAfter, uint48 effect) = self.unpack(); return effect <= timepoint ? (valueAfter, 0, 0) : (valueBefore, valueAfter, effect); } /** * @dev Get the current value plus the pending value and effect timepoint if there is a scheduled change. If the * effect timepoint is 0, then the pending value should not be considered. */ function getFull(Delay self) internal view returns (uint32, uint32, uint48) { return _getFullAt(self, timestamp()); } /** * @dev Get the current value. */ function get(Delay self) internal view returns (uint32) { (uint32 delay, , ) = self.getFull(); return delay; } /** * @dev Update a Delay object so that it takes a new duration after a timepoint that is automatically computed to * enforce the old delay at the moment of the update. Returns the updated Delay object and the timestamp when the * new delay becomes effective. */ function withUpdate( Delay self, uint32 newValue, uint32 minSetback ) internal view returns (Delay updatedDelay, uint48 effect) { uint32 value = self.get(); uint32 setback = uint32(Math.max(minSetback, value > newValue ? value - newValue : 0)); effect = timestamp() + setback; return (pack(value, newValue, effect), effect); } /** * @dev Split a delay into its components: valueBefore, valueAfter and effect (transition timepoint). */ function unpack(Delay self) internal pure returns (uint32 valueBefore, uint32 valueAfter, uint48 effect) { uint112 raw = Delay.unwrap(self); valueAfter = uint32(raw); valueBefore = uint32(raw >> 32); effect = uint48(raw >> 64); return (valueBefore, valueAfter, effect); } /** * @dev pack the components into a Delay object. */ function pack(uint32 valueBefore, uint32 valueAfter, uint48 effect) internal pure returns (Delay) { return Delay.wrap((uint112(effect) << 64) | (uint112(valueBefore) << 32) | uint112(valueAfter)); } } // File: @openzeppelin/[email protected]/utils/structs/Checkpoints.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/Checkpoints.sol) // This file was procedurally generated from scripts/generate/templates/Checkpoints.js. pragma solidity ^0.8.20; /** * @dev This library defines the `Trace*` struct, for checkpointing values as they change at different points in * time, and later looking up past values by block number. See {Votes} as an example. * * To create a history of checkpoints define a variable type `Checkpoints.Trace*` in your contract, and store a new * checkpoint for the current transaction block using the {push} function. */ library Checkpoints { /** * @dev A value was attempted to be inserted on a past checkpoint. */ error CheckpointUnorderedInsertion(); struct Trace224 { Checkpoint224[] _checkpoints; } struct Checkpoint224 { uint32 _key; uint224 _value; } /** * @dev Pushes a (`key`, `value`) pair into a Trace224 so that it is stored as the checkpoint. * * Returns previous value and new value. * * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint32).max` key set will disable the * library. */ function push(Trace224 storage self, uint32 key, uint224 value) internal returns (uint224, uint224) { return _insert(self._checkpoints, key, value); } /** * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if * there is none. */ function lowerLookup(Trace224 storage self, uint32 key) internal view returns (uint224) { uint256 len = self._checkpoints.length; uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len); return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. */ function upperLookup(Trace224 storage self, uint32 key) internal view returns (uint224) { uint256 len = self._checkpoints.length; uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. * * NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high * keys). */ function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) { uint256 len = self._checkpoints.length; uint256 low = 0; uint256 high = len; if (len > 5) { uint256 mid = len - Math.sqrt(len); if (key < _unsafeAccess(self._checkpoints, mid)._key) { high = mid; } else { low = mid + 1; } } uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints. */ function latest(Trace224 storage self) internal view returns (uint224) { uint256 pos = self._checkpoints.length; return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value * in the most recent checkpoint. */ function latestCheckpoint(Trace224 storage self) internal view returns (bool exists, uint32 _key, uint224 _value) { uint256 pos = self._checkpoints.length; if (pos == 0) { return (false, 0, 0); } else { Checkpoint224 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1); return (true, ckpt._key, ckpt._value); } } /** * @dev Returns the number of checkpoint. */ function length(Trace224 storage self) internal view returns (uint256) { return self._checkpoints.length; } /** * @dev Returns checkpoint at given position. */ function at(Trace224 storage self, uint32 pos) internal view returns (Checkpoint224 memory) { return self._checkpoints[pos]; } /** * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint, * or by updating the last one. */ function _insert(Checkpoint224[] storage self, uint32 key, uint224 value) private returns (uint224, uint224) { uint256 pos = self.length; if (pos > 0) { // Copying to memory is important here. Checkpoint224 memory last = _unsafeAccess(self, pos - 1); // Checkpoint keys must be non-decreasing. if (last._key > key) { revert CheckpointUnorderedInsertion(); } // Update or push new checkpoint if (last._key == key) { _unsafeAccess(self, pos - 1)._value = value; } else { self.push(Checkpoint224({_key: key, _value: value})); } return (last._value, value); } else { self.push(Checkpoint224({_key: key, _value: value})); return (0, value); } } /** * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive * `high`. * * WARNING: `high` should not be greater than the array's length. */ function _upperBinaryLookup( Checkpoint224[] storage self, uint32 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key > key) { high = mid; } else { low = mid + 1; } } return high; } /** * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and * exclusive `high`. * * WARNING: `high` should not be greater than the array's length. */ function _lowerBinaryLookup( Checkpoint224[] storage self, uint32 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key < key) { low = mid + 1; } else { high = mid; } } return high; } /** * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds. */ function _unsafeAccess( Checkpoint224[] storage self, uint256 pos ) private pure returns (Checkpoint224 storage result) { assembly { mstore(0, self.slot) result.slot := add(keccak256(0, 0x20), pos) } } struct Trace208 { Checkpoint208[] _checkpoints; } struct Checkpoint208 { uint48 _key; uint208 _value; } /** * @dev Pushes a (`key`, `value`) pair into a Trace208 so that it is stored as the checkpoint. * * Returns previous value and new value. * * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint48).max` key set will disable the * library. */ function push(Trace208 storage self, uint48 key, uint208 value) internal returns (uint208, uint208) { return _insert(self._checkpoints, key, value); } /** * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if * there is none. */ function lowerLookup(Trace208 storage self, uint48 key) internal view returns (uint208) { uint256 len = self._checkpoints.length; uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len); return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. */ function upperLookup(Trace208 storage self, uint48 key) internal view returns (uint208) { uint256 len = self._checkpoints.length; uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. * * NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high * keys). */ function upperLookupRecent(Trace208 storage self, uint48 key) internal view returns (uint208) { uint256 len = self._checkpoints.length; uint256 low = 0; uint256 high = len; if (len > 5) { uint256 mid = len - Math.sqrt(len); if (key < _unsafeAccess(self._checkpoints, mid)._key) { high = mid; } else { low = mid + 1; } } uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints. */ function latest(Trace208 storage self) internal view returns (uint208) { uint256 pos = self._checkpoints.length; return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value * in the most recent checkpoint. */ function latestCheckpoint(Trace208 storage self) internal view returns (bool exists, uint48 _key, uint208 _value) { uint256 pos = self._checkpoints.length; if (pos == 0) { return (false, 0, 0); } else { Checkpoint208 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1); return (true, ckpt._key, ckpt._value); } } /** * @dev Returns the number of checkpoint. */ function length(Trace208 storage self) internal view returns (uint256) { return self._checkpoints.length; } /** * @dev Returns checkpoint at given position. */ function at(Trace208 storage self, uint32 pos) internal view returns (Checkpoint208 memory) { return self._checkpoints[pos]; } /** * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint, * or by updating the last one. */ function _insert(Checkpoint208[] storage self, uint48 key, uint208 value) private returns (uint208, uint208) { uint256 pos = self.length; if (pos > 0) { // Copying to memory is important here. Checkpoint208 memory last = _unsafeAccess(self, pos - 1); // Checkpoint keys must be non-decreasing. if (last._key > key) { revert CheckpointUnorderedInsertion(); } // Update or push new checkpoint if (last._key == key) { _unsafeAccess(self, pos - 1)._value = value; } else { self.push(Checkpoint208({_key: key, _value: value})); } return (last._value, value); } else { self.push(Checkpoint208({_key: key, _value: value})); return (0, value); } } /** * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive * `high`. * * WARNING: `high` should not be greater than the array's length. */ function _upperBinaryLookup( Checkpoint208[] storage self, uint48 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key > key) { high = mid; } else { low = mid + 1; } } return high; } /** * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and * exclusive `high`. * * WARNING: `high` should not be greater than the array's length. */ function _lowerBinaryLookup( Checkpoint208[] storage self, uint48 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key < key) { low = mid + 1; } else { high = mid; } } return high; } /** * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds. */ function _unsafeAccess( Checkpoint208[] storage self, uint256 pos ) private pure returns (Checkpoint208 storage result) { assembly { mstore(0, self.slot) result.slot := add(keccak256(0, 0x20), pos) } } struct Trace160 { Checkpoint160[] _checkpoints; } struct Checkpoint160 { uint96 _key; uint160 _value; } /** * @dev Pushes a (`key`, `value`) pair into a Trace160 so that it is stored as the checkpoint. * * Returns previous value and new value. * * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint96).max` key set will disable the * library. */ function push(Trace160 storage self, uint96 key, uint160 value) internal returns (uint160, uint160) { return _insert(self._checkpoints, key, value); } /** * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if * there is none. */ function lowerLookup(Trace160 storage self, uint96 key) internal view returns (uint160) { uint256 len = self._checkpoints.length; uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len); return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. */ function upperLookup(Trace160 storage self, uint96 key) internal view returns (uint160) { uint256 len = self._checkpoints.length; uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero * if there is none. * * NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high * keys). */ function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) { uint256 len = self._checkpoints.length; uint256 low = 0; uint256 high = len; if (len > 5) { uint256 mid = len - Math.sqrt(len); if (key < _unsafeAccess(self._checkpoints, mid)._key) { high = mid; } else { low = mid + 1; } } uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high); return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints. */ function latest(Trace160 storage self) internal view returns (uint160) { uint256 pos = self._checkpoints.length; return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value; } /** * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value * in the most recent checkpoint. */ function latestCheckpoint(Trace160 storage self) internal view returns (bool exists, uint96 _key, uint160 _value) { uint256 pos = self._checkpoints.length; if (pos == 0) { return (false, 0, 0); } else { Checkpoint160 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1); return (true, ckpt._key, ckpt._value); } } /** * @dev Returns the number of checkpoint. */ function length(Trace160 storage self) internal view returns (uint256) { return self._checkpoints.length; } /** * @dev Returns checkpoint at given position. */ function at(Trace160 storage self, uint32 pos) internal view returns (Checkpoint160 memory) { return self._checkpoints[pos]; } /** * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint, * or by updating the last one. */ function _insert(Checkpoint160[] storage self, uint96 key, uint160 value) private returns (uint160, uint160) { uint256 pos = self.length; if (pos > 0) { // Copying to memory is important here. Checkpoint160 memory last = _unsafeAccess(self, pos - 1); // Checkpoint keys must be non-decreasing. if (last._key > key) { revert CheckpointUnorderedInsertion(); } // Update or push new checkpoint if (last._key == key) { _unsafeAccess(self, pos - 1)._value = value; } else { self.push(Checkpoint160({_key: key, _value: value})); } return (last._value, value); } else { self.push(Checkpoint160({_key: key, _value: value})); return (0, value); } } /** * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive * `high`. * * WARNING: `high` should not be greater than the array's length. */ function _upperBinaryLookup( Checkpoint160[] storage self, uint96 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key > key) { high = mid; } else { low = mid + 1; } } return high; } /** * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and * exclusive `high`. * * WARNING: `high` should not be greater than the array's length. */ function _lowerBinaryLookup( Checkpoint160[] storage self, uint96 key, uint256 low, uint256 high ) private view returns (uint256) { while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(self, mid)._key < key) { low = mid + 1; } else { high = mid; } } return high; } /** * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds. */ function _unsafeAccess( Checkpoint160[] storage self, uint256 pos ) private pure returns (Checkpoint160 storage result) { assembly { mstore(0, self.slot) result.slot := add(keccak256(0, 0x20), pos) } } } // File: @openzeppelin/[email protected]/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.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; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/[email protected]/utils/cryptography/MessageHashUtils.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol) pragma solidity ^0.8.20; /** * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing. * * The library provides methods for generating a hash of a message that conforms to the * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712] * specifications. */ library MessageHashUtils { /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing a bytes32 `messageHash` with * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with * keccak256, although any bytes32 value can be safely used because the final digest will * be re-hashed. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20) } } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing an arbitrary `message` with * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) { return keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message)); } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x00` (data with intended validator). * * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended * `validator` address. Then hashing the result. * * See {ECDSA-recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked(hex"19_00", validator, data)); } /** * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`). * * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with * `\x19\x01` and hashing the result. It corresponds to the hash signed by the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712. * * See {ECDSA-recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, hex"19_01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) digest := keccak256(ptr, 0x42) } } } // File: @openzeppelin/[email protected]/utils/cryptography/EIP712.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.20; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the * separator from the immutable values, which is cheaper than accessing a cached version in cold storage. * * @custom:oz-upgrades-unsafe-allow state-variable-immutable */ abstract contract EIP712 is IERC5267 { using ShortStrings for *; bytes32 private constant TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _cachedDomainSeparator; uint256 private immutable _cachedChainId; address private immutable _cachedThis; bytes32 private immutable _hashedName; bytes32 private immutable _hashedVersion; ShortString private immutable _name; ShortString private immutable _version; string private _nameFallback; string private _versionFallback; /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { _name = name.toShortStringWithFallback(_nameFallback); _version = version.toShortStringWithFallback(_versionFallback); _hashedName = keccak256(bytes(name)); _hashedVersion = keccak256(bytes(version)); _cachedChainId = block.chainid; _cachedDomainSeparator = _buildDomainSeparator(); _cachedThis = address(this); } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _cachedThis && block.chainid == _cachedChainId) { return _cachedDomainSeparator; } else { return _buildDomainSeparator(); } } function _buildDomainSeparator() private view returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev See {IERC-5267}. */ function eip712Domain() public view virtual returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ) { return ( hex"0f", // 01111 _EIP712Name(), _EIP712Version(), block.chainid, address(this), bytes32(0), new uint256[](0) ); } /** * @dev The name parameter for the EIP712 domain. * * NOTE: By default this function reads _name which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Name() internal view returns (string memory) { return _name.toStringWithFallback(_nameFallback); } /** * @dev The version parameter for the EIP712 domain. * * NOTE: By default this function reads _version which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Version() internal view returns (string memory) { return _version.toStringWithFallback(_versionFallback); } } // File: @openzeppelin/[email protected]/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.20; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS } /** * @dev The signature derives the `address(0)`. */ error ECDSAInvalidSignature(); /** * @dev The signature has an invalid length. */ error ECDSAInvalidSignatureLength(uint256 length); /** * @dev The signature has an S value that is in the upper half order. */ error ECDSAInvalidSignatureS(bytes32 s); /** * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not * return address(0) without also returning an error description. Errors are documented using an enum (error type) * and a bytes32 providing additional information about the error. * * If no error is returned, then the address can be used for verification purposes. * * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length)); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature); _throwError(error, errorArg); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) { unchecked { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); // We do not check for an overflow here since the shift operation results in 0 or 1. uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs); _throwError(error, errorArg); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError, bytes32) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS, s); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature, bytes32(0)); } return (signer, RecoverError.NoError, bytes32(0)); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s); _throwError(error, errorArg); return recovered; } /** * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided. */ function _throwError(RecoverError error, bytes32 errorArg) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert ECDSAInvalidSignature(); } else if (error == RecoverError.InvalidSignatureLength) { revert ECDSAInvalidSignatureLength(uint256(errorArg)); } else if (error == RecoverError.InvalidSignatureS) { revert ECDSAInvalidSignatureS(errorArg); } } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/[email protected]/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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); } // File: @openzeppelin/[email protected]/utils/Context.sol // 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; } } // File: @openzeppelin/[email protected]/governance/utils/Votes.sol // OpenZeppelin Contracts (last updated v5.0.0) (governance/utils/Votes.sol) pragma solidity ^0.8.20; /** * @dev This is a base abstract contract that tracks voting units, which are a measure of voting power that can be * transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of * "representative" that will pool delegated voting units from different accounts and can then use it to vote in * decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to * delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative. * * This contract is often combined with a token contract such that voting units correspond to token units. For an * example, see {ERC721Votes}. * * The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed * at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the * cost of this history tracking optional. * * When using this module the derived contract must implement {_getVotingUnits} (for example, make it return * {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the * previous example, it would be included in {ERC721-_update}). */ abstract contract Votes is Context, EIP712, Nonces, IERC5805 { using Checkpoints for Checkpoints.Trace208; bytes32 private constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); mapping(address account => address) private _delegatee; mapping(address delegatee => Checkpoints.Trace208) private _delegateCheckpoints; Checkpoints.Trace208 private _totalCheckpoints; /** * @dev The clock was incorrectly modified. */ error ERC6372InconsistentClock(); /** * @dev Lookup to future votes is not available. */ error ERC5805FutureLookup(uint256 timepoint, uint48 clock); /** * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based * checkpoints (and voting), in which case {CLOCK_MODE} should be overridden as well to match. */ function clock() public view virtual returns (uint48) { return Time.blockNumber(); } /** * @dev Machine-readable description of the clock as specified in EIP-6372. */ // solhint-disable-next-line func-name-mixedcase function CLOCK_MODE() public view virtual returns (string memory) { // Check that the clock was not modified if (clock() != Time.blockNumber()) { revert ERC6372InconsistentClock(); } return "mode=blocknumber&from=default"; } /** * @dev Returns the current amount of votes that `account` has. */ function getVotes(address account) public view virtual returns (uint256) { return _delegateCheckpoints[account].latest(); } /** * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is * configured to use block numbers, this will return the value at the end of the corresponding block. * * Requirements: * * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined. */ function getPastVotes(address account, uint256 timepoint) public view virtual returns (uint256) { uint48 currentTimepoint = clock(); if (timepoint >= currentTimepoint) { revert ERC5805FutureLookup(timepoint, currentTimepoint); } return _delegateCheckpoints[account].upperLookupRecent(SafeCast.toUint48(timepoint)); } /** * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is * configured to use block numbers, this will return the value at the end of the corresponding block. * * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. * Votes that have not been delegated are still part of total supply, even though they would not participate in a * vote. * * Requirements: * * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined. */ function getPastTotalSupply(uint256 timepoint) public view virtual returns (uint256) { uint48 currentTimepoint = clock(); if (timepoint >= currentTimepoint) { revert ERC5805FutureLookup(timepoint, currentTimepoint); } return _totalCheckpoints.upperLookupRecent(SafeCast.toUint48(timepoint)); } /** * @dev Returns the current total supply of votes. */ function _getTotalSupply() internal view virtual returns (uint256) { return _totalCheckpoints.latest(); } /** * @dev Returns the delegate that `account` has chosen. */ function delegates(address account) public view virtual returns (address) { return _delegatee[account]; } /** * @dev Delegates votes from the sender to `delegatee`. */ function delegate(address delegatee) public virtual { address account = _msgSender(); _delegate(account, delegatee); } /** * @dev Delegates votes from signer to `delegatee`. */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public virtual { if (block.timestamp > expiry) { revert VotesExpiredSignature(expiry); } address signer = ECDSA.recover( _hashTypedDataV4(keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry))), v, r, s ); _useCheckedNonce(signer, nonce); _delegate(signer, delegatee); } /** * @dev Delegate all of `account`'s voting units to `delegatee`. * * Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}. */ function _delegate(address account, address delegatee) internal virtual { address oldDelegate = delegates(account); _delegatee[account] = delegatee; emit DelegateChanged(account, oldDelegate, delegatee); _moveDelegateVotes(oldDelegate, delegatee, _getVotingUnits(account)); } /** * @dev Transfers, mints, or burns voting units. To register a mint, `from` should be zero. To register a burn, `to` * should be zero. Total supply of voting units will be adjusted with mints and burns. */ function _transferVotingUnits(address from, address to, uint256 amount) internal virtual { if (from == address(0)) { _push(_totalCheckpoints, _add, SafeCast.toUint208(amount)); } if (to == address(0)) { _push(_totalCheckpoints, _subtract, SafeCast.toUint208(amount)); } _moveDelegateVotes(delegates(from), delegates(to), amount); } /** * @dev Moves delegated votes from one delegate to another. */ function _moveDelegateVotes(address from, address to, uint256 amount) private { if (from != to && amount > 0) { if (from != address(0)) { (uint256 oldValue, uint256 newValue) = _push( _delegateCheckpoints[from], _subtract, SafeCast.toUint208(amount) ); emit DelegateVotesChanged(from, oldValue, newValue); } if (to != address(0)) { (uint256 oldValue, uint256 newValue) = _push( _delegateCheckpoints[to], _add, SafeCast.toUint208(amount) ); emit DelegateVotesChanged(to, oldValue, newValue); } } } /** * @dev Get number of checkpoints for `account`. */ function _numCheckpoints(address account) internal view virtual returns (uint32) { return SafeCast.toUint32(_delegateCheckpoints[account].length()); } /** * @dev Get the `pos`-th checkpoint for `account`. */ function _checkpoints( address account, uint32 pos ) internal view virtual returns (Checkpoints.Checkpoint208 memory) { return _delegateCheckpoints[account].at(pos); } function _push( Checkpoints.Trace208 storage store, function(uint208, uint208) view returns (uint208) op, uint208 delta ) private returns (uint208, uint208) { return store.push(clock(), op(store.latest(), delta)); } function _add(uint208 a, uint208 b) private pure returns (uint208) { return a + b; } function _subtract(uint208 a, uint208 b) private pure returns (uint208) { return a - b; } /** * @dev Must return the voting units held by an account. */ function _getVotingUnits(address) internal view virtual returns (uint256); } // File: @openzeppelin/[email protected]/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/[email protected]/utils/Pausable.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { bool private _paused; /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/[email protected]/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20FlashMint.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20FlashMint.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the ERC3156 Flash loans extension, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. * * Adds the {flashLoan} method, which provides flash loan support at the token * level. By default there is no fee, but this can be changed by overriding {flashFee}. * * NOTE: When this extension is used along with the {ERC20Capped} or {ERC20Votes} extensions, * {maxFlashLoan} will not correctly reflect the maximum that can be flash minted. We recommend * overriding {maxFlashLoan} so that it correctly reflects the supply cap. */ abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender { bytes32 private constant RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan"); /** * @dev The loan token is not valid. */ error ERC3156UnsupportedToken(address token); /** * @dev The requested loan exceeds the max loan value for `token`. */ error ERC3156ExceededMaxLoan(uint256 maxLoan); /** * @dev The receiver of a flashloan is not a valid {onFlashLoan} implementer. */ error ERC3156InvalidReceiver(address receiver); /** * @dev Returns the maximum amount of tokens available for loan. * @param token The address of the token that is requested. * @return The amount of token that can be loaned. * * NOTE: This function does not consider any form of supply cap, so in case * it's used in a token with a cap like {ERC20Capped}, make sure to override this * function to integrate the cap instead of `type(uint256).max`. */ function maxFlashLoan(address token) public view virtual returns (uint256) { return token == address(this) ? type(uint256).max - totalSupply() : 0; } /** * @dev Returns the fee applied when doing flash loans. This function calls * the {_flashFee} function which returns the fee applied when doing flash * loans. * @param token The token to be flash loaned. * @param value The amount of tokens to be loaned. * @return The fees applied to the corresponding flash loan. */ function flashFee(address token, uint256 value) public view virtual returns (uint256) { if (token != address(this)) { revert ERC3156UnsupportedToken(token); } return _flashFee(token, value); } /** * @dev Returns the fee applied when doing flash loans. By default this * implementation has 0 fees. This function can be overloaded to make * the flash loan mechanism deflationary. * @param token The token to be flash loaned. * @param value The amount of tokens to be loaned. * @return The fees applied to the corresponding flash loan. */ function _flashFee(address token, uint256 value) internal view virtual returns (uint256) { // silence warning about unused variable without the addition of bytecode. token; value; return 0; } /** * @dev Returns the receiver address of the flash fee. By default this * implementation returns the address(0) which means the fee amount will be burnt. * This function can be overloaded to change the fee receiver. * @return The address for which the flash fee will be sent to. */ function _flashFeeReceiver() internal view virtual returns (address) { return address(0); } /** * @dev Performs a flash loan. New tokens are minted and sent to the * `receiver`, who is required to implement the {IERC3156FlashBorrower} * interface. By the end of the flash loan, the receiver is expected to own * value + fee tokens and have them approved back to the token contract itself so * they can be burned. * @param receiver The receiver of the flash loan. Should implement the * {IERC3156FlashBorrower-onFlashLoan} interface. * @param token The token to be flash loaned. Only `address(this)` is * supported. * @param value The amount of tokens to be loaned. * @param data An arbitrary datafield that is passed to the receiver. * @return `true` if the flash loan was successful. */ // This function can reenter, but it doesn't pose a risk because it always preserves the property that the amount // minted at the beginning is always recovered and burned at the end, or else the entire function will revert. // slither-disable-next-line reentrancy-no-eth function flashLoan( IERC3156FlashBorrower receiver, address token, uint256 value, bytes calldata data ) public virtual returns (bool) { uint256 maxLoan = maxFlashLoan(token); if (value > maxLoan) { revert ERC3156ExceededMaxLoan(maxLoan); } uint256 fee = flashFee(token, value); _mint(address(receiver), value); if (receiver.onFlashLoan(_msgSender(), token, value, fee, data) != RETURN_VALUE) { revert ERC3156InvalidReceiver(address(receiver)); } address flashFeeReceiver = _flashFeeReceiver(); _spendAllowance(address(receiver), address(this), value + fee); if (fee == 0 || flashFeeReceiver == address(0)) { _burn(address(receiver), value + fee); } else { _burn(address(receiver), value); _transfer(address(receiver), flashFeeReceiver, fee); } return true; } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Votes.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Votes.sol) pragma solidity ^0.8.20; /** * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's, * and supports token supply up to 2^208^ - 1, while COMP is limited to 2^96^ - 1. * * NOTE: This contract does not provide interface compatibility with Compound's COMP token. * * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting * power can be queried through the public accessors {getVotes} and {getPastVotes}. * * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked. */ abstract contract ERC20Votes is ERC20, Votes { /** * @dev Total supply cap has been exceeded, introducing a risk of votes overflowing. */ error ERC20ExceededSafeSupply(uint256 increasedSupply, uint256 cap); /** * @dev Maximum token supply. Defaults to `type(uint208).max` (2^208^ - 1). * * This maximum is enforced in {_update}. It limits the total supply of the token, which is otherwise a uint256, * so that checkpoints can be stored in the Trace208 structure used by {{Votes}}. Increasing this value will not * remove the underlying limitation, and will cause {_update} to fail because of a math overflow in * {_transferVotingUnits}. An override could be used to further restrict the total supply (to a lower value) if * additional logic requires it. When resolving override conflicts on this function, the minimum should be * returned. */ function _maxSupply() internal view virtual returns (uint256) { return type(uint208).max; } /** * @dev Move voting power when tokens are transferred. * * Emits a {IVotes-DelegateVotesChanged} event. */ function _update(address from, address to, uint256 value) internal virtual override { super._update(from, to, value); if (from == address(0)) { uint256 supply = totalSupply(); uint256 cap = _maxSupply(); if (supply > cap) { revert ERC20ExceededSafeSupply(supply, cap); } } _transferVotingUnits(from, to, value); } /** * @dev Returns the voting units of an `account`. * * WARNING: Overriding this function may compromise the internal vote accounting. * `ERC20Votes` assumes tokens map to voting units 1:1 and this is not easy to change. */ function _getVotingUnits(address account) internal view virtual override returns (uint256) { return balanceOf(account); } /** * @dev Get number of checkpoints for `account`. */ function numCheckpoints(address account) public view virtual returns (uint32) { return _numCheckpoints(account); } /** * @dev Get the `pos`-th checkpoint for `account`. */ function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoints.Checkpoint208 memory) { return _checkpoints(account, pos); } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces { bytes32 private constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Permit deadline has expired. */ error ERC2612ExpiredSignature(uint256 deadline); /** * @dev Mismatched signature. */ error ERC2612InvalidSigner(address signer, address owner); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @inheritdoc IERC20Permit */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { if (block.timestamp > deadline) { revert ERC2612ExpiredSignature(deadline); } bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); if (signer != owner) { revert ERC2612InvalidSigner(signer, owner); } _approve(owner, spender, value); } /** * @inheritdoc IERC20Permit */ function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) { return super.nonces(owner); } /** * @inheritdoc IERC20Permit */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view virtual returns (bytes32) { return _domainSeparatorV4(); } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Pausable.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.20; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * IMPORTANT: This contract does not include public pause and unpause functions. In * addition to inheriting this contract, you must define both functions, invoking the * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will * make the contract pause mechanism of the contract unreachable, and thus unusable. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_update}. * * Requirements: * * - the contract must not be paused. */ function _update(address from, address to, uint256 value) internal virtual override whenNotPaused { super._update(from, to, value); } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } } // File: contract-d0fae59c28.sol pragma solidity ^0.8.20; /// @custom:security-contact [email protected] contract TRUMPSNEAKERS is ERC20, ERC20Burnable, ERC20Pausable, Ownable, ERC20Permit, ERC20Votes, ERC20FlashMint { constructor(address initialOwner) ERC20("TRUMPSNEAKERS", "SNEAKERS") Ownable(initialOwner) ERC20Permit("TRUMPSNEAKERS") { _mint(msg.sender, 69000000000 * 10 ** decimals()); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); } // The following functions are overrides required by Solidity. function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Pausable, ERC20Votes) { super._update(from, to, value); } function nonces(address owner) public view override(ERC20Permit, Nonces) returns (uint256) { return super.nonces(owner); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CheckpointUnorderedInsertion","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"uint256","name":"increasedSupply","type":"uint256"},{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20ExceededSafeSupply","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxLoan","type":"uint256"}],"name":"ERC3156ExceededMaxLoan","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC3156InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"ERC3156UnsupportedToken","type":"error"},{"inputs":[{"internalType":"uint256","name":"timepoint","type":"uint256"},{"internalType":"uint48","name":"clock","type":"uint48"}],"name":"ERC5805FutureLookup","type":"error"},{"inputs":[],"name":"ERC6372InconsistentClock","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[{"internalType":"uint256","name":"expiry","type":"uint256"}],"name":"VotesExpiredSignature","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousVotes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newVotes","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CLOCK_MODE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint48","name":"_key","type":"uint48"},{"internalType":"uint208","name":"_value","type":"uint208"}],"internalType":"struct Checkpoints.Checkpoint208","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clock","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"flashFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC3156FlashBorrower","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"maxFlashLoan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61016060405234801562000011575f80fd5b50604051620060b3380380620060b383398181016040528101906200003791906200131c565b6040518060400160405280600d81526020017f5452554d50534e45414b45525300000000000000000000000000000000000000815250806040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250836040518060400160405280600d81526020017f5452554d50534e45414b455253000000000000000000000000000000000000008152506040518060400160405280600881526020017f534e45414b4552530000000000000000000000000000000000000000000000008152508160039081620001229190620015b0565b508060049081620001349190620015b0565b5050505f60055f6101000a81548160ff0219169083151502179055505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001c3575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001ba9190620016a5565b60405180910390fd5b620001d481620002ce60201b60201c565b50620001eb6006836200039360201b90919060201c565b6101208181525050620002096007826200039360201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a0818152505062000248620003e860201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050620002c7336200029b6200044460201b60201c565b600a620002a9919062001849565b641010b87200620002bb919062001899565b6200044c60201b60201c565b5062001d4d565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f602083511015620003b857620003b083620004d660201b60201c565b9050620003e2565b82620003ca836200054060201b60201c565b5f019081620003da9190620015b0565b5060ff5f1b90505b92915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e051610100514630604051602001620004299594939291906200190e565b60405160208183030381529060405280519060200120905090565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004bf575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620004b69190620016a5565b60405180910390fd5b620004d25f83836200054960201b60201c565b5050565b5f80829050601f815111156200052557826040517f305a27a90000000000000000000000000000000000000000000000000000000081526004016200051c9190620019f3565b60405180910390fd5b805181620005339062001a44565b5f1c175f1b915050919050565b5f819050919050565b6200055c8383836200056160201b60201c565b505050565b620005748383836200063360201b60201c565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200061b575f620005b96200065b60201b60201c565b90505f620005cc6200066460201b60201c565b905080821115620006185781816040517f1cb15d260000000000000000000000000000000000000000000000000000000081526004016200060f92919062001ab3565b60405180910390fd5b50505b6200062e8383836200068760201b60201c565b505050565b620006436200078b60201b60201c565b62000656838383620007d560201b60201c565b505050565b5f600254905090565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff8016905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620006ed57620006ea600b620009f960201b6200138317620006de8462000a1060201b60201c565b62000a8060201b60201c565b50505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620007535762000750600b62000acf60201b6200139817620007448462000a1060201b60201c565b62000a8060201b60201c565b50505b62000786620007688462000ae660201b60201c565b620007798462000ae660201b60201c565b8362000b4b60201b60201c565b505050565b6200079b62000df560201b60201c565b15620007d3576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000829578060025f8282546200081c919062001ade565b92505081905550620008fa565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620008b5578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620008ac9392919062001b18565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000943578060025f82825403925050819055506200098d565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620009ec919062001b53565b60405180910390a3505050565b5f818362000a08919062001b93565b905092915050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff801682111562000a785760d0826040517f6dfcc65000000000000000000000000000000000000000000000000000000000815260040162000a6f92919062001c28565b60405180910390fd5b819050919050565b5f8062000ac362000a9662000e0a60201b60201c565b62000ab262000aab8862000e2060201b60201c565b868860201c565b8762000e8e60201b9092919060201c565b91509150935093915050565b5f818362000ade919062001c53565b905092915050565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562000b8757505f81115b1562000df0575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000cbe575f8062000c2d600a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2062000acf60201b620013981762000c218662000a1060201b60201c565b62000a8060201b60201c565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000cb392919062001ab3565b60405180910390a250505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000def575f8062000d5e600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20620009f960201b620013831762000d528662000a1060201b60201c565b62000a8060201b60201c565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000de492919062001ab3565b60405180910390a250505b5b505050565b5f60055f9054906101000a900460ff16905090565b5f62000e1b62000eb160201b60201c565b905090565b5f80825f018054905090505f811462000e845762000e55835f0160018362000e49919062001ca7565b62000ec860201b60201c565b5f0160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1662000e86565b5f5b915050919050565b5f8062000ea5855f01858562000eda60201b60201c565b91509150935093915050565b5f62000ec3436200125b60201b60201c565b905090565b5f825f528160205f2001905092915050565b5f805f858054905090505f81111562001173575f62000f0e8760018462000f02919062001ca7565b62000ec860201b60201c565b6040518060400160405290815f82015f9054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020015f820160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff168152505090508565ffffffffffff16815f015165ffffffffffff16111562000ffa576040517f2520601d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8565ffffffffffff16815f015165ffffffffffff160362001088578462001036886001856200102a919062001ca7565b62000ec860201b60201c565b5f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555062001161565b8660405180604001604052808865ffffffffffff1681526020018779ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b80602001518593509350505062001253565b8560405180604001604052808765ffffffffffff1681526020018679ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505f8492509250505b935093915050565b5f65ffffffffffff8016821115620012af576030826040517f6dfcc650000000000000000000000000000000000000000000000000000000008152600401620012a692919062001d22565b60405180910390fd5b819050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620012e682620012bb565b9050919050565b620012f881620012da565b811462001303575f80fd5b50565b5f815190506200131681620012ed565b92915050565b5f60208284031215620013345762001333620012b7565b5b5f620013438482850162001306565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620013c857607f821691505b602082108103620013de57620013dd62001383565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620014427fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001405565b6200144e868362001405565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62001498620014926200148c8462001466565b6200146f565b62001466565b9050919050565b5f819050919050565b620014b38362001478565b620014cb620014c2826200149f565b84845462001411565b825550505050565b5f90565b620014e1620014d3565b620014ee818484620014a8565b505050565b5b818110156200151557620015095f82620014d7565b600181019050620014f4565b5050565b601f82111562001564576200152e81620013e4565b6200153984620013f6565b8101602085101562001549578190505b620015616200155885620013f6565b830182620014f3565b50505b505050565b5f82821c905092915050565b5f620015865f198460080262001569565b1980831691505092915050565b5f620015a0838362001575565b9150826002028217905092915050565b620015bb826200134c565b67ffffffffffffffff811115620015d757620015d662001356565b5b620015e38254620013b0565b620015f082828562001519565b5f60209050601f83116001811462001626575f841562001611578287015190505b6200161d858262001593565b8655506200168c565b601f1984166200163686620013e4565b5f5b828110156200165f5784890151825560018201915060208501945060208101905062001638565b868310156200167f57848901516200167b601f89168262001575565b8355505b6001600288020188555050505b505050505050565b6200169f81620012da565b82525050565b5f602082019050620016ba5f83018462001694565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156200174a57808604811115620017225762001721620016c0565b5b6001851615620017325780820291505b80810290506200174285620016ed565b945062001702565b94509492505050565b5f8262001764576001905062001836565b8162001773575f905062001836565b81600181146200178c57600281146200179757620017cd565b600191505062001836565b60ff841115620017ac57620017ab620016c0565b5b8360020a915084821115620017c657620017c5620016c0565b5b5062001836565b5060208310610133831016604e8410600b8410161715620018075782820a905083811115620018015762001800620016c0565b5b62001836565b620018168484846001620016f9565b9250905081840481111562001830576200182f620016c0565b5b81810290505b9392505050565b5f60ff82169050919050565b5f620018558262001466565b915062001862836200183d565b9250620018917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462001753565b905092915050565b5f620018a58262001466565b9150620018b28362001466565b9250828202620018c28162001466565b91508282048414831517620018dc57620018db620016c0565b5b5092915050565b5f819050919050565b620018f781620018e3565b82525050565b620019088162001466565b82525050565b5f60a082019050620019235f830188620018ec565b620019326020830187620018ec565b620019416040830186620018ec565b620019506060830185620018fd565b6200195f608083018462001694565b9695505050505050565b5f82825260208201905092915050565b5f5b83811015620019985780820151818401526020810190506200197b565b5f8484015250505050565b5f601f19601f8301169050919050565b5f620019bf826200134c565b620019cb818562001969565b9350620019dd81856020860162001979565b620019e881620019a3565b840191505092915050565b5f6020820190508181035f83015262001a0d8184620019b3565b905092915050565b5f81519050919050565b5f819050602082019050919050565b5f62001a3b8251620018e3565b80915050919050565b5f62001a508262001a15565b8262001a5c8462001a1f565b905062001a698162001a2e565b9250602082101562001aac5762001aa77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262001405565b831692505b5050919050565b5f60408201905062001ac85f830185620018fd565b62001ad76020830184620018fd565b9392505050565b5f62001aea8262001466565b915062001af78362001466565b925082820190508082111562001b125762001b11620016c0565b5b92915050565b5f60608201905062001b2d5f83018662001694565b62001b3c6020830185620018fd565b62001b4b6040830184620018fd565b949350505050565b5f60208201905062001b685f830184620018fd565b92915050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62001b9f8262001b6e565b915062001bac8362001b6e565b9250828201905079ffffffffffffffffffffffffffffffffffffffffffffffffffff81111562001be15762001be0620016c0565b5b92915050565b5f819050919050565b5f62001c1062001c0a62001c048462001be7565b6200146f565b6200183d565b9050919050565b62001c228162001bf0565b82525050565b5f60408201905062001c3d5f83018562001c17565b62001c4c6020830184620018fd565b9392505050565b5f62001c5f8262001b6e565b915062001c6c8362001b6e565b9250828203905079ffffffffffffffffffffffffffffffffffffffffffffffffffff81111562001ca15762001ca0620016c0565b5b92915050565b5f62001cb38262001466565b915062001cc08362001466565b925082820390508181111562001cdb5762001cda620016c0565b5b92915050565b5f819050919050565b5f62001d0a62001d0462001cfe8462001ce1565b6200146f565b6200183d565b9050919050565b62001d1c8162001cea565b82525050565b5f60408201905062001d375f83018562001d11565b62001d466020830184620018fd565b9392505050565b60805160a05160c05160e05161010051610120516101405161431462001d9f5f395f611c1e01525f611be301525f61202d01525f61200c01525f61154b01525f6115a101525f6115ca01526143145ff3fe608060405234801561000f575f80fd5b506004361061020f575f3560e01c806370a082311161012357806395d89b41116100ab578063d505accf1161007a578063d505accf1461062f578063d9d98ce41461064b578063dd62ed3e1461067b578063f1127ed8146106ab578063f2fde38b146106db5761020f565b806395d89b41146105955780639ab24eb0146105b3578063a9059cbb146105e3578063c3cda520146106135761020f565b80638456cb59116100f25780638456cb59146104fb57806384b0196e146105055780638da5cb5b146105295780638e539e8c1461054757806391ddadf4146105775761020f565b806370a0823114610475578063715018a6146104a557806379cc6790146104af5780637ecebe00146104cb5761020f565b806340c10f19116101a65780635c19a95c116101755780635c19a95c146103ab5780635c975abb146103c75780635cffe9de146103e5578063613255ab146104155780636fcfff45146104455761020f565b806340c10f191461032557806342966c68146103415780634bf5d7e91461035d578063587cde1e1461037b5761020f565b8063313ce567116101e2578063313ce567146102af5780633644e515146102cd5780633a46b1a8146102eb5780633f4ba83a1461031b5761020f565b806306fdde0314610213578063095ea7b31461023157806318160ddd1461026157806323b872dd1461027f575b5f80fd5b61021b6106f7565b6040516102289190613430565b60405180910390f35b61024b600480360381019061024691906134e5565b610787565b604051610258919061353d565b60405180910390f35b6102696107a9565b6040516102769190613565565b60405180910390f35b6102996004803603810190610294919061357e565b6107b2565b6040516102a6919061353d565b60405180910390f35b6102b76107e0565b6040516102c491906135e9565b60405180910390f35b6102d56107e8565b6040516102e2919061361a565b60405180910390f35b610305600480360381019061030091906134e5565b6107f6565b6040516103129190613565565b60405180910390f35b6103236108cc565b005b61033f600480360381019061033a91906134e5565b6108de565b005b61035b60048036038101906103569190613633565b6108f4565b005b610365610908565b6040516103729190613430565b60405180910390f35b6103956004803603810190610390919061365e565b61099c565b6040516103a29190613698565b60405180910390f35b6103c560048036038101906103c0919061365e565b610a01565b005b6103cf610a1a565b6040516103dc919061353d565b60405180910390f35b6103ff60048036038101906103fa919061374d565b610a2f565b60405161040c919061353d565b60405180910390f35b61042f600480360381019061042a919061365e565b610c24565b60405161043c9190613565565b60405180910390f35b61045f600480360381019061045a919061365e565b610c99565b60405161046c91906137ef565b60405180910390f35b61048f600480360381019061048a919061365e565b610caa565b60405161049c9190613565565b60405180910390f35b6104ad610cef565b005b6104c960048036038101906104c491906134e5565b610d02565b005b6104e560048036038101906104e0919061365e565b610d22565b6040516104f29190613565565b60405180910390f35b610503610d33565b005b61050d610d45565b60405161052097969594939291906138f9565b60405180910390f35b610531610dea565b60405161053e9190613698565b60405180910390f35b610561600480360381019061055c9190613633565b610e13565b60405161056e9190613565565b60405180910390f35b61057f610ead565b60405161058c919061399b565b60405180910390f35b61059d610ebb565b6040516105aa9190613430565b60405180910390f35b6105cd60048036038101906105c8919061365e565b610f4b565b6040516105da9190613565565b60405180910390f35b6105fd60048036038101906105f891906134e5565b610fb4565b60405161060a919061353d565b60405180910390f35b61062d60048036038101906106289190613a08565b610fd6565b005b61064960048036038101906106449190613a91565b61109b565b005b610665600480360381019061066091906134e5565b6111e0565b6040516106729190613565565b60405180910390f35b61069560048036038101906106909190613b2e565b611263565b6040516106a29190613565565b60405180910390f35b6106c560048036038101906106c09190613b96565b6112e5565b6040516106d29190613c44565b60405180910390f35b6106f560048036038101906106f0919061365e565b6112ff565b005b60606003805461070690613c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461073290613c8a565b801561077d5780601f106107545761010080835404028352916020019161077d565b820191905f5260205f20905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b5f806107916113ad565b905061079e8185856113b4565b600191505092915050565b5f600254905090565b5f806107bc6113ad565b90506107c98582856113c6565b6107d4858585611458565b60019150509392505050565b5f6012905090565b5f6107f1611548565b905090565b5f80610800610ead565b90508065ffffffffffff1683106108505782816040517fecd3f81e000000000000000000000000000000000000000000000000000000008152600401610847929190613cba565b60405180910390fd5b6108a761085c846115fe565b600a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061165790919063ffffffff16565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff1691505092915050565b6108d4611744565b6108dc6117cb565b565b6108e6611744565b6108f0828261182c565b5050565b6109056108ff6113ad565b826118ab565b50565b606061091261192a565b65ffffffffffff16610922610ead565b65ffffffffffff1614610961576040517f6ff0714000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060400160405280601d81526020017f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000815250905090565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610a0a6113ad565b9050610a168183611939565b5050565b5f60055f9054906101000a900460ff16905090565b5f80610a3a86610c24565b905080851115610a8157806040517ffd9a7609000000000000000000000000000000000000000000000000000000008152600401610a789190613565565b60405180910390fd5b5f610a8c87876111e0565b9050610a98888761182c565b7f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd98873ffffffffffffffffffffffffffffffffffffffff166323e30c8b610add6113ad565b8a8a868b8b6040518763ffffffff1660e01b8152600401610b0396959493929190613d2b565b6020604051808303815f875af1158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b439190613d99565b14610b8557876040517f678c5b00000000000000000000000000000000000000000000000000000000008152600401610b7c9190613698565b60405180910390fd5b5f610b8e611a49565b9050610ba68930848a610ba19190613df1565b6113c6565b5f821480610bdf57505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610bfe57610bf9898389610bf49190613df1565b6118ab565b610c14565b610c0889886118ab565b610c13898284611458565b5b6001935050505095945050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c5e575f610c92565b610c666107a9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610c919190613e24565b5b9050919050565b5f610ca382611a4d565b9050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610cf7611744565b610d005f611aa2565b565b610d1482610d0e6113ad565b836113c6565b610d1e82826118ab565b5050565b5f610d2c82611b67565b9050919050565b610d3b611744565b610d43611b78565b565b5f6060805f805f6060610d56611bda565b610d5e611c15565b46305f801b5f67ffffffffffffffff811115610d7d57610d7c613e57565b5b604051908082528060200260200182016040528015610dab5781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80610e1d610ead565b90508065ffffffffffff168310610e6d5782816040517fecd3f81e000000000000000000000000000000000000000000000000000000008152600401610e64929190613cba565b60405180910390fd5b610e89610e79846115fe565b600b61165790919063ffffffff16565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b5f610eb661192a565b905090565b606060048054610eca90613c8a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690613c8a565b8015610f415780601f10610f1857610100808354040283529160200191610f41565b820191905f5260205f20905b815481529060010190602001808311610f2457829003601f168201915b5050505050905090565b5f610f91600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20611c50565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff169050919050565b5f80610fbe6113ad565b9050610fcb818585611458565b600191505092915050565b8342111561101b57836040517f4683af0e0000000000000000000000000000000000000000000000000000000081526004016110129190613565565b60405180910390fd5b5f61107c6110747fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf8989896040516020016110599493929190613e84565b60405160208183030381529060405280519060200120611cb2565b858585611ccb565b90506110888187611cf9565b6110928188611939565b50505050505050565b834211156110e057836040517f627913020000000000000000000000000000000000000000000000000000000081526004016110d79190613565565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861110e8c611d50565b8960405160200161112496959493929190613ec7565b6040516020818303038152906040528051906020012090505f61114682611cb2565b90505f61115582878787611ccb565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111c957808a6040517f4b800e460000000000000000000000000000000000000000000000000000000081526004016111c0929190613f26565b60405180910390fd5b6111d48a8a8a6113b4565b50505050505050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461125157826040517fb5a7db920000000000000000000000000000000000000000000000000000000081526004016112489190613698565b60405180910390fd5b61125b8383611da3565b905092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6112ed61336a565b6112f78383611daa565b905092915050565b611307611744565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611377575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161136e9190613698565b60405180910390fd5b61138081611aa2565b50565b5f81836113909190613f4d565b905092915050565b5f81836113a59190613f9a565b905092915050565b5f33905090565b6113c18383836001611e09565b505050565b5f6113d18484611263565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114525781811015611443578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161143a93929190613fe7565b60405180910390fd5b61145184848484035f611e09565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114c8575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016114bf9190613698565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611538575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161152f9190613698565b60405180910390fd5b611543838383611fd8565b505050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156115c357507f000000000000000000000000000000000000000000000000000000000000000046145b156115f0577f000000000000000000000000000000000000000000000000000000000000000090506115fb565b6115f8611fe8565b90505b90565b5f65ffffffffffff801682111561164f576030826040517f6dfcc65000000000000000000000000000000000000000000000000000000000815260040161164692919061405e565b60405180910390fd5b819050919050565b5f80835f018054905090505f8082905060058311156116d8575f61167a8461207d565b846116859190613e24565b9050611693875f0182612173565b5f015f9054906101000a900465ffffffffffff1665ffffffffffff168665ffffffffffff1610156116c6578091506116d6565b6001816116d39190613df1565b92505b505b5f6116e7875f01878585612185565b90505f811461173657611708875f016001836117039190613e24565b612173565b5f0160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff16611738565b5f5b94505050505092915050565b61174c6113ad565b73ffffffffffffffffffffffffffffffffffffffff1661176a610dea565b73ffffffffffffffffffffffffffffffffffffffff16146117c95761178d6113ad565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117c09190613698565b60405180910390fd5b565b6117d36121fa565b5f60055f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118156113ad565b6040516118229190613698565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361189c575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016118939190613698565b60405180910390fd5b6118a75f8383611fd8565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361191b575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016119129190613698565b60405180910390fd5b611926825f83611fd8565b5050565b5f611934436115fe565b905090565b5f6119438361099c565b90508160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4611a448183611a3f8661223a565b61224b565b505050565b5f90565b5f611a9b611a96600a5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206124bb565b6124ca565b9050919050565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611b7182612521565b9050919050565b611b80612567565b600160055f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bc36113ad565b604051611bd09190613698565b60405180910390a1565b6060611c1060067f00000000000000000000000000000000000000000000000000000000000000006125a890919063ffffffff16565b905090565b6060611c4b60077f00000000000000000000000000000000000000000000000000000000000000006125a890919063ffffffff16565b905090565b5f80825f018054905090505f8114611ca857611c7a835f01600183611c759190613e24565b612173565b5f0160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff16611caa565b5f5b915050919050565b5f611cc4611cbe611548565b83612655565b9050919050565b5f805f80611cdb88888888612695565b925092509250611ceb828261277c565b829350505050949350505050565b5f611d0383611d50565b9050808214611d4b5782816040517f752d88c0000000000000000000000000000000000000000000000000000000008152600401611d42929190614085565b60405180910390fd5b505050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f92915050565b611db261336a565b611e0182600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206128de90919063ffffffff16565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e79575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611e709190613698565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ee9575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611ee09190613698565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611fd2578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611fc99190613565565b60405180910390a35b50505050565b611fe38383836129ad565b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000046306040516020016120629594939291906140ac565b60405160208183030381529060405280519060200120905090565b5f80820361208d575f905061216e565b5f600161209984612a5b565b901c6001901b905060018184816120b3576120b26140fd565b5b048201901c905060018184816120cc576120cb6140fd565b5b048201901c905060018184816120e5576120e46140fd565b5b048201901c905060018184816120fe576120fd6140fd565b5b048201901c90506001818481612117576121166140fd565b5b048201901c905060018184816121305761212f6140fd565b5b048201901c90506001818481612149576121486140fd565b5b048201901c905061216a81828581612164576121636140fd565b5b04612b32565b9150505b919050565b5f825f528160205f2001905092915050565b5f5b818310156121ef575f61219a8484612b4a565b90508465ffffffffffff166121af8783612173565b5f015f9054906101000a900465ffffffffffff1665ffffffffffff1611156121d9578092506121e9565b6001816121e69190613df1565b93505b50612187565b819050949350505050565b612202610a1a565b612238576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f61224482610caa565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561228657505f81115b156124b6575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123a0575f80612311600a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061139861230c86612b6f565b612bdc565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161239592919061412a565b60405180910390a250505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124b5575f80612426600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061138361242186612b6f565b612bdc565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516124aa92919061412a565b60405180910390a250505b5b505050565b5f815f01805490509050919050565b5f63ffffffff8016821115612519576020826040517f6dfcc65000000000000000000000000000000000000000000000000000000000815260040161251092919061418a565b60405180910390fd5b819050919050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61256f610a1a565b156125a6576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b606060ff5f1b83146125c4576125bd83612c1b565b905061264f565b8180546125d090613c8a565b80601f01602080910402602001604051908101604052809291908181526020018280546125fc90613c8a565b80156126475780601f1061261e57610100808354040283529160200191612647565b820191905f5260205f20905b81548152906001019060200180831161262a57829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c11156126d1575f600385925092509250612772565b5f6001888888886040515f81526020016040526040516126f494939291906141b1565b6020604051602081039080840390855afa158015612714573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612765575f60015f801b93509350935050612772565b805f805f1b935093509350505b9450945094915050565b5f600381111561278f5761278e6141f4565b5b8260038111156127a2576127a16141f4565b5b03156128da57600160038111156127bc576127bb6141f4565b5b8260038111156127cf576127ce6141f4565b5b03612806576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561281a576128196141f4565b5b82600381111561282d5761282c6141f4565b5b0361287157805f1c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016128689190613565565b60405180910390fd5b600380811115612884576128836141f4565b5b826003811115612897576128966141f4565b5b036128d957806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016128d0919061361a565b60405180910390fd5b5b5050565b6128e661336a565b825f018263ffffffff168154811061290157612900614221565b5b905f5260205f20016040518060400160405290815f82015f9054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020015f820160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050905092915050565b6129b8838383612c8d565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a4b575f6129f46107a9565b90505f6129ff612ca5565b905080821115612a485781816040517f1cb15d26000000000000000000000000000000000000000000000000000000008152600401612a3f92919061412a565b60405180910390fd5b50505b612a56838383612cc8565b505050565b5f805f90505f608084901c1115612a7a57608083901c92506080810190505b5f604084901c1115612a9457604083901c92506040810190505b5f602084901c1115612aae57602083901c92506020810190505b5f601084901c1115612ac857601083901c92506010810190505b5f600884901c1115612ae257600883901c92506008810190505b5f600484901c1115612afc57600483901c92506004810190505b5f600284901c1115612b1657600283901c92506002810190505b5f600184901c1115612b29576001810190505b80915050919050565b5f818310612b405781612b42565b825b905092915050565b5f6002828418612b5a919061424e565b828416612b679190613df1565b905092915050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff8016821115612bd45760d0826040517f6dfcc650000000000000000000000000000000000000000000000000000000008152600401612bcb9291906142b7565b60405180910390fd5b819050919050565b5f80612c0f612be9610ead565b612bff612bf588611c50565b868863ffffffff16565b87612d809092919063ffffffff16565b91509150935093915050565b60605f612c2783612d9b565b90505f602067ffffffffffffffff811115612c4557612c44613e57565b5b6040519080825280601f01601f191660200182016040528015612c775781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b612c95612567565b612ca0838383612de9565b505050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff8016905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d1457612d11600b611383612d0c84612b6f565b612bdc565b50505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d6057612d5d600b611398612d5884612b6f565b612bdc565b50505b612d7b612d6c8461099c565b612d758461099c565b8361224b565b505050565b5f80612d8f855f018585613002565b91509150935093915050565b5f8060ff835f1c169050601f811115612de0576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e39578060025f828254612e2d9190613df1565b92505081905550612f07565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612ec2578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401612eb993929190613fe7565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f4e578060025f8282540392505081905550612f98565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ff59190613565565b60405180910390a3505050565b5f805f858054905090505f811115613282575f61302b876001846130269190613e24565b612173565b6040518060400160405290815f82015f9054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020015f820160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff168152505090508565ffffffffffff16815f015165ffffffffffff161115613116576040517f2520601d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8565ffffffffffff16815f015165ffffffffffff16036131985784613147886001856131429190613e24565b612173565b5f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550613271565b8660405180604001604052808865ffffffffffff1681526020018779ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b806020015185935093505050613362565b8560405180604001604052808765ffffffffffff1681526020018679ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505f8492509250505b935093915050565b60405180604001604052805f65ffffffffffff1681526020015f79ffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156133dd5780820151818401526020810190506133c2565b5f8484015250505050565b5f601f19601f8301169050919050565b5f613402826133a6565b61340c81856133b0565b935061341c8185602086016133c0565b613425816133e8565b840191505092915050565b5f6020820190508181035f83015261344881846133f8565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61348182613458565b9050919050565b61349181613477565b811461349b575f80fd5b50565b5f813590506134ac81613488565b92915050565b5f819050919050565b6134c4816134b2565b81146134ce575f80fd5b50565b5f813590506134df816134bb565b92915050565b5f80604083850312156134fb576134fa613450565b5b5f6135088582860161349e565b9250506020613519858286016134d1565b9150509250929050565b5f8115159050919050565b61353781613523565b82525050565b5f6020820190506135505f83018461352e565b92915050565b61355f816134b2565b82525050565b5f6020820190506135785f830184613556565b92915050565b5f805f6060848603121561359557613594613450565b5b5f6135a28682870161349e565b93505060206135b38682870161349e565b92505060406135c4868287016134d1565b9150509250925092565b5f60ff82169050919050565b6135e3816135ce565b82525050565b5f6020820190506135fc5f8301846135da565b92915050565b5f819050919050565b61361481613602565b82525050565b5f60208201905061362d5f83018461360b565b92915050565b5f6020828403121561364857613647613450565b5b5f613655848285016134d1565b91505092915050565b5f6020828403121561367357613672613450565b5b5f6136808482850161349e565b91505092915050565b61369281613477565b82525050565b5f6020820190506136ab5f830184613689565b92915050565b5f6136bb82613477565b9050919050565b6136cb816136b1565b81146136d5575f80fd5b50565b5f813590506136e6816136c2565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261370d5761370c6136ec565b5b8235905067ffffffffffffffff81111561372a576137296136f0565b5b602083019150836001820283011115613746576137456136f4565b5b9250929050565b5f805f805f6080868803121561376657613765613450565b5b5f613773888289016136d8565b95505060206137848882890161349e565b9450506040613795888289016134d1565b935050606086013567ffffffffffffffff8111156137b6576137b5613454565b5b6137c2888289016136f8565b92509250509295509295909350565b5f63ffffffff82169050919050565b6137e9816137d1565b82525050565b5f6020820190506138025f8301846137e0565b92915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61383c81613808565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613874816134b2565b82525050565b5f613885838361386b565b60208301905092915050565b5f602082019050919050565b5f6138a782613842565b6138b1818561384c565b93506138bc8361385c565b805f5b838110156138ec5781516138d3888261387a565b97506138de83613891565b9250506001810190506138bf565b5085935050505092915050565b5f60e08201905061390c5f83018a613833565b818103602083015261391e81896133f8565b9050818103604083015261393281886133f8565b90506139416060830187613556565b61394e6080830186613689565b61395b60a083018561360b565b81810360c083015261396d818461389d565b905098975050505050505050565b5f65ffffffffffff82169050919050565b6139958161397b565b82525050565b5f6020820190506139ae5f83018461398c565b92915050565b6139bd816135ce565b81146139c7575f80fd5b50565b5f813590506139d8816139b4565b92915050565b6139e781613602565b81146139f1575f80fd5b50565b5f81359050613a02816139de565b92915050565b5f805f805f8060c08789031215613a2257613a21613450565b5b5f613a2f89828a0161349e565b9650506020613a4089828a016134d1565b9550506040613a5189828a016134d1565b9450506060613a6289828a016139ca565b9350506080613a7389828a016139f4565b92505060a0613a8489828a016139f4565b9150509295509295509295565b5f805f805f805f60e0888a031215613aac57613aab613450565b5b5f613ab98a828b0161349e565b9750506020613aca8a828b0161349e565b9650506040613adb8a828b016134d1565b9550506060613aec8a828b016134d1565b9450506080613afd8a828b016139ca565b93505060a0613b0e8a828b016139f4565b92505060c0613b1f8a828b016139f4565b91505092959891949750929550565b5f8060408385031215613b4457613b43613450565b5b5f613b518582860161349e565b9250506020613b628582860161349e565b9150509250929050565b613b75816137d1565b8114613b7f575f80fd5b50565b5f81359050613b9081613b6c565b92915050565b5f8060408385031215613bac57613bab613450565b5b5f613bb98582860161349e565b9250506020613bca85828601613b82565b9150509250929050565b613bdd8161397b565b82525050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b613c1181613be3565b82525050565b604082015f820151613c2b5f850182613bd4565b506020820151613c3e6020850182613c08565b50505050565b5f604082019050613c575f830184613c17565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613ca157607f821691505b602082108103613cb457613cb3613c5d565b5b50919050565b5f604082019050613ccd5f830185613556565b613cda602083018461398c565b9392505050565b5f82825260208201905092915050565b828183375f83830152505050565b5f613d0a8385613ce1565b9350613d17838584613cf1565b613d20836133e8565b840190509392505050565b5f60a082019050613d3e5f830189613689565b613d4b6020830188613689565b613d586040830187613556565b613d656060830186613556565b8181036080830152613d78818486613cff565b9050979650505050505050565b5f81519050613d93816139de565b92915050565b5f60208284031215613dae57613dad613450565b5b5f613dbb84828501613d85565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613dfb826134b2565b9150613e06836134b2565b9250828201905080821115613e1e57613e1d613dc4565b5b92915050565b5f613e2e826134b2565b9150613e39836134b2565b9250828203905081811115613e5157613e50613dc4565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f608082019050613e975f83018761360b565b613ea46020830186613689565b613eb16040830185613556565b613ebe6060830184613556565b95945050505050565b5f60c082019050613eda5f83018961360b565b613ee76020830188613689565b613ef46040830187613689565b613f016060830186613556565b613f0e6080830185613556565b613f1b60a0830184613556565b979650505050505050565b5f604082019050613f395f830185613689565b613f466020830184613689565b9392505050565b5f613f5782613be3565b9150613f6283613be3565b9250828201905079ffffffffffffffffffffffffffffffffffffffffffffffffffff811115613f9457613f93613dc4565b5b92915050565b5f613fa482613be3565b9150613faf83613be3565b9250828203905079ffffffffffffffffffffffffffffffffffffffffffffffffffff811115613fe157613fe0613dc4565b5b92915050565b5f606082019050613ffa5f830186613689565b6140076020830185613556565b6140146040830184613556565b949350505050565b5f819050919050565b5f819050919050565b5f61404861404361403e8461401c565b614025565b6135ce565b9050919050565b6140588161402e565b82525050565b5f6040820190506140715f83018561404f565b61407e6020830184613556565b9392505050565b5f6040820190506140985f830185613689565b6140a56020830184613556565b9392505050565b5f60a0820190506140bf5f83018861360b565b6140cc602083018761360b565b6140d9604083018661360b565b6140e66060830185613556565b6140f36080830184613689565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f60408201905061413d5f830185613556565b61414a6020830184613556565b9392505050565b5f819050919050565b5f61417461416f61416a84614151565b614025565b6135ce565b9050919050565b6141848161415a565b82525050565b5f60408201905061419d5f83018561417b565b6141aa6020830184613556565b9392505050565b5f6080820190506141c45f83018761360b565b6141d160208301866135da565b6141de604083018561360b565b6141eb606083018461360b565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f614258826134b2565b9150614263836134b2565b925082614273576142726140fd565b5b828204905092915050565b5f819050919050565b5f6142a161429c6142978461427e565b614025565b6135ce565b9050919050565b6142b181614287565b82525050565b5f6040820190506142ca5f8301856142a8565b6142d76020830184613556565b939250505056fea26469706673582212201e32537368cdca70f2b41667012862059e7d078b7d6381e57e9c59885ef5c17964736f6c63430008180033000000000000000000000000a7c22c77afa2ff393467cfd8f1d9fab5e3d7a043
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061020f575f3560e01c806370a082311161012357806395d89b41116100ab578063d505accf1161007a578063d505accf1461062f578063d9d98ce41461064b578063dd62ed3e1461067b578063f1127ed8146106ab578063f2fde38b146106db5761020f565b806395d89b41146105955780639ab24eb0146105b3578063a9059cbb146105e3578063c3cda520146106135761020f565b80638456cb59116100f25780638456cb59146104fb57806384b0196e146105055780638da5cb5b146105295780638e539e8c1461054757806391ddadf4146105775761020f565b806370a0823114610475578063715018a6146104a557806379cc6790146104af5780637ecebe00146104cb5761020f565b806340c10f19116101a65780635c19a95c116101755780635c19a95c146103ab5780635c975abb146103c75780635cffe9de146103e5578063613255ab146104155780636fcfff45146104455761020f565b806340c10f191461032557806342966c68146103415780634bf5d7e91461035d578063587cde1e1461037b5761020f565b8063313ce567116101e2578063313ce567146102af5780633644e515146102cd5780633a46b1a8146102eb5780633f4ba83a1461031b5761020f565b806306fdde0314610213578063095ea7b31461023157806318160ddd1461026157806323b872dd1461027f575b5f80fd5b61021b6106f7565b6040516102289190613430565b60405180910390f35b61024b600480360381019061024691906134e5565b610787565b604051610258919061353d565b60405180910390f35b6102696107a9565b6040516102769190613565565b60405180910390f35b6102996004803603810190610294919061357e565b6107b2565b6040516102a6919061353d565b60405180910390f35b6102b76107e0565b6040516102c491906135e9565b60405180910390f35b6102d56107e8565b6040516102e2919061361a565b60405180910390f35b610305600480360381019061030091906134e5565b6107f6565b6040516103129190613565565b60405180910390f35b6103236108cc565b005b61033f600480360381019061033a91906134e5565b6108de565b005b61035b60048036038101906103569190613633565b6108f4565b005b610365610908565b6040516103729190613430565b60405180910390f35b6103956004803603810190610390919061365e565b61099c565b6040516103a29190613698565b60405180910390f35b6103c560048036038101906103c0919061365e565b610a01565b005b6103cf610a1a565b6040516103dc919061353d565b60405180910390f35b6103ff60048036038101906103fa919061374d565b610a2f565b60405161040c919061353d565b60405180910390f35b61042f600480360381019061042a919061365e565b610c24565b60405161043c9190613565565b60405180910390f35b61045f600480360381019061045a919061365e565b610c99565b60405161046c91906137ef565b60405180910390f35b61048f600480360381019061048a919061365e565b610caa565b60405161049c9190613565565b60405180910390f35b6104ad610cef565b005b6104c960048036038101906104c491906134e5565b610d02565b005b6104e560048036038101906104e0919061365e565b610d22565b6040516104f29190613565565b60405180910390f35b610503610d33565b005b61050d610d45565b60405161052097969594939291906138f9565b60405180910390f35b610531610dea565b60405161053e9190613698565b60405180910390f35b610561600480360381019061055c9190613633565b610e13565b60405161056e9190613565565b60405180910390f35b61057f610ead565b60405161058c919061399b565b60405180910390f35b61059d610ebb565b6040516105aa9190613430565b60405180910390f35b6105cd60048036038101906105c8919061365e565b610f4b565b6040516105da9190613565565b60405180910390f35b6105fd60048036038101906105f891906134e5565b610fb4565b60405161060a919061353d565b60405180910390f35b61062d60048036038101906106289190613a08565b610fd6565b005b61064960048036038101906106449190613a91565b61109b565b005b610665600480360381019061066091906134e5565b6111e0565b6040516106729190613565565b60405180910390f35b61069560048036038101906106909190613b2e565b611263565b6040516106a29190613565565b60405180910390f35b6106c560048036038101906106c09190613b96565b6112e5565b6040516106d29190613c44565b60405180910390f35b6106f560048036038101906106f0919061365e565b6112ff565b005b60606003805461070690613c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461073290613c8a565b801561077d5780601f106107545761010080835404028352916020019161077d565b820191905f5260205f20905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b5f806107916113ad565b905061079e8185856113b4565b600191505092915050565b5f600254905090565b5f806107bc6113ad565b90506107c98582856113c6565b6107d4858585611458565b60019150509392505050565b5f6012905090565b5f6107f1611548565b905090565b5f80610800610ead565b90508065ffffffffffff1683106108505782816040517fecd3f81e000000000000000000000000000000000000000000000000000000008152600401610847929190613cba565b60405180910390fd5b6108a761085c846115fe565b600a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061165790919063ffffffff16565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff1691505092915050565b6108d4611744565b6108dc6117cb565b565b6108e6611744565b6108f0828261182c565b5050565b6109056108ff6113ad565b826118ab565b50565b606061091261192a565b65ffffffffffff16610922610ead565b65ffffffffffff1614610961576040517f6ff0714000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060400160405280601d81526020017f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000815250905090565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610a0a6113ad565b9050610a168183611939565b5050565b5f60055f9054906101000a900460ff16905090565b5f80610a3a86610c24565b905080851115610a8157806040517ffd9a7609000000000000000000000000000000000000000000000000000000008152600401610a789190613565565b60405180910390fd5b5f610a8c87876111e0565b9050610a98888761182c565b7f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd98873ffffffffffffffffffffffffffffffffffffffff166323e30c8b610add6113ad565b8a8a868b8b6040518763ffffffff1660e01b8152600401610b0396959493929190613d2b565b6020604051808303815f875af1158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b439190613d99565b14610b8557876040517f678c5b00000000000000000000000000000000000000000000000000000000008152600401610b7c9190613698565b60405180910390fd5b5f610b8e611a49565b9050610ba68930848a610ba19190613df1565b6113c6565b5f821480610bdf57505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610bfe57610bf9898389610bf49190613df1565b6118ab565b610c14565b610c0889886118ab565b610c13898284611458565b5b6001935050505095945050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c5e575f610c92565b610c666107a9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610c919190613e24565b5b9050919050565b5f610ca382611a4d565b9050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610cf7611744565b610d005f611aa2565b565b610d1482610d0e6113ad565b836113c6565b610d1e82826118ab565b5050565b5f610d2c82611b67565b9050919050565b610d3b611744565b610d43611b78565b565b5f6060805f805f6060610d56611bda565b610d5e611c15565b46305f801b5f67ffffffffffffffff811115610d7d57610d7c613e57565b5b604051908082528060200260200182016040528015610dab5781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80610e1d610ead565b90508065ffffffffffff168310610e6d5782816040517fecd3f81e000000000000000000000000000000000000000000000000000000008152600401610e64929190613cba565b60405180910390fd5b610e89610e79846115fe565b600b61165790919063ffffffff16565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b5f610eb661192a565b905090565b606060048054610eca90613c8a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690613c8a565b8015610f415780601f10610f1857610100808354040283529160200191610f41565b820191905f5260205f20905b815481529060010190602001808311610f2457829003601f168201915b5050505050905090565b5f610f91600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20611c50565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff169050919050565b5f80610fbe6113ad565b9050610fcb818585611458565b600191505092915050565b8342111561101b57836040517f4683af0e0000000000000000000000000000000000000000000000000000000081526004016110129190613565565b60405180910390fd5b5f61107c6110747fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf8989896040516020016110599493929190613e84565b60405160208183030381529060405280519060200120611cb2565b858585611ccb565b90506110888187611cf9565b6110928188611939565b50505050505050565b834211156110e057836040517f627913020000000000000000000000000000000000000000000000000000000081526004016110d79190613565565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861110e8c611d50565b8960405160200161112496959493929190613ec7565b6040516020818303038152906040528051906020012090505f61114682611cb2565b90505f61115582878787611ccb565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111c957808a6040517f4b800e460000000000000000000000000000000000000000000000000000000081526004016111c0929190613f26565b60405180910390fd5b6111d48a8a8a6113b4565b50505050505050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461125157826040517fb5a7db920000000000000000000000000000000000000000000000000000000081526004016112489190613698565b60405180910390fd5b61125b8383611da3565b905092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6112ed61336a565b6112f78383611daa565b905092915050565b611307611744565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611377575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161136e9190613698565b60405180910390fd5b61138081611aa2565b50565b5f81836113909190613f4d565b905092915050565b5f81836113a59190613f9a565b905092915050565b5f33905090565b6113c18383836001611e09565b505050565b5f6113d18484611263565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114525781811015611443578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161143a93929190613fe7565b60405180910390fd5b61145184848484035f611e09565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114c8575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016114bf9190613698565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611538575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161152f9190613698565b60405180910390fd5b611543838383611fd8565b505050565b5f7f0000000000000000000000004cb6654aa16163f7a4e5be0aa4def4084d94535c73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156115c357507f000000000000000000000000000000000000000000000000000000000000000146145b156115f0577fc2256068d91217329164160d7e463514b01e84ebfcba20d7e1c859408ccafc0e90506115fb565b6115f8611fe8565b90505b90565b5f65ffffffffffff801682111561164f576030826040517f6dfcc65000000000000000000000000000000000000000000000000000000000815260040161164692919061405e565b60405180910390fd5b819050919050565b5f80835f018054905090505f8082905060058311156116d8575f61167a8461207d565b846116859190613e24565b9050611693875f0182612173565b5f015f9054906101000a900465ffffffffffff1665ffffffffffff168665ffffffffffff1610156116c6578091506116d6565b6001816116d39190613df1565b92505b505b5f6116e7875f01878585612185565b90505f811461173657611708875f016001836117039190613e24565b612173565b5f0160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff16611738565b5f5b94505050505092915050565b61174c6113ad565b73ffffffffffffffffffffffffffffffffffffffff1661176a610dea565b73ffffffffffffffffffffffffffffffffffffffff16146117c95761178d6113ad565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117c09190613698565b60405180910390fd5b565b6117d36121fa565b5f60055f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118156113ad565b6040516118229190613698565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361189c575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016118939190613698565b60405180910390fd5b6118a75f8383611fd8565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361191b575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016119129190613698565b60405180910390fd5b611926825f83611fd8565b5050565b5f611934436115fe565b905090565b5f6119438361099c565b90508160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4611a448183611a3f8661223a565b61224b565b505050565b5f90565b5f611a9b611a96600a5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206124bb565b6124ca565b9050919050565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611b7182612521565b9050919050565b611b80612567565b600160055f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bc36113ad565b604051611bd09190613698565b60405180910390a1565b6060611c1060067f5452554d50534e45414b4552530000000000000000000000000000000000000d6125a890919063ffffffff16565b905090565b6060611c4b60077f31000000000000000000000000000000000000000000000000000000000000016125a890919063ffffffff16565b905090565b5f80825f018054905090505f8114611ca857611c7a835f01600183611c759190613e24565b612173565b5f0160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff16611caa565b5f5b915050919050565b5f611cc4611cbe611548565b83612655565b9050919050565b5f805f80611cdb88888888612695565b925092509250611ceb828261277c565b829350505050949350505050565b5f611d0383611d50565b9050808214611d4b5782816040517f752d88c0000000000000000000000000000000000000000000000000000000008152600401611d42929190614085565b60405180910390fd5b505050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f92915050565b611db261336a565b611e0182600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206128de90919063ffffffff16565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e79575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611e709190613698565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ee9575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611ee09190613698565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611fd2578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611fc99190613565565b60405180910390a35b50505050565b611fe38383836129ad565b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fa52888fd9628b73e21e384c58c855a181ccd94c7546ea11d6a8e8968cd4fc29c7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016120629594939291906140ac565b60405160208183030381529060405280519060200120905090565b5f80820361208d575f905061216e565b5f600161209984612a5b565b901c6001901b905060018184816120b3576120b26140fd565b5b048201901c905060018184816120cc576120cb6140fd565b5b048201901c905060018184816120e5576120e46140fd565b5b048201901c905060018184816120fe576120fd6140fd565b5b048201901c90506001818481612117576121166140fd565b5b048201901c905060018184816121305761212f6140fd565b5b048201901c90506001818481612149576121486140fd565b5b048201901c905061216a81828581612164576121636140fd565b5b04612b32565b9150505b919050565b5f825f528160205f2001905092915050565b5f5b818310156121ef575f61219a8484612b4a565b90508465ffffffffffff166121af8783612173565b5f015f9054906101000a900465ffffffffffff1665ffffffffffff1611156121d9578092506121e9565b6001816121e69190613df1565b93505b50612187565b819050949350505050565b612202610a1a565b612238576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f61224482610caa565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561228657505f81115b156124b6575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123a0575f80612311600a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061139861230c86612b6f565b612bdc565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161239592919061412a565b60405180910390a250505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124b5575f80612426600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061138361242186612b6f565b612bdc565b79ffffffffffffffffffffffffffffffffffffffffffffffffffff16915079ffffffffffffffffffffffffffffffffffffffffffffffffffff1691508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516124aa92919061412a565b60405180910390a250505b5b505050565b5f815f01805490509050919050565b5f63ffffffff8016821115612519576020826040517f6dfcc65000000000000000000000000000000000000000000000000000000000815260040161251092919061418a565b60405180910390fd5b819050919050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61256f610a1a565b156125a6576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b606060ff5f1b83146125c4576125bd83612c1b565b905061264f565b8180546125d090613c8a565b80601f01602080910402602001604051908101604052809291908181526020018280546125fc90613c8a565b80156126475780601f1061261e57610100808354040283529160200191612647565b820191905f5260205f20905b81548152906001019060200180831161262a57829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c11156126d1575f600385925092509250612772565b5f6001888888886040515f81526020016040526040516126f494939291906141b1565b6020604051602081039080840390855afa158015612714573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612765575f60015f801b93509350935050612772565b805f805f1b935093509350505b9450945094915050565b5f600381111561278f5761278e6141f4565b5b8260038111156127a2576127a16141f4565b5b03156128da57600160038111156127bc576127bb6141f4565b5b8260038111156127cf576127ce6141f4565b5b03612806576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561281a576128196141f4565b5b82600381111561282d5761282c6141f4565b5b0361287157805f1c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016128689190613565565b60405180910390fd5b600380811115612884576128836141f4565b5b826003811115612897576128966141f4565b5b036128d957806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016128d0919061361a565b60405180910390fd5b5b5050565b6128e661336a565b825f018263ffffffff168154811061290157612900614221565b5b905f5260205f20016040518060400160405290815f82015f9054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020015f820160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050905092915050565b6129b8838383612c8d565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a4b575f6129f46107a9565b90505f6129ff612ca5565b905080821115612a485781816040517f1cb15d26000000000000000000000000000000000000000000000000000000008152600401612a3f92919061412a565b60405180910390fd5b50505b612a56838383612cc8565b505050565b5f805f90505f608084901c1115612a7a57608083901c92506080810190505b5f604084901c1115612a9457604083901c92506040810190505b5f602084901c1115612aae57602083901c92506020810190505b5f601084901c1115612ac857601083901c92506010810190505b5f600884901c1115612ae257600883901c92506008810190505b5f600484901c1115612afc57600483901c92506004810190505b5f600284901c1115612b1657600283901c92506002810190505b5f600184901c1115612b29576001810190505b80915050919050565b5f818310612b405781612b42565b825b905092915050565b5f6002828418612b5a919061424e565b828416612b679190613df1565b905092915050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff8016821115612bd45760d0826040517f6dfcc650000000000000000000000000000000000000000000000000000000008152600401612bcb9291906142b7565b60405180910390fd5b819050919050565b5f80612c0f612be9610ead565b612bff612bf588611c50565b868863ffffffff16565b87612d809092919063ffffffff16565b91509150935093915050565b60605f612c2783612d9b565b90505f602067ffffffffffffffff811115612c4557612c44613e57565b5b6040519080825280601f01601f191660200182016040528015612c775781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b612c95612567565b612ca0838383612de9565b505050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff8016905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d1457612d11600b611383612d0c84612b6f565b612bdc565b50505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d6057612d5d600b611398612d5884612b6f565b612bdc565b50505b612d7b612d6c8461099c565b612d758461099c565b8361224b565b505050565b5f80612d8f855f018585613002565b91509150935093915050565b5f8060ff835f1c169050601f811115612de0576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e39578060025f828254612e2d9190613df1565b92505081905550612f07565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612ec2578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401612eb993929190613fe7565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f4e578060025f8282540392505081905550612f98565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ff59190613565565b60405180910390a3505050565b5f805f858054905090505f811115613282575f61302b876001846130269190613e24565b612173565b6040518060400160405290815f82015f9054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020015f820160069054906101000a900479ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff1679ffffffffffffffffffffffffffffffffffffffffffffffffffff168152505090508565ffffffffffff16815f015165ffffffffffff161115613116576040517f2520601d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8565ffffffffffff16815f015165ffffffffffff16036131985784613147886001856131429190613e24565b612173565b5f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550613271565b8660405180604001604052808865ffffffffffff1681526020018779ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b806020015185935093505050613362565b8560405180604001604052808765ffffffffffff1681526020018679ffffffffffffffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003905f5260205f20015f909190919091505f820151815f015f6101000a81548165ffffffffffff021916908365ffffffffffff1602179055506020820151815f0160066101000a81548179ffffffffffffffffffffffffffffffffffffffffffffffffffff021916908379ffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505f8492509250505b935093915050565b60405180604001604052805f65ffffffffffff1681526020015f79ffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156133dd5780820151818401526020810190506133c2565b5f8484015250505050565b5f601f19601f8301169050919050565b5f613402826133a6565b61340c81856133b0565b935061341c8185602086016133c0565b613425816133e8565b840191505092915050565b5f6020820190508181035f83015261344881846133f8565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61348182613458565b9050919050565b61349181613477565b811461349b575f80fd5b50565b5f813590506134ac81613488565b92915050565b5f819050919050565b6134c4816134b2565b81146134ce575f80fd5b50565b5f813590506134df816134bb565b92915050565b5f80604083850312156134fb576134fa613450565b5b5f6135088582860161349e565b9250506020613519858286016134d1565b9150509250929050565b5f8115159050919050565b61353781613523565b82525050565b5f6020820190506135505f83018461352e565b92915050565b61355f816134b2565b82525050565b5f6020820190506135785f830184613556565b92915050565b5f805f6060848603121561359557613594613450565b5b5f6135a28682870161349e565b93505060206135b38682870161349e565b92505060406135c4868287016134d1565b9150509250925092565b5f60ff82169050919050565b6135e3816135ce565b82525050565b5f6020820190506135fc5f8301846135da565b92915050565b5f819050919050565b61361481613602565b82525050565b5f60208201905061362d5f83018461360b565b92915050565b5f6020828403121561364857613647613450565b5b5f613655848285016134d1565b91505092915050565b5f6020828403121561367357613672613450565b5b5f6136808482850161349e565b91505092915050565b61369281613477565b82525050565b5f6020820190506136ab5f830184613689565b92915050565b5f6136bb82613477565b9050919050565b6136cb816136b1565b81146136d5575f80fd5b50565b5f813590506136e6816136c2565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261370d5761370c6136ec565b5b8235905067ffffffffffffffff81111561372a576137296136f0565b5b602083019150836001820283011115613746576137456136f4565b5b9250929050565b5f805f805f6080868803121561376657613765613450565b5b5f613773888289016136d8565b95505060206137848882890161349e565b9450506040613795888289016134d1565b935050606086013567ffffffffffffffff8111156137b6576137b5613454565b5b6137c2888289016136f8565b92509250509295509295909350565b5f63ffffffff82169050919050565b6137e9816137d1565b82525050565b5f6020820190506138025f8301846137e0565b92915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61383c81613808565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613874816134b2565b82525050565b5f613885838361386b565b60208301905092915050565b5f602082019050919050565b5f6138a782613842565b6138b1818561384c565b93506138bc8361385c565b805f5b838110156138ec5781516138d3888261387a565b97506138de83613891565b9250506001810190506138bf565b5085935050505092915050565b5f60e08201905061390c5f83018a613833565b818103602083015261391e81896133f8565b9050818103604083015261393281886133f8565b90506139416060830187613556565b61394e6080830186613689565b61395b60a083018561360b565b81810360c083015261396d818461389d565b905098975050505050505050565b5f65ffffffffffff82169050919050565b6139958161397b565b82525050565b5f6020820190506139ae5f83018461398c565b92915050565b6139bd816135ce565b81146139c7575f80fd5b50565b5f813590506139d8816139b4565b92915050565b6139e781613602565b81146139f1575f80fd5b50565b5f81359050613a02816139de565b92915050565b5f805f805f8060c08789031215613a2257613a21613450565b5b5f613a2f89828a0161349e565b9650506020613a4089828a016134d1565b9550506040613a5189828a016134d1565b9450506060613a6289828a016139ca565b9350506080613a7389828a016139f4565b92505060a0613a8489828a016139f4565b9150509295509295509295565b5f805f805f805f60e0888a031215613aac57613aab613450565b5b5f613ab98a828b0161349e565b9750506020613aca8a828b0161349e565b9650506040613adb8a828b016134d1565b9550506060613aec8a828b016134d1565b9450506080613afd8a828b016139ca565b93505060a0613b0e8a828b016139f4565b92505060c0613b1f8a828b016139f4565b91505092959891949750929550565b5f8060408385031215613b4457613b43613450565b5b5f613b518582860161349e565b9250506020613b628582860161349e565b9150509250929050565b613b75816137d1565b8114613b7f575f80fd5b50565b5f81359050613b9081613b6c565b92915050565b5f8060408385031215613bac57613bab613450565b5b5f613bb98582860161349e565b9250506020613bca85828601613b82565b9150509250929050565b613bdd8161397b565b82525050565b5f79ffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b613c1181613be3565b82525050565b604082015f820151613c2b5f850182613bd4565b506020820151613c3e6020850182613c08565b50505050565b5f604082019050613c575f830184613c17565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613ca157607f821691505b602082108103613cb457613cb3613c5d565b5b50919050565b5f604082019050613ccd5f830185613556565b613cda602083018461398c565b9392505050565b5f82825260208201905092915050565b828183375f83830152505050565b5f613d0a8385613ce1565b9350613d17838584613cf1565b613d20836133e8565b840190509392505050565b5f60a082019050613d3e5f830189613689565b613d4b6020830188613689565b613d586040830187613556565b613d656060830186613556565b8181036080830152613d78818486613cff565b9050979650505050505050565b5f81519050613d93816139de565b92915050565b5f60208284031215613dae57613dad613450565b5b5f613dbb84828501613d85565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613dfb826134b2565b9150613e06836134b2565b9250828201905080821115613e1e57613e1d613dc4565b5b92915050565b5f613e2e826134b2565b9150613e39836134b2565b9250828203905081811115613e5157613e50613dc4565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f608082019050613e975f83018761360b565b613ea46020830186613689565b613eb16040830185613556565b613ebe6060830184613556565b95945050505050565b5f60c082019050613eda5f83018961360b565b613ee76020830188613689565b613ef46040830187613689565b613f016060830186613556565b613f0e6080830185613556565b613f1b60a0830184613556565b979650505050505050565b5f604082019050613f395f830185613689565b613f466020830184613689565b9392505050565b5f613f5782613be3565b9150613f6283613be3565b9250828201905079ffffffffffffffffffffffffffffffffffffffffffffffffffff811115613f9457613f93613dc4565b5b92915050565b5f613fa482613be3565b9150613faf83613be3565b9250828203905079ffffffffffffffffffffffffffffffffffffffffffffffffffff811115613fe157613fe0613dc4565b5b92915050565b5f606082019050613ffa5f830186613689565b6140076020830185613556565b6140146040830184613556565b949350505050565b5f819050919050565b5f819050919050565b5f61404861404361403e8461401c565b614025565b6135ce565b9050919050565b6140588161402e565b82525050565b5f6040820190506140715f83018561404f565b61407e6020830184613556565b9392505050565b5f6040820190506140985f830185613689565b6140a56020830184613556565b9392505050565b5f60a0820190506140bf5f83018861360b565b6140cc602083018761360b565b6140d9604083018661360b565b6140e66060830185613556565b6140f36080830184613689565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f60408201905061413d5f830185613556565b61414a6020830184613556565b9392505050565b5f819050919050565b5f61417461416f61416a84614151565b614025565b6135ce565b9050919050565b6141848161415a565b82525050565b5f60408201905061419d5f83018561417b565b6141aa6020830184613556565b9392505050565b5f6080820190506141c45f83018761360b565b6141d160208301866135da565b6141de604083018561360b565b6141eb606083018461360b565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f614258826134b2565b9150614263836134b2565b925082614273576142726140fd565b5b828204905092915050565b5f819050919050565b5f6142a161429c6142978461427e565b614025565b6135ce565b9050919050565b6142b181614287565b82525050565b5f6040820190506142ca5f8301856142a8565b6142d76020830184613556565b939250505056fea26469706673582212201e32537368cdca70f2b41667012862059e7d078b7d6381e57e9c59885ef5c17964736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a7c22c77afa2ff393467cfd8f1d9fab5e3d7a043
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xa7C22C77AfA2FF393467cfd8f1D9fAB5e3d7a043
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a7c22c77afa2ff393467cfd8f1d9fab5e3d7a043
Deployed Bytecode Sourcemap
174585:1032:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;150738:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;153031:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;151840:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;153799:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;151691:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;171883:114;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133165:370;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;175001:65;;;:::i;:::-;;175074:95;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;173862:89;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;132260:278;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;134820:119;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;135026:141;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;144141:86;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;164812:986;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;161901:163;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;168972:128;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;152002:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;141399:103;;;:::i;:::-;;174280:161;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;175437:177;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;174932:61;;;:::i;:::-;;108384:580;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;140724:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;134185:347;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132001:98;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;150948:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132633:137;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;152325:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;135250:573;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;170871:695;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;162439:237;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;152570:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;169182:165;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;141657:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;150738:91;150783:13;150816:5;150809:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;150738:91;:::o;153031:190::-;153104:4;153121:13;153137:12;:10;:12::i;:::-;153121:28;;153160:31;153169:5;153176:7;153185:5;153160:8;:31::i;:::-;153209:4;153202:11;;;153031:190;;;;:::o;151840:99::-;151892:7;151919:12;;151912:19;;151840:99;:::o;153799:249::-;153886:4;153903:15;153921:12;:10;:12::i;:::-;153903:30;;153944:37;153960:4;153966:7;153975:5;153944:15;:37::i;:::-;153992:26;154002:4;154008:2;154012:5;153992:9;:26::i;:::-;154036:4;154029:11;;;153799:249;;;;;:::o;151691:84::-;151740:5;151765:2;151758:9;;151691:84;:::o;171883:114::-;171942:7;171969:20;:18;:20::i;:::-;171962:27;;171883:114;:::o;133165:370::-;133252:7;133272:23;133298:7;:5;:7::i;:::-;133272:33;;133333:16;133320:29;;:9;:29;133316:117;;133393:9;133404:16;133373:48;;;;;;;;;;;;:::i;:::-;;;;;;;;133316:117;133450:77;133498:28;133516:9;133498:17;:28::i;:::-;133450:20;:29;133471:7;133450:29;;;;;;;;;;;;;;;:47;;:77;;;;:::i;:::-;133443:84;;;;;133165:370;;;;:::o;175001:65::-;140610:13;:11;:13::i;:::-;175048:10:::1;:8;:10::i;:::-;175001:65::o:0;175074:95::-;140610:13;:11;:13::i;:::-;175144:17:::1;175150:2;175154:6;175144:5;:17::i;:::-;175074:95:::0;;:::o;173862:89::-;173917:26;173923:12;:10;:12::i;:::-;173937:5;173917;:26::i;:::-;173862:89;:::o;132260:278::-;132311:13;132402:18;:16;:18::i;:::-;132391:29;;:7;:5;:7::i;:::-;:29;;;132387:95;;132444:26;;;;;;;;;;;;;;132387:95;132492:38;;;;;;;;;;;;;;;;;;;132260:278;:::o;134820:119::-;134885:7;134912:10;:19;134923:7;134912:19;;;;;;;;;;;;;;;;;;;;;;;;;134905:26;;134820:119;;;:::o;135026:141::-;135089:15;135107:12;:10;:12::i;:::-;135089:30;;135130:29;135140:7;135149:9;135130;:29::i;:::-;135078:89;135026:141;:::o;144141:86::-;144188:4;144212:7;;;;;;;;;;;144205:14;;144141:86;:::o;164812:986::-;164981:4;164998:15;165016:19;165029:5;165016:12;:19::i;:::-;164998:37;;165058:7;165050:5;:15;165046:86;;;165112:7;165089:31;;;;;;;;;;;:::i;:::-;;;;;;;;165046:86;165142:11;165156:22;165165:5;165172;165156:8;:22::i;:::-;165142:36;;165189:31;165203:8;165214:5;165189;:31::i;:::-;160979:45;165235:8;:20;;;165256:12;:10;:12::i;:::-;165270:5;165277;165284:3;165289:4;;165235:59;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;165231:156;;165365:8;165334:41;;;;;;;;;;;:::i;:::-;;;;;;;;165231:156;165397:24;165424:19;:17;:19::i;:::-;165397:46;;165454:62;165478:8;165497:4;165512:3;165504:5;:11;;;;:::i;:::-;165454:15;:62::i;:::-;165538:1;165531:3;:8;:42;;;;165571:1;165543:30;;:16;:30;;;165531:42;165527:242;;;165590:37;165604:8;165623:3;165615:5;:11;;;;:::i;:::-;165590:5;:37::i;:::-;165527:242;;;165660:31;165674:8;165685:5;165660;:31::i;:::-;165706:51;165724:8;165735:16;165753:3;165706:9;:51::i;:::-;165527:242;165786:4;165779:11;;;;;164812:986;;;;;;;:::o;161901:163::-;161967:7;162011:4;161994:22;;:5;:22;;;:62;;162055:1;161994:62;;;162039:13;:11;:13::i;:::-;162019:17;:33;;;;:::i;:::-;161994:62;161987:69;;161901:163;;;:::o;168972:128::-;169042:6;169068:24;169084:7;169068:15;:24::i;:::-;169061:31;;168972:128;;;:::o;152002:118::-;152067:7;152094:9;:18;152104:7;152094:18;;;;;;;;;;;;;;;;152087:25;;152002:118;;;:::o;141399:103::-;140610:13;:11;:13::i;:::-;141464:30:::1;141491:1;141464:18;:30::i;:::-;141399:103::o:0;174280:161::-;174356:45;174372:7;174381:12;:10;:12::i;:::-;174395:5;174356:15;:45::i;:::-;174412:21;174418:7;174427:5;174412;:21::i;:::-;174280:161;;:::o;175437:177::-;175555:7;175587:19;175600:5;175587:12;:19::i;:::-;175580:26;;175437:177;;;:::o;174932:61::-;140610:13;:11;:13::i;:::-;174977:8:::1;:6;:8::i;:::-;174932:61::o:0;108384:580::-;108487:13;108515:18;108548:21;108584:15;108614:25;108654:12;108681:27;108789:13;:11;:13::i;:::-;108817:16;:14;:16::i;:::-;108848:13;108884:4;108912:1;108904:10;;108943:1;108929:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108736:220;;;;;;;;;;;;;;;;;;;;;108384:580;;;;;;;:::o;140724:87::-;140770:7;140797:6;;;;;;;;;;;140790:13;;140724:87;:::o;134185:347::-;134261:7;134281:23;134307:7;:5;:7::i;:::-;134281:33;;134342:16;134329:29;;:9;:29;134325:117;;134402:9;134413:16;134382:48;;;;;;;;;;;;:::i;:::-;;;;;;;;134325:117;134459:65;134495:28;134513:9;134495:17;:28::i;:::-;134459:17;:35;;:65;;;;:::i;:::-;134452:72;;;;;134185:347;;;:::o;132001:98::-;132047:6;132073:18;:16;:18::i;:::-;132066:25;;132001:98;:::o;150948:95::-;150995:13;151028:7;151021:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;150948:95;:::o;132633:137::-;132697:7;132724:38;:20;:29;132745:7;132724:29;;;;;;;;;;;;;;;:36;:38::i;:::-;132717:45;;;;132633:137;;;:::o;152325:182::-;152394:4;152411:13;152427:12;:10;:12::i;:::-;152411:28;;152450:27;152460:5;152467:2;152471:5;152450:9;:27::i;:::-;152495:4;152488:11;;;152325:182;;;;:::o;135250:573::-;135463:6;135445:15;:24;135441:93;;;135515:6;135493:29;;;;;;;;;;;:::i;:::-;;;;;;;;135441:93;135544:14;135561:173;135589:86;131253:71;135648:9;135659:5;135666:6;135616:57;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;135606:68;;;;;;135589:16;:86::i;:::-;135690:1;135706;135722;135561:13;:173::i;:::-;135544:190;;135745:31;135762:6;135770:5;135745:16;:31::i;:::-;135787:28;135797:6;135805:9;135787;:28::i;:::-;135430:393;135250:573;;;;;;:::o;170871:695::-;171101:8;171083:15;:26;171079:99;;;171157:8;171133:33;;;;;;;;;;;:::i;:::-;;;;;;;;171079:99;171190:18;170191:95;171249:5;171256:7;171265:5;171272:16;171282:5;171272:9;:16::i;:::-;171290:8;171221:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;171211:89;;;;;;171190:110;;171313:12;171328:28;171345:10;171328:16;:28::i;:::-;171313:43;;171369:14;171386:28;171400:4;171406:1;171409;171412;171386:13;:28::i;:::-;171369:45;;171439:5;171429:15;;:6;:15;;;171425:90;;171489:6;171497:5;171468:35;;;;;;;;;;;;:::i;:::-;;;;;;;;171425:90;171527:31;171536:5;171543:7;171552:5;171527:8;:31::i;:::-;171068:498;;;170871:695;;;;;;;:::o;162439:237::-;162516:7;162557:4;162540:22;;:5;:22;;;162536:92;;162610:5;162586:30;;;;;;;;;;;:::i;:::-;;;;;;;;162536:92;162645:23;162655:5;162662;162645:9;:23::i;:::-;162638:30;;162439:237;;;;:::o;152570:142::-;152650:7;152677:11;:18;152689:5;152677:18;;;;;;;;;;;;;;;:27;152696:7;152677:27;;;;;;;;;;;;;;;;152670:34;;152570:142;;;;:::o;169182:165::-;169261:32;;:::i;:::-;169313:26;169326:7;169335:3;169313:12;:26::i;:::-;169306:33;;169182:165;;;;:::o;141657:220::-;140610:13;:11;:13::i;:::-;141762:1:::1;141742:22;;:8;:22;;::::0;141738:93:::1;;141816:1;141788:31;;;;;;;;;;;:::i;:::-;;;;;;;;141738:93;141841:28;141860:8;141841:18;:28::i;:::-;141657:220:::0;:::o;138670:98::-;138728:7;138759:1;138755;:5;;;;:::i;:::-;138748:12;;138670:98;;;;:::o;138776:103::-;138839:7;138870:1;138866;:5;;;;:::i;:::-;138859:12;;138776:103;;;;:::o;129230:98::-;129283:7;129310:10;129303:17;;129230:98;:::o;157858:130::-;157943:37;157952:5;157959:7;157968:5;157975:4;157943:8;:37::i;:::-;157858:130;;;:::o;159574:487::-;159674:24;159701:25;159711:5;159718:7;159701:9;:25::i;:::-;159674:52;;159761:17;159741:16;:37;159737:317;;159818:5;159799:16;:24;159795:132;;;159878:7;159887:16;159905:5;159851:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;159795:132;159970:57;159979:5;159986:7;160014:5;159995:16;:24;160021:5;159970:8;:57::i;:::-;159737:317;159663:398;159574:487;;;:::o;154433:308::-;154533:1;154517:18;;:4;:18;;;154513:88;;154586:1;154559:30;;;;;;;;;;;:::i;:::-;;;;;;;;154513:88;154629:1;154615:16;;:2;:16;;;154611:88;;154684:1;154655:32;;;;;;;;;;;:::i;:::-;;;;;;;;154611:88;154709:24;154717:4;154723:2;154727:5;154709:7;:24::i;:::-;154433:308;;;:::o;107051:268::-;107104:7;107145:11;107128:28;;107136:4;107128:28;;;:63;;;;;107177:14;107160:13;:31;107128:63;107124:188;;;107215:22;107208:29;;;;107124:188;107277:23;:21;:23::i;:::-;107270:30;;107051:268;;:::o;17249:218::-;17305:6;17336:16;17328:24;;:5;:24;17324:105;;;17407:2;17411:5;17376:41;;;;;;;;;;;;:::i;:::-;;;;;;;;17324:105;17453:5;17439:20;;17249:218;;;:::o;84229:624::-;84314:7;84334:11;84348:4;:17;;:24;;;;84334:38;;84385:11;84411:12;84426:3;84411:18;;84452:1;84446:3;:7;84442:241;;;84470:11;84490:14;84500:3;84490:9;:14::i;:::-;84484:3;:20;;;;:::i;:::-;84470:34;;84529:37;84543:4;:17;;84562:3;84529:13;:37::i;:::-;:42;;;;;;;;;;;;84523:48;;:3;:48;;;84519:153;;;84599:3;84592:10;;84519:153;;;84655:1;84649:3;:7;;;;:::i;:::-;84643:13;;84519:153;84455:228;84442:241;84695:11;84709:53;84728:4;:17;;84747:3;84752;84757:4;84709:18;:53::i;:::-;84695:67;;84789:1;84782:3;:8;:63;;84797:41;84811:4;:17;;84836:1;84830:3;:7;;;;:::i;:::-;84797:13;:41::i;:::-;:48;;;;;;;;;;;;84782:63;;;84793:1;84782:63;84775:70;;;;;;84229:624;;;;:::o;140889:166::-;140960:12;:10;:12::i;:::-;140949:23;;:7;:5;:7::i;:::-;:23;;;140945:103;;141023:12;:10;:12::i;:::-;140996:40;;;;;;;;;;;:::i;:::-;;;;;;;;140945:103;140889:166::o;145042:120::-;144005:16;:14;:16::i;:::-;145111:5:::1;145101:7;;:15;;;;;;;;;;;;;;;;;;145132:22;145141:12;:10;:12::i;:::-;145132:22;;;;;;:::i;:::-;;;;;;;;145042:120::o:0;156553:213::-;156643:1;156624:21;;:7;:21;;;156620:93;;156698:1;156669:32;;;;;;;;;;;:::i;:::-;;;;;;;;156620:93;156723:35;156739:1;156743:7;156752:5;156723:7;:35::i;:::-;156553:213;;:::o;157094:211::-;157184:1;157165:21;;:7;:21;;;157161:91;;157237:1;157210:30;;;;;;;;;;;:::i;:::-;;;;;;;;157161:91;157262:35;157270:7;157287:1;157291:5;157262:7;:35::i;:::-;157094:211;;:::o;70260:111::-;70306:6;70332:31;70350:12;70332:17;:31::i;:::-;70325:38;;70260:111;:::o;136008:318::-;136091:19;136113:18;136123:7;136113:9;:18::i;:::-;136091:40;;136164:9;136142:10;:19;136153:7;136142:19;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;136229:9;136191:48;;136216:11;136191:48;;136207:7;136191:48;;;;;;;;;;;;136250:68;136269:11;136282:9;136293:24;136309:7;136293:15;:24::i;:::-;136250:18;:68::i;:::-;136080:246;136008:318;;:::o;163633:105::-;163693:7;163633:105;:::o;137943:164::-;138016:6;138042:57;138060:38;:20;:29;138081:7;138060:29;;;;;;;;;;;;;;;:36;:38::i;:::-;138042:17;:57::i;:::-;138035:64;;137943:164;;;:::o;142037:191::-;142111:16;142130:6;;;;;;;;;;;142111:25;;142156:8;142147:6;;:17;;;;;;;;;;;;;;;;;;142211:8;142180:40;;142201:8;142180:40;;;;;;;;;;;;142100:128;142037:191;:::o;171625:145::-;171716:7;171743:19;171756:5;171743:12;:19::i;:::-;171736:26;;171625:145;;;:::o;144783:118::-;143746:19;:17;:19::i;:::-;144853:4:::1;144843:7;;:14;;;;;;;;;;;;;;;;;;144873:20;144880:12;:10;:12::i;:::-;144873:20;;;;;;:::i;:::-;;;;;;;;144783:118::o:0;109293:128::-;109339:13;109372:41;109399:13;109372:5;:26;;:41;;;;:::i;:::-;109365:48;;109293:128;:::o;109756:137::-;109805:13;109838:47;109868:16;109838:8;:29;;:47;;;;:::i;:::-;109831:54;;109756:137;:::o;84978:209::-;85040:7;85060:11;85074:4;:17;;:24;;;;85060:38;;85123:1;85116:3;:8;:63;;85131:41;85145:4;:17;;85170:1;85164:3;:7;;;;:::i;:::-;85131:13;:41::i;:::-;:48;;;;;;;;;;;;85116:63;;;85127:1;85116:63;85109:70;;;84978:209;;;:::o;108150:178::-;108227:7;108254:66;108287:20;:18;:20::i;:::-;108309:10;108254:32;:66::i;:::-;108247:73;;108150:178;;;:::o;116896:264::-;116981:7;117002:17;117021:18;117041:16;117061:25;117072:4;117078:1;117081;117084;117061:10;:25::i;:::-;117001:85;;;;;;117097:28;117109:5;117116:8;117097:11;:28::i;:::-;117143:9;117136:16;;;;;116896:264;;;;;;:::o;42880:227::-;42964:15;42982:16;42992:5;42982:9;:16::i;:::-;42964:34;;43022:7;43013:5;:16;43009:91;;43073:5;43080:7;43053:35;;;;;;;;;;;;:::i;:::-;;;;;;;;43009:91;42953:154;42880:227;;:::o;42362:402::-;42422:7;42729;:14;42737:5;42729:14;;;;;;;;;;;;;;;;:16;;;;;;;;;;;;42722:23;;42362:402;;;:::o;163074:232::-;163154:7;163074:232;;;;:::o;138189:204::-;138296:32;;:::i;:::-;138348:37;138381:3;138348:20;:29;138369:7;138348:29;;;;;;;;;;;;;;;:32;;:37;;;;:::i;:::-;138341:44;;138189:204;;;;:::o;158839:443::-;158969:1;158952:19;;:5;:19;;;158948:91;;159024:1;158995:32;;;;;;;;;;;:::i;:::-;;;;;;;;158948:91;159072:1;159053:21;;:7;:21;;;159049:92;;159126:1;159098:31;;;;;;;;;;;:::i;:::-;;;;;;;;159049:92;159181:5;159151:11;:18;159163:5;159151:18;;;;;;;;;;;;;;;:27;159170:7;159151:27;;;;;;;;;;;;;;;:35;;;;159201:9;159197:78;;;159248:7;159232:31;;159241:5;159232:31;;;159257:5;159232:31;;;;;;:::i;:::-;;;;;;;;159197:78;158839:443;;;;:::o;175247:182::-;175391:30;175405:4;175411:2;175415:5;175391:13;:30::i;:::-;175247:182;;;:::o;107327:181::-;107382:7;105243:95;107441:11;107454:14;107470:13;107493:4;107419:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;107409:91;;;;;;107402:98;;107327:181;:::o;62623:1673::-;62671:7;62700:1;62695;:6;62691:47;;62725:1;62718:8;;;;62691:47;63429:14;63463:1;63452:7;63457:1;63452:4;:7::i;:::-;:12;;63446:1;:19;;63429:36;;63931:1;63920:6;63916:1;:10;;;;;:::i;:::-;;;63907:6;:19;63906:26;;63897:35;;63981:1;63970:6;63966:1;:10;;;;;:::i;:::-;;;63957:6;:19;63956:26;;63947:35;;64031:1;64020:6;64016:1;:10;;;;;:::i;:::-;;;64007:6;:19;64006:26;;63997:35;;64081:1;64070:6;64066:1;:10;;;;;:::i;:::-;;;64057:6;:19;64056:26;;64047:35;;64131:1;64120:6;64116:1;:10;;;;;:::i;:::-;;;64107:6;:19;64106:26;;64097:35;;64181:1;64170:6;64166:1;:10;;;;;:::i;:::-;;;64157:6;:19;64156:26;;64147:35;;64231:1;64220:6;64216:1;:10;;;;;:::i;:::-;;;64207:6;:19;64206:26;;64197:35;;64254:23;64258:6;64270;64266:1;:10;;;;;:::i;:::-;;;64254:3;:23::i;:::-;64247:30;;;62623:1673;;;;:::o;89023:273::-;89136:28;89211:9;89208:1;89201:20;89274:3;89267:4;89264:1;89254:18;89250:28;89235:43;;89023:273;;;;:::o;87616:448::-;87778:7;87798:237;87811:4;87805:3;:10;87798:237;;;87832:11;87846:23;87859:3;87864:4;87846:12;:23::i;:::-;87832:37;;87920:3;87888:35;;:24;87902:4;87908:3;87888:13;:24::i;:::-;:29;;;;;;;;;;;;:35;;;87884:140;;;87951:3;87944:10;;87884:140;;;88007:1;88001:3;:7;;;;:::i;:::-;87995:13;;87884:140;87817:218;87798:237;;;88052:4;88045:11;;87616:448;;;;;;:::o;144509:130::-;144573:8;:6;:8::i;:::-;144568:64;;144605:15;;;;;;;;;;;;;;144568:64;144509:130::o;168757:135::-;168839:7;168866:18;168876:7;168866:9;:18::i;:::-;168859:25;;168757:135;;;:::o;137064:799::-;137165:2;137157:10;;:4;:10;;;;:24;;;;;137180:1;137171:6;:10;137157:24;137153:703;;;137218:1;137202:18;;:4;:18;;;137198:322;;137242:16;137260;137280:154;137308:20;:26;137329:4;137308:26;;;;;;;;;;;;;;;137357:9;137389:26;137408:6;137389:18;:26::i;:::-;137280:5;:154::i;:::-;137241:193;;;;;;;;137479:4;137458:46;;;137485:8;137495;137458:46;;;;;;;:::i;:::-;;;;;;;;137222:298;;137198:322;137552:1;137538:16;;:2;:16;;;137534:311;;137576:16;137594;137614:147;137642:20;:24;137663:2;137642:24;;;;;;;;;;;;;;;137689:4;137716:26;137735:6;137716:18;:26::i;:::-;137614:5;:147::i;:::-;137575:186;;;;;;;;137806:2;137785:44;;;137810:8;137820;137785:44;;;;;;;:::i;:::-;;;;;;;;137556:289;;137534:311;137153:703;137064:799;;;:::o;85841:121::-;85903:7;85930:4;:17;;:24;;;;85923:31;;85841:121;;;:::o;18283:218::-;18339:6;18370:16;18362:24;;:5;:24;18358:105;;;18441:2;18445:5;18410:41;;;;;;;;;;;;:::i;:::-;;;;;;;;18358:105;18487:5;18473:20;;18283:218;;;:::o;42132:109::-;42192:7;42219;:14;42227:5;42219:14;;;;;;;;;;;;;;;;42212:21;;42132:109;;;:::o;144300:132::-;144366:8;:6;:8::i;:::-;144362:63;;;144398:15;;;;;;;;;;;;;;144362:63;144300:132::o;51490:273::-;51584:13;49436:66;51643:17;;51633:5;51614:46;51610:146;;51684:15;51693:5;51684:8;:15::i;:::-;51677:22;;;;51610:146;51739:5;51732:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51490:273;;;;;:::o;102844:410::-;102937:14;103049:4;103043:11;103080:10;103075:3;103068:23;103128:15;103121:4;103116:3;103112:14;103105:39;103181:10;103174:4;103169:3;103165:14;103158:34;103231:4;103226:3;103216:20;103206:30;;103017:230;102844:410;;;;:::o;115201:1556::-;115332:7;115341:12;115355:7;116275:66;116270:1;116262:10;;:79;116258:166;;;116374:1;116378:30;116410:1;116358:54;;;;;;;;116258:166;116521:14;116538:24;116548:4;116554:1;116557;116560;116538:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116521:41;;116595:1;116577:20;;:6;:20;;;116573:115;;116630:1;116634:29;116673:1;116665:10;;116614:62;;;;;;;;;116573:115;116708:6;116716:20;116746:1;116738:10;;116700:49;;;;;;;115201:1556;;;;;;;;;:::o;117298:542::-;117394:20;117385:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;117381:452;117431:7;117381:452;117492:29;117483:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;117479:354;;117545:23;;;;;;;;;;;;;;117479:354;117599:35;117590:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;117586:247;;117694:8;117686:17;;117658:46;;;;;;;;;;;:::i;:::-;;;;;;;;117586:247;117735:30;117726:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;117722:111;;117812:8;117789:32;;;;;;;;;;;:::i;:::-;;;;;;;;117722:111;117298:542;;;:::o;86039:140::-;86109:20;;:::i;:::-;86149:4;:17;;86167:3;86149:22;;;;;;;;;;:::i;:::-;;;;;;;;;86142:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86039:140;;;;:::o;168066:423::-;168161:30;168175:4;168181:2;168185:5;168161:13;:30::i;:::-;168222:1;168206:18;;:4;:18;;;168202:232;;168241:14;168258:13;:11;:13::i;:::-;168241:30;;168286:11;168300:12;:10;:12::i;:::-;168286:26;;168340:3;168331:6;:12;168327:96;;;168395:6;168403:3;168371:36;;;;;;;;;;;;:::i;:::-;;;;;;;;168327:96;168226:208;;168202:232;168444:37;168465:4;168471:2;168475:5;168444:20;:37::i;:::-;168066:423;;;:::o;64782:1019::-;64834:7;64854:14;64871:1;64854:18;;64927:1;64921:3;64912:5;:12;;:16;64908:102;;;64959:3;64949:13;;;;;64991:3;64981:13;;;;64908:102;65042:1;65037:2;65028:5;:11;;:15;65024:99;;;65074:2;65064:12;;;;;65105:2;65095:12;;;;65024:99;65155:1;65150:2;65141:5;:11;;:15;65137:99;;;65187:2;65177:12;;;;;65218:2;65208:12;;;;65137:99;65268:1;65263:2;65254:5;:11;;:15;65250:99;;;65300:2;65290:12;;;;;65331:2;65321:12;;;;65250:99;65380:1;65376;65367:5;:10;;:14;65363:96;;;65412:1;65402:11;;;;;65442:1;65432:11;;;;65363:96;65490:1;65486;65477:5;:10;;:14;65473:96;;;65522:1;65512:11;;;;;65552:1;65542:11;;;;65473:96;65600:1;65596;65587:5;:10;;:14;65583:96;;;65632:1;65622:11;;;;;65662:1;65652:11;;;;65583:96;65710:1;65706;65697:5;:10;;:14;65693:66;;;65742:1;65732:11;;;;65693:66;65787:6;65780:13;;;64782:1019;;;:::o;56460:106::-;56518:7;56549:1;56545;:5;:13;;56557:1;56545:13;;;56553:1;56545:13;56538:20;;56460:106;;;;:::o;56685:156::-;56747:7;56832:1;56827;56823;:5;56822:11;;;;:::i;:::-;56817:1;56813;:5;56812:21;;;;:::i;:::-;56805:28;;56685:156;;;;:::o;6787:223::-;6844:7;6876:17;6868:25;;:5;:25;6864:107;;;6948:3;6953:5;6917:42;;;;;;;;;;;;:::i;:::-;;;;;;;;6864:107;6996:5;6981:21;;6787:223;;;:::o;138401:261::-;138572:7;138581;138608:46;138619:7;:5;:7::i;:::-;138628:25;138631:14;:5;:12;:14::i;:::-;138647:5;138628:2;:25;;:::i;:::-;138608:5;:10;;:46;;;;;:::i;:::-;138601:53;;;;138401:261;;;;;;:::o;50145:415::-;50204:13;50230:11;50244:16;50255:4;50244:10;:16::i;:::-;50230:30;;50350:17;50381:2;50370:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50350:34;;50475:3;50470;50463:16;50516:4;50509;50504:3;50500:14;50493:28;50549:3;50542:10;;;;50145:415;;;:::o;173107:147::-;143746:19;:17;:19::i;:::-;173216:30:::1;173230:4;173236:2;173240:5;173216:13;:30::i;:::-;173107:147:::0;;;:::o;167814:105::-;167867:7;167894:17;167887:24;;;;167814:105;:::o;136566:407::-;136686:1;136670:18;;:4;:18;;;136666:109;;136705:58;136711:17;136730:4;136736:26;136755:6;136736:18;:26::i;:::-;136705:5;:58::i;:::-;;;136666:109;136803:1;136789:16;;:2;:16;;;136785:112;;136822:63;136828:17;136847:9;136858:26;136877:6;136858:18;:26::i;:::-;136822:5;:63::i;:::-;;;136785:112;136907:58;136926:15;136936:4;136926:9;:15::i;:::-;136943:13;136953:2;136943:9;:13::i;:::-;136958:6;136907:18;:58::i;:::-;136566:407;;;:::o;82807:164::-;82889:7;82898;82925:38;82933:4;:17;;82952:3;82957:5;82925:7;:38::i;:::-;82918:45;;;;82807:164;;;;;;:::o;50637:251::-;50698:7;50718:14;50771:4;50762;50735:33;;:40;50718:57;;50799:2;50790:6;:11;50786:71;;;50825:20;;;;;;;;;;;;;;50786:71;50874:6;50867:13;;;50637:251;;;:::o;155065:1135::-;155171:1;155155:18;;:4;:18;;;155151:552;;155309:5;155293:12;;:21;;;;;;;:::i;:::-;;;;;;;;155151:552;;;155347:19;155369:9;:15;155379:4;155369:15;;;;;;;;;;;;;;;;155347:37;;155417:5;155403:11;:19;155399:117;;;155475:4;155481:11;155494:5;155450:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;155399:117;155671:5;155657:11;:19;155639:9;:15;155649:4;155639:15;;;;;;;;;;;;;;;:37;;;;155332:371;155151:552;155733:1;155719:16;;:2;:16;;;155715:435;;155901:5;155885:12;;:21;;;;;;;;;;;155715:435;;;156118:5;156101:9;:13;156111:2;156101:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;155715:435;156182:2;156167:25;;156176:4;156167:25;;;156186:5;156167:25;;;;;;:::i;:::-;;;;;;;;155065:1135;;;:::o;86361:893::-;86452:7;86461;86481:11;86495:4;:11;;;;86481:25;;86529:1;86523:3;:7;86519:728;;;86600:25;86628:28;86642:4;86654:1;86648:3;:7;;;;:::i;:::-;86628:13;:28::i;:::-;86600:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86745:3;86733:15;;:4;:9;;;:15;;;86729:93;;;86776:30;;;;;;;;;;;;;;86729:93;86901:3;86888:16;;:4;:9;;;:16;;;86884:193;;86963:5;86925:28;86939:4;86951:1;86945:3;:7;;;;:::i;:::-;86925:13;:28::i;:::-;:35;;;:43;;;;;;;;;;;;;;;;;;86884:193;;;87009:4;87019:41;;;;;;;;87040:3;87019:41;;;;;;87053:5;87019:41;;;;;87009:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86884:193;87099:4;:11;;;87112:5;87091:27;;;;;;;;86519:728;87151:4;87161:41;;;;;;;;87182:3;87161:41;;;;;;87195:5;87161:41;;;;;87151:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87226:1;87229:5;87218:17;;;;;86361:893;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1553:117;1662:1;1659;1652:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:619::-;3875:6;3883;3891;3940:2;3928:9;3919:7;3915:23;3911:32;3908:119;;;3946:79;;:::i;:::-;3908:119;4066:1;4091:53;4136:7;4127:6;4116:9;4112:22;4091:53;:::i;:::-;4081:63;;4037:117;4193:2;4219:53;4264:7;4255:6;4244:9;4240:22;4219:53;:::i;:::-;4209:63;;4164:118;4321:2;4347:53;4392:7;4383:6;4372:9;4368:22;4347:53;:::i;:::-;4337:63;;4292:118;3798:619;;;;;:::o;4423:86::-;4458:7;4498:4;4491:5;4487:16;4476:27;;4423:86;;;:::o;4515:112::-;4598:22;4614:5;4598:22;:::i;:::-;4593:3;4586:35;4515:112;;:::o;4633:214::-;4722:4;4760:2;4749:9;4745:18;4737:26;;4773:67;4837:1;4826:9;4822:17;4813:6;4773:67;:::i;:::-;4633:214;;;;:::o;4853:77::-;4890:7;4919:5;4908:16;;4853:77;;;:::o;4936:118::-;5023:24;5041:5;5023:24;:::i;:::-;5018:3;5011:37;4936:118;;:::o;5060:222::-;5153:4;5191:2;5180:9;5176:18;5168:26;;5204:71;5272:1;5261:9;5257:17;5248:6;5204:71;:::i;:::-;5060:222;;;;:::o;5288:329::-;5347:6;5396:2;5384:9;5375:7;5371:23;5367:32;5364:119;;;5402:79;;:::i;:::-;5364:119;5522:1;5547:53;5592:7;5583:6;5572:9;5568:22;5547:53;:::i;:::-;5537:63;;5493:117;5288:329;;;;:::o;5623:::-;5682:6;5731:2;5719:9;5710:7;5706:23;5702:32;5699:119;;;5737:79;;:::i;:::-;5699:119;5857:1;5882:53;5927:7;5918:6;5907:9;5903:22;5882:53;:::i;:::-;5872:63;;5828:117;5623:329;;;;:::o;5958:118::-;6045:24;6063:5;6045:24;:::i;:::-;6040:3;6033:37;5958:118;;:::o;6082:222::-;6175:4;6213:2;6202:9;6198:18;6190:26;;6226:71;6294:1;6283:9;6279:17;6270:6;6226:71;:::i;:::-;6082:222;;;;:::o;6310:124::-;6375:7;6404:24;6422:5;6404:24;:::i;:::-;6393:35;;6310:124;;;:::o;6440:178::-;6541:52;6587:5;6541:52;:::i;:::-;6534:5;6531:63;6521:91;;6608:1;6605;6598:12;6521:91;6440:178;:::o;6624:195::-;6698:5;6736:6;6723:20;6714:29;;6752:61;6807:5;6752:61;:::i;:::-;6624:195;;;;:::o;6825:117::-;6934:1;6931;6924:12;6948:117;7057:1;7054;7047:12;7071:117;7180:1;7177;7170:12;7207:552;7264:8;7274:6;7324:3;7317:4;7309:6;7305:17;7301:27;7291:122;;7332:79;;:::i;:::-;7291:122;7445:6;7432:20;7422:30;;7475:18;7467:6;7464:30;7461:117;;;7497:79;;:::i;:::-;7461:117;7611:4;7603:6;7599:17;7587:29;;7665:3;7657:4;7649:6;7645:17;7635:8;7631:32;7628:41;7625:128;;;7672:79;;:::i;:::-;7625:128;7207:552;;;;;:::o;7765:1019::-;7890:6;7898;7906;7914;7922;7971:3;7959:9;7950:7;7946:23;7942:33;7939:120;;;7978:79;;:::i;:::-;7939:120;8098:1;8123:81;8196:7;8187:6;8176:9;8172:22;8123:81;:::i;:::-;8113:91;;8069:145;8253:2;8279:53;8324:7;8315:6;8304:9;8300:22;8279:53;:::i;:::-;8269:63;;8224:118;8381:2;8407:53;8452:7;8443:6;8432:9;8428:22;8407:53;:::i;:::-;8397:63;;8352:118;8537:2;8526:9;8522:18;8509:32;8568:18;8560:6;8557:30;8554:117;;;8590:79;;:::i;:::-;8554:117;8703:64;8759:7;8750:6;8739:9;8735:22;8703:64;:::i;:::-;8685:82;;;;8480:297;7765:1019;;;;;;;;:::o;8790:93::-;8826:7;8866:10;8859:5;8855:22;8844:33;;8790:93;;;:::o;8889:115::-;8974:23;8991:5;8974:23;:::i;:::-;8969:3;8962:36;8889:115;;:::o;9010:218::-;9101:4;9139:2;9128:9;9124:18;9116:26;;9152:69;9218:1;9207:9;9203:17;9194:6;9152:69;:::i;:::-;9010:218;;;;:::o;9234:149::-;9270:7;9310:66;9303:5;9299:78;9288:89;;9234:149;;;:::o;9389:115::-;9474:23;9491:5;9474:23;:::i;:::-;9469:3;9462:36;9389:115;;:::o;9510:114::-;9577:6;9611:5;9605:12;9595:22;;9510:114;;;:::o;9630:184::-;9729:11;9763:6;9758:3;9751:19;9803:4;9798:3;9794:14;9779:29;;9630:184;;;;:::o;9820:132::-;9887:4;9910:3;9902:11;;9940:4;9935:3;9931:14;9923:22;;9820:132;;;:::o;9958:108::-;10035:24;10053:5;10035:24;:::i;:::-;10030:3;10023:37;9958:108;;:::o;10072:179::-;10141:10;10162:46;10204:3;10196:6;10162:46;:::i;:::-;10240:4;10235:3;10231:14;10217:28;;10072:179;;;;:::o;10257:113::-;10327:4;10359;10354:3;10350:14;10342:22;;10257:113;;;:::o;10406:732::-;10525:3;10554:54;10602:5;10554:54;:::i;:::-;10624:86;10703:6;10698:3;10624:86;:::i;:::-;10617:93;;10734:56;10784:5;10734:56;:::i;:::-;10813:7;10844:1;10829:284;10854:6;10851:1;10848:13;10829:284;;;10930:6;10924:13;10957:63;11016:3;11001:13;10957:63;:::i;:::-;10950:70;;11043:60;11096:6;11043:60;:::i;:::-;11033:70;;10889:224;10876:1;10873;10869:9;10864:14;;10829:284;;;10833:14;11129:3;11122:10;;10530:608;;;10406:732;;;;:::o;11144:1215::-;11493:4;11531:3;11520:9;11516:19;11508:27;;11545:69;11611:1;11600:9;11596:17;11587:6;11545:69;:::i;:::-;11661:9;11655:4;11651:20;11646:2;11635:9;11631:18;11624:48;11689:78;11762:4;11753:6;11689:78;:::i;:::-;11681:86;;11814:9;11808:4;11804:20;11799:2;11788:9;11784:18;11777:48;11842:78;11915:4;11906:6;11842:78;:::i;:::-;11834:86;;11930:72;11998:2;11987:9;11983:18;11974:6;11930:72;:::i;:::-;12012:73;12080:3;12069:9;12065:19;12056:6;12012:73;:::i;:::-;12095;12163:3;12152:9;12148:19;12139:6;12095:73;:::i;:::-;12216:9;12210:4;12206:20;12200:3;12189:9;12185:19;12178:49;12244:108;12347:4;12338:6;12244:108;:::i;:::-;12236:116;;11144:1215;;;;;;;;;;:::o;12365:97::-;12401:7;12441:14;12434:5;12430:26;12419:37;;12365:97;;;:::o;12468:115::-;12553:23;12570:5;12553:23;:::i;:::-;12548:3;12541:36;12468:115;;:::o;12589:218::-;12680:4;12718:2;12707:9;12703:18;12695:26;;12731:69;12797:1;12786:9;12782:17;12773:6;12731:69;:::i;:::-;12589:218;;;;:::o;12813:118::-;12884:22;12900:5;12884:22;:::i;:::-;12877:5;12874:33;12864:61;;12921:1;12918;12911:12;12864:61;12813:118;:::o;12937:135::-;12981:5;13019:6;13006:20;12997:29;;13035:31;13060:5;13035:31;:::i;:::-;12937:135;;;;:::o;13078:122::-;13151:24;13169:5;13151:24;:::i;:::-;13144:5;13141:35;13131:63;;13190:1;13187;13180:12;13131:63;13078:122;:::o;13206:139::-;13252:5;13290:6;13277:20;13268:29;;13306:33;13333:5;13306:33;:::i;:::-;13206:139;;;;:::o;13351:1053::-;13453:6;13461;13469;13477;13485;13493;13542:3;13530:9;13521:7;13517:23;13513:33;13510:120;;;13549:79;;:::i;:::-;13510:120;13669:1;13694:53;13739:7;13730:6;13719:9;13715:22;13694:53;:::i;:::-;13684:63;;13640:117;13796:2;13822:53;13867:7;13858:6;13847:9;13843:22;13822:53;:::i;:::-;13812:63;;13767:118;13924:2;13950:53;13995:7;13986:6;13975:9;13971:22;13950:53;:::i;:::-;13940:63;;13895:118;14052:2;14078:51;14121:7;14112:6;14101:9;14097:22;14078:51;:::i;:::-;14068:61;;14023:116;14178:3;14205:53;14250:7;14241:6;14230:9;14226:22;14205:53;:::i;:::-;14195:63;;14149:119;14307:3;14334:53;14379:7;14370:6;14359:9;14355:22;14334:53;:::i;:::-;14324:63;;14278:119;13351:1053;;;;;;;;:::o;14410:1199::-;14521:6;14529;14537;14545;14553;14561;14569;14618:3;14606:9;14597:7;14593:23;14589:33;14586:120;;;14625:79;;:::i;:::-;14586:120;14745:1;14770:53;14815:7;14806:6;14795:9;14791:22;14770:53;:::i;:::-;14760:63;;14716:117;14872:2;14898:53;14943:7;14934:6;14923:9;14919:22;14898:53;:::i;:::-;14888:63;;14843:118;15000:2;15026:53;15071:7;15062:6;15051:9;15047:22;15026:53;:::i;:::-;15016:63;;14971:118;15128:2;15154:53;15199:7;15190:6;15179:9;15175:22;15154:53;:::i;:::-;15144:63;;15099:118;15256:3;15283:51;15326:7;15317:6;15306:9;15302:22;15283:51;:::i;:::-;15273:61;;15227:117;15383:3;15410:53;15455:7;15446:6;15435:9;15431:22;15410:53;:::i;:::-;15400:63;;15354:119;15512:3;15539:53;15584:7;15575:6;15564:9;15560:22;15539:53;:::i;:::-;15529:63;;15483:119;14410:1199;;;;;;;;;;:::o;15615:474::-;15683:6;15691;15740:2;15728:9;15719:7;15715:23;15711:32;15708:119;;;15746:79;;:::i;:::-;15708:119;15866:1;15891:53;15936:7;15927:6;15916:9;15912:22;15891:53;:::i;:::-;15881:63;;15837:117;15993:2;16019:53;16064:7;16055:6;16044:9;16040:22;16019:53;:::i;:::-;16009:63;;15964:118;15615:474;;;;;:::o;16095:120::-;16167:23;16184:5;16167:23;:::i;:::-;16160:5;16157:34;16147:62;;16205:1;16202;16195:12;16147:62;16095:120;:::o;16221:137::-;16266:5;16304:6;16291:20;16282:29;;16320:32;16346:5;16320:32;:::i;:::-;16221:137;;;;:::o;16364:472::-;16431:6;16439;16488:2;16476:9;16467:7;16463:23;16459:32;16456:119;;;16494:79;;:::i;:::-;16456:119;16614:1;16639:53;16684:7;16675:6;16664:9;16660:22;16639:53;:::i;:::-;16629:63;;16585:117;16741:2;16767:52;16811:7;16802:6;16791:9;16787:22;16767:52;:::i;:::-;16757:62;;16712:117;16364:472;;;;;:::o;16842:105::-;16917:23;16934:5;16917:23;:::i;:::-;16912:3;16905:36;16842:105;;:::o;16953:138::-;16990:7;17030:54;17023:5;17019:66;17008:77;;16953:138;;;:::o;17097:108::-;17174:24;17192:5;17174:24;:::i;:::-;17169:3;17162:37;17097:108;;:::o;17287:519::-;17446:4;17441:3;17437:14;17533:4;17526:5;17522:16;17516:23;17552:61;17607:4;17602:3;17598:14;17584:12;17552:61;:::i;:::-;17461:162;17707:4;17700:5;17696:16;17690:23;17726:63;17783:4;17778:3;17774:14;17760:12;17726:63;:::i;:::-;17633:166;17415:391;17287:519;;:::o;17812:346::-;17967:4;18005:2;17994:9;17990:18;17982:26;;18018:133;18148:1;18137:9;18133:17;18124:6;18018:133;:::i;:::-;17812:346;;;;:::o;18164:180::-;18212:77;18209:1;18202:88;18309:4;18306:1;18299:15;18333:4;18330:1;18323:15;18350:320;18394:6;18431:1;18425:4;18421:12;18411:22;;18478:1;18472:4;18468:12;18499:18;18489:81;;18555:4;18547:6;18543:17;18533:27;;18489:81;18617:2;18609:6;18606:14;18586:18;18583:38;18580:84;;18636:18;;:::i;:::-;18580:84;18401:269;18350:320;;;:::o;18676:328::-;18795:4;18833:2;18822:9;18818:18;18810:26;;18846:71;18914:1;18903:9;18899:17;18890:6;18846:71;:::i;:::-;18927:70;18993:2;18982:9;18978:18;18969:6;18927:70;:::i;:::-;18676:328;;;;;:::o;19010:168::-;19093:11;19127:6;19122:3;19115:19;19167:4;19162:3;19158:14;19143:29;;19010:168;;;;:::o;19184:146::-;19281:6;19276:3;19271;19258:30;19322:1;19313:6;19308:3;19304:16;19297:27;19184:146;;;:::o;19358:314::-;19454:3;19475:70;19538:6;19533:3;19475:70;:::i;:::-;19468:77;;19555:56;19604:6;19599:3;19592:5;19555:56;:::i;:::-;19636:29;19658:6;19636:29;:::i;:::-;19631:3;19627:39;19620:46;;19358:314;;;;;:::o;19678:771::-;19911:4;19949:3;19938:9;19934:19;19926:27;;19963:71;20031:1;20020:9;20016:17;20007:6;19963:71;:::i;:::-;20044:72;20112:2;20101:9;20097:18;20088:6;20044:72;:::i;:::-;20126;20194:2;20183:9;20179:18;20170:6;20126:72;:::i;:::-;20208;20276:2;20265:9;20261:18;20252:6;20208:72;:::i;:::-;20328:9;20322:4;20318:20;20312:3;20301:9;20297:19;20290:49;20356:86;20437:4;20428:6;20420;20356:86;:::i;:::-;20348:94;;19678:771;;;;;;;;;:::o;20455:143::-;20512:5;20543:6;20537:13;20528:22;;20559:33;20586:5;20559:33;:::i;:::-;20455:143;;;;:::o;20604:351::-;20674:6;20723:2;20711:9;20702:7;20698:23;20694:32;20691:119;;;20729:79;;:::i;:::-;20691:119;20849:1;20874:64;20930:7;20921:6;20910:9;20906:22;20874:64;:::i;:::-;20864:74;;20820:128;20604:351;;;;:::o;20961:180::-;21009:77;21006:1;20999:88;21106:4;21103:1;21096:15;21130:4;21127:1;21120:15;21147:191;21187:3;21206:20;21224:1;21206:20;:::i;:::-;21201:25;;21240:20;21258:1;21240:20;:::i;:::-;21235:25;;21283:1;21280;21276:9;21269:16;;21304:3;21301:1;21298:10;21295:36;;;21311:18;;:::i;:::-;21295:36;21147:191;;;;:::o;21344:194::-;21384:4;21404:20;21422:1;21404:20;:::i;:::-;21399:25;;21438:20;21456:1;21438:20;:::i;:::-;21433:25;;21482:1;21479;21475:9;21467:17;;21506:1;21500:4;21497:11;21494:37;;;21511:18;;:::i;:::-;21494:37;21344:194;;;;:::o;21544:180::-;21592:77;21589:1;21582:88;21689:4;21686:1;21679:15;21713:4;21710:1;21703:15;21730:553;21907:4;21945:3;21934:9;21930:19;21922:27;;21959:71;22027:1;22016:9;22012:17;22003:6;21959:71;:::i;:::-;22040:72;22108:2;22097:9;22093:18;22084:6;22040:72;:::i;:::-;22122;22190:2;22179:9;22175:18;22166:6;22122:72;:::i;:::-;22204;22272:2;22261:9;22257:18;22248:6;22204:72;:::i;:::-;21730:553;;;;;;;:::o;22289:775::-;22522:4;22560:3;22549:9;22545:19;22537:27;;22574:71;22642:1;22631:9;22627:17;22618:6;22574:71;:::i;:::-;22655:72;22723:2;22712:9;22708:18;22699:6;22655:72;:::i;:::-;22737;22805:2;22794:9;22790:18;22781:6;22737:72;:::i;:::-;22819;22887:2;22876:9;22872:18;22863:6;22819:72;:::i;:::-;22901:73;22969:3;22958:9;22954:19;22945:6;22901:73;:::i;:::-;22984;23052:3;23041:9;23037:19;23028:6;22984:73;:::i;:::-;22289:775;;;;;;;;;:::o;23070:332::-;23191:4;23229:2;23218:9;23214:18;23206:26;;23242:71;23310:1;23299:9;23295:17;23286:6;23242:71;:::i;:::-;23323:72;23391:2;23380:9;23376:18;23367:6;23323:72;:::i;:::-;23070:332;;;;;:::o;23408:244::-;23448:3;23467:20;23485:1;23467:20;:::i;:::-;23462:25;;23501:20;23519:1;23501:20;:::i;:::-;23496:25;;23544:1;23541;23537:9;23530:16;;23567:54;23562:3;23559:63;23556:89;;;23625:18;;:::i;:::-;23556:89;23408:244;;;;:::o;23658:247::-;23698:4;23718:20;23736:1;23718:20;:::i;:::-;23713:25;;23752:20;23770:1;23752:20;:::i;:::-;23747:25;;23796:1;23793;23789:9;23781:17;;23820:54;23814:4;23811:64;23808:90;;;23878:18;;:::i;:::-;23808:90;23658:247;;;;:::o;23911:442::-;24060:4;24098:2;24087:9;24083:18;24075:26;;24111:71;24179:1;24168:9;24164:17;24155:6;24111:71;:::i;:::-;24192:72;24260:2;24249:9;24245:18;24236:6;24192:72;:::i;:::-;24274;24342:2;24331:9;24327:18;24318:6;24274:72;:::i;:::-;23911:442;;;;;;:::o;24359:86::-;24405:7;24434:5;24423:16;;24359:86;;;:::o;24451:60::-;24479:3;24500:5;24493:12;;24451:60;;;:::o;24517:156::-;24574:9;24607:60;24623:43;24632:33;24659:5;24632:33;:::i;:::-;24623:43;:::i;:::-;24607:60;:::i;:::-;24594:73;;24517:156;;;:::o;24679:145::-;24773:44;24811:5;24773:44;:::i;:::-;24768:3;24761:57;24679:145;;:::o;24830:346::-;24958:4;24996:2;24985:9;24981:18;24973:26;;25009:78;25084:1;25073:9;25069:17;25060:6;25009:78;:::i;:::-;25097:72;25165:2;25154:9;25150:18;25141:6;25097:72;:::i;:::-;24830:346;;;;;:::o;25182:332::-;25303:4;25341:2;25330:9;25326:18;25318:26;;25354:71;25422:1;25411:9;25407:17;25398:6;25354:71;:::i;:::-;25435:72;25503:2;25492:9;25488:18;25479:6;25435:72;:::i;:::-;25182:332;;;;;:::o;25520:664::-;25725:4;25763:3;25752:9;25748:19;25740:27;;25777:71;25845:1;25834:9;25830:17;25821:6;25777:71;:::i;:::-;25858:72;25926:2;25915:9;25911:18;25902:6;25858:72;:::i;:::-;25940;26008:2;25997:9;25993:18;25984:6;25940:72;:::i;:::-;26022;26090:2;26079:9;26075:18;26066:6;26022:72;:::i;:::-;26104:73;26172:3;26161:9;26157:19;26148:6;26104:73;:::i;:::-;25520:664;;;;;;;;:::o;26190:180::-;26238:77;26235:1;26228:88;26335:4;26332:1;26325:15;26359:4;26356:1;26349:15;26376:332;26497:4;26535:2;26524:9;26520:18;26512:26;;26548:71;26616:1;26605:9;26601:17;26592:6;26548:71;:::i;:::-;26629:72;26697:2;26686:9;26682:18;26673:6;26629:72;:::i;:::-;26376:332;;;;;:::o;26714:86::-;26760:7;26789:5;26778:16;;26714:86;;;:::o;26806:156::-;26863:9;26896:60;26912:43;26921:33;26948:5;26921:33;:::i;:::-;26912:43;:::i;:::-;26896:60;:::i;:::-;26883:73;;26806:156;;;:::o;26968:145::-;27062:44;27100:5;27062:44;:::i;:::-;27057:3;27050:57;26968:145;;:::o;27119:346::-;27247:4;27285:2;27274:9;27270:18;27262:26;;27298:78;27373:1;27362:9;27358:17;27349:6;27298:78;:::i;:::-;27386:72;27454:2;27443:9;27439:18;27430:6;27386:72;:::i;:::-;27119:346;;;;;:::o;27471:545::-;27644:4;27682:3;27671:9;27667:19;27659:27;;27696:71;27764:1;27753:9;27749:17;27740:6;27696:71;:::i;:::-;27777:68;27841:2;27830:9;27826:18;27817:6;27777:68;:::i;:::-;27855:72;27923:2;27912:9;27908:18;27899:6;27855:72;:::i;:::-;27937;28005:2;27994:9;27990:18;27981:6;27937:72;:::i;:::-;27471:545;;;;;;;:::o;28022:180::-;28070:77;28067:1;28060:88;28167:4;28164:1;28157:15;28191:4;28188:1;28181:15;28208:180;28256:77;28253:1;28246:88;28353:4;28350:1;28343:15;28377:4;28374:1;28367:15;28394:185;28434:1;28451:20;28469:1;28451:20;:::i;:::-;28446:25;;28485:20;28503:1;28485:20;:::i;:::-;28480:25;;28524:1;28514:35;;28529:18;;:::i;:::-;28514:35;28571:1;28568;28564:9;28559:14;;28394:185;;;;:::o;28585:87::-;28632:7;28661:5;28650:16;;28585:87;;;:::o;28678:158::-;28736:9;28769:61;28785:44;28794:34;28822:5;28794:34;:::i;:::-;28785:44;:::i;:::-;28769:61;:::i;:::-;28756:74;;28678:158;;;:::o;28842:147::-;28937:45;28976:5;28937:45;:::i;:::-;28932:3;28925:58;28842:147;;:::o;28995:348::-;29124:4;29162:2;29151:9;29147:18;29139:26;;29175:79;29251:1;29240:9;29236:17;29227:6;29175:79;:::i;:::-;29264:72;29332:2;29321:9;29317:18;29308:6;29264:72;:::i;:::-;28995:348;;;;;:::o
Swarm Source
ipfs://1e32537368cdca70f2b41667012862059e7d078b7d6381e57e9c59885ef5c179
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.