Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 349 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 22149828 | 361 days ago | IN | 0 ETH | 0.00002747 | ||||
| Transfer | 20880515 | 538 days ago | IN | 0 ETH | 0.00043212 | ||||
| Transfer | 20829345 | 546 days ago | IN | 0 ETH | 0.00234872 | ||||
| Transfer | 20829327 | 546 days ago | IN | 0 ETH | 0.00637855 | ||||
| Transfer | 20820575 | 547 days ago | IN | 0 ETH | 0.00121772 | ||||
| Transfer | 20820544 | 547 days ago | IN | 0 ETH | 0.0015414 | ||||
| Transfer | 20514016 | 590 days ago | IN | 0 ETH | 0.00023883 | ||||
| Transfer | 20505358 | 591 days ago | IN | 0 ETH | 0.00007951 | ||||
| Transfer | 20377563 | 609 days ago | IN | 0 ETH | 0.00043289 | ||||
| Transfer | 20377554 | 609 days ago | IN | 0 ETH | 0.00042275 | ||||
| Transfer | 20377393 | 609 days ago | IN | 0 ETH | 0.00037624 | ||||
| Transfer | 20377329 | 609 days ago | IN | 0 ETH | 0.00055859 | ||||
| Transfer | 20377307 | 609 days ago | IN | 0 ETH | 0.00078421 | ||||
| Transfer | 20377038 | 609 days ago | IN | 0 ETH | 0.00059279 | ||||
| Transfer | 20377022 | 609 days ago | IN | 0 ETH | 0.00090437 | ||||
| Transfer | 20377020 | 609 days ago | IN | 0 ETH | 0.00090259 | ||||
| Transfer | 20377009 | 609 days ago | IN | 0 ETH | 0.00079742 | ||||
| Transfer | 20376999 | 609 days ago | IN | 0 ETH | 0.00076598 | ||||
| Transfer | 20269595 | 624 days ago | IN | 0 ETH | 0.00031636 | ||||
| Transfer | 20262518 | 625 days ago | IN | 0 ETH | 0.0004615 | ||||
| Transfer | 20228853 | 629 days ago | IN | 0 ETH | 0.00058758 | ||||
| Transfer | 20228828 | 629 days ago | IN | 0 ETH | 0.00043112 | ||||
| Transfer | 20219442 | 631 days ago | IN | 0 ETH | 0.00040326 | ||||
| Transfer | 20219371 | 631 days ago | IN | 0 ETH | 0.00030525 | ||||
| Transfer | 20219355 | 631 days ago | IN | 0 ETH | 0.00029206 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OrbitalEpic
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-07-04
*/
// File: @openzeppelin/contracts@4.7.0/utils/math/SafeCast.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/SafeCast.sol)
pragma solidity ^0.8.0;
/**
* @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.
*
* Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
* all math on `uint256` and `int256` and then downcasting.
*/
library SafeCast {
/**
* @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
*
* _Available since v4.7._
*/
function toUint248(uint256 value) internal pure returns (uint248) {
require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
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
*
* _Available since v4.7._
*/
function toUint240(uint256 value) internal pure returns (uint240) {
require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
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
*
* _Available since v4.7._
*/
function toUint232(uint256 value) internal pure returns (uint232) {
require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
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
*
* _Available since v4.2._
*/
function toUint224(uint256 value) internal pure returns (uint224) {
require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
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
*
* _Available since v4.7._
*/
function toUint216(uint256 value) internal pure returns (uint216) {
require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
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
*
* _Available since v4.7._
*/
function toUint208(uint256 value) internal pure returns (uint208) {
require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
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
*
* _Available since v4.7._
*/
function toUint200(uint256 value) internal pure returns (uint200) {
require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
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
*
* _Available since v4.7._
*/
function toUint192(uint256 value) internal pure returns (uint192) {
require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
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
*
* _Available since v4.7._
*/
function toUint184(uint256 value) internal pure returns (uint184) {
require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
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
*
* _Available since v4.7._
*/
function toUint176(uint256 value) internal pure returns (uint176) {
require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
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
*
* _Available since v4.7._
*/
function toUint168(uint256 value) internal pure returns (uint168) {
require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
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
*
* _Available since v4.7._
*/
function toUint160(uint256 value) internal pure returns (uint160) {
require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
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
*
* _Available since v4.7._
*/
function toUint152(uint256 value) internal pure returns (uint152) {
require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
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
*
* _Available since v4.7._
*/
function toUint144(uint256 value) internal pure returns (uint144) {
require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
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
*
* _Available since v4.7._
*/
function toUint136(uint256 value) internal pure returns (uint136) {
require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
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
*
* _Available since v2.5._
*/
function toUint128(uint256 value) internal pure returns (uint128) {
require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
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
*
* _Available since v4.7._
*/
function toUint120(uint256 value) internal pure returns (uint120) {
require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
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
*
* _Available since v4.7._
*/
function toUint112(uint256 value) internal pure returns (uint112) {
require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
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
*
* _Available since v4.7._
*/
function toUint104(uint256 value) internal pure returns (uint104) {
require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
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
*
* _Available since v4.2._
*/
function toUint96(uint256 value) internal pure returns (uint96) {
require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
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
*
* _Available since v4.7._
*/
function toUint88(uint256 value) internal pure returns (uint88) {
require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
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
*
* _Available since v4.7._
*/
function toUint80(uint256 value) internal pure returns (uint80) {
require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
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
*
* _Available since v4.7._
*/
function toUint72(uint256 value) internal pure returns (uint72) {
require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
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
*
* _Available since v2.5._
*/
function toUint64(uint256 value) internal pure returns (uint64) {
require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
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
*
* _Available since v4.7._
*/
function toUint56(uint256 value) internal pure returns (uint56) {
require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
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
*
* _Available since v4.7._
*/
function toUint48(uint256 value) internal pure returns (uint48) {
require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
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
*
* _Available since v4.7._
*/
function toUint40(uint256 value) internal pure returns (uint40) {
require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
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
*
* _Available since v2.5._
*/
function toUint32(uint256 value) internal pure returns (uint32) {
require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
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
*
* _Available since v4.7._
*/
function toUint24(uint256 value) internal pure returns (uint24) {
require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
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
*
* _Available since v2.5._
*/
function toUint16(uint256 value) internal pure returns (uint16) {
require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
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
*
* _Available since v2.5._
*/
function toUint8(uint256 value) internal pure returns (uint8) {
require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
return uint8(value);
}
/**
* @dev Converts a signed int256 into an unsigned uint256.
*
* Requirements:
*
* - input must be greater than or equal to 0.
*
* _Available since v3.0._
*/
function toUint256(int256 value) internal pure returns (uint256) {
require(value >= 0, "SafeCast: value must be positive");
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
*
* _Available since v4.7._
*/
function toInt248(int256 value) internal pure returns (int248) {
require(value >= type(int248).min && value <= type(int248).max, "SafeCast: value doesn't fit in 248 bits");
return int248(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
*
* _Available since v4.7._
*/
function toInt240(int256 value) internal pure returns (int240) {
require(value >= type(int240).min && value <= type(int240).max, "SafeCast: value doesn't fit in 240 bits");
return int240(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
*
* _Available since v4.7._
*/
function toInt232(int256 value) internal pure returns (int232) {
require(value >= type(int232).min && value <= type(int232).max, "SafeCast: value doesn't fit in 232 bits");
return int232(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
*
* _Available since v4.7._
*/
function toInt224(int256 value) internal pure returns (int224) {
require(value >= type(int224).min && value <= type(int224).max, "SafeCast: value doesn't fit in 224 bits");
return int224(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
*
* _Available since v4.7._
*/
function toInt216(int256 value) internal pure returns (int216) {
require(value >= type(int216).min && value <= type(int216).max, "SafeCast: value doesn't fit in 216 bits");
return int216(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
*
* _Available since v4.7._
*/
function toInt208(int256 value) internal pure returns (int208) {
require(value >= type(int208).min && value <= type(int208).max, "SafeCast: value doesn't fit in 208 bits");
return int208(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
*
* _Available since v4.7._
*/
function toInt200(int256 value) internal pure returns (int200) {
require(value >= type(int200).min && value <= type(int200).max, "SafeCast: value doesn't fit in 200 bits");
return int200(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
*
* _Available since v4.7._
*/
function toInt192(int256 value) internal pure returns (int192) {
require(value >= type(int192).min && value <= type(int192).max, "SafeCast: value doesn't fit in 192 bits");
return int192(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
*
* _Available since v4.7._
*/
function toInt184(int256 value) internal pure returns (int184) {
require(value >= type(int184).min && value <= type(int184).max, "SafeCast: value doesn't fit in 184 bits");
return int184(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
*
* _Available since v4.7._
*/
function toInt176(int256 value) internal pure returns (int176) {
require(value >= type(int176).min && value <= type(int176).max, "SafeCast: value doesn't fit in 176 bits");
return int176(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
*
* _Available since v4.7._
*/
function toInt168(int256 value) internal pure returns (int168) {
require(value >= type(int168).min && value <= type(int168).max, "SafeCast: value doesn't fit in 168 bits");
return int168(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
*
* _Available since v4.7._
*/
function toInt160(int256 value) internal pure returns (int160) {
require(value >= type(int160).min && value <= type(int160).max, "SafeCast: value doesn't fit in 160 bits");
return int160(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
*
* _Available since v4.7._
*/
function toInt152(int256 value) internal pure returns (int152) {
require(value >= type(int152).min && value <= type(int152).max, "SafeCast: value doesn't fit in 152 bits");
return int152(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
*
* _Available since v4.7._
*/
function toInt144(int256 value) internal pure returns (int144) {
require(value >= type(int144).min && value <= type(int144).max, "SafeCast: value doesn't fit in 144 bits");
return int144(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
*
* _Available since v4.7._
*/
function toInt136(int256 value) internal pure returns (int136) {
require(value >= type(int136).min && value <= type(int136).max, "SafeCast: value doesn't fit in 136 bits");
return int136(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
*
* _Available since v3.1._
*/
function toInt128(int256 value) internal pure returns (int128) {
require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
return int128(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
*
* _Available since v4.7._
*/
function toInt120(int256 value) internal pure returns (int120) {
require(value >= type(int120).min && value <= type(int120).max, "SafeCast: value doesn't fit in 120 bits");
return int120(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
*
* _Available since v4.7._
*/
function toInt112(int256 value) internal pure returns (int112) {
require(value >= type(int112).min && value <= type(int112).max, "SafeCast: value doesn't fit in 112 bits");
return int112(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
*
* _Available since v4.7._
*/
function toInt104(int256 value) internal pure returns (int104) {
require(value >= type(int104).min && value <= type(int104).max, "SafeCast: value doesn't fit in 104 bits");
return int104(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
*
* _Available since v4.7._
*/
function toInt96(int256 value) internal pure returns (int96) {
require(value >= type(int96).min && value <= type(int96).max, "SafeCast: value doesn't fit in 96 bits");
return int96(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
*
* _Available since v4.7._
*/
function toInt88(int256 value) internal pure returns (int88) {
require(value >= type(int88).min && value <= type(int88).max, "SafeCast: value doesn't fit in 88 bits");
return int88(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
*
* _Available since v4.7._
*/
function toInt80(int256 value) internal pure returns (int80) {
require(value >= type(int80).min && value <= type(int80).max, "SafeCast: value doesn't fit in 80 bits");
return int80(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
*
* _Available since v4.7._
*/
function toInt72(int256 value) internal pure returns (int72) {
require(value >= type(int72).min && value <= type(int72).max, "SafeCast: value doesn't fit in 72 bits");
return int72(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
*
* _Available since v3.1._
*/
function toInt64(int256 value) internal pure returns (int64) {
require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
return int64(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
*
* _Available since v4.7._
*/
function toInt56(int256 value) internal pure returns (int56) {
require(value >= type(int56).min && value <= type(int56).max, "SafeCast: value doesn't fit in 56 bits");
return int56(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
*
* _Available since v4.7._
*/
function toInt48(int256 value) internal pure returns (int48) {
require(value >= type(int48).min && value <= type(int48).max, "SafeCast: value doesn't fit in 48 bits");
return int48(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
*
* _Available since v4.7._
*/
function toInt40(int256 value) internal pure returns (int40) {
require(value >= type(int40).min && value <= type(int40).max, "SafeCast: value doesn't fit in 40 bits");
return int40(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
*
* _Available since v3.1._
*/
function toInt32(int256 value) internal pure returns (int32) {
require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
return int32(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
*
* _Available since v4.7._
*/
function toInt24(int256 value) internal pure returns (int24) {
require(value >= type(int24).min && value <= type(int24).max, "SafeCast: value doesn't fit in 24 bits");
return int24(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
*
* _Available since v3.1._
*/
function toInt16(int256 value) internal pure returns (int16) {
require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
return int16(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
*
* _Available since v3.1._
*/
function toInt8(int256 value) internal pure returns (int8) {
require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
return int8(value);
}
/**
* @dev Converts an unsigned uint256 into a signed int256.
*
* Requirements:
*
* - input must be less than or equal to maxInt256.
*
* _Available since v3.0._
*/
function toInt256(uint256 value) internal pure returns (int256) {
// Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
return int256(value);
}
}
// File: @openzeppelin/contracts@4.7.0/governance/utils/IVotes.sol
// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;
/**
* @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
*
* _Available since v4.5._
*/
interface IVotes {
/**
* @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 votes.
*/
event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);
/**
* @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 the end of a past block (`blockNumber`).
*/
function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);
/**
* @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
*
* 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 blockNumber) 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/contracts@4.7.0/utils/math/Math.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @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 up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (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; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 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.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
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 (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down.
*
* 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)`.
// We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
// This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
// Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
// good first aproximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1;
uint256 x = a;
if (x >> 128 > 0) {
x >>= 128;
result <<= 64;
}
if (x >> 64 > 0) {
x >>= 64;
result <<= 32;
}
if (x >> 32 > 0) {
x >>= 32;
result <<= 16;
}
if (x >> 16 > 0) {
x >>= 16;
result <<= 8;
}
if (x >> 8 > 0) {
x >>= 8;
result <<= 4;
}
if (x >> 4 > 0) {
x >>= 4;
result <<= 2;
}
if (x >> 2 > 0) {
result <<= 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) {
uint256 result = sqrt(a);
if (rounding == Rounding.Up && result * result < a) {
result += 1;
}
return result;
}
}
// File: @openzeppelin/contracts@4.7.0/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// File: @openzeppelin/contracts@4.7.0/utils/Strings.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
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_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
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);
}
}
// File: @openzeppelin/contracts@4.7.0/utils/cryptography/ECDSA.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
/**
* @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,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode 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 {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]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
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 if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// 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))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode 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 {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
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]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
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.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// 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);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// 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);
}
return (signer, RecoverError.NoError);
}
/**
* @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) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
// File: @openzeppelin/contracts@4.7.0/utils/cryptography/draft-EIP712.sol
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic 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 their contracts 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].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// 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 _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
address private immutable _CACHED_THIS;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @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) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
);
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_CACHED_THIS = address(this);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, 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 ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}
// File: @openzeppelin/contracts@4.7.0/token/ERC20/extensions/draft-IERC20Permit.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @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.
*/
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].
*/
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/contracts@4.7.0/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with 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;
}
}
// File: @openzeppelin/contracts@4.7.0/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @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 amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` 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 amount
) external returns (bool);
}
// File: @openzeppelin/contracts@4.7.0/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
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/contracts@4.7.0/token/ERC20/ERC20.sol
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
/**
* @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}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* 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.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* 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 override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
* 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override 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 `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` 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 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
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 `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `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.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` 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.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
// File: @openzeppelin/contracts@4.7.0/token/ERC20/extensions/draft-ERC20Permit.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @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.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping(address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private constant _PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
* However, to ensure consistency with the upgradeable transpiler, we will continue
* to reserve a slot.
* @custom:oz-renamed-from _PERMIT_TYPEHASH
*/
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;
/**
* @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") {}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired 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);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}
// File: @openzeppelin/contracts@4.7.0/token/ERC20/extensions/ERC20Votes.sol
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Votes.sol)
pragma solidity ^0.8.0;
/**
* @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^224^ - 1, while COMP is limited to 2^96^ - 1.
*
* NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
*
* 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.
*
* _Available since v4.2._
*/
abstract contract ERC20Votes is IVotes, ERC20Permit {
struct Checkpoint {
uint32 fromBlock;
uint224 votes;
}
bytes32 private constant _DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
mapping(address => address) private _delegates;
mapping(address => Checkpoint[]) private _checkpoints;
Checkpoint[] private _totalSupplyCheckpoints;
/**
* @dev Get the `pos`-th checkpoint for `account`.
*/
function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
return _checkpoints[account][pos];
}
/**
* @dev Get number of checkpoints for `account`.
*/
function numCheckpoints(address account) public view virtual returns (uint32) {
return SafeCast.toUint32(_checkpoints[account].length);
}
/**
* @dev Get the address `account` is currently delegating to.
*/
function delegates(address account) public view virtual override returns (address) {
return _delegates[account];
}
/**
* @dev Gets the current votes balance for `account`
*/
function getVotes(address account) public view virtual override returns (uint256) {
uint256 pos = _checkpoints[account].length;
return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
}
/**
* @dev Retrieve the number of votes for `account` at the end of `blockNumber`.
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_checkpoints[account], blockNumber);
}
/**
* @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances.
* It is but NOT the sum of all the delegated votes!
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber);
}
/**
* @dev Lookup a value in a list of (sorted) checkpoints.
*/
function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) {
// We run a binary search to look for the earliest checkpoint taken after `blockNumber`.
//
// During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
// With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
// - If the middle checkpoint is after `blockNumber`, we look in [low, mid)
// - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high)
// Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
// out of bounds (in which case we're looking too far in the past and the result is 0).
// Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is
// past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out
// the same.
uint256 high = ckpts.length;
uint256 low = 0;
while (low < high) {
uint256 mid = Math.average(low, high);
if (ckpts[mid].fromBlock > blockNumber) {
high = mid;
} else {
low = mid + 1;
}
}
return high == 0 ? 0 : ckpts[high - 1].votes;
}
/**
* @dev Delegate votes from the sender to `delegatee`.
*/
function delegate(address delegatee) public virtual override {
_delegate(_msgSender(), delegatee);
}
/**
* @dev Delegates votes from signer to `delegatee`
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= expiry, "ERC20Votes: signature expired");
address signer = ECDSA.recover(
_hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
v,
r,
s
);
require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
_delegate(signer, delegatee);
}
/**
* @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
*/
function _maxSupply() internal view virtual returns (uint224) {
return type(uint224).max;
}
/**
* @dev Snapshots the totalSupply after it has been increased.
*/
function _mint(address account, uint256 amount) internal virtual override {
super._mint(account, amount);
require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");
_writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
}
/**
* @dev Snapshots the totalSupply after it has been decreased.
*/
function _burn(address account, uint256 amount) internal virtual override {
super._burn(account, amount);
_writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
}
/**
* @dev Move voting power when tokens are transferred.
*
* Emits a {DelegateVotesChanged} event.
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._afterTokenTransfer(from, to, amount);
_moveVotingPower(delegates(from), delegates(to), amount);
}
/**
* @dev Change delegation for `delegator` to `delegatee`.
*
* Emits events {DelegateChanged} and {DelegateVotesChanged}.
*/
function _delegate(address delegator, address delegatee) internal virtual {
address currentDelegate = delegates(delegator);
uint256 delegatorBalance = balanceOf(delegator);
_delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveVotingPower(currentDelegate, delegatee, delegatorBalance);
}
function _moveVotingPower(
address src,
address dst,
uint256 amount
) private {
if (src != dst && amount > 0) {
if (src != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
emit DelegateVotesChanged(src, oldWeight, newWeight);
}
if (dst != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
emit DelegateVotesChanged(dst, oldWeight, newWeight);
}
}
}
function _writeCheckpoint(
Checkpoint[] storage ckpts,
function(uint256, uint256) view returns (uint256) op,
uint256 delta
) private returns (uint256 oldWeight, uint256 newWeight) {
uint256 pos = ckpts.length;
oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes;
newWeight = op(oldWeight, delta);
if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) {
ckpts[pos - 1].votes = SafeCast.toUint224(newWeight);
} else {
ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
}
}
function _add(uint256 a, uint256 b) private pure returns (uint256) {
return a + b;
}
function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
return a - b;
}
}
// File: contracts/Test.sol
pragma solidity ^0.8.7;
contract OrbitalEpic is ERC20, ERC20Permit, ERC20Votes {
constructor() ERC20("Orbital Epic", "EPIC") ERC20Permit("Orbital Epic") {
_mint(msg.sender, 1000000000 * 10 ** decimals());
}
function _afterTokenTransfer(address from, address to, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._afterTokenTransfer(from, to, amount);
}
function _mint(address to, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._mint(to, amount);
}
function _burn(address account, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._burn(account, amount);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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"},{"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":"amount","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":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6101406040523480156200001257600080fd5b506040518060400160405280600c81526020017f4f72626974616c20457069630000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600c81526020017f4f72626974616c204570696300000000000000000000000000000000000000008152506040518060400160405280600481526020017f455049430000000000000000000000000000000000000000000000000000000081525081600390805190602001906200010492919062000b89565b5080600490805190602001906200011d92919062000b89565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620001898184846200021c60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508061012081815250505050505050506200021633620001eb6200025860201b60201c565b600a620001f9919062000f00565b633b9aca006200020a91906200103d565b6200026160201b60201c565b62001314565b600083838346306040516020016200023995949392919062000d08565b6040516020818303038152906040528051906020012090509392505050565b60006012905090565b6200027882826200027c60201b62000e7b1760201c565b5050565b6200029382826200033a60201b62000f081760201c565b620002a3620004b360201b60201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16620002d1620004d760201b60201c565b111562000315576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030c9062000d65565b60405180910390fd5b620003346009620004e160201b620010681783620004f960201b60201c565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a49062000dcb565b60405180910390fd5b620003c160008383620007aa60201b60201c565b8060026000828254620003d5919062000e48565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200042c919062000e48565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000493919062000ded565b60405180910390a3620004af60008383620007af60201b60201c565b5050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b6000600254905090565b60008183620004f1919062000e48565b905092915050565b600080600085805490509050600081146200056e57856001826200051e91906200109e565b81548110620005325762000531620011c2565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1662000571565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1692506200059d83858760201c565b9150600081118015620005f657504386600183620005bc91906200109e565b81548110620005d057620005cf620011c2565b5b9060005260206000200160000160009054906101000a900463ffffffff1663ffffffff16145b1562000697576200061282620007cc60201b6200107e1760201c565b866001836200062291906200109e565b81548110620006365762000635620011c2565b5b9060005260206000200160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550620007a1565b856040518060400160405280620006b9436200083a60201b620010e91760201c565b63ffffffff168152602001620006da85620007cc60201b6200107e1760201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b50935093915050565b505050565b620007c78383836200089060201b6200113c1760201c565b505050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff801682111562000832576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008299062000d87565b60405180910390fd5b819050919050565b600063ffffffff801682111562000888576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200087f9062000da9565b60405180910390fd5b819050919050565b620008a8838383620008e060201b620011671760201c565b620008db620008bd84620008e560201b60201c565b620008ce84620008e560201b60201c565b836200094e60201b60201c565b505050565b505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156200098b5750600081115b1562000b6c57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000a7e5760008062000a25600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002062000b7160201b6200116c1785620004f960201b60201c565b915091508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000a7392919062000e0a565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000b6b5760008062000b12600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620004e160201b620010681785620004f960201b60201c565b915091508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000b6092919062000e0a565b60405180910390a250505b5b505050565b6000818362000b8191906200109e565b905092915050565b82805462000b97906200112e565b90600052602060002090601f01602090048101928262000bbb576000855562000c07565b82601f1062000bd657805160ff191683800117855562000c07565b8280016001018555821562000c07579182015b8281111562000c0657825182559160200191906001019062000be9565b5b50905062000c16919062000c1a565b5090565b5b8082111562000c3557600081600090555060010162000c1b565b5090565b62000c4481620010d9565b82525050565b62000c5581620010ed565b82525050565b600062000c6a60308362000e37565b915062000c7782620011fe565b604082019050919050565b600062000c9160278362000e37565b915062000c9e826200124d565b604082019050919050565b600062000cb860268362000e37565b915062000cc5826200129c565b604082019050919050565b600062000cdf601f8362000e37565b915062000cec82620012eb565b602082019050919050565b62000d028162001117565b82525050565b600060a08201905062000d1f600083018862000c4a565b62000d2e602083018762000c4a565b62000d3d604083018662000c4a565b62000d4c606083018562000cf7565b62000d5b608083018462000c39565b9695505050505050565b6000602082019050818103600083015262000d808162000c5b565b9050919050565b6000602082019050818103600083015262000da28162000c82565b9050919050565b6000602082019050818103600083015262000dc48162000ca9565b9050919050565b6000602082019050818103600083015262000de68162000cd0565b9050919050565b600060208201905062000e04600083018462000cf7565b92915050565b600060408201905062000e21600083018562000cf7565b62000e30602083018462000cf7565b9392505050565b600082825260208201905092915050565b600062000e558262001117565b915062000e628362001117565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e9a5762000e9962001164565b5b828201905092915050565b6000808291508390505b600185111562000ef75780860481111562000ecf5762000ece62001164565b5b600185161562000edf5780820291505b808102905062000eef85620011f1565b945062000eaf565b94509492505050565b600062000f0d8262001117565b915062000f1a8362001121565b925062000f497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000f51565b905092915050565b60008262000f63576001905062001036565b8162000f73576000905062001036565b816001811462000f8c576002811462000f975762000fcd565b600191505062001036565b60ff84111562000fac5762000fab62001164565b5b8360020a91508482111562000fc65762000fc562001164565b5b5062001036565b5060208310610133831016604e8410600b8410161715620010075782820a90508381111562001001576200100062001164565b5b62001036565b62001016848484600162000ea5565b9250905081840481111562001030576200102f62001164565b5b81810290505b9392505050565b60006200104a8262001117565b9150620010578362001117565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562001093576200109262001164565b5b828202905092915050565b6000620010ab8262001117565b9150620010b88362001117565b925082821015620010ce57620010cd62001164565b5b828203905092915050565b6000620010e682620010f7565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600060028204905060018216806200114757607f821691505b602082108114156200115e576200115d62001193565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160011c9050919050565b7f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60008201527f766572666c6f77696e6720766f74657300000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60805160a05160c05160601c60e051610100516101205161372f620013676000396000611710015260006117520152600061173101526000611666015260006116bc015260006116e5015261372f6000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a457c2d71161007c578063a457c2d7146103d9578063a9059cbb14610409578063c3cda52014610439578063d505accf14610455578063dd62ed3e14610471578063f1127ed8146104a157610142565b806370a08231146102fb5780637ecebe001461032b5780638e539e8c1461035b57806395d89b411461038b5780639ab24eb0146103a957610142565b80633644e5151161010a5780633644e51514610201578063395093511461021f5780633a46b1a81461024f578063587cde1e1461027f5780635c19a95c146102af5780636fcfff45146102cb57610142565b806306fdde0314610147578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b3578063313ce567146101e3575b600080fd5b61014f6104d1565b60405161015c9190612b67565b60405180910390f35b61017f600480360381019061017a9190612491565b610563565b60405161018c91906129f3565b60405180910390f35b61019d610586565b6040516101aa9190612e24565b60405180910390f35b6101cd60048036038101906101c8919061239c565b610590565b6040516101da91906129f3565b60405180910390f35b6101eb6105bf565b6040516101f89190612e83565b60405180910390f35b6102096105c8565b6040516102169190612a0e565b60405180910390f35b61023960048036038101906102349190612491565b6105d7565b60405161024691906129f3565b60405180910390f35b61026960048036038101906102649190612491565b61060e565b6040516102769190612e24565b60405180910390f35b6102996004803603810190610294919061232f565b6106a2565b6040516102a691906129d8565b60405180910390f35b6102c960048036038101906102c4919061232f565b61070b565b005b6102e560048036038101906102e0919061232f565b61071f565b6040516102f29190612e68565b60405180910390f35b6103156004803603810190610310919061232f565b610773565b6040516103229190612e24565b60405180910390f35b6103456004803603810190610340919061232f565b6107bb565b6040516103529190612e24565b60405180910390f35b6103756004803603810190610370919061259e565b61080b565b6040516103829190612e24565b60405180910390f35b610393610861565b6040516103a09190612b67565b60405180910390f35b6103c360048036038101906103be919061232f565b6108f3565b6040516103d09190612e24565b60405180910390f35b6103f360048036038101906103ee9190612491565b610a04565b60405161040091906129f3565b60405180910390f35b610423600480360381019061041e9190612491565b610a7b565b60405161043091906129f3565b60405180910390f35b610453600480360381019061044e91906124d1565b610a9e565b005b61046f600480360381019061046a91906123ef565b610ba2565b005b61048b6004803603810190610486919061235c565b610ce4565b6040516104989190612e24565b60405180910390f35b6104bb60048036038101906104b6919061255e565b610d6b565b6040516104c89190612e09565b60405180910390f35b6060600380546104e09061304a565b80601f016020809104026020016040519081016040528092919081815260200182805461050c9061304a565b80156105595780601f1061052e57610100808354040283529160200191610559565b820191906000526020600020905b81548152906001019060200180831161053c57829003601f168201915b5050505050905090565b60008061056e611182565b905061057b81858561118a565b600191505092915050565b6000600254905090565b60008061059b611182565b90506105a8858285611355565b6105b38585856113e1565b60019150509392505050565b60006012905090565b60006105d2611662565b905090565b6000806105e2611182565b90506106038185856105f48589610ce4565b6105fe9190612ec5565b61118a565b600191505092915050565b6000438210610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064990612bc9565b60405180910390fd5b61069a600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208361177c565b905092915050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61071c610716611182565b82611888565b50565b600061076c600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506110e9565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610804600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206119a2565b9050919050565b600043821061084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084690612bc9565b60405180910390fd5b61085a60098361177c565b9050919050565b6060600480546108709061304a565b80601f016020809104026020016040519081016040528092919081815260200182805461089c9061304a565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600081146109db57600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018261098f9190612f4c565b815481106109a05761099f613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166109de565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b600080610a0f611182565b90506000610a1d8286610ce4565b905083811015610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990612dc9565b60405180910390fd5b610a6f828686840361118a565b60019250505092915050565b600080610a86611182565b9050610a938185856113e1565b600191505092915050565b83421115610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad890612be9565b60405180910390fd5b6000610b43610b3b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf898989604051602001610b209493929190612a8a565b604051602081830303815290604052805190602001206119b0565b8585856119ca565b9050610b4e816119f5565b8614610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8690612c29565b60405180910390fd5b610b998188611888565b50505050505050565b83421115610be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdc90612c89565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610c148c6119f5565b89604051602001610c2a96959493929190612a29565b6040516020818303038152906040528051906020012090506000610c4d826119b0565b90506000610c5d828787876119ca565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490612d09565b60405180910390fd5b610cd88a8a8a61118a565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d73612288565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208263ffffffff1681548110610dca57610dc9613142565b5b906000526020600020016040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050905092915050565b610e858282610f08565b610e8d611a53565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16610eb3610586565b1115610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90612d29565b60405180910390fd5b610f02600961106883611a77565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90612de9565b60405180910390fd5b610f8460008383611cef565b8060026000828254610f969190612ec5565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610feb9190612ec5565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110509190612e24565b60405180910390a361106460008383611cf4565b5050565b600081836110769190612ec5565b905092915050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff80168211156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890612d49565b60405180910390fd5b819050919050565b600063ffffffff8016821115611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90612d89565b60405180910390fd5b819050919050565b611147838383611167565b611162611153846106a2565b61115c846106a2565b83611d04565b505050565b505050565b6000818361117a9190612f4c565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190612da9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190612c49565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113489190612e24565b60405180910390a3505050565b60006113618484610ce4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113db57818110156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490612c69565b60405180910390fd5b6113da848484840361118a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890612d69565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890612ba9565b60405180910390fd5b6114cc838383611cef565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990612ca9565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e59190612ec5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116499190612e24565b60405180910390a361165c848484611cf4565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156116de57507f000000000000000000000000000000000000000000000000000000000000000046145b1561170b577f00000000000000000000000000000000000000000000000000000000000000009050611779565b6117767f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611efd565b90505b90565b6000808380549050905060005b818110156117fb57600061179d8284611f37565b9050848682815481106117b3576117b2613142565b5b9060005260206000200160000160009054906101000a900463ffffffff1663ffffffff1611156117e5578092506117f5565b6001816117f29190612ec5565b91505b50611789565b6000821461185d57846001836118119190612f4c565b8154811061182257611821613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611860565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169250505092915050565b6000611893836106a2565b905060006118a084610773565b905082600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a461199c828483611d04565b50505050565b600081600001549050919050565b60006119c36119bd611662565b83611f5d565b9050919050565b60008060006119db87878787611f90565b915091506119e88161209d565b8192505050949350505050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a42816119a2565b9150611a4d81612272565b50919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b60008060008580549050905060008114611ae55785600182611a999190612f4c565b81548110611aaa57611aa9613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611ae8565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169250611b1683858763ffffffff16565b9150600081118015611b6957504386600183611b329190612f4c565b81548110611b4357611b42613142565b5b9060005260206000200160000160009054906101000a900463ffffffff1663ffffffff16145b15611bf657611b778261107e565b86600183611b859190612f4c565b81548110611b9657611b95613142565b5b9060005260206000200160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550611ce6565b856040518060400160405280611c0b436110e9565b63ffffffff168152602001611c1f8561107e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b50935093915050565b505050565b611cff83838361113c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611d405750600081115b15611ef857600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e1e57600080611dc7600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061116c85611a77565b915091508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611e13929190612e3f565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611ef757600080611ea0600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061106885611a77565b915091508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611eec929190612e3f565b60405180910390a250505b5b505050565b60008383834630604051602001611f18959493929190612acf565b6040516020818303038152906040528051906020012090509392505050565b60006002828418611f489190612f1b565b828416611f559190612ec5565b905092915050565b60008282604051602001611f729291906129a1565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611fcb576000600391509150612094565b601b8560ff1614158015611fe35750601c8560ff1614155b15611ff5576000600491509150612094565b60006001878787876040516000815260200160405260405161201a9493929190612b22565b6020604051602081039080840390855afa15801561203c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561208b57600060019250925050612094565b80600092509250505b94509492505050565b600060048111156120b1576120b06130e4565b5b8160048111156120c4576120c36130e4565b5b14156120cf5761226f565b600160048111156120e3576120e26130e4565b5b8160048111156120f6576120f56130e4565b5b1415612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90612b89565b60405180910390fd5b6002600481111561214b5761214a6130e4565b5b81600481111561215e5761215d6130e4565b5b141561219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690612c09565b60405180910390fd5b600360048111156121b3576121b26130e4565b5b8160048111156121c6576121c56130e4565b5b1415612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90612cc9565b60405180910390fd5b60048081111561221a576122196130e4565b5b81600481111561222d5761222c6130e4565b5b141561226e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226590612ce9565b60405180910390fd5b5b50565b6001816000016000828254019250508190555050565b6040518060400160405280600063ffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090565b6000813590506122d581613686565b92915050565b6000813590506122ea8161369d565b92915050565b6000813590506122ff816136b4565b92915050565b600081359050612314816136cb565b92915050565b600081359050612329816136e2565b92915050565b60006020828403121561234557612344613171565b5b6000612353848285016122c6565b91505092915050565b6000806040838503121561237357612372613171565b5b6000612381858286016122c6565b9250506020612392858286016122c6565b9150509250929050565b6000806000606084860312156123b5576123b4613171565b5b60006123c3868287016122c6565b93505060206123d4868287016122c6565b92505060406123e5868287016122f0565b9150509250925092565b600080600080600080600060e0888a03121561240e5761240d613171565b5b600061241c8a828b016122c6565b975050602061242d8a828b016122c6565b965050604061243e8a828b016122f0565b955050606061244f8a828b016122f0565b94505060806124608a828b0161231a565b93505060a06124718a828b016122db565b92505060c06124828a828b016122db565b91505092959891949750929550565b600080604083850312156124a8576124a7613171565b5b60006124b6858286016122c6565b92505060206124c7858286016122f0565b9150509250929050565b60008060008060008060c087890312156124ee576124ed613171565b5b60006124fc89828a016122c6565b965050602061250d89828a016122f0565b955050604061251e89828a016122f0565b945050606061252f89828a0161231a565b935050608061254089828a016122db565b92505060a061255189828a016122db565b9150509295509295509295565b6000806040838503121561257557612574613171565b5b6000612583858286016122c6565b925050602061259485828601612305565b9150509250929050565b6000602082840312156125b4576125b3613171565b5b60006125c2848285016122f0565b91505092915050565b6125d481612f80565b82525050565b6125e381612f92565b82525050565b6125f281612f9e565b82525050565b61260961260482612f9e565b61307c565b82525050565b600061261a82612e9e565b6126248185612ea9565b9350612634818560208601613017565b61263d81613176565b840191505092915050565b6000612655601883612ea9565b915061266082613187565b602082019050919050565b6000612678602383612ea9565b9150612683826131b0565b604082019050919050565b600061269b601f83612ea9565b91506126a6826131ff565b602082019050919050565b60006126be601d83612ea9565b91506126c982613228565b602082019050919050565b60006126e1601f83612ea9565b91506126ec82613251565b602082019050919050565b6000612704601983612ea9565b915061270f8261327a565b602082019050919050565b6000612727602283612ea9565b9150612732826132a3565b604082019050919050565b600061274a600283612eba565b9150612755826132f2565b600282019050919050565b600061276d601d83612ea9565b91506127788261331b565b602082019050919050565b6000612790601d83612ea9565b915061279b82613344565b602082019050919050565b60006127b3602683612ea9565b91506127be8261336d565b604082019050919050565b60006127d6602283612ea9565b91506127e1826133bc565b604082019050919050565b60006127f9602283612ea9565b91506128048261340b565b604082019050919050565b600061281c601e83612ea9565b91506128278261345a565b602082019050919050565b600061283f603083612ea9565b915061284a82613483565b604082019050919050565b6000612862602783612ea9565b915061286d826134d2565b604082019050919050565b6000612885602583612ea9565b915061289082613521565b604082019050919050565b60006128a8602683612ea9565b91506128b382613570565b604082019050919050565b60006128cb602483612ea9565b91506128d6826135bf565b604082019050919050565b60006128ee602583612ea9565b91506128f98261360e565b604082019050919050565b6000612911601f83612ea9565b915061291c8261365d565b602082019050919050565b60408201600082015161293d6000850182612974565b5060208201516129506020850182612956565b50505050565b61295f81612fc8565b82525050565b61296e81612ff0565b82525050565b61297d81612ffa565b82525050565b61298c81612ffa565b82525050565b61299b8161300a565b82525050565b60006129ac8261273d565b91506129b882856125f8565b6020820191506129c882846125f8565b6020820191508190509392505050565b60006020820190506129ed60008301846125cb565b92915050565b6000602082019050612a0860008301846125da565b92915050565b6000602082019050612a2360008301846125e9565b92915050565b600060c082019050612a3e60008301896125e9565b612a4b60208301886125cb565b612a5860408301876125cb565b612a656060830186612965565b612a726080830185612965565b612a7f60a0830184612965565b979650505050505050565b6000608082019050612a9f60008301876125e9565b612aac60208301866125cb565b612ab96040830185612965565b612ac66060830184612965565b95945050505050565b600060a082019050612ae460008301886125e9565b612af160208301876125e9565b612afe60408301866125e9565b612b0b6060830185612965565b612b1860808301846125cb565b9695505050505050565b6000608082019050612b3760008301876125e9565b612b446020830186612992565b612b5160408301856125e9565b612b5e60608301846125e9565b95945050505050565b60006020820190508181036000830152612b81818461260f565b905092915050565b60006020820190508181036000830152612ba281612648565b9050919050565b60006020820190508181036000830152612bc28161266b565b9050919050565b60006020820190508181036000830152612be28161268e565b9050919050565b60006020820190508181036000830152612c02816126b1565b9050919050565b60006020820190508181036000830152612c22816126d4565b9050919050565b60006020820190508181036000830152612c42816126f7565b9050919050565b60006020820190508181036000830152612c628161271a565b9050919050565b60006020820190508181036000830152612c8281612760565b9050919050565b60006020820190508181036000830152612ca281612783565b9050919050565b60006020820190508181036000830152612cc2816127a6565b9050919050565b60006020820190508181036000830152612ce2816127c9565b9050919050565b60006020820190508181036000830152612d02816127ec565b9050919050565b60006020820190508181036000830152612d228161280f565b9050919050565b60006020820190508181036000830152612d4281612832565b9050919050565b60006020820190508181036000830152612d6281612855565b9050919050565b60006020820190508181036000830152612d8281612878565b9050919050565b60006020820190508181036000830152612da28161289b565b9050919050565b60006020820190508181036000830152612dc2816128be565b9050919050565b60006020820190508181036000830152612de2816128e1565b9050919050565b60006020820190508181036000830152612e0281612904565b9050919050565b6000604082019050612e1e6000830184612927565b92915050565b6000602082019050612e396000830184612965565b92915050565b6000604082019050612e546000830185612965565b612e616020830184612965565b9392505050565b6000602082019050612e7d6000830184612983565b92915050565b6000602082019050612e986000830184612992565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000612ed082612ff0565b9150612edb83612ff0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f1057612f0f613086565b5b828201905092915050565b6000612f2682612ff0565b9150612f3183612ff0565b925082612f4157612f406130b5565b5b828204905092915050565b6000612f5782612ff0565b9150612f6283612ff0565b925082821015612f7557612f74613086565b5b828203905092915050565b6000612f8b82612fa8565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60005b8381101561303557808201518184015260208101905061301a565b83811115613044576000848401525b50505050565b6000600282049050600182168061306257607f821691505b6020821081141561307657613075613113565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400600082015250565b7f4552433230566f7465733a207369676e61747572652065787069726564000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60008201527f766572666c6f77696e6720766f74657300000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61368f81612f80565b811461369a57600080fd5b50565b6136a681612f9e565b81146136b157600080fd5b50565b6136bd81612ff0565b81146136c857600080fd5b50565b6136d481612ffa565b81146136df57600080fd5b50565b6136eb8161300a565b81146136f657600080fd5b5056fea26469706673582212202acc7e43c292382ae0971320c425b6f8bb9cf5d6d2a87889f5f194a3fe3d0bae64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a457c2d71161007c578063a457c2d7146103d9578063a9059cbb14610409578063c3cda52014610439578063d505accf14610455578063dd62ed3e14610471578063f1127ed8146104a157610142565b806370a08231146102fb5780637ecebe001461032b5780638e539e8c1461035b57806395d89b411461038b5780639ab24eb0146103a957610142565b80633644e5151161010a5780633644e51514610201578063395093511461021f5780633a46b1a81461024f578063587cde1e1461027f5780635c19a95c146102af5780636fcfff45146102cb57610142565b806306fdde0314610147578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b3578063313ce567146101e3575b600080fd5b61014f6104d1565b60405161015c9190612b67565b60405180910390f35b61017f600480360381019061017a9190612491565b610563565b60405161018c91906129f3565b60405180910390f35b61019d610586565b6040516101aa9190612e24565b60405180910390f35b6101cd60048036038101906101c8919061239c565b610590565b6040516101da91906129f3565b60405180910390f35b6101eb6105bf565b6040516101f89190612e83565b60405180910390f35b6102096105c8565b6040516102169190612a0e565b60405180910390f35b61023960048036038101906102349190612491565b6105d7565b60405161024691906129f3565b60405180910390f35b61026960048036038101906102649190612491565b61060e565b6040516102769190612e24565b60405180910390f35b6102996004803603810190610294919061232f565b6106a2565b6040516102a691906129d8565b60405180910390f35b6102c960048036038101906102c4919061232f565b61070b565b005b6102e560048036038101906102e0919061232f565b61071f565b6040516102f29190612e68565b60405180910390f35b6103156004803603810190610310919061232f565b610773565b6040516103229190612e24565b60405180910390f35b6103456004803603810190610340919061232f565b6107bb565b6040516103529190612e24565b60405180910390f35b6103756004803603810190610370919061259e565b61080b565b6040516103829190612e24565b60405180910390f35b610393610861565b6040516103a09190612b67565b60405180910390f35b6103c360048036038101906103be919061232f565b6108f3565b6040516103d09190612e24565b60405180910390f35b6103f360048036038101906103ee9190612491565b610a04565b60405161040091906129f3565b60405180910390f35b610423600480360381019061041e9190612491565b610a7b565b60405161043091906129f3565b60405180910390f35b610453600480360381019061044e91906124d1565b610a9e565b005b61046f600480360381019061046a91906123ef565b610ba2565b005b61048b6004803603810190610486919061235c565b610ce4565b6040516104989190612e24565b60405180910390f35b6104bb60048036038101906104b6919061255e565b610d6b565b6040516104c89190612e09565b60405180910390f35b6060600380546104e09061304a565b80601f016020809104026020016040519081016040528092919081815260200182805461050c9061304a565b80156105595780601f1061052e57610100808354040283529160200191610559565b820191906000526020600020905b81548152906001019060200180831161053c57829003601f168201915b5050505050905090565b60008061056e611182565b905061057b81858561118a565b600191505092915050565b6000600254905090565b60008061059b611182565b90506105a8858285611355565b6105b38585856113e1565b60019150509392505050565b60006012905090565b60006105d2611662565b905090565b6000806105e2611182565b90506106038185856105f48589610ce4565b6105fe9190612ec5565b61118a565b600191505092915050565b6000438210610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064990612bc9565b60405180910390fd5b61069a600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208361177c565b905092915050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61071c610716611182565b82611888565b50565b600061076c600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506110e9565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610804600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206119a2565b9050919050565b600043821061084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084690612bc9565b60405180910390fd5b61085a60098361177c565b9050919050565b6060600480546108709061304a565b80601f016020809104026020016040519081016040528092919081815260200182805461089c9061304a565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600081146109db57600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018261098f9190612f4c565b815481106109a05761099f613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166109de565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b600080610a0f611182565b90506000610a1d8286610ce4565b905083811015610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990612dc9565b60405180910390fd5b610a6f828686840361118a565b60019250505092915050565b600080610a86611182565b9050610a938185856113e1565b600191505092915050565b83421115610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad890612be9565b60405180910390fd5b6000610b43610b3b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf898989604051602001610b209493929190612a8a565b604051602081830303815290604052805190602001206119b0565b8585856119ca565b9050610b4e816119f5565b8614610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8690612c29565b60405180910390fd5b610b998188611888565b50505050505050565b83421115610be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdc90612c89565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610c148c6119f5565b89604051602001610c2a96959493929190612a29565b6040516020818303038152906040528051906020012090506000610c4d826119b0565b90506000610c5d828787876119ca565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490612d09565b60405180910390fd5b610cd88a8a8a61118a565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d73612288565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208263ffffffff1681548110610dca57610dc9613142565b5b906000526020600020016040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050905092915050565b610e858282610f08565b610e8d611a53565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16610eb3610586565b1115610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90612d29565b60405180910390fd5b610f02600961106883611a77565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90612de9565b60405180910390fd5b610f8460008383611cef565b8060026000828254610f969190612ec5565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610feb9190612ec5565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110509190612e24565b60405180910390a361106460008383611cf4565b5050565b600081836110769190612ec5565b905092915050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff80168211156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890612d49565b60405180910390fd5b819050919050565b600063ffffffff8016821115611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90612d89565b60405180910390fd5b819050919050565b611147838383611167565b611162611153846106a2565b61115c846106a2565b83611d04565b505050565b505050565b6000818361117a9190612f4c565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190612da9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190612c49565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113489190612e24565b60405180910390a3505050565b60006113618484610ce4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113db57818110156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490612c69565b60405180910390fd5b6113da848484840361118a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890612d69565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890612ba9565b60405180910390fd5b6114cc838383611cef565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990612ca9565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e59190612ec5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116499190612e24565b60405180910390a361165c848484611cf4565b50505050565b60007f000000000000000000000000f77b59a2fd8ea0ded3ee72a2942c298de8a3e80273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156116de57507f000000000000000000000000000000000000000000000000000000000000000146145b1561170b577fb141f9378ec999000c4a0b9bdf423505afe54d78727619e6037b2969f2914e669050611779565b6117767f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f7677dbc677ab6bed1a3a0a734de9c3240ee63a4abd92996c90dcd8a9f3687dc57fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6611efd565b90505b90565b6000808380549050905060005b818110156117fb57600061179d8284611f37565b9050848682815481106117b3576117b2613142565b5b9060005260206000200160000160009054906101000a900463ffffffff1663ffffffff1611156117e5578092506117f5565b6001816117f29190612ec5565b91505b50611789565b6000821461185d57846001836118119190612f4c565b8154811061182257611821613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611860565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169250505092915050565b6000611893836106a2565b905060006118a084610773565b905082600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a461199c828483611d04565b50505050565b600081600001549050919050565b60006119c36119bd611662565b83611f5d565b9050919050565b60008060006119db87878787611f90565b915091506119e88161209d565b8192505050949350505050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a42816119a2565b9150611a4d81612272565b50919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b60008060008580549050905060008114611ae55785600182611a999190612f4c565b81548110611aaa57611aa9613142565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611ae8565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169250611b1683858763ffffffff16565b9150600081118015611b6957504386600183611b329190612f4c565b81548110611b4357611b42613142565b5b9060005260206000200160000160009054906101000a900463ffffffff1663ffffffff16145b15611bf657611b778261107e565b86600183611b859190612f4c565b81548110611b9657611b95613142565b5b9060005260206000200160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550611ce6565b856040518060400160405280611c0b436110e9565b63ffffffff168152602001611c1f8561107e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b50935093915050565b505050565b611cff83838361113c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611d405750600081115b15611ef857600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e1e57600080611dc7600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061116c85611a77565b915091508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611e13929190612e3f565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611ef757600080611ea0600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061106885611a77565b915091508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611eec929190612e3f565b60405180910390a250505b5b505050565b60008383834630604051602001611f18959493929190612acf565b6040516020818303038152906040528051906020012090509392505050565b60006002828418611f489190612f1b565b828416611f559190612ec5565b905092915050565b60008282604051602001611f729291906129a1565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611fcb576000600391509150612094565b601b8560ff1614158015611fe35750601c8560ff1614155b15611ff5576000600491509150612094565b60006001878787876040516000815260200160405260405161201a9493929190612b22565b6020604051602081039080840390855afa15801561203c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561208b57600060019250925050612094565b80600092509250505b94509492505050565b600060048111156120b1576120b06130e4565b5b8160048111156120c4576120c36130e4565b5b14156120cf5761226f565b600160048111156120e3576120e26130e4565b5b8160048111156120f6576120f56130e4565b5b1415612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90612b89565b60405180910390fd5b6002600481111561214b5761214a6130e4565b5b81600481111561215e5761215d6130e4565b5b141561219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690612c09565b60405180910390fd5b600360048111156121b3576121b26130e4565b5b8160048111156121c6576121c56130e4565b5b1415612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90612cc9565b60405180910390fd5b60048081111561221a576122196130e4565b5b81600481111561222d5761222c6130e4565b5b141561226e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226590612ce9565b60405180910390fd5b5b50565b6001816000016000828254019250508190555050565b6040518060400160405280600063ffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090565b6000813590506122d581613686565b92915050565b6000813590506122ea8161369d565b92915050565b6000813590506122ff816136b4565b92915050565b600081359050612314816136cb565b92915050565b600081359050612329816136e2565b92915050565b60006020828403121561234557612344613171565b5b6000612353848285016122c6565b91505092915050565b6000806040838503121561237357612372613171565b5b6000612381858286016122c6565b9250506020612392858286016122c6565b9150509250929050565b6000806000606084860312156123b5576123b4613171565b5b60006123c3868287016122c6565b93505060206123d4868287016122c6565b92505060406123e5868287016122f0565b9150509250925092565b600080600080600080600060e0888a03121561240e5761240d613171565b5b600061241c8a828b016122c6565b975050602061242d8a828b016122c6565b965050604061243e8a828b016122f0565b955050606061244f8a828b016122f0565b94505060806124608a828b0161231a565b93505060a06124718a828b016122db565b92505060c06124828a828b016122db565b91505092959891949750929550565b600080604083850312156124a8576124a7613171565b5b60006124b6858286016122c6565b92505060206124c7858286016122f0565b9150509250929050565b60008060008060008060c087890312156124ee576124ed613171565b5b60006124fc89828a016122c6565b965050602061250d89828a016122f0565b955050604061251e89828a016122f0565b945050606061252f89828a0161231a565b935050608061254089828a016122db565b92505060a061255189828a016122db565b9150509295509295509295565b6000806040838503121561257557612574613171565b5b6000612583858286016122c6565b925050602061259485828601612305565b9150509250929050565b6000602082840312156125b4576125b3613171565b5b60006125c2848285016122f0565b91505092915050565b6125d481612f80565b82525050565b6125e381612f92565b82525050565b6125f281612f9e565b82525050565b61260961260482612f9e565b61307c565b82525050565b600061261a82612e9e565b6126248185612ea9565b9350612634818560208601613017565b61263d81613176565b840191505092915050565b6000612655601883612ea9565b915061266082613187565b602082019050919050565b6000612678602383612ea9565b9150612683826131b0565b604082019050919050565b600061269b601f83612ea9565b91506126a6826131ff565b602082019050919050565b60006126be601d83612ea9565b91506126c982613228565b602082019050919050565b60006126e1601f83612ea9565b91506126ec82613251565b602082019050919050565b6000612704601983612ea9565b915061270f8261327a565b602082019050919050565b6000612727602283612ea9565b9150612732826132a3565b604082019050919050565b600061274a600283612eba565b9150612755826132f2565b600282019050919050565b600061276d601d83612ea9565b91506127788261331b565b602082019050919050565b6000612790601d83612ea9565b915061279b82613344565b602082019050919050565b60006127b3602683612ea9565b91506127be8261336d565b604082019050919050565b60006127d6602283612ea9565b91506127e1826133bc565b604082019050919050565b60006127f9602283612ea9565b91506128048261340b565b604082019050919050565b600061281c601e83612ea9565b91506128278261345a565b602082019050919050565b600061283f603083612ea9565b915061284a82613483565b604082019050919050565b6000612862602783612ea9565b915061286d826134d2565b604082019050919050565b6000612885602583612ea9565b915061289082613521565b604082019050919050565b60006128a8602683612ea9565b91506128b382613570565b604082019050919050565b60006128cb602483612ea9565b91506128d6826135bf565b604082019050919050565b60006128ee602583612ea9565b91506128f98261360e565b604082019050919050565b6000612911601f83612ea9565b915061291c8261365d565b602082019050919050565b60408201600082015161293d6000850182612974565b5060208201516129506020850182612956565b50505050565b61295f81612fc8565b82525050565b61296e81612ff0565b82525050565b61297d81612ffa565b82525050565b61298c81612ffa565b82525050565b61299b8161300a565b82525050565b60006129ac8261273d565b91506129b882856125f8565b6020820191506129c882846125f8565b6020820191508190509392505050565b60006020820190506129ed60008301846125cb565b92915050565b6000602082019050612a0860008301846125da565b92915050565b6000602082019050612a2360008301846125e9565b92915050565b600060c082019050612a3e60008301896125e9565b612a4b60208301886125cb565b612a5860408301876125cb565b612a656060830186612965565b612a726080830185612965565b612a7f60a0830184612965565b979650505050505050565b6000608082019050612a9f60008301876125e9565b612aac60208301866125cb565b612ab96040830185612965565b612ac66060830184612965565b95945050505050565b600060a082019050612ae460008301886125e9565b612af160208301876125e9565b612afe60408301866125e9565b612b0b6060830185612965565b612b1860808301846125cb565b9695505050505050565b6000608082019050612b3760008301876125e9565b612b446020830186612992565b612b5160408301856125e9565b612b5e60608301846125e9565b95945050505050565b60006020820190508181036000830152612b81818461260f565b905092915050565b60006020820190508181036000830152612ba281612648565b9050919050565b60006020820190508181036000830152612bc28161266b565b9050919050565b60006020820190508181036000830152612be28161268e565b9050919050565b60006020820190508181036000830152612c02816126b1565b9050919050565b60006020820190508181036000830152612c22816126d4565b9050919050565b60006020820190508181036000830152612c42816126f7565b9050919050565b60006020820190508181036000830152612c628161271a565b9050919050565b60006020820190508181036000830152612c8281612760565b9050919050565b60006020820190508181036000830152612ca281612783565b9050919050565b60006020820190508181036000830152612cc2816127a6565b9050919050565b60006020820190508181036000830152612ce2816127c9565b9050919050565b60006020820190508181036000830152612d02816127ec565b9050919050565b60006020820190508181036000830152612d228161280f565b9050919050565b60006020820190508181036000830152612d4281612832565b9050919050565b60006020820190508181036000830152612d6281612855565b9050919050565b60006020820190508181036000830152612d8281612878565b9050919050565b60006020820190508181036000830152612da28161289b565b9050919050565b60006020820190508181036000830152612dc2816128be565b9050919050565b60006020820190508181036000830152612de2816128e1565b9050919050565b60006020820190508181036000830152612e0281612904565b9050919050565b6000604082019050612e1e6000830184612927565b92915050565b6000602082019050612e396000830184612965565b92915050565b6000604082019050612e546000830185612965565b612e616020830184612965565b9392505050565b6000602082019050612e7d6000830184612983565b92915050565b6000602082019050612e986000830184612992565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000612ed082612ff0565b9150612edb83612ff0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f1057612f0f613086565b5b828201905092915050565b6000612f2682612ff0565b9150612f3183612ff0565b925082612f4157612f406130b5565b5b828204905092915050565b6000612f5782612ff0565b9150612f6283612ff0565b925082821015612f7557612f74613086565b5b828203905092915050565b6000612f8b82612fa8565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60005b8381101561303557808201518184015260208101905061301a565b83811115613044576000848401525b50505050565b6000600282049050600182168061306257607f821691505b6020821081141561307657613075613113565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400600082015250565b7f4552433230566f7465733a207369676e61747572652065787069726564000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60008201527f766572666c6f77696e6720766f74657300000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61368f81612f80565b811461369a57600080fd5b50565b6136a681612f9e565b81146136b157600080fd5b50565b6136bd81612ff0565b81146136c857600080fd5b50565b6136d481612ffa565b81146136df57600080fd5b50565b6136eb8161300a565b81146136f657600080fd5b5056fea26469706673582212202acc7e43c292382ae0971320c425b6f8bb9cf5d6d2a87889f5f194a3fe3d0bae64736f6c63430008070033
Deployed Bytecode Sourcemap
98758:721:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75247:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77598:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76367:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78379:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76209:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88858:115;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;79083:238;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92066:268;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91440:128;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94539:114;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;91196:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76538:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88600:128;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92623:259;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75466:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91652:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;79824:436;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76871:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94735:591;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87889:645;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77127:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90966:150;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75247:100;75301:13;75334:5;75327:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75247:100;:::o;77598:201::-;77681:4;77698:13;77714:12;:10;:12::i;:::-;77698:28;;77737:32;77746:5;77753:7;77762:6;77737:8;:32::i;:::-;77787:4;77780:11;;;77598:201;;;;:::o;76367:108::-;76428:7;76455:12;;76448:19;;76367:108;:::o;78379:295::-;78510:4;78527:15;78545:12;:10;:12::i;:::-;78527:30;;78568:38;78584:4;78590:7;78599:6;78568:15;:38::i;:::-;78617:27;78627:4;78633:2;78637:6;78617:9;:27::i;:::-;78662:4;78655:11;;;78379:295;;;;;:::o;76209:93::-;76267:5;76292:2;76285:9;;76209:93;:::o;88858:115::-;88918:7;88945:20;:18;:20::i;:::-;88938:27;;88858:115;:::o;79083:238::-;79171:4;79188:13;79204:12;:10;:12::i;:::-;79188:28;;79227:64;79236:5;79243:7;79280:10;79252:25;79262:5;79269:7;79252:9;:25::i;:::-;:38;;;;:::i;:::-;79227:8;:64::i;:::-;79309:4;79302:11;;;79083:238;;;;:::o;92066:268::-;92164:7;92206:12;92192:11;:26;92184:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;92272:54;92291:12;:21;92304:7;92291:21;;;;;;;;;;;;;;;92314:11;92272:18;:54::i;:::-;92265:61;;92066:268;;;;:::o;91440:128::-;91514:7;91541:10;:19;91552:7;91541:19;;;;;;;;;;;;;;;;;;;;;;;;;91534:26;;91440:128;;;:::o;94539:114::-;94611:34;94621:12;:10;:12::i;:::-;94635:9;94611;:34::i;:::-;94539:114;:::o;91196:151::-;91266:6;91292:47;91310:12;:21;91323:7;91310:21;;;;;;;;;;;;;;;:28;;;;91292:17;:47::i;:::-;91285:54;;91196:151;;;:::o;76538:127::-;76612:7;76639:9;:18;76649:7;76639:18;;;;;;;;;;;;;;;;76632:25;;76538:127;;;:::o;88600:128::-;88669:7;88696:24;:7;:14;88704:5;88696:14;;;;;;;;;;;;;;;:22;:24::i;:::-;88689:31;;88600:128;;;:::o;92623:259::-;92710:7;92752:12;92738:11;:26;92730:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;92818:56;92837:23;92862:11;92818:18;:56::i;:::-;92811:63;;92623:259;;;:::o;75466:104::-;75522:13;75555:7;75548:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75466:104;:::o;91652:212::-;91725:7;91745:11;91759:12;:21;91772:7;91759:21;;;;;;;;;;;;;;;:28;;;;91745:42;;91812:1;91805:3;:8;:51;;91820:12;:21;91833:7;91820:21;;;;;;;;;;;;;;;91848:1;91842:3;:7;;;;:::i;:::-;91820:30;;;;;;;;:::i;:::-;;;;;;;;;:36;;;;;;;;;;;;91805:51;;;91816:1;91805:51;91798:58;;;;;91652:212;;;:::o;79824:436::-;79917:4;79934:13;79950:12;:10;:12::i;:::-;79934:28;;79973:24;80000:25;80010:5;80017:7;80000:9;:25::i;:::-;79973:52;;80064:15;80044:16;:35;;80036:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;80157:60;80166:5;80173:7;80201:15;80182:16;:34;80157:8;:60::i;:::-;80248:4;80241:11;;;;79824:436;;;;:::o;76871:193::-;76950:4;76967:13;76983:12;:10;:12::i;:::-;76967:28;;77006;77016:5;77023:2;77027:6;77006:9;:28::i;:::-;77052:4;77045:11;;;76871:193;;;;:::o;94735:591::-;94962:6;94943:15;:25;;94935:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;95013:14;95030:174;95058:87;90646:71;95118:9;95129:5;95136:6;95085:58;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;95075:69;;;;;;95058:16;:87::i;:::-;95160:1;95176;95192;95030:13;:174::i;:::-;95013:191;;95232:17;95242:6;95232:9;:17::i;:::-;95223:5;:26;95215:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;95290:28;95300:6;95308:9;95290;:28::i;:::-;94924:402;94735:591;;;;;;:::o;87889:645::-;88133:8;88114:15;:27;;88106:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;88188:18;87064:95;88248:5;88255:7;88264:5;88271:16;88281:5;88271:9;:16::i;:::-;88289:8;88219:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;88209:90;;;;;;88188:111;;88312:12;88327:28;88344:10;88327:16;:28::i;:::-;88312:43;;88368:14;88385:28;88399:4;88405:1;88408;88411;88385:13;:28::i;:::-;88368:45;;88442:5;88432:15;;:6;:15;;;88424:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;88495:31;88504:5;88511:7;88520:5;88495:8;:31::i;:::-;88095:439;;;87889:645;;;;;;;:::o;77127:151::-;77216:7;77243:11;:18;77255:5;77243:18;;;;;;;;;;;;;;;:27;77262:7;77243:27;;;;;;;;;;;;;;;;77236:34;;77127:151;;;;:::o;90966:150::-;91045:17;;:::i;:::-;91082:12;:21;91095:7;91082:21;;;;;;;;;;;;;;;91104:3;91082:26;;;;;;;;;;:::i;:::-;;;;;;;;;91075:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90966:150;;;;:::o;95632:290::-;95717:28;95729:7;95738:6;95717:11;:28::i;:::-;95781:12;:10;:12::i;:::-;95764:29;;:13;:11;:13::i;:::-;:29;;95756:90;;;;;;;;;;;;:::i;:::-;;;;;;;;;95859:55;95876:23;95901:4;95907:6;95859:16;:55::i;:::-;;;95632:290;;:::o;81688:399::-;81791:1;81772:21;;:7;:21;;;;81764:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;81842:49;81871:1;81875:7;81884:6;81842:20;:49::i;:::-;81920:6;81904:12;;:22;;;;;;;:::i;:::-;;;;;;;;81959:6;81937:9;:18;81947:7;81937:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;82002:7;81981:37;;81998:1;81981:37;;;82011:6;81981:37;;;;;;:::i;:::-;;;;;;;;82031:48;82059:1;82063:7;82072:6;82031:19;:48::i;:::-;81688:399;;:::o;98476:98::-;98534:7;98565:1;98561;:5;;;;:::i;:::-;98554:12;;98476:98;;;;:::o;2870:195::-;2927:7;2964:17;2955:26;;:5;:26;;2947:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;3051:5;3036:21;;2870:195;;;:::o;15706:190::-;15762:6;15798:16;15789:25;;:5;:25;;15781:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;15882:5;15868:20;;15706:190;;;:::o;96350:262::-;96492:43;96518:4;96524:2;96528:6;96492:25;:43::i;:::-;96548:56;96565:15;96575:4;96565:9;:15::i;:::-;96582:13;96592:2;96582:9;:13::i;:::-;96597:6;96548:16;:56::i;:::-;96350:262;;;:::o;85902:124::-;;;;:::o;98582:103::-;98645:7;98676:1;98672;:5;;;;:::i;:::-;98665:12;;98582:103;;;;:::o;69255:98::-;69308:7;69335:10;69328:17;;69255:98;:::o;83449:380::-;83602:1;83585:19;;:5;:19;;;;83577:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;83683:1;83664:21;;:7;:21;;;;83656:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;83767:6;83737:11;:18;83749:5;83737:18;;;;;;;;;;;;;;;:27;83756:7;83737:27;;;;;;;;;;;;;;;:36;;;;83805:7;83789:32;;83798:5;83789:32;;;83814:6;83789:32;;;;;;:::i;:::-;;;;;;;;83449:380;;;:::o;84120:453::-;84255:24;84282:25;84292:5;84299:7;84282:9;:25::i;:::-;84255:52;;84342:17;84322:16;:37;84318:248;;84404:6;84384:16;:26;;84376:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;84488:51;84497:5;84504:7;84532:6;84513:16;:25;84488:8;:51::i;:::-;84318:248;84244:329;84120:453;;;:::o;80730:671::-;80877:1;80861:18;;:4;:18;;;;80853:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;80954:1;80940:16;;:2;:16;;;;80932:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;81009:38;81030:4;81036:2;81040:6;81009:20;:38::i;:::-;81060:19;81082:9;:15;81092:4;81082:15;;;;;;;;;;;;;;;;81060:37;;81131:6;81116:11;:21;;81108:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;81248:6;81234:11;:20;81216:9;:15;81226:4;81216:15;;;;;;;;;;;;;;;:38;;;;81293:6;81276:9;:13;81286:2;81276:13;;;;;;;;;;;;;;;;:23;;;;;;;:::i;:::-;;;;;;;;81332:2;81317:26;;81326:4;81317:26;;;81336:6;81317:26;;;;;;:::i;:::-;;;;;;;;81356:37;81376:4;81382:2;81386:6;81356:19;:37::i;:::-;80842:559;80730:671;;;:::o;64798:314::-;64851:7;64892:12;64875:29;;64883:4;64875:29;;;:66;;;;;64925:16;64908:13;:33;64875:66;64871:234;;;64965:24;64958:31;;;;64871:234;65029:64;65051:10;65063:12;65077:15;65029:21;:64::i;:::-;65022:71;;64798:314;;:::o;92971:1482::-;93070:7;94089:12;94104:5;:12;;;;94089:27;;94127:11;94153:236;94166:4;94160:3;:10;94153:236;;;94187:11;94201:23;94214:3;94219:4;94201:12;:23::i;:::-;94187:37;;94266:11;94243:5;94249:3;94243:10;;;;;;;;:::i;:::-;;;;;;;;;:20;;;;;;;;;;;;:34;;;94239:139;;;94305:3;94298:10;;94239:139;;;94361:1;94355:3;:7;;;;:::i;:::-;94349:13;;94239:139;94172:217;94153:236;;;94416:1;94408:4;:9;:37;;94424:5;94437:1;94430:4;:8;;;;:::i;:::-;94424:15;;;;;;;;:::i;:::-;;;;;;;;;:21;;;;;;;;;;;;94408:37;;;94420:1;94408:37;94401:44;;;;;;92971:1482;;;;:::o;96776:388::-;96861:23;96887:20;96897:9;96887;:20::i;:::-;96861:46;;96918:24;96945:20;96955:9;96945;:20::i;:::-;96918:47;;97000:9;96976:10;:21;96987:9;96976:21;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;97071:9;97027:54;;97054:15;97027:54;;97043:9;97027:54;;;;;;;;;;;;97094:62;97111:15;97128:9;97139:16;97094;:62::i;:::-;96850:314;;96776:388;;:::o;48830:114::-;48895:7;48922;:14;;;48915:21;;48830:114;;;:::o;66025:167::-;66102:7;66129:55;66151:20;:18;:20::i;:::-;66173:10;66129:21;:55::i;:::-;66122:62;;66025:167;;;:::o;59668:279::-;59796:7;59817:17;59836:18;59858:25;59869:4;59875:1;59878;59881;59858:10;:25::i;:::-;59816:67;;;;59894:18;59906:5;59894:11;:18::i;:::-;59930:9;59923:16;;;;59668:279;;;;;;:::o;89111:207::-;89171:15;89199:30;89232:7;:14;89240:5;89232:14;;;;;;;;;;;;;;;89199:47;;89267:15;:5;:13;:15::i;:::-;89257:25;;89293:17;:5;:15;:17::i;:::-;89188:130;89111:207;;;:::o;95433:105::-;95486:7;95513:17;95506:24;;95433:105;:::o;97823:645::-;97997:17;98016;98046:11;98060:5;:12;;;;98046:26;;98102:1;98095:3;:8;:35;;98110:5;98122:1;98116:3;:7;;;;:::i;:::-;98110:14;;;;;;;;:::i;:::-;;;;;;;;;:20;;;;;;;;;;;;98095:35;;;98106:1;98095:35;98083:47;;;;98153:20;98156:9;98167:5;98153:2;:20;;:::i;:::-;98141:32;;98196:1;98190:3;:7;:51;;;;;98229:12;98201:5;98213:1;98207:3;:7;;;;:::i;:::-;98201:14;;;;;;;;:::i;:::-;;;;;;;;;:24;;;;;;;;;;;;:40;;;98190:51;98186:275;;;98281:29;98300:9;98281:18;:29::i;:::-;98258:5;98270:1;98264:3;:7;;;;:::i;:::-;98258:14;;;;;;;;:::i;:::-;;;;;;;;;:20;;;:52;;;;;;;;;;;;;;;;;;98186:275;;;98343:5;98354:94;;;;;;;;98377:31;98395:12;98377:17;:31::i;:::-;98354:94;;;;;;98417:29;98436:9;98417:18;:29::i;:::-;98354:94;;;;;98343:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98186:275;98035:433;97823:645;;;;;;:::o;85173:125::-;;;;:::o;98967:193::-;99109:43;99135:4;99141:2;99145:6;99109:25;:43::i;:::-;98967:193;;;:::o;97172:643::-;97304:3;97297:10;;:3;:10;;;;:24;;;;;97320:1;97311:6;:10;97297:24;97293:515;;;97357:1;97342:17;;:3;:17;;;97338:224;;97381:17;97400;97421:54;97438:12;:17;97451:3;97438:17;;;;;;;;;;;;;;;97457:9;97468:6;97421:16;:54::i;:::-;97380:95;;;;97520:3;97499:47;;;97525:9;97536;97499:47;;;;;;;:::i;:::-;;;;;;;;97361:201;;97338:224;97597:1;97582:17;;:3;:17;;;97578:219;;97621:17;97640;97661:49;97678:12;:17;97691:3;97678:17;;;;;;;;;;;;;;;97697:4;97703:6;97661:16;:49::i;:::-;97620:90;;;;97755:3;97734:47;;;97760:9;97771;97734:47;;;;;;;:::i;:::-;;;;;;;;97601:196;;97578:219;97293:515;97172:643;;;:::o;65120:263::-;65264:7;65312:8;65322;65332:11;65345:13;65368:4;65301:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65291:84;;;;;;65284:91;;65120:263;;;;;:::o;39736:156::-;39798:7;39883:1;39878;39874;:5;39873:11;;;;:::i;:::-;39868:1;39864;:5;39863:21;;;;:::i;:::-;39856:28;;39736:156;;;;:::o;61359:196::-;61452:7;61518:15;61535:10;61489:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61479:68;;;;;;61472:75;;61359:196;;;;:::o;57897:1632::-;58028:7;58037:12;58962:66;58957:1;58949:10;;:79;58945:163;;;59061:1;59065:30;59045:51;;;;;;58945:163;59127:2;59122:1;:7;;;;:18;;;;;59138:2;59133:1;:7;;;;59122:18;59118:102;;;59173:1;59177:30;59157:51;;;;;;59118:102;59317:14;59334:24;59344:4;59350:1;59353;59356;59334:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59317:41;;59391:1;59373:20;;:6;:20;;;59369:103;;;59426:1;59430:29;59410:50;;;;;;;59369:103;59492:6;59500:20;59484:37;;;;;57897:1632;;;;;;;;:::o;52510:643::-;52588:20;52579:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;52575:571;;;52625:7;;52575:571;52686:29;52677:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;52673:473;;;52732:34;;;;;;;;;;:::i;:::-;;;;;;;;52673:473;52797:35;52788:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;52784:362;;;52849:41;;;;;;;;;;:::i;:::-;;;;;;;;52784:362;52921:30;52912:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;52908:238;;;52968:44;;;;;;;;;;:::i;:::-;;;;;;;;52908:238;53043:30;53034:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;53030:116;;;53090:44;;;;;;;;;;:::i;:::-;;;;;;;;53030:116;52510:643;;:::o;48952:127::-;49059:1;49041:7;:14;;;:19;;;;;;;;;;;48952:127;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;152:139;;;;:::o;297:::-;343:5;381:6;368:20;359:29;;397:33;424:5;397:33;:::i;:::-;297:139;;;;:::o;442:137::-;487:5;525:6;512:20;503:29;;541:32;567:5;541:32;:::i;:::-;442:137;;;;:::o;585:135::-;629:5;667:6;654:20;645:29;;683:31;708:5;683:31;:::i;:::-;585:135;;;;:::o;726:329::-;785:6;834:2;822:9;813:7;809:23;805:32;802:119;;;840:79;;:::i;:::-;802:119;960:1;985:53;1030:7;1021:6;1010:9;1006:22;985:53;:::i;:::-;975:63;;931:117;726:329;;;;:::o;1061:474::-;1129:6;1137;1186:2;1174:9;1165:7;1161:23;1157:32;1154:119;;;1192:79;;:::i;:::-;1154:119;1312:1;1337:53;1382:7;1373:6;1362:9;1358:22;1337:53;:::i;:::-;1327:63;;1283:117;1439:2;1465:53;1510:7;1501:6;1490:9;1486:22;1465:53;:::i;:::-;1455:63;;1410:118;1061:474;;;;;:::o;1541:619::-;1618:6;1626;1634;1683:2;1671:9;1662:7;1658:23;1654:32;1651:119;;;1689:79;;:::i;:::-;1651:119;1809:1;1834:53;1879:7;1870:6;1859:9;1855:22;1834:53;:::i;:::-;1824:63;;1780:117;1936:2;1962:53;2007:7;1998:6;1987:9;1983:22;1962:53;:::i;:::-;1952:63;;1907:118;2064:2;2090:53;2135:7;2126:6;2115:9;2111:22;2090:53;:::i;:::-;2080:63;;2035:118;1541:619;;;;;:::o;2166:1199::-;2277:6;2285;2293;2301;2309;2317;2325;2374:3;2362:9;2353:7;2349:23;2345:33;2342:120;;;2381:79;;:::i;:::-;2342:120;2501:1;2526:53;2571:7;2562:6;2551:9;2547:22;2526:53;:::i;:::-;2516:63;;2472:117;2628:2;2654:53;2699:7;2690:6;2679:9;2675:22;2654:53;:::i;:::-;2644:63;;2599:118;2756:2;2782:53;2827:7;2818:6;2807:9;2803:22;2782:53;:::i;:::-;2772:63;;2727:118;2884:2;2910:53;2955:7;2946:6;2935:9;2931:22;2910:53;:::i;:::-;2900:63;;2855:118;3012:3;3039:51;3082:7;3073:6;3062:9;3058:22;3039:51;:::i;:::-;3029:61;;2983:117;3139:3;3166:53;3211:7;3202:6;3191:9;3187:22;3166:53;:::i;:::-;3156:63;;3110:119;3268:3;3295:53;3340:7;3331:6;3320:9;3316:22;3295:53;:::i;:::-;3285:63;;3239:119;2166:1199;;;;;;;;;;:::o;3371:474::-;3439:6;3447;3496:2;3484:9;3475:7;3471:23;3467:32;3464:119;;;3502:79;;:::i;:::-;3464:119;3622:1;3647:53;3692:7;3683:6;3672:9;3668:22;3647:53;:::i;:::-;3637:63;;3593:117;3749:2;3775:53;3820:7;3811:6;3800:9;3796:22;3775:53;:::i;:::-;3765:63;;3720:118;3371:474;;;;;:::o;3851:1053::-;3953:6;3961;3969;3977;3985;3993;4042:3;4030:9;4021:7;4017:23;4013:33;4010:120;;;4049:79;;:::i;:::-;4010:120;4169:1;4194:53;4239:7;4230:6;4219:9;4215:22;4194:53;:::i;:::-;4184:63;;4140:117;4296:2;4322:53;4367:7;4358:6;4347:9;4343:22;4322:53;:::i;:::-;4312:63;;4267:118;4424:2;4450:53;4495:7;4486:6;4475:9;4471:22;4450:53;:::i;:::-;4440:63;;4395:118;4552:2;4578:51;4621:7;4612:6;4601:9;4597:22;4578:51;:::i;:::-;4568:61;;4523:116;4678:3;4705:53;4750:7;4741:6;4730:9;4726:22;4705:53;:::i;:::-;4695:63;;4649:119;4807:3;4834:53;4879:7;4870:6;4859:9;4855:22;4834:53;:::i;:::-;4824:63;;4778:119;3851:1053;;;;;;;;:::o;4910:472::-;4977:6;4985;5034:2;5022:9;5013:7;5009:23;5005:32;5002:119;;;5040:79;;:::i;:::-;5002:119;5160:1;5185:53;5230:7;5221:6;5210:9;5206:22;5185:53;:::i;:::-;5175:63;;5131:117;5287:2;5313:52;5357:7;5348:6;5337:9;5333:22;5313:52;:::i;:::-;5303:62;;5258:117;4910:472;;;;;:::o;5388:329::-;5447:6;5496:2;5484:9;5475:7;5471:23;5467:32;5464:119;;;5502:79;;:::i;:::-;5464:119;5622:1;5647:53;5692:7;5683:6;5672:9;5668:22;5647:53;:::i;:::-;5637:63;;5593:117;5388:329;;;;:::o;5723:118::-;5810:24;5828:5;5810:24;:::i;:::-;5805:3;5798:37;5723:118;;:::o;5847:109::-;5928:21;5943:5;5928:21;:::i;:::-;5923:3;5916:34;5847:109;;:::o;5962:118::-;6049:24;6067:5;6049:24;:::i;:::-;6044:3;6037:37;5962:118;;:::o;6086:157::-;6191:45;6211:24;6229:5;6211:24;:::i;:::-;6191:45;:::i;:::-;6186:3;6179:58;6086:157;;:::o;6249:364::-;6337:3;6365:39;6398:5;6365:39;:::i;:::-;6420:71;6484:6;6479:3;6420:71;:::i;:::-;6413:78;;6500:52;6545:6;6540:3;6533:4;6526:5;6522:16;6500:52;:::i;:::-;6577:29;6599:6;6577:29;:::i;:::-;6572:3;6568:39;6561:46;;6341:272;6249:364;;;;:::o;6619:366::-;6761:3;6782:67;6846:2;6841:3;6782:67;:::i;:::-;6775:74;;6858:93;6947:3;6858:93;:::i;:::-;6976:2;6971:3;6967:12;6960:19;;6619:366;;;:::o;6991:::-;7133:3;7154:67;7218:2;7213:3;7154:67;:::i;:::-;7147:74;;7230:93;7319:3;7230:93;:::i;:::-;7348:2;7343:3;7339:12;7332:19;;6991:366;;;:::o;7363:::-;7505:3;7526:67;7590:2;7585:3;7526:67;:::i;:::-;7519:74;;7602:93;7691:3;7602:93;:::i;:::-;7720:2;7715:3;7711:12;7704:19;;7363:366;;;:::o;7735:::-;7877:3;7898:67;7962:2;7957:3;7898:67;:::i;:::-;7891:74;;7974:93;8063:3;7974:93;:::i;:::-;8092:2;8087:3;8083:12;8076:19;;7735:366;;;:::o;8107:::-;8249:3;8270:67;8334:2;8329:3;8270:67;:::i;:::-;8263:74;;8346:93;8435:3;8346:93;:::i;:::-;8464:2;8459:3;8455:12;8448:19;;8107:366;;;:::o;8479:::-;8621:3;8642:67;8706:2;8701:3;8642:67;:::i;:::-;8635:74;;8718:93;8807:3;8718:93;:::i;:::-;8836:2;8831:3;8827:12;8820:19;;8479:366;;;:::o;8851:::-;8993:3;9014:67;9078:2;9073:3;9014:67;:::i;:::-;9007:74;;9090:93;9179:3;9090:93;:::i;:::-;9208:2;9203:3;9199:12;9192:19;;8851:366;;;:::o;9223:400::-;9383:3;9404:84;9486:1;9481:3;9404:84;:::i;:::-;9397:91;;9497:93;9586:3;9497:93;:::i;:::-;9615:1;9610:3;9606:11;9599:18;;9223:400;;;:::o;9629:366::-;9771:3;9792:67;9856:2;9851:3;9792:67;:::i;:::-;9785:74;;9868:93;9957:3;9868:93;:::i;:::-;9986:2;9981:3;9977:12;9970:19;;9629:366;;;:::o;10001:::-;10143:3;10164:67;10228:2;10223:3;10164:67;:::i;:::-;10157:74;;10240:93;10329:3;10240:93;:::i;:::-;10358:2;10353:3;10349:12;10342:19;;10001:366;;;:::o;10373:::-;10515:3;10536:67;10600:2;10595:3;10536:67;:::i;:::-;10529:74;;10612:93;10701:3;10612:93;:::i;:::-;10730:2;10725:3;10721:12;10714:19;;10373:366;;;:::o;10745:::-;10887:3;10908:67;10972:2;10967:3;10908:67;:::i;:::-;10901:74;;10984:93;11073:3;10984:93;:::i;:::-;11102:2;11097:3;11093:12;11086:19;;10745:366;;;:::o;11117:::-;11259:3;11280:67;11344:2;11339:3;11280:67;:::i;:::-;11273:74;;11356:93;11445:3;11356:93;:::i;:::-;11474:2;11469:3;11465:12;11458:19;;11117:366;;;:::o;11489:::-;11631:3;11652:67;11716:2;11711:3;11652:67;:::i;:::-;11645:74;;11728:93;11817:3;11728:93;:::i;:::-;11846:2;11841:3;11837:12;11830:19;;11489:366;;;:::o;11861:::-;12003:3;12024:67;12088:2;12083:3;12024:67;:::i;:::-;12017:74;;12100:93;12189:3;12100:93;:::i;:::-;12218:2;12213:3;12209:12;12202:19;;11861:366;;;:::o;12233:::-;12375:3;12396:67;12460:2;12455:3;12396:67;:::i;:::-;12389:74;;12472:93;12561:3;12472:93;:::i;:::-;12590:2;12585:3;12581:12;12574:19;;12233:366;;;:::o;12605:::-;12747:3;12768:67;12832:2;12827:3;12768:67;:::i;:::-;12761:74;;12844:93;12933:3;12844:93;:::i;:::-;12962:2;12957:3;12953:12;12946:19;;12605:366;;;:::o;12977:::-;13119:3;13140:67;13204:2;13199:3;13140:67;:::i;:::-;13133:74;;13216:93;13305:3;13216:93;:::i;:::-;13334:2;13329:3;13325:12;13318:19;;12977:366;;;:::o;13349:::-;13491:3;13512:67;13576:2;13571:3;13512:67;:::i;:::-;13505:74;;13588:93;13677:3;13588:93;:::i;:::-;13706:2;13701:3;13697:12;13690:19;;13349:366;;;:::o;13721:::-;13863:3;13884:67;13948:2;13943:3;13884:67;:::i;:::-;13877:74;;13960:93;14049:3;13960:93;:::i;:::-;14078:2;14073:3;14069:12;14062:19;;13721:366;;;:::o;14093:::-;14235:3;14256:67;14320:2;14315:3;14256:67;:::i;:::-;14249:74;;14332:93;14421:3;14332:93;:::i;:::-;14450:2;14445:3;14441:12;14434:19;;14093:366;;;:::o;14533:517::-;14686:4;14681:3;14677:14;14778:4;14771:5;14767:16;14761:23;14797:61;14852:4;14847:3;14843:14;14829:12;14797:61;:::i;:::-;14701:167;14951:4;14944:5;14940:16;14934:23;14970:63;15027:4;15022:3;15018:14;15004:12;14970:63;:::i;:::-;14878:165;14655:395;14533:517;;:::o;15056:108::-;15133:24;15151:5;15133:24;:::i;:::-;15128:3;15121:37;15056:108;;:::o;15170:118::-;15257:24;15275:5;15257:24;:::i;:::-;15252:3;15245:37;15170:118;;:::o;15294:105::-;15369:23;15386:5;15369:23;:::i;:::-;15364:3;15357:36;15294:105;;:::o;15405:115::-;15490:23;15507:5;15490:23;:::i;:::-;15485:3;15478:36;15405:115;;:::o;15526:112::-;15609:22;15625:5;15609:22;:::i;:::-;15604:3;15597:35;15526:112;;:::o;15644:663::-;15885:3;15907:148;16051:3;15907:148;:::i;:::-;15900:155;;16065:75;16136:3;16127:6;16065:75;:::i;:::-;16165:2;16160:3;16156:12;16149:19;;16178:75;16249:3;16240:6;16178:75;:::i;:::-;16278:2;16273:3;16269:12;16262:19;;16298:3;16291:10;;15644:663;;;;;:::o;16313:222::-;16406:4;16444:2;16433:9;16429:18;16421:26;;16457:71;16525:1;16514:9;16510:17;16501:6;16457:71;:::i;:::-;16313:222;;;;:::o;16541:210::-;16628:4;16666:2;16655:9;16651:18;16643:26;;16679:65;16741:1;16730:9;16726:17;16717:6;16679:65;:::i;:::-;16541:210;;;;:::o;16757:222::-;16850:4;16888:2;16877:9;16873:18;16865:26;;16901:71;16969:1;16958:9;16954:17;16945:6;16901:71;:::i;:::-;16757:222;;;;:::o;16985:775::-;17218:4;17256:3;17245:9;17241:19;17233:27;;17270:71;17338:1;17327:9;17323:17;17314:6;17270:71;:::i;:::-;17351:72;17419:2;17408:9;17404:18;17395:6;17351:72;:::i;:::-;17433;17501:2;17490:9;17486:18;17477:6;17433:72;:::i;:::-;17515;17583:2;17572:9;17568:18;17559:6;17515:72;:::i;:::-;17597:73;17665:3;17654:9;17650:19;17641:6;17597:73;:::i;:::-;17680;17748:3;17737:9;17733:19;17724:6;17680:73;:::i;:::-;16985:775;;;;;;;;;:::o;17766:553::-;17943:4;17981:3;17970:9;17966:19;17958:27;;17995:71;18063:1;18052:9;18048:17;18039:6;17995:71;:::i;:::-;18076:72;18144:2;18133:9;18129:18;18120:6;18076:72;:::i;:::-;18158;18226:2;18215:9;18211:18;18202:6;18158:72;:::i;:::-;18240;18308:2;18297:9;18293:18;18284:6;18240:72;:::i;:::-;17766:553;;;;;;;:::o;18325:664::-;18530:4;18568:3;18557:9;18553:19;18545:27;;18582:71;18650:1;18639:9;18635:17;18626:6;18582:71;:::i;:::-;18663:72;18731:2;18720:9;18716:18;18707:6;18663:72;:::i;:::-;18745;18813:2;18802:9;18798:18;18789:6;18745:72;:::i;:::-;18827;18895:2;18884:9;18880:18;18871:6;18827:72;:::i;:::-;18909:73;18977:3;18966:9;18962:19;18953:6;18909:73;:::i;:::-;18325:664;;;;;;;;:::o;18995:545::-;19168:4;19206:3;19195:9;19191:19;19183:27;;19220:71;19288:1;19277:9;19273:17;19264:6;19220:71;:::i;:::-;19301:68;19365:2;19354:9;19350:18;19341:6;19301:68;:::i;:::-;19379:72;19447:2;19436:9;19432:18;19423:6;19379:72;:::i;:::-;19461;19529:2;19518:9;19514:18;19505:6;19461:72;:::i;:::-;18995:545;;;;;;;:::o;19546:313::-;19659:4;19697:2;19686:9;19682:18;19674:26;;19746:9;19740:4;19736:20;19732:1;19721:9;19717:17;19710:47;19774:78;19847:4;19838:6;19774:78;:::i;:::-;19766:86;;19546:313;;;;:::o;19865:419::-;20031:4;20069:2;20058:9;20054:18;20046:26;;20118:9;20112:4;20108:20;20104:1;20093:9;20089:17;20082:47;20146:131;20272:4;20146:131;:::i;:::-;20138:139;;19865:419;;;:::o;20290:::-;20456:4;20494:2;20483:9;20479:18;20471:26;;20543:9;20537:4;20533:20;20529:1;20518:9;20514:17;20507:47;20571:131;20697:4;20571:131;:::i;:::-;20563:139;;20290:419;;;:::o;20715:::-;20881:4;20919:2;20908:9;20904:18;20896:26;;20968:9;20962:4;20958:20;20954:1;20943:9;20939:17;20932:47;20996:131;21122:4;20996:131;:::i;:::-;20988:139;;20715:419;;;:::o;21140:::-;21306:4;21344:2;21333:9;21329:18;21321:26;;21393:9;21387:4;21383:20;21379:1;21368:9;21364:17;21357:47;21421:131;21547:4;21421:131;:::i;:::-;21413:139;;21140:419;;;:::o;21565:::-;21731:4;21769:2;21758:9;21754:18;21746:26;;21818:9;21812:4;21808:20;21804:1;21793:9;21789:17;21782:47;21846:131;21972:4;21846:131;:::i;:::-;21838:139;;21565:419;;;:::o;21990:::-;22156:4;22194:2;22183:9;22179:18;22171:26;;22243:9;22237:4;22233:20;22229:1;22218:9;22214:17;22207:47;22271:131;22397:4;22271:131;:::i;:::-;22263:139;;21990:419;;;:::o;22415:::-;22581:4;22619:2;22608:9;22604:18;22596:26;;22668:9;22662:4;22658:20;22654:1;22643:9;22639:17;22632:47;22696:131;22822:4;22696:131;:::i;:::-;22688:139;;22415:419;;;:::o;22840:::-;23006:4;23044:2;23033:9;23029:18;23021:26;;23093:9;23087:4;23083:20;23079:1;23068:9;23064:17;23057:47;23121:131;23247:4;23121:131;:::i;:::-;23113:139;;22840:419;;;:::o;23265:::-;23431:4;23469:2;23458:9;23454:18;23446:26;;23518:9;23512:4;23508:20;23504:1;23493:9;23489:17;23482:47;23546:131;23672:4;23546:131;:::i;:::-;23538:139;;23265:419;;;:::o;23690:::-;23856:4;23894:2;23883:9;23879:18;23871:26;;23943:9;23937:4;23933:20;23929:1;23918:9;23914:17;23907:47;23971:131;24097:4;23971:131;:::i;:::-;23963:139;;23690:419;;;:::o;24115:::-;24281:4;24319:2;24308:9;24304:18;24296:26;;24368:9;24362:4;24358:20;24354:1;24343:9;24339:17;24332:47;24396:131;24522:4;24396:131;:::i;:::-;24388:139;;24115:419;;;:::o;24540:::-;24706:4;24744:2;24733:9;24729:18;24721:26;;24793:9;24787:4;24783:20;24779:1;24768:9;24764:17;24757:47;24821:131;24947:4;24821:131;:::i;:::-;24813:139;;24540:419;;;:::o;24965:::-;25131:4;25169:2;25158:9;25154:18;25146:26;;25218:9;25212:4;25208:20;25204:1;25193:9;25189:17;25182:47;25246:131;25372:4;25246:131;:::i;:::-;25238:139;;24965:419;;;:::o;25390:::-;25556:4;25594:2;25583:9;25579:18;25571:26;;25643:9;25637:4;25633:20;25629:1;25618:9;25614:17;25607:47;25671:131;25797:4;25671:131;:::i;:::-;25663:139;;25390:419;;;:::o;25815:::-;25981:4;26019:2;26008:9;26004:18;25996:26;;26068:9;26062:4;26058:20;26054:1;26043:9;26039:17;26032:47;26096:131;26222:4;26096:131;:::i;:::-;26088:139;;25815:419;;;:::o;26240:::-;26406:4;26444:2;26433:9;26429:18;26421:26;;26493:9;26487:4;26483:20;26479:1;26468:9;26464:17;26457:47;26521:131;26647:4;26521:131;:::i;:::-;26513:139;;26240:419;;;:::o;26665:::-;26831:4;26869:2;26858:9;26854:18;26846:26;;26918:9;26912:4;26908:20;26904:1;26893:9;26889:17;26882:47;26946:131;27072:4;26946:131;:::i;:::-;26938:139;;26665:419;;;:::o;27090:::-;27256:4;27294:2;27283:9;27279:18;27271:26;;27343:9;27337:4;27333:20;27329:1;27318:9;27314:17;27307:47;27371:131;27497:4;27371:131;:::i;:::-;27363:139;;27090:419;;;:::o;27515:::-;27681:4;27719:2;27708:9;27704:18;27696:26;;27768:9;27762:4;27758:20;27754:1;27743:9;27739:17;27732:47;27796:131;27922:4;27796:131;:::i;:::-;27788:139;;27515:419;;;:::o;27940:::-;28106:4;28144:2;28133:9;28129:18;28121:26;;28193:9;28187:4;28183:20;28179:1;28168:9;28164:17;28157:47;28221:131;28347:4;28221:131;:::i;:::-;28213:139;;27940:419;;;:::o;28365:334::-;28514:4;28552:2;28541:9;28537:18;28529:26;;28565:127;28689:1;28678:9;28674:17;28665:6;28565:127;:::i;:::-;28365:334;;;;:::o;28705:222::-;28798:4;28836:2;28825:9;28821:18;28813:26;;28849:71;28917:1;28906:9;28902:17;28893:6;28849:71;:::i;:::-;28705:222;;;;:::o;28933:332::-;29054:4;29092:2;29081:9;29077:18;29069:26;;29105:71;29173:1;29162:9;29158:17;29149:6;29105:71;:::i;:::-;29186:72;29254:2;29243:9;29239:18;29230:6;29186:72;:::i;:::-;28933:332;;;;;:::o;29271:218::-;29362:4;29400:2;29389:9;29385:18;29377:26;;29413:69;29479:1;29468:9;29464:17;29455:6;29413:69;:::i;:::-;29271:218;;;;:::o;29495:214::-;29584:4;29622:2;29611:9;29607:18;29599:26;;29635:67;29699:1;29688:9;29684:17;29675:6;29635:67;:::i;:::-;29495:214;;;;:::o;29796:99::-;29848:6;29882:5;29876:12;29866:22;;29796:99;;;:::o;29901:169::-;29985:11;30019:6;30014:3;30007:19;30059:4;30054:3;30050:14;30035:29;;29901:169;;;;:::o;30076:148::-;30178:11;30215:3;30200:18;;30076:148;;;;:::o;30230:305::-;30270:3;30289:20;30307:1;30289:20;:::i;:::-;30284:25;;30323:20;30341:1;30323:20;:::i;:::-;30318:25;;30477:1;30409:66;30405:74;30402:1;30399:81;30396:107;;;30483:18;;:::i;:::-;30396:107;30527:1;30524;30520:9;30513:16;;30230:305;;;;:::o;30541:185::-;30581:1;30598:20;30616:1;30598:20;:::i;:::-;30593:25;;30632:20;30650:1;30632:20;:::i;:::-;30627:25;;30671:1;30661:35;;30676:18;;:::i;:::-;30661:35;30718:1;30715;30711:9;30706:14;;30541:185;;;;:::o;30732:191::-;30772:4;30792:20;30810:1;30792:20;:::i;:::-;30787:25;;30826:20;30844:1;30826:20;:::i;:::-;30821:25;;30865:1;30862;30859:8;30856:34;;;30870:18;;:::i;:::-;30856:34;30915:1;30912;30908:9;30900:17;;30732:191;;;;:::o;30929:96::-;30966:7;30995:24;31013:5;30995:24;:::i;:::-;30984:35;;30929:96;;;:::o;31031:90::-;31065:7;31108:5;31101:13;31094:21;31083:32;;31031:90;;;:::o;31127:77::-;31164:7;31193:5;31182:16;;31127:77;;;:::o;31210:126::-;31247:7;31287:42;31280:5;31276:54;31265:65;;31210:126;;;:::o;31342:142::-;31379:7;31419:58;31412:5;31408:70;31397:81;;31342:142;;;:::o;31490:77::-;31527:7;31556:5;31545:16;;31490:77;;;:::o;31573:93::-;31609:7;31649:10;31642:5;31638:22;31627:33;;31573:93;;;:::o;31672:86::-;31707:7;31747:4;31740:5;31736:16;31725:27;;31672:86;;;:::o;31764:307::-;31832:1;31842:113;31856:6;31853:1;31850:13;31842:113;;;31941:1;31936:3;31932:11;31926:18;31922:1;31917:3;31913:11;31906:39;31878:2;31875:1;31871:10;31866:15;;31842:113;;;31973:6;31970:1;31967:13;31964:101;;;32053:1;32044:6;32039:3;32035:16;32028:27;31964:101;31813:258;31764:307;;;:::o;32077:320::-;32121:6;32158:1;32152:4;32148:12;32138:22;;32205:1;32199:4;32195:12;32226:18;32216:81;;32282:4;32274:6;32270:17;32260:27;;32216:81;32344:2;32336:6;32333:14;32313:18;32310:38;32307:84;;;32363:18;;:::i;:::-;32307:84;32128:269;32077:320;;;:::o;32403:79::-;32442:7;32471:5;32460:16;;32403:79;;;:::o;32488:180::-;32536:77;32533:1;32526:88;32633:4;32630:1;32623:15;32657:4;32654:1;32647:15;32674:180;32722:77;32719:1;32712:88;32819:4;32816:1;32809:15;32843:4;32840:1;32833:15;32860:180;32908:77;32905:1;32898:88;33005:4;33002:1;32995:15;33029:4;33026:1;33019:15;33046:180;33094:77;33091:1;33084:88;33191:4;33188:1;33181:15;33215:4;33212:1;33205:15;33232:180;33280:77;33277:1;33270:88;33377:4;33374:1;33367:15;33401:4;33398:1;33391:15;33541:117;33650:1;33647;33640:12;33664:102;33705:6;33756:2;33752:7;33747:2;33740:5;33736:14;33732:28;33722:38;;33664:102;;;:::o;33772:174::-;33912:26;33908:1;33900:6;33896:14;33889:50;33772:174;:::o;33952:222::-;34092:34;34088:1;34080:6;34076:14;34069:58;34161:5;34156:2;34148:6;34144:15;34137:30;33952:222;:::o;34180:181::-;34320:33;34316:1;34308:6;34304:14;34297:57;34180:181;:::o;34367:179::-;34507:31;34503:1;34495:6;34491:14;34484:55;34367:179;:::o;34552:181::-;34692:33;34688:1;34680:6;34676:14;34669:57;34552:181;:::o;34739:175::-;34879:27;34875:1;34867:6;34863:14;34856:51;34739:175;:::o;34920:221::-;35060:34;35056:1;35048:6;35044:14;35037:58;35129:4;35124:2;35116:6;35112:15;35105:29;34920:221;:::o;35147:214::-;35287:66;35283:1;35275:6;35271:14;35264:90;35147:214;:::o;35367:179::-;35507:31;35503:1;35495:6;35491:14;35484:55;35367:179;:::o;35552:::-;35692:31;35688:1;35680:6;35676:14;35669:55;35552:179;:::o;35737:225::-;35877:34;35873:1;35865:6;35861:14;35854:58;35946:8;35941:2;35933:6;35929:15;35922:33;35737:225;:::o;35968:221::-;36108:34;36104:1;36096:6;36092:14;36085:58;36177:4;36172:2;36164:6;36160:15;36153:29;35968:221;:::o;36195:::-;36335:34;36331:1;36323:6;36319:14;36312:58;36404:4;36399:2;36391:6;36387:15;36380:29;36195:221;:::o;36422:180::-;36562:32;36558:1;36550:6;36546:14;36539:56;36422:180;:::o;36608:235::-;36748:34;36744:1;36736:6;36732:14;36725:58;36817:18;36812:2;36804:6;36800:15;36793:43;36608:235;:::o;36849:226::-;36989:34;36985:1;36977:6;36973:14;36966:58;37058:9;37053:2;37045:6;37041:15;37034:34;36849:226;:::o;37081:224::-;37221:34;37217:1;37209:6;37205:14;37198:58;37290:7;37285:2;37277:6;37273:15;37266:32;37081:224;:::o;37311:225::-;37451:34;37447:1;37439:6;37435:14;37428:58;37520:8;37515:2;37507:6;37503:15;37496:33;37311:225;:::o;37542:223::-;37682:34;37678:1;37670:6;37666:14;37659:58;37751:6;37746:2;37738:6;37734:15;37727:31;37542:223;:::o;37771:224::-;37911:34;37907:1;37899:6;37895:14;37888:58;37980:7;37975:2;37967:6;37963:15;37956:32;37771:224;:::o;38001:181::-;38141:33;38137:1;38129:6;38125:14;38118:57;38001:181;:::o;38188:122::-;38261:24;38279:5;38261:24;:::i;:::-;38254:5;38251:35;38241:63;;38300:1;38297;38290:12;38241:63;38188:122;:::o;38316:::-;38389:24;38407:5;38389:24;:::i;:::-;38382:5;38379:35;38369:63;;38428:1;38425;38418:12;38369:63;38316:122;:::o;38444:::-;38517:24;38535:5;38517:24;:::i;:::-;38510:5;38507:35;38497:63;;38556:1;38553;38546:12;38497:63;38444:122;:::o;38572:120::-;38644:23;38661:5;38644:23;:::i;:::-;38637:5;38634:34;38624:62;;38682:1;38679;38672:12;38624:62;38572:120;:::o;38698:118::-;38769:22;38785:5;38769:22;:::i;:::-;38762:5;38759:33;38749:61;;38806:1;38803;38796:12;38749:61;38698:118;:::o
Swarm Source
ipfs://2acc7e43c292382ae0971320c425b6f8bb9cf5d6d2a87889f5f194a3fe3d0bae
Loading...
Loading
Loading...
Loading
OVERVIEW
Orbital is a network of blockchain networks, solve the problems of real-world utility, performance and security. The choice of consensus protocol (PoA or PoS) and a REST API library makes Orbital easy to integrate with popular client user interfaces or into existing workflows.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.