ERC-20
DeFi
Overview
Max Total Supply
100,000,000 BIGCAP
Holders
206 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.0200000000002457 BIGCAPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BIGCAP
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-29 */ // File: contracts/IUniswapV2Router01.sol pragma solidity ^0.8.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: contracts/IUniswapV2Router02.sol pragma solidity ^0.8.0; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } // File: contracts/IUniswapV2Factory.sol pragma solidity 0.8.13; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: @openzeppelin/contracts/utils/math/SafeCast.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. 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 downcasted) { downcasted = int248(value); require(downcasted == value, "SafeCast: value doesn't fit in 248 bits"); } /** * @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 downcasted) { downcasted = int240(value); require(downcasted == value, "SafeCast: value doesn't fit in 240 bits"); } /** * @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 downcasted) { downcasted = int232(value); require(downcasted == value, "SafeCast: value doesn't fit in 232 bits"); } /** * @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 downcasted) { downcasted = int224(value); require(downcasted == value, "SafeCast: value doesn't fit in 224 bits"); } /** * @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 downcasted) { downcasted = int216(value); require(downcasted == value, "SafeCast: value doesn't fit in 216 bits"); } /** * @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 downcasted) { downcasted = int208(value); require(downcasted == value, "SafeCast: value doesn't fit in 208 bits"); } /** * @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 downcasted) { downcasted = int200(value); require(downcasted == value, "SafeCast: value doesn't fit in 200 bits"); } /** * @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 downcasted) { downcasted = int192(value); require(downcasted == value, "SafeCast: value doesn't fit in 192 bits"); } /** * @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 downcasted) { downcasted = int184(value); require(downcasted == value, "SafeCast: value doesn't fit in 184 bits"); } /** * @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 downcasted) { downcasted = int176(value); require(downcasted == value, "SafeCast: value doesn't fit in 176 bits"); } /** * @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 downcasted) { downcasted = int168(value); require(downcasted == value, "SafeCast: value doesn't fit in 168 bits"); } /** * @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 downcasted) { downcasted = int160(value); require(downcasted == value, "SafeCast: value doesn't fit in 160 bits"); } /** * @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 downcasted) { downcasted = int152(value); require(downcasted == value, "SafeCast: value doesn't fit in 152 bits"); } /** * @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 downcasted) { downcasted = int144(value); require(downcasted == value, "SafeCast: value doesn't fit in 144 bits"); } /** * @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 downcasted) { downcasted = int136(value); require(downcasted == value, "SafeCast: value doesn't fit in 136 bits"); } /** * @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 downcasted) { downcasted = int128(value); require(downcasted == value, "SafeCast: value doesn't fit in 128 bits"); } /** * @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 downcasted) { downcasted = int120(value); require(downcasted == value, "SafeCast: value doesn't fit in 120 bits"); } /** * @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 downcasted) { downcasted = int112(value); require(downcasted == value, "SafeCast: value doesn't fit in 112 bits"); } /** * @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 downcasted) { downcasted = int104(value); require(downcasted == value, "SafeCast: value doesn't fit in 104 bits"); } /** * @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 downcasted) { downcasted = int96(value); require(downcasted == value, "SafeCast: value doesn't fit in 96 bits"); } /** * @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 downcasted) { downcasted = int88(value); require(downcasted == value, "SafeCast: value doesn't fit in 88 bits"); } /** * @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 downcasted) { downcasted = int80(value); require(downcasted == value, "SafeCast: value doesn't fit in 80 bits"); } /** * @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 downcasted) { downcasted = int72(value); require(downcasted == value, "SafeCast: value doesn't fit in 72 bits"); } /** * @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 downcasted) { downcasted = int64(value); require(downcasted == value, "SafeCast: value doesn't fit in 64 bits"); } /** * @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 downcasted) { downcasted = int56(value); require(downcasted == value, "SafeCast: value doesn't fit in 56 bits"); } /** * @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 downcasted) { downcasted = int48(value); require(downcasted == value, "SafeCast: value doesn't fit in 48 bits"); } /** * @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 downcasted) { downcasted = int40(value); require(downcasted == value, "SafeCast: value doesn't fit in 40 bits"); } /** * @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 downcasted) { downcasted = int32(value); require(downcasted == value, "SafeCast: value doesn't fit in 32 bits"); } /** * @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 downcasted) { downcasted = int24(value); require(downcasted == value, "SafeCast: value doesn't fit in 24 bits"); } /** * @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 downcasted) { downcasted = int16(value); require(downcasted == value, "SafeCast: value doesn't fit in 16 bits"); } /** * @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 downcasted) { downcasted = int8(value); require(downcasted == value, "SafeCast: value doesn't fit in 8 bits"); } /** * @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/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/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/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/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.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. If 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)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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] = _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/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.8.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 // Deprecated in v4.8 } 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"); } } /** * @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) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @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 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/utils/cryptography/EIP712.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/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/utils/StorageSlot.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } } // File: @openzeppelin/contracts/utils/Arrays.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { using StorageSlot for bytes32; /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (unsafeAccess(array, mid).value > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && unsafeAccess(array, low - 1).value == element) { return low - 1; } else { return low; } } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getAddressSlot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getBytes32Slot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getUint256Slot(); } } // File: @openzeppelin/contracts/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/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/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/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/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.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.openzeppelin.com/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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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/token/ERC20/extensions/draft-ERC20Permit.sol // OpenZeppelin Contracts (last updated v4.8.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/token/ERC20/extensions/ERC20Votes.sol // OpenZeppelin Contracts (last updated v4.8.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`. // // Initially we check if the block is recent to narrow the search range. // 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 length = ckpts.length; uint256 low = 0; uint256 high = length; if (length > 5) { uint256 mid = length - Math.sqrt(length); if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } return high == 0 ? 0 : _unsafeAccess(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 {IVotes-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 {IVotes-DelegateChanged} and {IVotes-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; Checkpoint memory oldCkpt = pos == 0 ? Checkpoint(0, 0) : _unsafeAccess(ckpts, pos - 1); oldWeight = oldCkpt.votes; newWeight = op(oldWeight, delta); if (pos > 0 && oldCkpt.fromBlock == block.number) { _unsafeAccess(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; } function _unsafeAccess(Checkpoint[] storage ckpts, uint256 pos) private pure returns (Checkpoint storage result) { assembly { mstore(0, ckpts.slot) result.slot := add(keccak256(0, 0x20), pos) } } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.0; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minime/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: contracts/bigcap.sol pragma solidity >0.8.0; pragma experimental ABIEncoderV2; contract BIGCAP is Ownable, ERC20, ERC20Burnable, ERC20Permit, ERC20Votes, ERC20Snapshot { // 5% Treasury Tax uint256 public treasuryFeeBPS = 500; // 1% Operations Tax uint256 public operationsFeeBPS = 100; // 6% Total uint256 public totalFeeBPS = 600; // Prevent small transactions from triggering swaps uint256 public swapTokensAtAmount = 100000 * (10**18); uint256 public lastSwapTime; uint8 public lastSwap; bool public treasuryTaxEnabled = true; bool public operationsTaxEnabled = true; // Reentracy protection on swaps bool private swapping; uint256 private treasuryTokens; uint256 private operationsTokens; address treasuryAddress; address operationsAddress; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public automatedMarketMakerPairs; mapping(address => bool) public _blacklist; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event TreasuryTaxDisabled(); event OperationsTaxDisabled(); event TreasuryTaxPaid(); event OperationsTaxPaid(); event LogErrorString(string message); event WalletsUpdated( address indexed treasuryAddress, address indexed operationsAddress ); IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; constructor(address _treasuryAddress, address _operationsAddress, address _uniswapRouterAddress) ERC20("BIGCAP", "BIGCAP") ERC20Permit("BIGCAP") { treasuryAddress = _treasuryAddress; operationsAddress = _operationsAddress; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_uniswapRouterAddress); // 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; automatedMarketMakerPairs[_uniswapV2Pair] = true; _isExcludedFromFees[msg.sender] = true; _isExcludedFromFees[address(this)] = true; super._mint(msg.sender, 100000000 * (10**18)); } receive() external payable {} function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override(ERC20, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } function _afterTokenTransfer( address from, address to, uint256 amount ) internal override(ERC20, ERC20Votes) { super._afterTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._mint(account, amount); } function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._burn(account, amount); } function _transfer( address sender, address recipient, uint256 amount ) internal override { require(!_blacklist[sender], "BIGCAP: Sender is _blacklisted"); require(!_blacklist[recipient], "BIGCAP: Recipient is _blacklisted"); require(sender != address(0), "BIGCAP: transfer from the zero address"); require( recipient != address(0), "BIGCAP: transfer to the zero address" ); uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( treasuryTaxEnabled && canSwap && !swapping && !automatedMarketMakerPairs[sender] && sender != address(uniswapV2Router) && sender != owner() && recipient != owner() ) { swapping = true; _executeSwap(); swapping = false; } bool takeFee; if ( sender == address(uniswapV2Pair) || recipient == address(uniswapV2Pair) ) { takeFee = true; } if ( _isExcludedFromFees[sender] || _isExcludedFromFees[recipient] || swapping || !treasuryTaxEnabled ) { takeFee = false; } if (takeFee) { uint256 fees; if (treasuryTaxEnabled) { fees += (amount * treasuryFeeBPS) / 10000; treasuryTokens += (amount * treasuryFeeBPS) / 10000; } if (operationsTaxEnabled) { fees += (amount * operationsFeeBPS) / 10000; operationsTokens += (amount * operationsFeeBPS) / 10000; } amount -= fees; super._transfer(sender, address(this), fees); } super._transfer(sender, recipient, amount); } function swapTokensForNative(uint256 tokens) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokens); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokens, 0, // accept any amount of native path, address(this), block.timestamp ); } function _executeSwap() private { if (operationsTaxEnabled && lastSwap != 1) { swapTokensForNative(operationsTokens); operationsTokens = 0; lastSwap = 1; (bool success, ) = payable(operationsAddress).call{value: address(this).balance}(""); if (!success) { emit LogErrorString("BIGCAP: Operations failed to receive native"); } else { emit OperationsTaxPaid(); } } else if (treasuryTaxEnabled) { swapTokensForNative(treasuryTokens); treasuryTokens = 0; lastSwap = 0; (bool success, ) = payable(treasuryAddress).call{value: address(this).balance}(""); if (!success) { emit LogErrorString("BIGCAP: Treasury failed to receive native"); } else { emit TreasuryTaxPaid(); } } } function excludeFromFees(address account, bool excluded) public onlyOwner { require( _isExcludedFromFees[account] != excluded, "BIGCAP: account is already set to requested state" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateWallets( address payable _treasuryAddress, address payable _operationsAddress ) external onlyOwner { treasuryAddress = _treasuryAddress; operationsAddress = _operationsAddress; emit WalletsUpdated(_treasuryAddress, _operationsAddress); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "BIGCAP: DEX pair can not be removed"); require( automatedMarketMakerPairs[pair] != value, "BIGCAP: automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "BIGCAP: the router is already set to the new address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } /** Permanently disable treasury tax. Stops both tax collection and swapping. */ function disableTreasuryTax() external onlyOwner { require(treasuryTaxEnabled, "BIGCAP: Treasury Tax already disabled"); treasuryTaxEnabled = false; emit TreasuryTaxDisabled(); } /** Permanently disable operations tax. Stops both tax collection and swapping. */ function disableOperationsTax() external onlyOwner { require(operationsTaxEnabled, "BIGCAP: Operation Tax already disabled"); operationsTaxEnabled = false; emit OperationsTaxDisabled(); } /** Emergency recover tokens mistakenly sent to the contract address. */ function rescueToken(address _token, uint256 _amount) external onlyOwner { IERC20(_token).transfer(msg.sender, _amount); } /** Emergency recover native mistakenly sent to the contract address. */ function rescueETH(uint256 _amount) external onlyOwner { payable(msg.sender).transfer(_amount); } function _blacklistAddress(address _user) public onlyOwner { require(!_blacklist[_user], "BIGCAP: user already _blacklisted"); _blacklist[_user] = true; // events? } function removeFromBlacklist(address _user) public onlyOwner { require(_blacklist[_user], "BIGCAP: user already whitelisted"); _blacklist[_user] = false; //events? } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"},{"internalType":"address","name":"_operationsAddress","type":"address"},{"internalType":"address","name":"_uniswapRouterAddress","type":"address"}],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"LogErrorString","type":"event"},{"anonymous":false,"inputs":[],"name":"OperationsTaxDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"OperationsTaxPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"TreasuryTaxDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"TreasuryTaxPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"treasuryAddress","type":"address"},{"indexed":true,"internalType":"address","name":"operationsAddress","type":"address"}],"name":"WalletsUpdated","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"_blacklistAddress","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"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":[],"name":"disableOperationsTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTreasuryTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwap","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsTaxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryTaxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasuryAddress","type":"address"},{"internalType":"address payable","name":"_operationsAddress","type":"address"}],"name":"updateWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101406040526101f4600f55606460105561025860115569152d02c7e14af68000006012556014805462ffff001916620101001790553480156200004257600080fd5b506040516200484838038062004848833981016040819052620000659162000c3d565b6040518060400160405280600681526020016504249474341560d41b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600681526020016504249474341560d41b8152506040518060400160405280600681526020016504249474341560d41b815250620000f7620000f1620003d860201b60201c565b620003dc565b81516200010c90600490602085019062000b89565b5080516200012290600590602084019062000b89565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060c052610120525050601780546001600160a01b038881166001600160a01b0319928316179092556018805488841692169190911790556040805163c45a015560e01b8152905186955060009450918516925063c45a01559160048083019260209291908290030181865afa15801562000229573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024f919062000c87565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000c87565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000311573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000337919062000c87565b601c80546001600160a01b038086166001600160a01b031992831617909255601d805492841692909116821790556000908152601a60209081526040808320805460ff1990811660019081179092553380865260198552838620805483168417905530865292909420805490941617909255919250620003cd916a52b7d2dcc80cd2e400000090620019f96200042c821b17901c565b505050505062000d42565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620004438282620004e360201b62001a891760201c565b6001600160e01b0362000457620005c48216565b1115620004c45760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b620004dd600a62001b5e620005ca60201b1783620005df565b50505050565b6001600160a01b0382166200053b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004bb565b620005496000838362000771565b80600360008282546200055d919062000cbb565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620005c0600083836200078e565b5050565b60035490565b6000620005d8828462000cbb565b9392505050565b825460009081908181156200063f576200060e876200060060018562000cd6565b600091825260209091200190565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015262000654565b60408051808201909152600080825260208201525b905080602001516001600160e01b031693506200067284868860201c565b92506000821180156200068b5750805163ffffffff1643145b15620006e257620006a783620007a660201b62001b6a1760201c565b620006b9886200060060018662000cd6565b80546001600160e01b03929092166401000000000263ffffffff90921691909117905562000767565b86604051806040016040528062000704436200081560201b62001bd71760201c565b63ffffffff1681526020016200072586620007a660201b62001b6a1760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b620007898383836200087c60201b62001c3c1760201c565b505050565b62000789838383620008e860201b62001c841760201c565b60006001600160e01b03821115620008115760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401620004bb565b5090565b600063ffffffff821115620008115760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401620004bb565b620008948383836200078960201b62000b461760201c565b6001600160a01b038316620008b857620008ae8262000934565b620007896200096d565b6001600160a01b038216620008d257620008ae8362000934565b620008dd8362000934565b620007898262000934565b620009008383836200078960201b62000b461760201c565b6001600160a01b0383811660009081526008602052604080822054858416835291205462000789929182169116836200097f565b6001600160a01b0381166000908152600b602090815260408083206001909252909120546200096a919062000aba565b62000aba565b50565b6200097d600c6200096460035490565b565b816001600160a01b0316836001600160a01b031614158015620009a25750600081115b1562000789576001600160a01b0383161562000a2f576001600160a01b038316600090815260096020908152604082208291620009ec919062000b09901b62001cb61785620005df565b91509150846001600160a01b031660008051602062004828833981519152838360405162000a24929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161562000789576001600160a01b03821660009081526009602090815260408220829162000a739190620005ca901b62001b5e1785620005df565b91509150836001600160a01b031660008051602062004828833981519152838360405162000aab929190918252602082015260400190565b60405180910390a25050505050565b600062000ac662000b17565b90508062000ad48462000b35565b101562000789578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620005d8828462000cd6565b600062000b30600e62000b8560201b62001cc21760201c565b905090565b8054600090810362000b4957506000919050565b8154829062000b5b9060019062000cd6565b8154811062000b6e5762000b6e62000cf0565b90600052602060002001549050919050565b919050565b5490565b82805462000b979062000d06565b90600052602060002090601f01602090048101928262000bbb576000855562000c06565b82601f1062000bd657805160ff191683800117855562000c06565b8280016001018555821562000c06579182015b8281111562000c0657825182559160200191906001019062000be9565b50620008119291505b8082111562000811576000815560010162000c0f565b80516001600160a01b038116811462000b8057600080fd5b60008060006060848603121562000c5357600080fd5b62000c5e8462000c25565b925062000c6e6020850162000c25565b915062000c7e6040850162000c25565b90509250925092565b60006020828403121562000c9a57600080fd5b620005d88262000c25565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000cd15762000cd162000ca5565b500190565b60008282101562000ceb5762000ceb62000ca5565b500390565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062000d1b57607f821691505b60208210810362000d3c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051613a9662000d926000396000612374015260006123c30152600061239e015260006122f7015260006123210152600061234b0152613a966000f3fe6080604052600436106103025760003560e01c806370a0823111610190578063a9059cbb116100dc578063d88b94d011610095578063e2f456051161006f578063e2f456051461095d578063e8ba854f14610973578063f1127ed814610993578063f2fde38b146109dd57600080fd5b8063d88b94d0146108fe578063dd53d34d1461091d578063dd62ed3e1461093d57600080fd5b8063a9059cbb14610839578063b62496f514610859578063bd34a94114610889578063c02466681461089e578063c3cda520146108be578063d505accf146108de57600080fd5b806395d89b41116101495780639ab24eb0116101235780639ab24eb0146107a95780639e252f00146107c9578063a20623ce146107e9578063a457c2d71461081957600080fd5b806395d89b4114610754578063981b24d0146107695780639a7a23d61461078957600080fd5b806370a082311461068b578063715018a6146106c157806379cc6790146106d65780637ecebe00146106f65780638da5cb5b146107165780638e539e8c1461073457600080fd5b806342966c681161024f57806357049bdd1161020857806359898f81116101e257806359898f81146106015780635c19a95c1461061657806365b8dbc0146106365780636fcfff451461065657600080fd5b806357049bdd1461059c578063587cde1e146105b25780635937ea6c146105eb57600080fd5b806342966c68146104c357806349797fbf146104e357806349bd5a5e146105035780634ee2cd7e146105235780634fbee19314610543578063537df3b61461057c57600080fd5b806323b872dd116102bc5780633644e515116102965780633644e5151461045857806337eb15281461046d57806339509351146104835780633a46b1a8146104a357600080fd5b806323b872dd14610402578063313ce5671461042257806333f3d6281461043657600080fd5b8062ff2d441461030e57806306fdde031461033f578063095ea7b3146103615780630dd87157146103915780631694505e146103b557806318160ddd146103ed57600080fd5b3661030957005b600080fd5b34801561031a57600080fd5b506014546103289060ff1681565b60405160ff90911681526020015b60405180910390f35b34801561034b57600080fd5b506103546109fd565b6040516103369190613627565b34801561036d57600080fd5b5061038161037c366004613691565b610a8f565b6040519015158152602001610336565b34801561039d57600080fd5b506103a760135481565b604051908152602001610336565b3480156103c157600080fd5b50601c546103d5906001600160a01b031681565b6040516001600160a01b039091168152602001610336565b3480156103f957600080fd5b506003546103a7565b34801561040e57600080fd5b5061038161041d3660046136bd565b610aa9565b34801561042e57600080fd5b506012610328565b34801561044257600080fd5b50610456610451366004613691565b610acd565b005b34801561046457600080fd5b506103a7610b4b565b34801561047957600080fd5b506103a760115481565b34801561048f57600080fd5b5061038161049e366004613691565b610b5a565b3480156104af57600080fd5b506103a76104be366004613691565b610b7c565b3480156104cf57600080fd5b506104566104de3660046136fe565b610bfb565b3480156104ef57600080fd5b506104566104fe366004613717565b610c08565b34801561050f57600080fd5b50601d546103d5906001600160a01b031681565b34801561052f57600080fd5b506103a761053e366004613691565b610ca7565b34801561054f57600080fd5b5061038161055e366004613717565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561058857600080fd5b50610456610597366004613717565b610d00565b3480156105a857600080fd5b506103a760105481565b3480156105be57600080fd5b506103d56105cd366004613717565b6001600160a01b039081166000908152600860205260409020541690565b3480156105f757600080fd5b506103a7600f5481565b34801561060d57600080fd5b50610456610d91565b34801561062257600080fd5b50610456610631366004613717565b610e34565b34801561064257600080fd5b50610456610651366004613717565b610e3e565b34801561066257600080fd5b50610676610671366004613717565b611097565b60405163ffffffff9091168152602001610336565b34801561069757600080fd5b506103a76106a6366004613717565b6001600160a01b031660009081526001602052604090205490565b3480156106cd57600080fd5b506104566110b9565b3480156106e257600080fd5b506104566106f1366004613691565b6110cd565b34801561070257600080fd5b506103a7610711366004613717565b6110e6565b34801561072257600080fd5b506000546001600160a01b03166103d5565b34801561074057600080fd5b506103a761074f3660046136fe565b611104565b34801561076057600080fd5b50610354611160565b34801561077557600080fd5b506103a76107843660046136fe565b61116f565b34801561079557600080fd5b506104566107a4366004613742565b61119a565b3480156107b557600080fd5b506103a76107c4366004613717565b6112f8565b3480156107d557600080fd5b506104566107e43660046136fe565b61137f565b3480156107f557600080fd5b50610381610804366004613717565b601b6020526000908152604090205460ff1681565b34801561082557600080fd5b50610381610834366004613691565b6113b4565b34801561084557600080fd5b50610381610854366004613691565b61142f565b34801561086557600080fd5b50610381610874366004613717565b601a6020526000908152604090205460ff1681565b34801561089557600080fd5b5061045661143d565b3480156108aa57600080fd5b506104566108b9366004613742565b6114e3565b3480156108ca57600080fd5b506104566108d936600461378c565b6115d4565b3480156108ea57600080fd5b506104566108f93660046137e6565b61170a565b34801561090a57600080fd5b5060145461038190610100900460ff1681565b34801561092957600080fd5b506014546103819062010000900460ff1681565b34801561094957600080fd5b506103a7610958366004613854565b61186e565b34801561096957600080fd5b506103a760125481565b34801561097f57600080fd5b5061045661098e366004613854565b611899565b34801561099f57600080fd5b506109b36109ae366004613882565b6118ff565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610336565b3480156109e957600080fd5b506104566109f8366004613717565b611983565b606060048054610a0c906138b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a38906138b9565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b600033610a9d818585611cc6565b60019150505b92915050565b600033610ab7858285611dea565b610ac2858585611e5e565b506001949350505050565b610ad5612290565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4691906138ed565b505050565b6000610b556122ea565b905090565b600033610a9d818585610b6d838361186e565b610b779190613920565b611cc6565b6000438210610bd25760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600960205260409020610bf49083612411565b9392505050565b610c053382612508565b50565b610c10612290565b6001600160a01b0381166000908152601b602052604090205460ff1615610c835760405162461bcd60e51b815260206004820152602160248201527f4249474341503a207573657220616c7265616479205f626c61636b6c697374656044820152601960fa1b6064820152608401610bc9565b6001600160a01b03166000908152601b60205260409020805460ff19166001179055565b6001600160a01b0382166000908152600b6020526040812081908190610cce908590612512565b9150915081610cf5576001600160a01b038516600090815260016020526040902054610cf7565b805b95945050505050565b610d08612290565b6001600160a01b0381166000908152601b602052604090205460ff16610d705760405162461bcd60e51b815260206004820181905260248201527f4249474341503a207573657220616c72656164792077686974656c69737465646044820152606401610bc9565b6001600160a01b03166000908152601b60205260409020805460ff19169055565b610d99612290565b601454610100900460ff16610dfe5760405162461bcd60e51b815260206004820152602560248201527f4249474341503a2054726561737572792054617820616c72656164792064697360448201526418589b195960da1b6064820152608401610bc9565b6014805461ff00191690556040517f574640f0fb57c7641909db7904580c4f21f58c0cf9a01bedceb55cd456220cbc90600090a1565b610c053382612608565b610e46612290565b601c546001600160a01b0390811690821603610ec15760405162461bcd60e51b815260206004820152603460248201527f4249474341503a2074686520726f7574657220697320616c72656164792073656044820152737420746f20746865206e6577206164647265737360601b6064820152608401610bc9565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610f58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7c9190613938565b6001600160a01b031663c9c6539630601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190613938565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561104f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110739190613938565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b038116600090815260096020526040812054610aa390611bd7565b6110c1612290565b6110cb6000612682565b565b6110d8823383611dea565b6110e28282612508565b5050565b6001600160a01b038116600090815260066020526040812054610aa3565b60004382106111555760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610bc9565b610aa3600a83612411565b606060058054610a0c906138b9565b600080600061117f84600c612512565b915091508161119057600354611192565b805b949350505050565b6111a2612290565b601d546001600160a01b039081169083160361120c5760405162461bcd60e51b815260206004820152602360248201527f4249474341503a2044455820706169722063616e206e6f742062652072656d6f6044820152621d995960ea1b6064820152608401610bc9565b6001600160a01b0382166000908152601a602052604090205481151560ff9091161515036112a4576040805162461bcd60e51b81526020600482015260248101919091527f4249474341503a206175746f6d61746564206d61726b6574206d616b6572207060448201527f61697220697320616c72656164792073657420746f20746861742076616c75656064820152608401610bc9565b6001600160a01b0382166000818152601a6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038116600090815260096020526040812054801561136c576001600160a01b038316600090815260096020526040902061133a600183613955565b8154811061134a5761134a61396c565b60009182526020909120015464010000000090046001600160e01b031661136f565b60005b6001600160e01b03169392505050565b611387612290565b604051339082156108fc029083906000818181858888f193505050501580156110e2573d6000803e3d6000fd5b600033816113c2828661186e565b9050838110156114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc9565b610ac28286868403611cc6565b600033610a9d818585611e5e565b611445612290565b60145462010000900460ff166114ac5760405162461bcd60e51b815260206004820152602660248201527f4249474341503a204f7065726174696f6e2054617820616c72656164792064696044820152651cd8589b195960d21b6064820152608401610bc9565b6014805462ff0000191690556040517f7ca7c8af286a3c87121f18fc6e11b392b66831472d3f390fef1a197d4c3d128090600090a1565b6114eb612290565b6001600160a01b03821660009081526019602052604090205481151560ff9091161515036115755760405162461bcd60e51b815260206004820152603160248201527f4249474341503a206163636f756e7420697320616c72656164792073657420746044820152706f2072657175657374656420737461746560781b6064820152608401610bc9565b6001600160a01b038216600081815260196020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b834211156116245760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610bc9565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b03881691810191909152606081018690526080810185905260009061169e906116969060a001604051602081830303815290604052805190602001206126d2565b858585612720565b90506116a981612748565b86146116f75760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610bc9565b6117018188612608565b50505050505050565b8342111561175a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610bc9565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886117898c612748565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006117e4826126d2565b905060006117f482878787612720565b9050896001600160a01b0316816001600160a01b0316146118575760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610bc9565b6118628a8a8a611cc6565b50505050505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6118a1612290565b601780546001600160a01b03199081166001600160a01b03858116918217909355601880549092169284169283179091556040517f316af92955f23ddbd4c570a5f8cda8a10b192f24d8f58524deb2fcb03a8bc79490600090a35050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600960205260409020805463ffffffff84169081106119435761194361396c565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b61198b612290565b6001600160a01b0381166119f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc9565b610c0581612682565b611a038282611a89565b6003546001600160e01b031015611a755760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610bc9565b611a83600a611b5e83612770565b50505050565b6001600160a01b038216611adf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bc9565b611aeb600083836128c4565b8060036000828254611afd9190613920565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110e2600083836128cf565b6000610bf48284613920565b60006001600160e01b03821115611bd35760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610bc9565b5090565b600063ffffffff821115611bd35760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610bc9565b6001600160a01b038316611c5b57611c53826128da565b610b4661290d565b6001600160a01b038216611c7257611c53836128da565b611c7b836128da565b610b46826128da565b6001600160a01b03838116600090815260086020526040808220548584168352912054610b469291821691168361291b565b6000610bf48284613955565b5490565b6001600160a01b038316611d285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc9565b6001600160a01b038216611d895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc9565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611df6848461186e565b90506000198114611a835781811015611e515760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc9565b611a838484848403611cc6565b6001600160a01b0383166000908152601b602052604090205460ff1615611ec75760405162461bcd60e51b815260206004820152601e60248201527f4249474341503a2053656e646572206973205f626c61636b6c697374656400006044820152606401610bc9565b6001600160a01b0382166000908152601b602052604090205460ff1615611f3a5760405162461bcd60e51b815260206004820152602160248201527f4249474341503a20526563697069656e74206973205f626c61636b6c697374656044820152601960fa1b6064820152608401610bc9565b6001600160a01b038316611f9f5760405162461bcd60e51b815260206004820152602660248201527f4249474341503a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610bc9565b6001600160a01b0382166120015760405162461bcd60e51b8152602060048201526024808201527f4249474341503a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc9565b306000908152600160205260409020546012546014549082101590610100900460ff16801561202d5750805b801561204357506014546301000000900460ff16155b801561206857506001600160a01b0385166000908152601a602052604090205460ff16155b80156120825750601c546001600160a01b03868116911614155b801561209c57506000546001600160a01b03868116911614155b80156120b657506000546001600160a01b03858116911614155b156120e4576014805463ff000000191663010000001790556120d6612a58565b6014805463ff000000191690555b601d546000906001600160a01b03878116911614806121105750601d546001600160a01b038681169116145b15612119575060015b6001600160a01b03861660009081526019602052604090205460ff168061215857506001600160a01b03851660009081526019602052604090205460ff165b8061216c57506014546301000000900460ff165b8061217f5750601454610100900460ff16155b15612188575060005b801561227d57601454600090610100900460ff16156121fa57612710600f54866121b29190613982565b6121bc91906139b7565b6121c69082613920565b9050612710600f54866121d99190613982565b6121e391906139b7565b601560008282546121f49190613920565b90915550505b60145462010000900460ff1615612264576127106010548661221c9190613982565b61222691906139b7565b6122309082613920565b9050612710601054866122439190613982565b61224d91906139b7565b6016600082825461225e9190613920565b90915550505b61226e8186613955565b945061227b873083612cc1565b505b612288868686612cc1565b505050505050565b6000546001600160a01b031633146110cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561234357507f000000000000000000000000000000000000000000000000000000000000000046145b1561236d57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b81546000908181600581111561246b57600061242c84612e7d565b6124369085613955565b600088815260209020909150869082015463ffffffff16111561245b57809150612469565b612466816001613920565b92505b505b808210156124b857600061247f8383612f65565b600088815260209020909150869082015463ffffffff1611156124a4578091506124b2565b6124af816001613920565b92505b5061246b565b80156124f2576124db866124cd600184613955565b600091825260209091200190565b5464010000000090046001600160e01b03166124f5565b60005b6001600160e01b03169695505050505050565b6110e28282612f80565b6000806000841161255e5760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610bc9565b612566612f98565b8411156125b55760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610bc9565b60006125c18486612fa3565b845490915081036125d9576000809250925050612601565b60018460010182815481106125f0576125f061396c565b906000526020600020015492509250505b9250929050565b6001600160a01b03828116600081815260086020818152604080842080546001845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611a8382848361291b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610aa36126df6122ea565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061273187878787613042565b9150915061273e81613106565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b825460009081908181156127bd5761278d876124cd600185613955565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b031660208201526127d2565b60408051808201909152600080825260208201525b905080602001516001600160e01b031693506127f284868863ffffffff16565b925060008211801561280a5750805163ffffffff1643145b1561284f5761281883611b6a565b612827886124cd600186613955565b80546001600160e01b03929092166401000000000263ffffffff9092169190911790556128ba565b86604051806040016040528061286443611bd7565b63ffffffff16815260200161287886611b6a565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b610b46838383611c3c565b610b46838383611c84565b6001600160a01b0381166000908152600b60209081526040808320600190925290912054610c059190613250565b613250565b6110cb600c61290860035490565b816001600160a01b0316836001600160a01b03161415801561293d5750600081115b15610b46576001600160a01b038316156129cb576001600160a01b0383166000908152600960205260408120819061297890611cb685612770565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516129c0929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610b46576001600160a01b03821660009081526009602052604081208190612a0190611b5e85612770565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612a49929190918252602082015260400190565b60405180910390a25050505050565b60145462010000900460ff168015612a76575060145460ff16600114155b15612b9e57612a8660165461329a565b600060168190556014805460ff191660011790556018546040516001600160a01b039091169047908381818185875af1925050503d8060008114612ae6576040519150601f19603f3d011682016040523d82523d6000602084013e612aeb565b606091505b5050905080612b72577f551303dd5f39cbfe6daba6b3e27754b8a7d72f519756a2cde2b92c2bbde159a7604051612b67906020808252602b908201527f4249474341503a204f7065726174696f6e73206661696c656420746f2072656360408201526a65697665206e617469766560a81b606082015260800190565b60405180910390a150565b6040517f600993f218b212d933072f9ed941a6ee3f33a5bc3b37f795bb9fd8a6273d4bcf90600090a150565b601454610100900460ff16156110cb57612bb960155461329a565b600060158190556014805460ff191690556017546040516001600160a01b039091169047908381818185875af1925050503d8060008114612c16576040519150601f19603f3d011682016040523d82523d6000602084013e612c1b565b606091505b5050905080612c95577f551303dd5f39cbfe6daba6b3e27754b8a7d72f519756a2cde2b92c2bbde159a7604051612b679060208082526029908201527f4249474341503a205472656173757279206661696c656420746f2072656365696040820152687665206e617469766560b81b606082015260800190565b6040517f2aa07d190bb422dff8a73ad0a5540fa3c7939407eed08f615aed3f0a33bd172c90600090a150565b6001600160a01b038316612d255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc9565b6001600160a01b038216612d875760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc9565b612d928383836128c4565b6001600160a01b03831660009081526001602052604090205481811015612e0a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc9565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612e6a9086815260200190565b60405180910390a3611a838484846128cf565b600081600003612e8f57506000919050565b60006001612e9c846133ec565b901c6001901b90506001818481612eb557612eb56139a1565b048201901c90506001818481612ecd57612ecd6139a1565b048201901c90506001818481612ee557612ee56139a1565b048201901c90506001818481612efd57612efd6139a1565b048201901c90506001818481612f1557612f156139a1565b048201901c90506001818481612f2d57612f2d6139a1565b048201901c90506001818481612f4557612f456139a1565b048201901c9050610bf481828581612f5f57612f5f6139a1565b04613480565b6000612f7460028484186139b7565b610bf490848416613920565b612f8a8282613496565b611a83600a611cb683612770565b6000610b55600e5490565b81546000908103612fb657506000610aa3565b82546000905b80821015613003576000612fd08383612f65565b60008781526020902090915085908201541115612fef57809150612ffd565b612ffa816001613920565b92505b50612fbc565b60008211801561302157508361301e866124cd600186613955565b54145b1561303a57613031600183613955565b92505050610aa3565b509050610aa3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561307957506000905060036130fd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156130cd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166130f6576000600192509250506130fd565b9150600090505b94509492505050565b600081600481111561311a5761311a6139d9565b036131225750565b6001816004811115613136576131366139d9565b036131835760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bc9565b6002816004811115613197576131976139d9565b036131e45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bc9565b60038160048111156131f8576131f86139d9565b03610c055760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bc9565b600061325a612f98565b905080613266846135dd565b1015610b46578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106132cf576132cf61396c565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334c9190613938565b8160018151811061335f5761335f61396c565b6001600160a01b039283166020918202929092010152601c546133859130911684611cc6565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906133be9085906000908690309042906004016139ef565b600060405180830381600087803b1580156133d857600080fd5b505af1158015612288573d6000803e3d6000fd5b600080608083901c1561340157608092831c92015b604083901c1561341357604092831c92015b602083901c1561342557602092831c92015b601083901c1561343757601092831c92015b600883901c1561344957600892831c92015b600483901c1561345b57600492831c92015b600283901c1561346d57600292831c92015b600183901c15610aa35760010192915050565b600081831061348f5781610bf4565b5090919050565b6001600160a01b0382166134f65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc9565b613502826000836128c4565b6001600160a01b038216600090815260016020526040902054818110156135765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc9565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b46836000846128cf565b805460009081036135f057506000919050565b8154829061360090600190613955565b815481106136105761361061396c565b90600052602060002001549050919050565b919050565b600060208083528351808285015260005b8181101561365457858101830151858201604001528201613638565b81811115613666576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c0557600080fd5b600080604083850312156136a457600080fd5b82356136af8161367c565b946020939093013593505050565b6000806000606084860312156136d257600080fd5b83356136dd8161367c565b925060208401356136ed8161367c565b929592945050506040919091013590565b60006020828403121561371057600080fd5b5035919050565b60006020828403121561372957600080fd5b8135610bf48161367c565b8015158114610c0557600080fd5b6000806040838503121561375557600080fd5b82356137608161367c565b9150602083013561377081613734565b809150509250929050565b803560ff8116811461362257600080fd5b60008060008060008060c087890312156137a557600080fd5b86356137b08161367c565b955060208701359450604087013593506137cc6060880161377b565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a03121561380157600080fd5b873561380c8161367c565b9650602088013561381c8161367c565b955060408801359450606088013593506138386080890161377b565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561386757600080fd5b82356138728161367c565b915060208301356137708161367c565b6000806040838503121561389557600080fd5b82356138a08161367c565b9150602083013563ffffffff8116811461377057600080fd5b600181811c908216806138cd57607f821691505b60208210810361276a57634e487b7160e01b600052602260045260246000fd5b6000602082840312156138ff57600080fd5b8151610bf481613734565b634e487b7160e01b600052601160045260246000fd5b600082198211156139335761393361390a565b500190565b60006020828403121561394a57600080fd5b8151610bf48161367c565b6000828210156139675761396761390a565b500390565b634e487b7160e01b600052603260045260246000fd5b600081600019048311821515161561399c5761399c61390a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826139d457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613a3f5784516001600160a01b031683529383019391830191600101613a1a565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e306b675f77edc2595a2f8452acb68cbff47ef5b6d465e2757b9054b5077125264736f6c634300080d0033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72400000000000000000000000061a2360447c4d1062a8b54b74aabc12a075f43a5000000000000000000000000bf210b6ccb130c90375dc92e03cb64fea978795b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106103025760003560e01c806370a0823111610190578063a9059cbb116100dc578063d88b94d011610095578063e2f456051161006f578063e2f456051461095d578063e8ba854f14610973578063f1127ed814610993578063f2fde38b146109dd57600080fd5b8063d88b94d0146108fe578063dd53d34d1461091d578063dd62ed3e1461093d57600080fd5b8063a9059cbb14610839578063b62496f514610859578063bd34a94114610889578063c02466681461089e578063c3cda520146108be578063d505accf146108de57600080fd5b806395d89b41116101495780639ab24eb0116101235780639ab24eb0146107a95780639e252f00146107c9578063a20623ce146107e9578063a457c2d71461081957600080fd5b806395d89b4114610754578063981b24d0146107695780639a7a23d61461078957600080fd5b806370a082311461068b578063715018a6146106c157806379cc6790146106d65780637ecebe00146106f65780638da5cb5b146107165780638e539e8c1461073457600080fd5b806342966c681161024f57806357049bdd1161020857806359898f81116101e257806359898f81146106015780635c19a95c1461061657806365b8dbc0146106365780636fcfff451461065657600080fd5b806357049bdd1461059c578063587cde1e146105b25780635937ea6c146105eb57600080fd5b806342966c68146104c357806349797fbf146104e357806349bd5a5e146105035780634ee2cd7e146105235780634fbee19314610543578063537df3b61461057c57600080fd5b806323b872dd116102bc5780633644e515116102965780633644e5151461045857806337eb15281461046d57806339509351146104835780633a46b1a8146104a357600080fd5b806323b872dd14610402578063313ce5671461042257806333f3d6281461043657600080fd5b8062ff2d441461030e57806306fdde031461033f578063095ea7b3146103615780630dd87157146103915780631694505e146103b557806318160ddd146103ed57600080fd5b3661030957005b600080fd5b34801561031a57600080fd5b506014546103289060ff1681565b60405160ff90911681526020015b60405180910390f35b34801561034b57600080fd5b506103546109fd565b6040516103369190613627565b34801561036d57600080fd5b5061038161037c366004613691565b610a8f565b6040519015158152602001610336565b34801561039d57600080fd5b506103a760135481565b604051908152602001610336565b3480156103c157600080fd5b50601c546103d5906001600160a01b031681565b6040516001600160a01b039091168152602001610336565b3480156103f957600080fd5b506003546103a7565b34801561040e57600080fd5b5061038161041d3660046136bd565b610aa9565b34801561042e57600080fd5b506012610328565b34801561044257600080fd5b50610456610451366004613691565b610acd565b005b34801561046457600080fd5b506103a7610b4b565b34801561047957600080fd5b506103a760115481565b34801561048f57600080fd5b5061038161049e366004613691565b610b5a565b3480156104af57600080fd5b506103a76104be366004613691565b610b7c565b3480156104cf57600080fd5b506104566104de3660046136fe565b610bfb565b3480156104ef57600080fd5b506104566104fe366004613717565b610c08565b34801561050f57600080fd5b50601d546103d5906001600160a01b031681565b34801561052f57600080fd5b506103a761053e366004613691565b610ca7565b34801561054f57600080fd5b5061038161055e366004613717565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561058857600080fd5b50610456610597366004613717565b610d00565b3480156105a857600080fd5b506103a760105481565b3480156105be57600080fd5b506103d56105cd366004613717565b6001600160a01b039081166000908152600860205260409020541690565b3480156105f757600080fd5b506103a7600f5481565b34801561060d57600080fd5b50610456610d91565b34801561062257600080fd5b50610456610631366004613717565b610e34565b34801561064257600080fd5b50610456610651366004613717565b610e3e565b34801561066257600080fd5b50610676610671366004613717565b611097565b60405163ffffffff9091168152602001610336565b34801561069757600080fd5b506103a76106a6366004613717565b6001600160a01b031660009081526001602052604090205490565b3480156106cd57600080fd5b506104566110b9565b3480156106e257600080fd5b506104566106f1366004613691565b6110cd565b34801561070257600080fd5b506103a7610711366004613717565b6110e6565b34801561072257600080fd5b506000546001600160a01b03166103d5565b34801561074057600080fd5b506103a761074f3660046136fe565b611104565b34801561076057600080fd5b50610354611160565b34801561077557600080fd5b506103a76107843660046136fe565b61116f565b34801561079557600080fd5b506104566107a4366004613742565b61119a565b3480156107b557600080fd5b506103a76107c4366004613717565b6112f8565b3480156107d557600080fd5b506104566107e43660046136fe565b61137f565b3480156107f557600080fd5b50610381610804366004613717565b601b6020526000908152604090205460ff1681565b34801561082557600080fd5b50610381610834366004613691565b6113b4565b34801561084557600080fd5b50610381610854366004613691565b61142f565b34801561086557600080fd5b50610381610874366004613717565b601a6020526000908152604090205460ff1681565b34801561089557600080fd5b5061045661143d565b3480156108aa57600080fd5b506104566108b9366004613742565b6114e3565b3480156108ca57600080fd5b506104566108d936600461378c565b6115d4565b3480156108ea57600080fd5b506104566108f93660046137e6565b61170a565b34801561090a57600080fd5b5060145461038190610100900460ff1681565b34801561092957600080fd5b506014546103819062010000900460ff1681565b34801561094957600080fd5b506103a7610958366004613854565b61186e565b34801561096957600080fd5b506103a760125481565b34801561097f57600080fd5b5061045661098e366004613854565b611899565b34801561099f57600080fd5b506109b36109ae366004613882565b6118ff565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610336565b3480156109e957600080fd5b506104566109f8366004613717565b611983565b606060048054610a0c906138b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a38906138b9565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b600033610a9d818585611cc6565b60019150505b92915050565b600033610ab7858285611dea565b610ac2858585611e5e565b506001949350505050565b610ad5612290565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4691906138ed565b505050565b6000610b556122ea565b905090565b600033610a9d818585610b6d838361186e565b610b779190613920565b611cc6565b6000438210610bd25760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600960205260409020610bf49083612411565b9392505050565b610c053382612508565b50565b610c10612290565b6001600160a01b0381166000908152601b602052604090205460ff1615610c835760405162461bcd60e51b815260206004820152602160248201527f4249474341503a207573657220616c7265616479205f626c61636b6c697374656044820152601960fa1b6064820152608401610bc9565b6001600160a01b03166000908152601b60205260409020805460ff19166001179055565b6001600160a01b0382166000908152600b6020526040812081908190610cce908590612512565b9150915081610cf5576001600160a01b038516600090815260016020526040902054610cf7565b805b95945050505050565b610d08612290565b6001600160a01b0381166000908152601b602052604090205460ff16610d705760405162461bcd60e51b815260206004820181905260248201527f4249474341503a207573657220616c72656164792077686974656c69737465646044820152606401610bc9565b6001600160a01b03166000908152601b60205260409020805460ff19169055565b610d99612290565b601454610100900460ff16610dfe5760405162461bcd60e51b815260206004820152602560248201527f4249474341503a2054726561737572792054617820616c72656164792064697360448201526418589b195960da1b6064820152608401610bc9565b6014805461ff00191690556040517f574640f0fb57c7641909db7904580c4f21f58c0cf9a01bedceb55cd456220cbc90600090a1565b610c053382612608565b610e46612290565b601c546001600160a01b0390811690821603610ec15760405162461bcd60e51b815260206004820152603460248201527f4249474341503a2074686520726f7574657220697320616c72656164792073656044820152737420746f20746865206e6577206164647265737360601b6064820152608401610bc9565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610f58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7c9190613938565b6001600160a01b031663c9c6539630601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190613938565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561104f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110739190613938565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b038116600090815260096020526040812054610aa390611bd7565b6110c1612290565b6110cb6000612682565b565b6110d8823383611dea565b6110e28282612508565b5050565b6001600160a01b038116600090815260066020526040812054610aa3565b60004382106111555760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610bc9565b610aa3600a83612411565b606060058054610a0c906138b9565b600080600061117f84600c612512565b915091508161119057600354611192565b805b949350505050565b6111a2612290565b601d546001600160a01b039081169083160361120c5760405162461bcd60e51b815260206004820152602360248201527f4249474341503a2044455820706169722063616e206e6f742062652072656d6f6044820152621d995960ea1b6064820152608401610bc9565b6001600160a01b0382166000908152601a602052604090205481151560ff9091161515036112a4576040805162461bcd60e51b81526020600482015260248101919091527f4249474341503a206175746f6d61746564206d61726b6574206d616b6572207060448201527f61697220697320616c72656164792073657420746f20746861742076616c75656064820152608401610bc9565b6001600160a01b0382166000818152601a6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038116600090815260096020526040812054801561136c576001600160a01b038316600090815260096020526040902061133a600183613955565b8154811061134a5761134a61396c565b60009182526020909120015464010000000090046001600160e01b031661136f565b60005b6001600160e01b03169392505050565b611387612290565b604051339082156108fc029083906000818181858888f193505050501580156110e2573d6000803e3d6000fd5b600033816113c2828661186e565b9050838110156114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc9565b610ac28286868403611cc6565b600033610a9d818585611e5e565b611445612290565b60145462010000900460ff166114ac5760405162461bcd60e51b815260206004820152602660248201527f4249474341503a204f7065726174696f6e2054617820616c72656164792064696044820152651cd8589b195960d21b6064820152608401610bc9565b6014805462ff0000191690556040517f7ca7c8af286a3c87121f18fc6e11b392b66831472d3f390fef1a197d4c3d128090600090a1565b6114eb612290565b6001600160a01b03821660009081526019602052604090205481151560ff9091161515036115755760405162461bcd60e51b815260206004820152603160248201527f4249474341503a206163636f756e7420697320616c72656164792073657420746044820152706f2072657175657374656420737461746560781b6064820152608401610bc9565b6001600160a01b038216600081815260196020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b834211156116245760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610bc9565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b03881691810191909152606081018690526080810185905260009061169e906116969060a001604051602081830303815290604052805190602001206126d2565b858585612720565b90506116a981612748565b86146116f75760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610bc9565b6117018188612608565b50505050505050565b8342111561175a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610bc9565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886117898c612748565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006117e4826126d2565b905060006117f482878787612720565b9050896001600160a01b0316816001600160a01b0316146118575760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610bc9565b6118628a8a8a611cc6565b50505050505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6118a1612290565b601780546001600160a01b03199081166001600160a01b03858116918217909355601880549092169284169283179091556040517f316af92955f23ddbd4c570a5f8cda8a10b192f24d8f58524deb2fcb03a8bc79490600090a35050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600960205260409020805463ffffffff84169081106119435761194361396c565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b61198b612290565b6001600160a01b0381166119f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc9565b610c0581612682565b611a038282611a89565b6003546001600160e01b031015611a755760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610bc9565b611a83600a611b5e83612770565b50505050565b6001600160a01b038216611adf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bc9565b611aeb600083836128c4565b8060036000828254611afd9190613920565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110e2600083836128cf565b6000610bf48284613920565b60006001600160e01b03821115611bd35760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610bc9565b5090565b600063ffffffff821115611bd35760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610bc9565b6001600160a01b038316611c5b57611c53826128da565b610b4661290d565b6001600160a01b038216611c7257611c53836128da565b611c7b836128da565b610b46826128da565b6001600160a01b03838116600090815260086020526040808220548584168352912054610b469291821691168361291b565b6000610bf48284613955565b5490565b6001600160a01b038316611d285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc9565b6001600160a01b038216611d895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc9565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611df6848461186e565b90506000198114611a835781811015611e515760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc9565b611a838484848403611cc6565b6001600160a01b0383166000908152601b602052604090205460ff1615611ec75760405162461bcd60e51b815260206004820152601e60248201527f4249474341503a2053656e646572206973205f626c61636b6c697374656400006044820152606401610bc9565b6001600160a01b0382166000908152601b602052604090205460ff1615611f3a5760405162461bcd60e51b815260206004820152602160248201527f4249474341503a20526563697069656e74206973205f626c61636b6c697374656044820152601960fa1b6064820152608401610bc9565b6001600160a01b038316611f9f5760405162461bcd60e51b815260206004820152602660248201527f4249474341503a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610bc9565b6001600160a01b0382166120015760405162461bcd60e51b8152602060048201526024808201527f4249474341503a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc9565b306000908152600160205260409020546012546014549082101590610100900460ff16801561202d5750805b801561204357506014546301000000900460ff16155b801561206857506001600160a01b0385166000908152601a602052604090205460ff16155b80156120825750601c546001600160a01b03868116911614155b801561209c57506000546001600160a01b03868116911614155b80156120b657506000546001600160a01b03858116911614155b156120e4576014805463ff000000191663010000001790556120d6612a58565b6014805463ff000000191690555b601d546000906001600160a01b03878116911614806121105750601d546001600160a01b038681169116145b15612119575060015b6001600160a01b03861660009081526019602052604090205460ff168061215857506001600160a01b03851660009081526019602052604090205460ff165b8061216c57506014546301000000900460ff165b8061217f5750601454610100900460ff16155b15612188575060005b801561227d57601454600090610100900460ff16156121fa57612710600f54866121b29190613982565b6121bc91906139b7565b6121c69082613920565b9050612710600f54866121d99190613982565b6121e391906139b7565b601560008282546121f49190613920565b90915550505b60145462010000900460ff1615612264576127106010548661221c9190613982565b61222691906139b7565b6122309082613920565b9050612710601054866122439190613982565b61224d91906139b7565b6016600082825461225e9190613920565b90915550505b61226e8186613955565b945061227b873083612cc1565b505b612288868686612cc1565b505050505050565b6000546001600160a01b031633146110cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6000306001600160a01b037f000000000000000000000000e29f1241e6015a4949cb7e3f07234ba7940061811614801561234357507f000000000000000000000000000000000000000000000000000000000000000146145b1561236d57507fc279b054d3c556b447952987bd945afe32977368782d264289bc5629b025e62f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f6d57d0fbfa9015469958424ee7d85e15c70efffd74d29077c9a5f0301c475d8f828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b81546000908181600581111561246b57600061242c84612e7d565b6124369085613955565b600088815260209020909150869082015463ffffffff16111561245b57809150612469565b612466816001613920565b92505b505b808210156124b857600061247f8383612f65565b600088815260209020909150869082015463ffffffff1611156124a4578091506124b2565b6124af816001613920565b92505b5061246b565b80156124f2576124db866124cd600184613955565b600091825260209091200190565b5464010000000090046001600160e01b03166124f5565b60005b6001600160e01b03169695505050505050565b6110e28282612f80565b6000806000841161255e5760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610bc9565b612566612f98565b8411156125b55760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610bc9565b60006125c18486612fa3565b845490915081036125d9576000809250925050612601565b60018460010182815481106125f0576125f061396c565b906000526020600020015492509250505b9250929050565b6001600160a01b03828116600081815260086020818152604080842080546001845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611a8382848361291b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610aa36126df6122ea565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061273187878787613042565b9150915061273e81613106565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b825460009081908181156127bd5761278d876124cd600185613955565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b031660208201526127d2565b60408051808201909152600080825260208201525b905080602001516001600160e01b031693506127f284868863ffffffff16565b925060008211801561280a5750805163ffffffff1643145b1561284f5761281883611b6a565b612827886124cd600186613955565b80546001600160e01b03929092166401000000000263ffffffff9092169190911790556128ba565b86604051806040016040528061286443611bd7565b63ffffffff16815260200161287886611b6a565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b610b46838383611c3c565b610b46838383611c84565b6001600160a01b0381166000908152600b60209081526040808320600190925290912054610c059190613250565b613250565b6110cb600c61290860035490565b816001600160a01b0316836001600160a01b03161415801561293d5750600081115b15610b46576001600160a01b038316156129cb576001600160a01b0383166000908152600960205260408120819061297890611cb685612770565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516129c0929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610b46576001600160a01b03821660009081526009602052604081208190612a0190611b5e85612770565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612a49929190918252602082015260400190565b60405180910390a25050505050565b60145462010000900460ff168015612a76575060145460ff16600114155b15612b9e57612a8660165461329a565b600060168190556014805460ff191660011790556018546040516001600160a01b039091169047908381818185875af1925050503d8060008114612ae6576040519150601f19603f3d011682016040523d82523d6000602084013e612aeb565b606091505b5050905080612b72577f551303dd5f39cbfe6daba6b3e27754b8a7d72f519756a2cde2b92c2bbde159a7604051612b67906020808252602b908201527f4249474341503a204f7065726174696f6e73206661696c656420746f2072656360408201526a65697665206e617469766560a81b606082015260800190565b60405180910390a150565b6040517f600993f218b212d933072f9ed941a6ee3f33a5bc3b37f795bb9fd8a6273d4bcf90600090a150565b601454610100900460ff16156110cb57612bb960155461329a565b600060158190556014805460ff191690556017546040516001600160a01b039091169047908381818185875af1925050503d8060008114612c16576040519150601f19603f3d011682016040523d82523d6000602084013e612c1b565b606091505b5050905080612c95577f551303dd5f39cbfe6daba6b3e27754b8a7d72f519756a2cde2b92c2bbde159a7604051612b679060208082526029908201527f4249474341503a205472656173757279206661696c656420746f2072656365696040820152687665206e617469766560b81b606082015260800190565b6040517f2aa07d190bb422dff8a73ad0a5540fa3c7939407eed08f615aed3f0a33bd172c90600090a150565b6001600160a01b038316612d255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc9565b6001600160a01b038216612d875760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc9565b612d928383836128c4565b6001600160a01b03831660009081526001602052604090205481811015612e0a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc9565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612e6a9086815260200190565b60405180910390a3611a838484846128cf565b600081600003612e8f57506000919050565b60006001612e9c846133ec565b901c6001901b90506001818481612eb557612eb56139a1565b048201901c90506001818481612ecd57612ecd6139a1565b048201901c90506001818481612ee557612ee56139a1565b048201901c90506001818481612efd57612efd6139a1565b048201901c90506001818481612f1557612f156139a1565b048201901c90506001818481612f2d57612f2d6139a1565b048201901c90506001818481612f4557612f456139a1565b048201901c9050610bf481828581612f5f57612f5f6139a1565b04613480565b6000612f7460028484186139b7565b610bf490848416613920565b612f8a8282613496565b611a83600a611cb683612770565b6000610b55600e5490565b81546000908103612fb657506000610aa3565b82546000905b80821015613003576000612fd08383612f65565b60008781526020902090915085908201541115612fef57809150612ffd565b612ffa816001613920565b92505b50612fbc565b60008211801561302157508361301e866124cd600186613955565b54145b1561303a57613031600183613955565b92505050610aa3565b509050610aa3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561307957506000905060036130fd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156130cd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166130f6576000600192509250506130fd565b9150600090505b94509492505050565b600081600481111561311a5761311a6139d9565b036131225750565b6001816004811115613136576131366139d9565b036131835760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bc9565b6002816004811115613197576131976139d9565b036131e45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bc9565b60038160048111156131f8576131f86139d9565b03610c055760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bc9565b600061325a612f98565b905080613266846135dd565b1015610b46578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106132cf576132cf61396c565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334c9190613938565b8160018151811061335f5761335f61396c565b6001600160a01b039283166020918202929092010152601c546133859130911684611cc6565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906133be9085906000908690309042906004016139ef565b600060405180830381600087803b1580156133d857600080fd5b505af1158015612288573d6000803e3d6000fd5b600080608083901c1561340157608092831c92015b604083901c1561341357604092831c92015b602083901c1561342557602092831c92015b601083901c1561343757601092831c92015b600883901c1561344957600892831c92015b600483901c1561345b57600492831c92015b600283901c1561346d57600292831c92015b600183901c15610aa35760010192915050565b600081831061348f5781610bf4565b5090919050565b6001600160a01b0382166134f65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc9565b613502826000836128c4565b6001600160a01b038216600090815260016020526040902054818110156135765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc9565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b46836000846128cf565b805460009081036135f057506000919050565b8154829061360090600190613955565b815481106136105761361061396c565b90600052602060002001549050919050565b919050565b600060208083528351808285015260005b8181101561365457858101830151858201604001528201613638565b81811115613666576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c0557600080fd5b600080604083850312156136a457600080fd5b82356136af8161367c565b946020939093013593505050565b6000806000606084860312156136d257600080fd5b83356136dd8161367c565b925060208401356136ed8161367c565b929592945050506040919091013590565b60006020828403121561371057600080fd5b5035919050565b60006020828403121561372957600080fd5b8135610bf48161367c565b8015158114610c0557600080fd5b6000806040838503121561375557600080fd5b82356137608161367c565b9150602083013561377081613734565b809150509250929050565b803560ff8116811461362257600080fd5b60008060008060008060c087890312156137a557600080fd5b86356137b08161367c565b955060208701359450604087013593506137cc6060880161377b565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a03121561380157600080fd5b873561380c8161367c565b9650602088013561381c8161367c565b955060408801359450606088013593506138386080890161377b565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561386757600080fd5b82356138728161367c565b915060208301356137708161367c565b6000806040838503121561389557600080fd5b82356138a08161367c565b9150602083013563ffffffff8116811461377057600080fd5b600181811c908216806138cd57607f821691505b60208210810361276a57634e487b7160e01b600052602260045260246000fd5b6000602082840312156138ff57600080fd5b8151610bf481613734565b634e487b7160e01b600052601160045260246000fd5b600082198211156139335761393361390a565b500190565b60006020828403121561394a57600080fd5b8151610bf48161367c565b6000828210156139675761396761390a565b500390565b634e487b7160e01b600052603260045260246000fd5b600081600019048311821515161561399c5761399c61390a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826139d457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613a3f5784516001600160a01b031683529383019391830191600101613a1a565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e306b675f77edc2595a2f8452acb68cbff47ef5b6d465e2757b9054b5077125264736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000061a2360447c4d1062a8b54b74aabc12a075f43a5000000000000000000000000bf210b6ccb130c90375dc92e03cb64fea978795b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _treasuryAddress (address): 0x61a2360447C4d1062a8b54b74AaBc12a075f43A5
Arg [1] : _operationsAddress (address): 0xbF210B6CCb130C90375dc92E03Cb64Fea978795b
Arg [2] : _uniswapRouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000061a2360447c4d1062a8b54b74aabc12a075f43a5
Arg [1] : 000000000000000000000000bf210b6ccb130c90375dc92e03cb64fea978795b
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode Sourcemap
127182:10677:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127686:21;;;;;;;;;;-1:-1:-1;127686:21:0;;;;;;;;;;;186:4:1;174:17;;;156:36;;144:2;129:18;127686:21:0;;;;;;;;92338:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;94689:201::-;;;;;;;;;;-1:-1:-1;94689:201:0;;;;;:::i;:::-;;:::i;:::-;;;1426:14:1;;1419:22;1401:41;;1389:2;1374:18;94689:201:0;1261:187:1;127650:27:0;;;;;;;;;;;;;;;;;;;1599:25:1;;;1587:2;1572:18;127650:27:0;1453:177:1;128824:41:0;;;;;;;;;;-1:-1:-1;128824:41:0;;;;-1:-1:-1;;;;;128824:41:0;;;;;;-1:-1:-1;;;;;1825:32:1;;;1807:51;;1795:2;1780:18;128824:41:0;1635:229:1;93458:108:0;;;;;;;;;;-1:-1:-1;93546:12:0;;93458:108;;95470:295;;;;;;;;;;-1:-1:-1;95470:295:0;;;;;:::i;:::-;;:::i;93300:93::-;;;;;;;;;;-1:-1:-1;93383:2:0;93300:93;;137056:140;;;;;;;;;;-1:-1:-1;137056:140:0;;;;;:::i;:::-;;:::i;:::-;;106345:115;;;;;;;;;;;;;:::i;127488:32::-;;;;;;;;;;;;;;;;96174:238;;;;;;;;;;-1:-1:-1;96174:238:0;;;;;:::i;:::-;;:::i;109547:268::-;;;;;;;;;;-1:-1:-1;109547:268:0;;;;;:::i;:::-;;:::i;126478:91::-;;;;;;;;;;-1:-1:-1;126478:91:0;;;;;:::i;:::-;;:::i;137432:205::-;;;;;;;;;;-1:-1:-1;137432:205:0;;;;;:::i;:::-;;:::i;128874:28::-;;;;;;;;;;-1:-1:-1;128874:28:0;;;;-1:-1:-1;;;;;128874:28:0;;;122000:266;;;;;;;;;;-1:-1:-1;122000:266:0;;;;;:::i;:::-;;:::i;134731:130::-;;;;;;;;;;-1:-1:-1;134731:130:0;;;;;:::i;:::-;-1:-1:-1;;;;;134823:28:0;134797:4;134823:28;;;:19;:28;;;;;;;;;134731:130;137649:205;;;;;;;;;;-1:-1:-1;137649:205:0;;;;;:::i;:::-;;:::i;127423:37::-;;;;;;;;;;;;;;;;108921:128;;;;;;;;;;-1:-1:-1;108921:128:0;;;;;:::i;:::-;-1:-1:-1;;;;;109022:19:0;;;108995:7;109022:19;;;:10;:19;;;;;;;;108921:128;127351:35;;;;;;;;;;;;;;;;136384:218;;;;;;;;;;;;;:::i;112433:114::-;;;;;;;;;;-1:-1:-1;112433:114:0;;;;;:::i;:::-;;:::i;135702:566::-;;;;;;;;;;-1:-1:-1;135702:566:0;;;;;:::i;:::-;;:::i;108677:151::-;;;;;;;;;;-1:-1:-1;108677:151:0;;;;;:::i;:::-;;:::i;:::-;;;3331:10:1;3319:23;;;3301:42;;3289:2;3274:18;108677:151:0;3157:192:1;93629:127:0;;;;;;;;;;-1:-1:-1;93629:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;93730:18:0;93703:7;93730:18;;;:9;:18;;;;;;;93629:127;85763:103;;;;;;;;;;;;;:::i;126888:164::-;;;;;;;;;;-1:-1:-1;126888:164:0;;;;;:::i;:::-;;:::i;106087:128::-;;;;;;;;;;-1:-1:-1;106087:128:0;;;;;:::i;:::-;;:::i;85115:87::-;;;;;;;;;;-1:-1:-1;85161:7:0;85188:6;-1:-1:-1;;;;;85188:6:0;85115:87;;110104:259;;;;;;;;;;-1:-1:-1;110104:259:0;;;;;:::i;:::-;;:::i;92557:104::-;;;;;;;;;;;;;:::i;122370:234::-;;;;;;;;;;-1:-1:-1;122370:234:0;;;;;:::i;:::-;;:::i;135206:484::-;;;;;;;;;;-1:-1:-1;135206:484:0;;;;;:::i;:::-;;:::i;109133:212::-;;;;;;;;;;-1:-1:-1;109133:212:0;;;;;:::i;:::-;;:::i;137305:115::-;;;;;;;;;;-1:-1:-1;137305:115:0;;;;;:::i;:::-;;:::i;128173:42::-;;;;;;;;;;-1:-1:-1;128173:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;96915:436;;;;;;;;;;-1:-1:-1;96915:436:0;;;;;:::i;:::-;;:::i;93962:193::-;;;;;;;;;;-1:-1:-1;93962:193:0;;;;;:::i;:::-;;:::i;128107:57::-;;;;;;;;;;-1:-1:-1;128107:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;136720:227;;;;;;;;;;;;;:::i;134373:346::-;;;;;;;;;;-1:-1:-1;134373:346:0;;;;;:::i;:::-;;:::i;112629:591::-;;;;;;;;;;-1:-1:-1;112629:591:0;;;;;:::i;:::-;;:::i;105376:645::-;;;;;;;;;;-1:-1:-1;105376:645:0;;;;;:::i;:::-;;:::i;127720:37::-;;;;;;;;;;-1:-1:-1;127720:37:0;;;;;;;;;;;127766:39;;;;;;;;;;-1:-1:-1;127766:39:0;;;;;;;;;;;94218:151;;;;;;;;;;-1:-1:-1;94218:151:0;;;;;:::i;:::-;;:::i;127588:53::-;;;;;;;;;;;;;;;;134873:321;;;;;;;;;;-1:-1:-1;134873:321:0;;;;;:::i;:::-;;:::i;108447:150::-;;;;;;;;;;-1:-1:-1;108447:150:0;;;;;:::i;:::-;;:::i;:::-;;;;6811:13:1;;6826:10;6807:30;6789:49;;6898:4;6886:17;;;6880:24;-1:-1:-1;;;;;6876:50:1;6854:20;;;6847:80;;;;6762:18;108447:150:0;6587:346:1;86021:201:0;;;;;;;;;;-1:-1:-1;86021:201:0;;;;;:::i;:::-;;:::i;92338:100::-;92392:13;92425:5;92418:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92338:100;:::o;94689:201::-;94772:4;83746:10;94828:32;83746:10;94844:7;94853:6;94828:8;:32::i;:::-;94878:4;94871:11;;;94689:201;;;;;:::o;95470:295::-;95601:4;83746:10;95659:38;95675:4;83746:10;95690:6;95659:15;:38::i;:::-;95708:27;95718:4;95724:2;95728:6;95708:9;:27::i;:::-;-1:-1:-1;95753:4:0;;95470:295;-1:-1:-1;;;;95470:295:0:o;137056:140::-;85001:13;:11;:13::i;:::-;137142:44:::1;::::0;-1:-1:-1;;;137142:44:0;;137166:10:::1;137142:44;::::0;::::1;7497:51:1::0;7564:18;;;7557:34;;;-1:-1:-1;;;;;137142:23:0;::::1;::::0;::::1;::::0;7470:18:1;;137142:44:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;137056:140:::0;;:::o;106345:115::-;106405:7;106432:20;:18;:20::i;:::-;106425:27;;106345:115;:::o;96174:238::-;96262:4;83746:10;96318:64;83746:10;96334:7;96371:10;96343:25;83746:10;96334:7;96343:9;:25::i;:::-;:38;;;;:::i;:::-;96318:8;:64::i;109547:268::-;109645:7;109687:12;109673:11;:26;109665:70;;;;-1:-1:-1;;;109665:70:0;;8319:2:1;109665:70:0;;;8301:21:1;8358:2;8338:18;;;8331:30;8397:33;8377:18;;;8370:61;8448:18;;109665:70:0;;;;;;;;;-1:-1:-1;;;;;109772:21:0;;;;;;:12;:21;;;;;109753:54;;109795:11;109753:18;:54::i;:::-;109746:61;109547:268;-1:-1:-1;;;109547:268:0:o;126478:91::-;126534:27;83746:10;126554:6;126534:5;:27::i;:::-;126478:91;:::o;137432:205::-;85001:13;:11;:13::i;:::-;-1:-1:-1;;;;;137513:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;::::1;;137512:18;137504:64;;;::::0;-1:-1:-1;;;137504:64:0;;8679:2:1;137504:64:0::1;::::0;::::1;8661:21:1::0;8718:2;8698:18;;;8691:30;8757:34;8737:18;;;8730:62;-1:-1:-1;;;8808:18:1;;;8801:31;8849:19;;137504:64:0::1;8477:397:1::0;137504:64:0::1;-1:-1:-1::0;;;;;137581:17:0::1;;::::0;;;:10:::1;:17;::::0;;;;:24;;-1:-1:-1;;137581:24:0::1;137601:4;137581:24;::::0;;137432:205::o;122000:266::-;-1:-1:-1;;;;;122164:33:0;;122087:7;122164:33;;;:24;:33;;;;;122087:7;;;;122143:55;;122152:10;;122143:8;:55::i;:::-;122107:91;;;;122218:11;:40;;-1:-1:-1;;;;;93730:18:0;;93703:7;93730:18;;;:9;:18;;;;;;122218:40;;;122232:5;122218:40;122211:47;122000:266;-1:-1:-1;;;;;122000:266:0:o;137649:205::-;85001:13;:11;:13::i;:::-;-1:-1:-1;;;;;137731:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;::::1;;137723:62;;;::::0;-1:-1:-1;;;137723:62:0;;9081:2:1;137723:62:0::1;::::0;::::1;9063:21:1::0;;;9100:18;;;9093:30;9159:34;9139:18;;;9132:62;9211:18;;137723:62:0::1;8879:356:1::0;137723:62:0::1;-1:-1:-1::0;;;;;137798:17:0::1;137818:5;137798:17:::0;;;:10:::1;:17;::::0;;;;:25;;-1:-1:-1;;137798:25:0::1;::::0;;137649:205::o;136384:218::-;85001:13;:11;:13::i;:::-;136454:18:::1;::::0;::::1;::::0;::::1;;;136446:68;;;::::0;-1:-1:-1;;;136446:68:0;;9442:2:1;136446:68:0::1;::::0;::::1;9424:21:1::0;9481:2;9461:18;;;9454:30;9520:34;9500:18;;;9493:62;-1:-1:-1;;;9571:18:1;;;9564:35;9616:19;;136446:68:0::1;9240:401:1::0;136446:68:0::1;136527:18;:26:::0;;-1:-1:-1;;136527:26:0::1;::::0;;136571:21:::1;::::0;::::1;::::0;136548:5:::1;::::0;136571:21:::1;136384:218::o:0;112433:114::-;112505:34;83746:10;112529:9;112505;:34::i;135702:566::-;85001:13;:11;:13::i;:::-;135829:15:::1;::::0;-1:-1:-1;;;;;135829:15:0;;::::1;135807:38:::0;;::::1;::::0;135783:146:::1;;;::::0;-1:-1:-1;;;135783:146:0;;9848:2:1;135783:146:0::1;::::0;::::1;9830:21:1::0;9887:2;9867:18;;;9860:30;9926:34;9906:18;;;9899:62;-1:-1:-1;;;9977:18:1;;;9970:50;10037:19;;135783:146:0::1;9646:416:1::0;135783:146:0::1;135989:15;::::0;135947:59:::1;::::0;-1:-1:-1;;;;;135989:15:0;;::::1;::::0;135947:59;::::1;::::0;::::1;::::0;135989:15:::1;::::0;135947:59:::1;136019:15;:48:::0;;-1:-1:-1;;;;;;136019:48:0::1;-1:-1:-1::0;;;;;136019:48:0;::::1;::::0;;::::1;::::0;;;136123:25:::1;::::0;;-1:-1:-1;;;136123:25:0;;;;-1:-1:-1;;136019:48:0;136123:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;136019:48;136123:25:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;136105:71:0::1;;136185:4;136192:15;;;;;;;;;-1:-1:-1::0;;;;;136192:15:0::1;-1:-1:-1::0;;;;;136192:20:0::1;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;136105:110;::::0;-1:-1:-1;;;;;;136105:110:0::1;::::0;;;;;;-1:-1:-1;;;;;10553:15:1;;;136105:110:0::1;::::0;::::1;10535:34:1::0;10605:15;;10585:18;;;10578:43;10470:18;;136105:110:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;136228:13;:30:::0;;-1:-1:-1;;;;;;136228:30:0::1;-1:-1:-1::0;;;;;136228:30:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;135702:566:0:o;108677:151::-;-1:-1:-1;;;;;108791:21:0;;108747:6;108791:21;;;:12;:21;;;;;:28;108773:47;;:17;:47::i;85763:103::-;85001:13;:11;:13::i;:::-;85828:30:::1;85855:1;85828:18;:30::i;:::-;85763:103::o:0;126888:164::-;126965:46;126981:7;83746:10;127004:6;126965:15;:46::i;:::-;127022:22;127028:7;127037:6;127022:5;:22::i;:::-;126888:164;;:::o;106087:128::-;-1:-1:-1;;;;;106183:14:0;;106156:7;106183:14;;;:7;:14;;;;;47782;106183:24;47690:114;110104:259;110191:7;110233:12;110219:11;:26;110211:70;;;;-1:-1:-1;;;110211:70:0;;8319:2:1;110211:70:0;;;8301:21:1;8358:2;8338:18;;;8331:30;8397:33;8377:18;;;8370:61;8448:18;;110211:70:0;8117:355:1;110211:70:0;110299:56;110318:23;110343:11;110299:18;:56::i;92557:104::-;92613:13;92646:7;92639:14;;;;;:::i;122370:234::-;122442:7;122463:16;122481:13;122498:43;122507:10;122519:21;122498:8;:43::i;:::-;122462:79;;;;122561:11;:35;;93546:12;;122561:35;;;122575:5;122561:35;122554:42;122370:234;-1:-1:-1;;;;122370:234:0:o;135206:484::-;85001:13;:11;:13::i;:::-;135344::::1;::::0;-1:-1:-1;;;;;135344:13:0;;::::1;135336:21:::0;;::::1;::::0;135328:69:::1;;;::::0;-1:-1:-1;;;135328:69:0;;10834:2:1;135328:69:0::1;::::0;::::1;10816:21:1::0;10873:2;10853:18;;;10846:30;10912:34;10892:18;;;10885:62;-1:-1:-1;;;10963:18:1;;;10956:33;11006:19;;135328:69:0::1;10632:399:1::0;135328:69:0::1;-1:-1:-1::0;;;;;135434:31:0;::::1;;::::0;;;:25:::1;:31;::::0;;;;;:40;::::1;;:31;::::0;;::::1;:40;;::::0;135410:160:::1;;;::::0;;-1:-1:-1;;;135410:160:0;;11238:2:1;135410:160:0::1;::::0;::::1;11220:21:1::0;11257:18;;;11250:30;;;;11316:34;11296:18;;;11289:62;11387:34;11367:18;;;11360:62;11439:19;;135410:160:0::1;11036:428:1::0;135410:160:0::1;-1:-1:-1::0;;;;;135583:31:0;::::1;;::::0;;;:25:::1;:31;::::0;;;;;:39;;-1:-1:-1;;135583:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;135640:40;;135583:39;;:31;135640:40:::1;::::0;::::1;135206:484:::0;;:::o;109133:212::-;-1:-1:-1;;;;;109240:21:0;;109206:7;109240:21;;;:12;:21;;;;;:28;109286:8;;:51;;-1:-1:-1;;;;;109301:21:0;;;;;;:12;:21;;;;;109323:7;109329:1;109323:3;:7;:::i;:::-;109301:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;109301:36:0;109286:51;;;109297:1;109286:51;-1:-1:-1;;;;;109279:58:0;;109133:212;-1:-1:-1;;;109133:212:0:o;137305:115::-;85001:13;:11;:13::i;:::-;137373:37:::1;::::0;137381:10:::1;::::0;137373:37;::::1;;;::::0;137402:7;;137373:37:::1;::::0;;;137402:7;137381:10;137373:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;96915:436:::0;97008:4;83746:10;97008:4;97091:25;83746:10;97108:7;97091:9;:25::i;:::-;97064:52;;97155:15;97135:16;:35;;97127:85;;;;-1:-1:-1;;;97127:85:0;;11933:2:1;97127:85:0;;;11915:21:1;11972:2;11952:18;;;11945:30;12011:34;11991:18;;;11984:62;-1:-1:-1;;;12062:18:1;;;12055:35;12107:19;;97127:85:0;11731:401:1;97127:85:0;97248:60;97257:5;97264:7;97292:15;97273:16;:34;97248:8;:60::i;93962:193::-;94041:4;83746:10;94097:28;83746:10;94114:2;94118:6;94097:9;:28::i;136720:227::-;85001:13;:11;:13::i;:::-;136792:20:::1;::::0;;;::::1;;;136784:71;;;::::0;-1:-1:-1;;;136784:71:0;;12339:2:1;136784:71:0::1;::::0;::::1;12321:21:1::0;12378:2;12358:18;;;12351:30;12417:34;12397:18;;;12390:62;-1:-1:-1;;;12468:18:1;;;12461:36;12514:19;;136784:71:0::1;12137:402:1::0;136784:71:0::1;136868:20;:28:::0;;-1:-1:-1;;136868:28:0::1;::::0;;136914:23:::1;::::0;::::1;::::0;136891:5:::1;::::0;136914:23:::1;136720:227::o:0;134373:346::-;85001:13;:11;:13::i;:::-;-1:-1:-1;;;;;134484:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;:40;::::1;;:28;::::0;;::::1;:40;;::::0;134460:145:::1;;;::::0;-1:-1:-1;;;134460:145:0;;12746:2:1;134460:145:0::1;::::0;::::1;12728:21:1::0;12785:2;12765:18;;;12758:30;12824:34;12804:18;;;12797:62;-1:-1:-1;;;12875:18:1;;;12868:47;12932:19;;134460:145:0::1;12544:413:1::0;134460:145:0::1;-1:-1:-1::0;;;;;134618:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;134618:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;134675:34;;1401:41:1;;;134675:34:0::1;::::0;1374:18:1;134675:34:0::1;;;;;;;134373:346:::0;;:::o;112629:591::-;112856:6;112837:15;:25;;112829:67;;;;-1:-1:-1;;;112829:67:0;;13164:2:1;112829:67:0;;;13146:21:1;13203:2;13183:18;;;13176:30;13242:31;13222:18;;;13215:59;13291:18;;112829:67:0;12962:353:1;112829:67:0;112979:58;;;108127:71;112979:58;;;13551:25:1;-1:-1:-1;;;;;13612:32:1;;13592:18;;;13585:60;;;;13661:18;;;13654:34;;;13704:18;;;13697:34;;;112907:14:0;;112924:174;;112952:87;;13523:19:1;;112979:58:0;;;;;;;;;;;;112969:69;;;;;;112952:16;:87::i;:::-;113054:1;113070;113086;112924:13;:174::i;:::-;112907:191;;113126:17;113136:6;113126:9;:17::i;:::-;113117:5;:26;113109:64;;;;-1:-1:-1;;;113109:64:0;;13944:2:1;113109:64:0;;;13926:21:1;13983:2;13963:18;;;13956:30;14022:27;14002:18;;;13995:55;14067:18;;113109:64:0;13742:349:1;113109:64:0;113184:28;113194:6;113202:9;113184;:28::i;:::-;112818:402;112629:591;;;;;;:::o;105376:645::-;105620:8;105601:15;:27;;105593:69;;;;-1:-1:-1;;;105593:69:0;;14298:2:1;105593:69:0;;;14280:21:1;14337:2;14317:18;;;14310:30;14376:31;14356:18;;;14349:59;14425:18;;105593:69:0;14096:353:1;105593:69:0;105675:18;104551:95;105735:5;105742:7;105751:5;105758:16;105768:5;105758:9;:16::i;:::-;105706:79;;;;;;14741:25:1;;;;-1:-1:-1;;;;;14840:15:1;;;14820:18;;;14813:43;14892:15;;;;14872:18;;;14865:43;14924:18;;;14917:34;14967:19;;;14960:35;15011:19;;;15004:35;;;14713:19;;105706:79:0;;;;;;;;;;;;105696:90;;;;;;105675:111;;105799:12;105814:28;105831:10;105814:16;:28::i;:::-;105799:43;;105855:14;105872:28;105886:4;105892:1;105895;105898;105872:13;:28::i;:::-;105855:45;;105929:5;-1:-1:-1;;;;;105919:15:0;:6;-1:-1:-1;;;;;105919:15:0;;105911:58;;;;-1:-1:-1;;;105911:58:0;;15252:2:1;105911:58:0;;;15234:21:1;15291:2;15271:18;;;15264:30;15330:32;15310:18;;;15303:60;15380:18;;105911:58:0;15050:354:1;105911:58:0;105982:31;105991:5;105998:7;106007:5;105982:8;:31::i;:::-;105582:439;;;105376:645;;;;;;;:::o;94218:151::-;-1:-1:-1;;;;;94334:18:0;;;94307:7;94334:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;94218:151::o;134873:321::-;85001:13;:11;:13::i;:::-;135029:15:::1;:34:::0;;-1:-1:-1;;;;;;135029:34:0;;::::1;-1:-1:-1::0;;;;;135029:34:0;;::::1;::::0;;::::1;::::0;;;135076:17:::1;:38:::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;135132:52:::1;::::0;::::1;::::0;-1:-1:-1;;135132:52:0::1;134873:321:::0;;:::o;108447:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;108563:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;108556:33;;;;;;;;;108563:26;;108556:33;;;;;;;;;-1:-1:-1;;;;;108556:33:0;;;;;;;;;108447:150;-1:-1:-1;;;108447:150:0:o;86021:201::-;85001:13;:11;:13::i;:::-;-1:-1:-1;;;;;86110:22:0;::::1;86102:73;;;::::0;-1:-1:-1;;;86102:73:0;;15611:2:1;86102:73:0::1;::::0;::::1;15593:21:1::0;15650:2;15630:18;;;15623:30;15689:34;15669:18;;;15662:62;-1:-1:-1;;;15740:18:1;;;15733:36;15786:19;;86102:73:0::1;15409:402:1::0;86102:73:0::1;86186:28;86205:8;86186:18;:28::i;113526:290::-:0;113611:28;113623:7;113632:6;113611:11;:28::i;:::-;93546:12;;-1:-1:-1;;;;;;113658:29:0;113650:90;;;;-1:-1:-1;;;113650:90:0;;16018:2:1;113650:90:0;;;16000:21:1;16057:2;16037:18;;;16030:30;16096:34;16076:18;;;16069:62;-1:-1:-1;;;16147:18:1;;;16140:46;16203:19;;113650:90:0;15816:412:1;113650:90:0;113753:55;113770:23;113795:4;113801:6;113753:16;:55::i;:::-;;;113526:290;;:::o;98948:548::-;-1:-1:-1;;;;;99032:21:0;;99024:65;;;;-1:-1:-1;;;99024:65:0;;16435:2:1;99024:65:0;;;16417:21:1;16474:2;16454:18;;;16447:30;16513:33;16493:18;;;16486:61;16564:18;;99024:65:0;16233:355:1;99024:65:0;99102:49;99131:1;99135:7;99144:6;99102:20;:49::i;:::-;99180:6;99164:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;99335:18:0;;;;;;:9;:18;;;;;;;;:28;;;;;;99390:37;1599:25:1;;;99390:37:0;;1572:18:1;99390:37:0;;;;;;;99440:48;99468:1;99472:7;99481:6;99440:19;:48::i;116479:98::-;116537:7;116564:5;116568:1;116564;:5;:::i;8995:195::-;9052:7;-1:-1:-1;;;;;9080:26:0;;;9072:78;;;;-1:-1:-1;;;9072:78:0;;16795:2:1;9072:78:0;;;16777:21:1;16834:2;16814:18;;;16807:30;16873:34;16853:18;;;16846:62;-1:-1:-1;;;16924:18:1;;;16917:37;16971:19;;9072:78:0;16593:403:1;9072:78:0;-1:-1:-1;9176:5:0;8995:195::o;21831:190::-;21887:6;21923:16;21914:25;;;21906:76;;;;-1:-1:-1;;;21906:76:0;;17203:2:1;21906:76:0;;;17185:21:1;17242:2;17222:18;;;17215:30;17281:34;17261:18;;;17254:62;-1:-1:-1;;;17332:18:1;;;17325:36;17378:19;;21906:76:0;17001:402:1;122821:622:0;-1:-1:-1;;;;;123025:18:0;;123021:415;;123081:26;123104:2;123081:22;:26::i;:::-;123122:28;:26;:28::i;123021:415::-;-1:-1:-1;;;;;123172:16:0;;123168:268;;123226:28;123249:4;123226:22;:28::i;123168:268::-;123355:28;123378:4;123355:22;:28::i;:::-;123398:26;123421:2;123398:22;:26::i;114251:262::-;-1:-1:-1;;;;;109022:19:0;;;108995:7;109022:19;;;:10;:19;;;;;;;;;;;;;;;114449:56;;109022:19;;;;;114498:6;114449:16;:56::i;116585:103::-;116648:7;116675:5;116679:1;116675;:5;:::i;47690:114::-;47782:14;;47690:114::o;100942:380::-;-1:-1:-1;;;;;101078:19:0;;101070:68;;;;-1:-1:-1;;;101070:68:0;;17610:2:1;101070:68:0;;;17592:21:1;17649:2;17629:18;;;17622:30;17688:34;17668:18;;;17661:62;-1:-1:-1;;;17739:18:1;;;17732:34;17783:19;;101070:68:0;17408:400:1;101070:68:0;-1:-1:-1;;;;;101157:21:0;;101149:68;;;;-1:-1:-1;;;101149:68:0;;18015:2:1;101149:68:0;;;17997:21:1;18054:2;18034:18;;;18027:30;18093:34;18073:18;;;18066:62;-1:-1:-1;;;18144:18:1;;;18137:32;18186:19;;101149:68:0;17813:398:1;101149:68:0;-1:-1:-1;;;;;101230:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;101282:32;;1599:25:1;;;101282:32:0;;1572:18:1;101282:32:0;;;;;;;100942:380;;;:::o;101613:453::-;101748:24;101775:25;101785:5;101792:7;101775:9;:25::i;:::-;101748:52;;-1:-1:-1;;101815:16:0;:37;101811:248;;101897:6;101877:16;:26;;101869:68;;;;-1:-1:-1;;;101869:68:0;;18418:2:1;101869:68:0;;;18400:21:1;18457:2;18437:18;;;18430:30;18496:31;18476:18;;;18469:59;18545:18;;101869:68:0;18216:353:1;101869:68:0;101981:51;101990:5;101997:7;102025:6;102006:16;:25;101981:8;:51::i;130687:2141::-;-1:-1:-1;;;;;130839:18:0;;;;;;:10;:18;;;;;;;;130838:19;130830:62;;;;-1:-1:-1;;;130830:62:0;;18776:2:1;130830:62:0;;;18758:21:1;18815:2;18795:18;;;18788:30;18854:32;18834:18;;;18827:60;18904:18;;130830:62:0;18574:354:1;130830:62:0;-1:-1:-1;;;;;130914:21:0;;;;;;:10;:21;;;;;;;;130913:22;130905:68;;;;-1:-1:-1;;;130905:68:0;;19135:2:1;130905:68:0;;;19117:21:1;19174:2;19154:18;;;19147:30;19213:34;19193:18;;;19186:62;-1:-1:-1;;;19264:18:1;;;19257:31;19305:19;;130905:68:0;18933:397:1;130905:68:0;-1:-1:-1;;;;;130998:20:0;;130990:71;;;;-1:-1:-1;;;130990:71:0;;19537:2:1;130990:71:0;;;19519:21:1;19576:2;19556:18;;;19549:30;19615:34;19595:18;;;19588:62;-1:-1:-1;;;19666:18:1;;;19659:36;19712:19;;130990:71:0;19335:402:1;130990:71:0;-1:-1:-1;;;;;131098:23:0;;131074:115;;;;-1:-1:-1;;;131074:115:0;;19944:2:1;131074:115:0;;;19926:21:1;19983:2;19963:18;;;19956:30;20022:34;20002:18;;;19995:62;-1:-1:-1;;;20073:18:1;;;20066:34;20117:19;;131074:115:0;19742:400:1;131074:115:0;131255:4;131206:28;93730:18;;;:9;:18;;;;;;131317;;131372;;131293:42;;;;;131372:18;;;;;:44;;;;;131409:7;131372:44;:72;;;;-1:-1:-1;131436:8:0;;;;;;;131435:9;131372:72;:125;;;;-1:-1:-1;;;;;;131464:33:0;;;;;;:25;:33;;;;;;;;131463:34;131372:125;:178;;;;-1:-1:-1;131534:15:0;;-1:-1:-1;;;;;131516:34:0;;;131534:15;;131516:34;;131372:178;:214;;;;-1:-1:-1;85161:7:0;85188:6;-1:-1:-1;;;;;131569:17:0;;;85188:6;;131569:17;;131372:214;:253;;;;-1:-1:-1;85161:7:0;85188:6;-1:-1:-1;;;;;131605:20:0;;;85188:6;;131605:20;;131372:253;131352:405;;;131656:8;:15;;-1:-1:-1;;131656:15:0;;;;;131692:14;:12;:14::i;:::-;131727:8;:16;;-1:-1:-1;;131727:16:0;;;131352:405;131840:13;;131773:12;;-1:-1:-1;;;;;131822:32:0;;;131840:13;;131822:32;;:86;;-1:-1:-1;131894:13:0;;-1:-1:-1;;;;;131873:35:0;;;131894:13;;131873:35;131822:86;131802:165;;;-1:-1:-1;131949:4:0;131802:165;-1:-1:-1;;;;;132003:27:0;;;;;;:19;:27;;;;;;;;;:76;;-1:-1:-1;;;;;;132049:30:0;;;;;;:19;:30;;;;;;;;132003:76;:103;;;-1:-1:-1;132098:8:0;;;;;;;132003:103;:141;;;-1:-1:-1;132126:18:0;;;;;;;132125:19;132003:141;131983:221;;;-1:-1:-1;132185:5:0;131983:221;132224:7;132220:544;;;132287:18;;132250:12;;132287:18;;;;;132283:172;;;132362:5;132344:14;;132335:6;:23;;;;:::i;:::-;132334:33;;;;:::i;:::-;132326:41;;;;:::i;:::-;;;132432:5;132414:14;;132405:6;:23;;;;:::i;:::-;132404:33;;;;:::i;:::-;132386:14;;:51;;;;;;;:::i;:::-;;;;-1:-1:-1;;132283:172:0;132479:20;;;;;;;132475:180;;;132558:5;132538:16;;132529:6;:25;;;;:::i;:::-;132528:35;;;;:::i;:::-;132520:43;;;;:::i;:::-;;;132632:5;132612:16;;132603:6;:25;;;;:::i;:::-;132602:35;;;;:::i;:::-;132582:16;;:55;;;;;;;:::i;:::-;;;;-1:-1:-1;;132475:180:0;132675:14;132685:4;132675:14;;:::i;:::-;;;132706:44;132722:6;132738:4;132745;132706:15;:44::i;:::-;132233:531;132220:544;132776:42;132792:6;132800:9;132811:6;132776:15;:42::i;:::-;130817:2011;;;130687:2141;;;:::o;85280:132::-;85161:7;85188:6;-1:-1:-1;;;;;85188:6:0;83746:10;85344:23;85336:68;;;;-1:-1:-1;;;85336:68:0;;20876:2:1;85336:68:0;;;20858:21:1;;;20895:18;;;20888:30;20954:34;20934:18;;;20927:62;21006:18;;85336:68:0;20674:356:1;75476:314:0;75529:7;75561:4;-1:-1:-1;;;;;75570:12:0;75553:29;;:66;;;;;75603:16;75586:13;:33;75553:66;75549:234;;;-1:-1:-1;75643:24:0;;75476:314::o;75549:234::-;-1:-1:-1;75979:73:0;;;75729:10;75979:73;;;;24505:25:1;;;;75741:12:0;24546:18:1;;;24539:34;75755:15:0;24589:18:1;;;24582:34;76023:13:0;24632:18:1;;;24625:34;76046:4:0;24675:19:1;;;;24668:61;;;;75979:73:0;;;;;;;;;;24477:19:1;;;;75979:73:0;;;75969:84;;;;;;106345:115::o;110452:1895::-;111669:12;;110551:7;;;111669:12;111767:1;111758:10;;111754:251;;;111785:11;111808:17;111818:6;111808:9;:17::i;:::-;111799:26;;:6;:26;:::i;:::-;116782:25;116844:21;;;116911:4;116898:18;;111785:40;;-1:-1:-1;111882:11:0;;116894:28;;111844:35;;;:49;111840:154;;;111921:3;111914:10;;111840:154;;;111971:7;:3;111977:1;111971:7;:::i;:::-;111965:13;;111840:154;111770:235;111754:251;112030:4;112024:3;:10;112017:251;;;112051:11;112065:23;112078:3;112083:4;112065:12;:23::i;:::-;116782:25;116844:21;;;116911:4;116898:18;;112051:37;;-1:-1:-1;112145:11:0;;116894:28;;112107:35;;;:49;112103:154;;;112184:3;112177:10;;112103:154;;;112234:7;:3;112240:1;112234:7;:::i;:::-;112228:13;;112103:154;112036:232;112017:251;;;112287:9;;:52;;112303:30;112317:5;112324:8;112331:1;112324:4;:8;:::i;:::-;116782:25;116844:21;;;116911:4;116898:18;;;116894:28;;116696:244;112303:30;:36;;;;-1:-1:-1;;;;;112303:36:0;112287:52;;;112299:1;112287:52;-1:-1:-1;;;;;112280:59:0;;110452:1895;-1:-1:-1;;;;;;110452:1895:0:o;130510:165::-;130637:28;130649:7;130658:6;130637:11;:28::i;123451:1619::-;123540:4;123546:7;123587:1;123574:10;:14;123566:49;;;;-1:-1:-1;;;123566:49:0;;21237:2:1;123566:49:0;;;21219:21:1;21276:2;21256:18;;;21249:30;-1:-1:-1;;;21295:18:1;;;21288:52;21357:18;;123566:49:0;21035:346:1;123566:49:0;123648:23;:21;:23::i;:::-;123634:10;:37;;123626:79;;;;-1:-1:-1;;;123626:79:0;;21588:2:1;123626:79:0;;;21570:21:1;21627:2;21607:18;;;21600:30;21666:31;21646:18;;;21639:59;21715:18;;123626:79:0;21386:353:1;123626:79:0;124844:13;124860:40;:9;124889:10;124860:28;:40::i;:::-;124926:20;;124844:56;;-1:-1:-1;124917:29:0;;124913:150;;124971:5;124978:1;124963:17;;;;;;;124913:150;125021:4;125027:9;:16;;125044:5;125027:23;;;;;;;;:::i;:::-;;;;;;;;;125013:38;;;;;123451:1619;;;;;;:::o;114691:388::-;-1:-1:-1;;;;;109022:19:0;;;114776:23;109022:19;;;:10;:19;;;;;;;;;;93730:9;:18;;;;;;114891:21;;;;:33;;;-1:-1:-1;;;;;;114891:33:0;;;;;;;114942:54;;109022:19;;;;;93730:18;;114891:33;;109022:19;;;114942:54;;114776:23;114942:54;115009:62;115026:15;115043:9;115054:16;115009;:62::i;86382:191::-;86456:16;86475:6;;-1:-1:-1;;;;;86492:17:0;;;-1:-1:-1;;;;;;86492:17:0;;;;;;86525:40;;86475:6;;;;;;;86525:40;;86456:16;86525:40;86445:128;86382:191;:::o;76703:167::-;76780:7;76807:55;76829:20;:18;:20::i;:::-;76851:10;72170:57;;-1:-1:-1;;;72170:57:0;;;24998:27:1;25041:11;;;25034:27;;;25077:12;;;25070:28;;;72133:7:0;;25114:12:1;;72170:57:0;;;;;;;;;;;;72160:68;;;;;;72153:75;;72040:196;;;;;70349:279;70477:7;70498:17;70517:18;70539:25;70550:4;70556:1;70559;70562;70539:10;:25::i;:::-;70497:67;;;;70575:18;70587:5;70575:11;:18::i;:::-;-1:-1:-1;70611:9:0;70349:279;-1:-1:-1;;;;;70349:279:0:o;106598:207::-;-1:-1:-1;;;;;106719:14:0;;106658:15;106719:14;;;:7;:14;;;;;47782;;47919:1;47901:19;;;;47782:14;106780:17;106675:130;106598:207;;;:::o;115738:733::-;115975:12;;115912:17;;;;;116028:8;;:59;;116058:29;116072:5;116079:7;116085:1;116079:3;:7;:::i;116058:29::-;116028:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;116028:59:0;;;;;;;;116039:16;;;;;;;;;-1:-1:-1;116039:16:0;;;;;;;116028:59;116000:87;;116112:7;:13;;;-1:-1:-1;;;;;116100:25:0;;;116148:20;116151:9;116162:5;116148:2;:20;;:::i;:::-;116136:32;;116191:1;116185:3;:7;:44;;;;-1:-1:-1;116196:17:0;;:33;;116217:12;116196:33;116185:44;116181:283;;;116284:29;116303:9;116284:18;:29::i;:::-;116246;116260:5;116267:7;116273:1;116267:3;:7;:::i;116246:29::-;:67;;-1:-1:-1;;;;;116246:67:0;;;;;;;;;;;;;;;;116181:283;;;116346:5;116357:94;;;;;;;;116380:31;116398:12;116380:17;:31::i;:::-;116357:94;;;;;;116420:29;116439:9;116420:18;:29::i;:::-;-1:-1:-1;;;;;116357:94:0;;;;;;116346:106;;;;;;;-1:-1:-1;116346:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116181:283;115950:521;;115738:733;;;;;;:::o;129872:221::-;130039:44;130066:4;130072:2;130076:6;130039:26;:44::i;130105:216::-;130268:43;130294:4;130300:2;130304:6;130268:25;:43::i;125078:146::-;-1:-1:-1;;;;;125162:33:0;;;;;;:24;:33;;;;;;;;93730:9;:18;;;;;;;125146:70;;125162:33;125146:15;:70::i;125197:18::-;125146:15;:70::i;125232:118::-;125289:53;125305:21;125328:13;93546:12;;;93458:108;115087:643;115219:3;-1:-1:-1;;;;;115212:10:0;:3;-1:-1:-1;;;;;115212:10:0;;;:24;;;;;115235:1;115226:6;:10;115212:24;115208:515;;;-1:-1:-1;;;;;115257:17:0;;;115253:224;;-1:-1:-1;;;;;115353:17:0;;115296;115353;;;:12;:17;;;;;115296;;115336:54;;115372:9;115383:6;115336:16;:54::i;:::-;115295:95;;;;115435:3;-1:-1:-1;;;;;115414:47:0;;115440:9;115451;115414:47;;;;;;21918:25:1;;;21974:2;21959:18;;21952:34;21906:2;21891:18;;21744:248;115414:47:0;;;;;;;;115276:201;;115253:224;-1:-1:-1;;;;;115497:17:0;;;115493:219;;-1:-1:-1;;;;;115593:17:0;;115536;115593;;;:12;:17;;;;;115536;;115576:49;;115612:4;115618:6;115576:16;:49::i;:::-;115535:90;;;;115670:3;-1:-1:-1;;;;;115649:47:0;;115675:9;115686;115649:47;;;;;;21918:25:1;;;21974:2;21959:18;;21952:34;21906:2;21891:18;;21744:248;115649:47:0;;;;;;;;115516:196;;115087:643;;;:::o;133366:995::-;133415:20;;;;;;;:37;;;;-1:-1:-1;133439:8:0;;;;;:13;;133415:37;133411:941;;;133471:37;133491:16;;133471:19;:37::i;:::-;133544:1;133525:16;:20;;;133562:8;:12;;-1:-1:-1;;133562:12:0;133573:1;133562:12;;;133618:17;;133610:65;;-1:-1:-1;;;;;133618:17:0;;;;133649:21;;133544:1;133610:65;133544:1;133610:65;133649:21;133618:17;133610:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133591:84;;;133697:7;133692:188;;133732:61;;;;;22409:2:1;22391:21;;;22448:2;22428:18;;;22421:30;22487:34;22482:2;22467:18;;22460:62;-1:-1:-1;;;22553:2:1;22538:18;;22531:41;22604:3;22589:19;;22207:407;133732:61:0;;;;;;;;126478:91;:::o;133692:188::-;133843:19;;;;;;;133454:439;85763:103::o;133411:941::-;133903:18;;;;;;;133899:453;;;133940:35;133960:14;;133940:19;:35::i;:::-;134009:1;133992:14;:18;;;134027:8;:12;;-1:-1:-1;;134027:12:0;;;134083:15;;134075:63;;-1:-1:-1;;;;;134083:15:0;;;;134112:21;;134009:1;134075:63;134009:1;134075:63;134112:21;134083:15;134075:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134056:82;;;134160:7;134155:184;;134195:59;;;;;22821:2:1;22803:21;;;22860:2;22840:18;;;22833:30;22899:34;22894:2;22879:18;;22872:62;-1:-1:-1;;;22965:2:1;22950:18;;22943:39;23014:3;22999:19;;22619:405;134155:184:0;134304:17;;;;;;;133923:429;133366:995::o;97821:840::-;-1:-1:-1;;;;;97952:18:0;;97944:68;;;;-1:-1:-1;;;97944:68:0;;23231:2:1;97944:68:0;;;23213:21:1;23270:2;23250:18;;;23243:30;23309:34;23289:18;;;23282:62;-1:-1:-1;;;23360:18:1;;;23353:35;23405:19;;97944:68:0;23029:401:1;97944:68:0;-1:-1:-1;;;;;98031:16:0;;98023:64;;;;-1:-1:-1;;;98023:64:0;;23637:2:1;98023:64:0;;;23619:21:1;23676:2;23656:18;;;23649:30;23715:34;23695:18;;;23688:62;-1:-1:-1;;;23766:18:1;;;23759:33;23809:19;;98023:64:0;23435:399:1;98023:64:0;98100:38;98121:4;98127:2;98131:6;98100:20;:38::i;:::-;-1:-1:-1;;;;;98173:15:0;;98151:19;98173:15;;;:9;:15;;;;;;98207:21;;;;98199:72;;;;-1:-1:-1;;;98199:72:0;;24041:2:1;98199:72:0;;;24023:21:1;24080:2;24060:18;;;24053:30;24119:34;24099:18;;;24092:62;-1:-1:-1;;;24170:18:1;;;24163:36;24216:19;;98199:72:0;23839:402:1;98199:72:0;-1:-1:-1;;;;;98307:15:0;;;;;;;:9;:15;;;;;;98325:20;;;98307:38;;98525:13;;;;;;;;;;:23;;;;;;98577:26;;;;;;98339:6;1599:25:1;;1587:2;1572:18;;1453:177;98577:26:0;;;;;;;;98616:37;98636:4;98642:2;98646:6;98616:19;:37::i;54745:1673::-;54793:7;54817:1;54822;54817:6;54813:47;;-1:-1:-1;54847:1:0;;54745:1673;-1:-1:-1;54745:1673:0:o;54813:47::-;55551:14;55585:1;55574:7;55579:1;55574:4;:7::i;:::-;:12;;55568:1;:19;;55551:36;;56053:1;56042:6;56038:1;:10;;;;;:::i;:::-;;56029:6;:19;56028:26;;56019:35;;56103:1;56092:6;56088:1;:10;;;;;:::i;:::-;;56079:6;:19;56078:26;;56069:35;;56153:1;56142:6;56138:1;:10;;;;;:::i;:::-;;56129:6;:19;56128:26;;56119:35;;56203:1;56192:6;56188:1;:10;;;;;:::i;:::-;;56179:6;:19;56178:26;;56169:35;;56253:1;56242:6;56238:1;:10;;;;;:::i;:::-;;56229:6;:19;56228:26;;56219:35;;56303:1;56292:6;56288:1;:10;;;;;:::i;:::-;;56279:6;:19;56278:26;;56269:35;;56353:1;56342:6;56338:1;:10;;;;;:::i;:::-;;56329:6;:19;56328:26;;56319:35;;56376:23;56380:6;56392;56388:1;:10;;;;;:::i;:::-;;56376:3;:23::i;49146:156::-;49208:7;49283:11;49293:1;49284:5;;;49283:11;:::i;:::-;49273:21;;49274:5;;;49273:21;:::i;113910:194::-;113995:28;114007:7;114016:6;113995:11;:28::i;:::-;114036:60;114053:23;114078:9;114089:6;114036:16;:60::i;121761:127::-;121825:7;121852:28;:18;47782:14;;47690:114;80369:958;80482:12;;80458:7;;80482:17;;80478:58;;-1:-1:-1;80523:1:0;80516:8;;80478:58;80589:12;;80548:11;;80614:444;80627:4;80621:3;:10;80614:444;;;80648:11;80662:23;80675:3;80680:4;80662:12;:23::i;:::-;82719:31;82854:19;;;82912:4;82899:18;;80648:37;;-1:-1:-1;80939:7:0;;82895:28;;80906:30;:40;80902:145;;;80974:3;80967:10;;80902:145;;;81024:7;:3;81030:1;81024:7;:::i;:::-;81018:13;;80902:145;80633:425;80614:444;;;81184:1;81178:3;:7;:56;;;;-1:-1:-1;81227:7:0;81189:28;81202:5;81209:7;81215:1;81209:3;:7;:::i;81189:28::-;:34;:45;81178:56;81174:146;;;81258:7;81264:1;81258:3;:7;:::i;:::-;81251:14;;;;;;81174:146;-1:-1:-1;81305:3:0;-1:-1:-1;81298:10:0;;68690:1520;68821:7;;69755:66;69742:79;;69738:163;;;-1:-1:-1;69854:1:0;;-1:-1:-1;69858:30:0;69838:51;;69738:163;70015:24;;;69998:14;70015:24;;;;;;;;;25364:25:1;;;25437:4;25425:17;;25405:18;;;25398:45;;;;25459:18;;;25452:34;;;25502:18;;;25495:34;;;70015:24:0;;25336:19:1;;70015:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70015:24:0;;-1:-1:-1;;70015:24:0;;;-1:-1:-1;;;;;;;70054:20:0;;70050:103;;70107:1;70111:29;70091:50;;;;;;;70050:103;70173:6;-1:-1:-1;70181:20:0;;-1:-1:-1;68690:1520:0;;;;;;;;:::o;64082:521::-;64160:20;64151:5;:29;;;;;;;;:::i;:::-;;64147:449;;64082:521;:::o;64147:449::-;64258:29;64249:5;:38;;;;;;;;:::i;:::-;;64245:351;;64304:34;;-1:-1:-1;;;64304:34:0;;25874:2:1;64304:34:0;;;25856:21:1;25913:2;25893:18;;;25886:30;25952:26;25932:18;;;25925:54;25996:18;;64304:34:0;25672:348:1;64245:351:0;64369:35;64360:5;:44;;;;;;;;:::i;:::-;;64356:240;;64421:41;;-1:-1:-1;;;64421:41:0;;26227:2:1;64421:41:0;;;26209:21:1;26266:2;26246:18;;;26239:30;26305:33;26285:18;;;26278:61;26356:18;;64421:41:0;26025:355:1;64356:240:0;64493:30;64484:5;:39;;;;;;;;:::i;:::-;;64480:116;;64540:44;;-1:-1:-1;;;64540:44:0;;26587:2:1;64540:44:0;;;26569:21:1;26626:2;26606:18;;;26599:30;26665:34;26645:18;;;26638:62;-1:-1:-1;;;26716:18:1;;;26709:32;26758:19;;64540:44:0;26385:398:1;125358:310:0;125453:17;125473:23;:21;:23::i;:::-;125453:43;-1:-1:-1;125453:43:0;125511:30;125527:9;125511:15;:30::i;:::-;:42;125507:154;;;125570:29;;;;;;;;-1:-1:-1;125570:29:0;;;;;;;;;;;;;;125614:16;;;:35;;;;;;;;;;;;;;;125358:310::o;132840:514::-;132930:16;;;132944:1;132930:16;;;;;;;;132906:21;;132930:16;;;;;;;;;;-1:-1:-1;132930:16:0;132906:40;;132977:4;132959;132964:1;132959:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;132959:23:0;;;:7;;;;;;;;;;:23;;;;133005:15;;:22;;;-1:-1:-1;;;133005:22:0;;;;:15;;;;;:20;;:22;;;;;132959:7;;133005:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;132995:4;133000:1;132995:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;132995:32:0;;;:7;;;;;;;;;:32;133072:15;;133040:57;;133057:4;;133072:15;133090:6;133040:8;:57::i;:::-;133110:15;;:234;;-1:-1:-1;;;133110:234:0;;-1:-1:-1;;;;;133110:15:0;;;;:66;;:234;;133193:6;;133110:15;;133265:4;;133294;;133316:15;;133110:234;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56895:1019;56947:7;;57034:3;57025:12;;;:16;57021:102;;57072:3;57062:13;;;;57094;57021:102;57150:2;57141:11;;;:15;57137:99;;57187:2;57177:12;;;;57208;57137:99;57263:2;57254:11;;;:15;57250:99;;57300:2;57290:12;;;;57321;57250:99;57376:2;57367:11;;;:15;57363:99;;57413:2;57403:12;;;;57434;57363:99;57489:1;57480:10;;;:14;57476:96;;57525:1;57515:11;;;;57545;57476:96;57599:1;57590:10;;;:14;57586:96;;57635:1;57625:11;;;;57655;57586:96;57709:1;57700:10;;;:14;57696:96;;57745:1;57735:11;;;;57765;57696:96;57819:1;57810:10;;;:14;57806:66;;57855:1;57845:11;57900:6;56895:1019;-1:-1:-1;;56895:1019:0:o;48921:106::-;48979:7;49010:1;49006;:5;:13;;49018:1;49006:13;;;-1:-1:-1;49014:1:0;;48921:106;-1:-1:-1;48921:106:0:o;99829:675::-;-1:-1:-1;;;;;99913:21:0;;99905:67;;;;-1:-1:-1;;;99905:67:0;;28107:2:1;99905:67:0;;;28089:21:1;28146:2;28126:18;;;28119:30;28185:34;28165:18;;;28158:62;-1:-1:-1;;;28236:18:1;;;28229:31;28277:19;;99905:67:0;27905:397:1;99905:67:0;99985:49;100006:7;100023:1;100027:6;99985:20;:49::i;:::-;-1:-1:-1;;;;;100072:18:0;;100047:22;100072:18;;;:9;:18;;;;;;100109:24;;;;100101:71;;;;-1:-1:-1;;;100101:71:0;;28509:2:1;100101:71:0;;;28491:21:1;28548:2;28528:18;;;28521:30;28587:34;28567:18;;;28560:62;-1:-1:-1;;;28638:18:1;;;28631:32;28680:19;;100101:71:0;28307:398:1;100101:71:0;-1:-1:-1;;;;;100208:18:0;;;;;;:9;:18;;;;;;;;100229:23;;;100208:44;;100347:12;:22;;;;;;;100398:37;1599:25:1;;;100208:18:0;;;100398:37;;1572:18:1;100398:37:0;;;;;;;100448:48;100468:7;100485:1;100489:6;100448:19;:48::i;125676:212::-;125770:10;;125746:7;;125770:15;;125766:115;;-1:-1:-1;125809:1:0;;125676:212;-1:-1:-1;125676:212:0:o;125766:115::-;125854:10;;125850:3;;125854:14;;125867:1;;125854:14;:::i;:::-;125850:19;;;;;;;;:::i;:::-;;;;;;;;;125843:26;;125676:212;;;:::o;125766:115::-;125676:212;;;:::o;203:597:1:-;315:4;344:2;373;362:9;355:21;405:6;399:13;448:6;443:2;432:9;428:18;421:34;473:1;483:140;497:6;494:1;491:13;483:140;;;592:14;;;588:23;;582:30;558:17;;;577:2;554:26;547:66;512:10;;483:140;;;641:6;638:1;635:13;632:91;;;711:1;706:2;697:6;686:9;682:22;678:31;671:42;632:91;-1:-1:-1;784:2:1;763:15;-1:-1:-1;;759:29:1;744:45;;;;791:2;740:54;;203:597;-1:-1:-1;;;203:597:1:o;805:131::-;-1:-1:-1;;;;;880:31:1;;870:42;;860:70;;926:1;923;916:12;941:315;1009:6;1017;1070:2;1058:9;1049:7;1045:23;1041:32;1038:52;;;1086:1;1083;1076:12;1038:52;1125:9;1112:23;1144:31;1169:5;1144:31;:::i;:::-;1194:5;1246:2;1231:18;;;;1218:32;;-1:-1:-1;;;941:315:1:o;1869:456::-;1946:6;1954;1962;2015:2;2003:9;1994:7;1990:23;1986:32;1983:52;;;2031:1;2028;2021:12;1983:52;2070:9;2057:23;2089:31;2114:5;2089:31;:::i;:::-;2139:5;-1:-1:-1;2196:2:1;2181:18;;2168:32;2209:33;2168:32;2209:33;:::i;:::-;1869:456;;2261:7;;-1:-1:-1;;;2315:2:1;2300:18;;;;2287:32;;1869:456::o;2512:180::-;2571:6;2624:2;2612:9;2603:7;2599:23;2595:32;2592:52;;;2640:1;2637;2630:12;2592:52;-1:-1:-1;2663:23:1;;2512:180;-1:-1:-1;2512:180:1:o;2697:247::-;2756:6;2809:2;2797:9;2788:7;2784:23;2780:32;2777:52;;;2825:1;2822;2815:12;2777:52;2864:9;2851:23;2883:31;2908:5;2883:31;:::i;3354:118::-;3440:5;3433:13;3426:21;3419:5;3416:32;3406:60;;3462:1;3459;3452:12;3477:382;3542:6;3550;3603:2;3591:9;3582:7;3578:23;3574:32;3571:52;;;3619:1;3616;3609:12;3571:52;3658:9;3645:23;3677:31;3702:5;3677:31;:::i;:::-;3727:5;-1:-1:-1;3784:2:1;3769:18;;3756:32;3797:30;3756:32;3797:30;:::i;:::-;3846:7;3836:17;;;3477:382;;;;;:::o;3864:156::-;3930:20;;3990:4;3979:16;;3969:27;;3959:55;;4010:1;4007;4000:12;4025:592;4127:6;4135;4143;4151;4159;4167;4220:3;4208:9;4199:7;4195:23;4191:33;4188:53;;;4237:1;4234;4227:12;4188:53;4276:9;4263:23;4295:31;4320:5;4295:31;:::i;:::-;4345:5;-1:-1:-1;4397:2:1;4382:18;;4369:32;;-1:-1:-1;4448:2:1;4433:18;;4420:32;;-1:-1:-1;4471:36:1;4503:2;4488:18;;4471:36;:::i;:::-;4461:46;;4554:3;4543:9;4539:19;4526:33;4516:43;;4606:3;4595:9;4591:19;4578:33;4568:43;;4025:592;;;;;;;;:::o;4622:734::-;4733:6;4741;4749;4757;4765;4773;4781;4834:3;4822:9;4813:7;4809:23;4805:33;4802:53;;;4851:1;4848;4841:12;4802:53;4890:9;4877:23;4909:31;4934:5;4909:31;:::i;:::-;4959:5;-1:-1:-1;5016:2:1;5001:18;;4988:32;5029:33;4988:32;5029:33;:::i;:::-;5081:7;-1:-1:-1;5135:2:1;5120:18;;5107:32;;-1:-1:-1;5186:2:1;5171:18;;5158:32;;-1:-1:-1;5209:37:1;5241:3;5226:19;;5209:37;:::i;:::-;5199:47;;5293:3;5282:9;5278:19;5265:33;5255:43;;5345:3;5334:9;5330:19;5317:33;5307:43;;4622:734;;;;;;;;;;:::o;5361:388::-;5429:6;5437;5490:2;5478:9;5469:7;5465:23;5461:32;5458:52;;;5506:1;5503;5496:12;5458:52;5545:9;5532:23;5564:31;5589:5;5564:31;:::i;:::-;5614:5;-1:-1:-1;5671:2:1;5656:18;;5643:32;5684:33;5643:32;5684:33;:::i;6163:419::-;6230:6;6238;6291:2;6279:9;6270:7;6266:23;6262:32;6259:52;;;6307:1;6304;6297:12;6259:52;6346:9;6333:23;6365:31;6390:5;6365:31;:::i;:::-;6415:5;-1:-1:-1;6472:2:1;6457:18;;6444:32;6520:10;6507:24;;6495:37;;6485:65;;6546:1;6543;6536:12;6938:380;7017:1;7013:12;;;;7060;;;7081:61;;7135:4;7127:6;7123:17;7113:27;;7081:61;7188:2;7180:6;7177:14;7157:18;7154:38;7151:161;;7234:10;7229:3;7225:20;7222:1;7215:31;7269:4;7266:1;7259:15;7297:4;7294:1;7287:15;7602:245;7669:6;7722:2;7710:9;7701:7;7697:23;7693:32;7690:52;;;7738:1;7735;7728:12;7690:52;7770:9;7764:16;7789:28;7811:5;7789:28;:::i;7852:127::-;7913:10;7908:3;7904:20;7901:1;7894:31;7944:4;7941:1;7934:15;7968:4;7965:1;7958:15;7984:128;8024:3;8055:1;8051:6;8048:1;8045:13;8042:39;;;8061:18;;:::i;:::-;-1:-1:-1;8097:9:1;;7984:128::o;10067:251::-;10137:6;10190:2;10178:9;10169:7;10165:23;10161:32;10158:52;;;10206:1;10203;10196:12;10158:52;10238:9;10232:16;10257:31;10282:5;10257:31;:::i;11469:125::-;11509:4;11537:1;11534;11531:8;11528:34;;;11542:18;;:::i;:::-;-1:-1:-1;11579:9:1;;11469:125::o;11599:127::-;11660:10;11655:3;11651:20;11648:1;11641:31;11691:4;11688:1;11681:15;11715:4;11712:1;11705:15;20147:168;20187:7;20253:1;20249;20245:6;20241:14;20238:1;20235:21;20230:1;20223:9;20216:17;20212:45;20209:71;;;20260:18;;:::i;:::-;-1:-1:-1;20300:9:1;;20147:168::o;20320:127::-;20381:10;20376:3;20372:20;20369:1;20362:31;20412:4;20409:1;20402:15;20436:4;20433:1;20426:15;20452:217;20492:1;20518;20508:132;;20562:10;20557:3;20553:20;20550:1;20543:31;20597:4;20594:1;20587:15;20625:4;20622:1;20615:15;20508:132;-1:-1:-1;20654:9:1;;20452:217::o;25540:127::-;25601:10;25596:3;25592:20;25589:1;25582:31;25632:4;25629:1;25622:15;25656:4;25653:1;25646:15;26920:980;27182:4;27230:3;27219:9;27215:19;27261:6;27250:9;27243:25;27287:2;27325:6;27320:2;27309:9;27305:18;27298:34;27368:3;27363:2;27352:9;27348:18;27341:31;27392:6;27427;27421:13;27458:6;27450;27443:22;27496:3;27485:9;27481:19;27474:26;;27535:2;27527:6;27523:15;27509:29;;27556:1;27566:195;27580:6;27577:1;27574:13;27566:195;;;27645:13;;-1:-1:-1;;;;;27641:39:1;27629:52;;27736:15;;;;27701:12;;;;27677:1;27595:9;27566:195;;;-1:-1:-1;;;;;;;27817:32:1;;;;27812:2;27797:18;;27790:60;-1:-1:-1;;;27881:3:1;27866:19;27859:35;27778:3;26920:980;-1:-1:-1;;;26920:980:1:o
Swarm Source
ipfs://e306b675f77edc2595a2f8452acb68cbff47ef5b6d465e2757b9054b50771252
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.