Token Frax Share
Overview [ERC-20]
Price
$7.74 @ 0.004268 Eth (-1.91%)
Fully Diluted Market Cap
Max Total Supply:
1,193.165760405960956332 FXS
Holders:
19 (0.00%)
Contract:
Decimals:
18
Official Site:
Balance
153.027321830709739462 FXSValue
$1,184.43 ( ~0.653103874190809 Eth) [12.8253%]
[ Download CSV Export ]
[ Download CSV Export ]
OVERVIEW
FXS is the value accrual and governance token of the entire Frax ecosystem. Frax is a fractional-algorithmic stablecoin protocol. It aims to provide a highly scalable, decentralized, algorithmic money in place of fixed-supply assets like BTC.Market
Volume (24H) | : | $13,611,114.00 |
Market Capitalization | : | $551,811,253.00 |
Circulating Supply | : | 71,079,282.00 FXS |
Market Data Source: Coinmarketcap |
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | FXS-USDT | $8.9500 0.0049228 Eth | $11,919,770.0000 1,332,069.503 FXS | 29.2550% |
2 | ![]() | FXS-USDT | $8.9100 0.0049093 Eth | $11,683,317.0000 1,310,735.100 FXS | 28.7865% |
3 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0X853D955ACEF822DB058EB8505911ED77F175B99E | $8.9500 0.0049297 Eth | $4,835,169.0000 580,205.679 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 12.7425% |
4 | ![]() | FXS-BUSD | $8.9700 0.0049326 Eth | $2,161,041.0000 240,886.738 FXS | 5.2904% |
5 | ![]() | FXS-USDT | $8.9100 0.0048981 Eth | $1,680,847.0000 188,679.558 FXS | 4.1438% |
6 | ![]() | FXS-USDT | $8.9200 0.0049026 Eth | $1,567,700.0000 175,820.980 FXS | 3.8614% |
7 | ![]() | FXS-USDT | $8.7400 0.0048143 Eth | $942,604.0000 115,885.300 FXS | 2.5451% |
8 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $8.9500 0.0049312 Eth | $932,117.0000 107,884.710 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 2.3694% |
9 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $8.9000 0.0049010 Eth | $575,592.0000 67,874.134 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 1.4907% |
10 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $8.9500 0.0049312 Eth | $513,628.0000 60,448.079 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 1.3276% |
11 | ![]() | FXS-USDT | $8.9200 0.0049091 Eth | $448,490.0000 54,432.563 FXS | 1.1955% |
12 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XFEEF77D3F69374F66429C91D732A244F074BDF74 | $8.8600 0.0048728 Eth | $415,329.0000 46,923.557 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 1.0305% |
13 | ![]() | FXS-USDC | $8.9300 0.0049157 Eth | $376,586.0000 42,184.200 FXS | 0.9265% |
14 | ![]() | FXS-USDT | $8.9100 0.0049075 Eth | $366,009.0000 44,111.200 FXS | 0.9688% |
15 | ![]() | FXS-USDT | $8.9200 0.0049153 Eth | $347,071.0000 38,889.440 FXS | 0.8541% |
16 | ![]() | FXS-USDT | $8.9300 0.0049092 Eth | $309,355.0000 34,648.060 FXS | 0.7609% |
17 | ![]() | FXS-USDT | $8.1000 0.0044555 Eth | $286,777.0000 36,031.680 FXS | 0.7913% |
18 | ![]() | FXS-BTC | $8.9400 0.0049182 Eth | $258,161.0000 28,868.226 FXS | 0.6340% |
19 | ![]() | FXS-USDT | $8.9200 0.0049040 Eth | $211,097.0000 23,667.979 FXS | 0.5198% |
20 | ![]() | FXS-USDT | $8.9300 0.0049170 Eth | $198,015.0000 24,213.200 FXS | 0.5318% |
21 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0X853D955ACEF822DB058EB8505911ED77F175B99E | $8.9500 0.0049312 Eth | $194,454.0000 23,355.826 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 0.5129% |
22 | ![]() | FXS-USDT | $8.9300 0.0049114 Eth | $169,645.0000 20,956.486 FXS | 0.4602% |
23 | ![]() | FXS-USD | $8.9100 0.0048995 Eth | $141,412.0000 15,869.377 FXS | 0.3485% |
24 | ![]() | FXS-USDT | $8.9500 0.0049214 Eth | $129,225.0000 14,445.180 FXS | 0.3172% |
25 | ![]() | 0X90C97F71E18723B0CF0DFA30EE176AB653E89F40-0XE48A3D7D0BC88D552F730B62C006BC925EADB9EE | $8.8700 0.0048784 Eth | $52,408.0000 48,422.598 0X90C97F71E18723B0CF0DFA30EE176AB653E89F40 | 1.0635% |
26 | ![]() | FXS-USDT | $8.9100 0.0049086 Eth | $35,850.0000 4,021.613 FXS | 0.0883% |
27 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $8.9200 0.0049108 Eth | $27,926.0000 3,232.029 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 0.0710% |
28 | ![]() | FXS-USDT | $8.9300 0.0049102 Eth | $20,960.0000 2,348.323 FXS | 0.0516% |
29 | ![]() | FXS-EUR | $8.9200 0.0049032 Eth | $19,808.6000 2,221.266 FXS | 0.0488% |
30 | ![]() | FXS-USDT | $8.6700 0.0047890 Eth | $18,339.7600 2,114.512 FXS | 0.0464% |
31 | ![]() | FXS-USDT | $8.9300 0.0049179 Eth | $17,853.0900 2,153.814 FXS | 0.0473% |
32 | ![]() | FXS-BUSD | $8.9100 0.0049057 Eth | $16,014.7800 1,920.415 FXS | 0.0422% |
33 | ![]() | FXS-USDT | $8.9300 0.0049148 Eth | $14,477.3600 1,781.344 FXS | 0.0391% |
34 | ![]() | FXS-USDT | $8.9300 0.0049119 Eth | $10,132.8600 1,135.081 FXS | 0.0249% |
35 | ![]() | FXS-BUSD | $8.9100 0.0049039 Eth | $8,140.7300 913.237 FXS | 0.0201% |
36 | ![]() | 0X90C97F71E18723B0CF0DFA30EE176AB653E89F40-0XE48A3D7D0BC88D552F730B62C006BC925EADB9EE | $8.8200 0.0048598 Eth | $5,262.8300 4,876.648 0X90C97F71E18723B0CF0DFA30EE176AB653E89F40 | 0.1071% |
37 | ![]() | FXS-USDT | $8.8900 0.0048944 Eth | $4,923.8500 554.080 FXS | 0.0122% |
38 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $8.6400 0.0047562 Eth | $3,817.5000 458.125 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 0.0101% |
39 | ![]() | FXS-BTC | $8.9000 0.0048962 Eth | $3,279.5800 368.289 FXS | 0.0081% |
40 | ![]() | 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A-0X21BE370D5312F44CB42CE377BC9B8A0CEF1A4C83 | $8.9000 0.0049004 Eth | $3,266.4500 372.098 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A | 0.0082% |
41 | ![]() | 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A-0X04068DA6C83AFCFA0E13BA15A6696662335D5B75 | $8.8100 0.0048531 Eth | $3,165.4900 384.759 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A | 0.0085% |
42 | ![]() | FXS-IDR | $8.6300 0.0047533 Eth | $2,927.7200 339.236 FXS | 0.0075% |
43 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0XC2544A32872A91F4A553B404C6950E89DE901FDB | $8.9500 0.0049312 Eth | $2,781.0700 323.110 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 0.0071% |
44 | ![]() | FXS-USD | $8.9300 0.0049112 Eth | $2,309.5800 258.710 FXS | 0.0057% |
45 | ![]() | FXS-USDT | $8.8900 0.0048926 Eth | $1,170.0700 131.688 FXS | 0.0029% |
46 | ![]() | FXS-BTC | $8.9300 0.0049113 Eth | $1,111.1400 130.720 FXS | 0.0029% |
47 | ![]() | FXS-USDT | $8.6600 0.0047648 Eth | $1,071.2700 130.720 FXS | 0.0029% |
48 | ![]() | FXS-BTC | $8.9600 0.0049308 Eth | $746.8800 83.344 FXS | 0.0018% |
49 | ![]() | FXS-BUSD | $8.9300 0.0049135 Eth | $627.3100 70.247 FXS | 0.0015% |
50 | ![]() | 0XE48A3D7D0BC88D552F730B62C006BC925EADB9EE-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C | $8.7900 0.0048345 Eth | $554.5600 67.582 0XE48A3D7D0BC88D552F730B62C006BC925EADB9EE | 0.0015% |
51 | ![]() | 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A-0XDC301622E621166BD8E82F2CA0A26C13AD0BE355 | $8.8400 0.0048663 Eth | $463.5400 57.000 0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A | 0.0013% |
52 | ![]() | 0X214DB107654FF987AD859F34125307783FC8E387-0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7 | $8.7800 0.0048297 Eth | $335.5800 39.340 0X214DB107654FF987AD859F34125307783FC8E387 | 0.0009% |
53 | ![]() | FXS-BTC | $8.9400 0.0049178 Eth | $256.7500 28.710 FXS | 0.0006% |
54 | ![]() | FXS-ETH | $8.9300 0.0049156 Eth | $249.6500 31.123 FXS | 0.0007% |
55 | ![]() | 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355-0X7D016EEC9C25232B01F23EF992D98CA97FC2AF5A | $8.8500 0.0048760 Eth | $225.6400 208.105 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355 | 0.0046% |
56 | ![]() | 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355-0X049D68029688EABF473097A2FC38EF61633A3C7A | $0.9987 0.0005500 Eth | $134.0000 138.203 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355 | 0.0030% |
57 | ![]() | 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355-0X846E4D51D7E2043C1A87E0AB7490B93FB940357B | $0.9982 0.0005498 Eth | $116.2400 113.153 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355 | 0.0025% |
58 | ![]() | 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355-0X04068DA6C83AFCFA0E13BA15A6696662335D5B75 | $0.9987 0.0005500 Eth | $110.6800 110.241 0XDC301622E621166BD8E82F2CA0A26C13AD0BE355 | 0.0024% |
59 | ![]() | 0X29CED01C447166958605519F10DCF8B0255FB379-0XDE2F075F6F14EB9D96755B24E416A53E736CA363 | $8.0000 0.0044035 Eth | $47.2200 47.638 0X29CED01C447166958605519F10DCF8B0255FB379 | 0.0010% |
60 | ![]() | 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0-0X4E3FBD56CD56C3E72C1403E103B45DB9DA5B9D2B | $7.4200 0.0043007 Eth | $45.6400 6.147 0X3432B6A60D23CA0DFCA7761B7AB56459D9C964D0 | 0.0001% |
61 | ![]() | 0X0767D8E1B05EFA8D6A301A65B324B6B66A1CC14C-0XFA7191D292D5633F702B0BD7E3E3BCCC0E633200 | $1.2100 0.0006668 Eth | $0.4406 0.364 0X0767D8E1B05EFA8D6A301A65B324B6B66A1CC14C | 0.0000% |
Contract Name:
CrossChainCanonicalFRAX
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-03 */ /** *Submitted for verification at bobascan.com on 2022-06-16 */ // SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; // Sources flattened with hardhat v2.6.7 https://hardhat.org // File contracts/Common/Context.sol /* * @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 GSN 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 payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File contracts/Math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File contracts/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); } // File contracts/Utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File contracts/ERC20/ERC20.sol /** * @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 {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory __name, string memory __symbol) public { _name = __name; _symbol = __symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address.approve(address spender, uint256 amount) */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @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 { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal virtual { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } /** * @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 to 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:using-hooks.adoc[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File contracts/ERC20/ERC20Permit/IERC20Permit.sol /** * @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 contracts/ERC20/ERC20Permit/ECDSA.sol /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed 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 contracts/ERC20/ERC20Permit/EIP712.sol /** * @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; 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); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (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 contracts/ERC20/ERC20Permit/Counters.sol /** * @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 contracts/ERC20/ERC20Permit/ERC20Permit.sol /** * @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 immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @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(); } function PERMIT_TYPEHASH() external view returns (bytes32) { return _PERMIT_TYPEHASH; } /** * @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 contracts/Uniswap/TransferHelper.sol // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } function safeTransferETH(address to, uint value) internal { (bool success,) = to.call{value:value}(new bytes(0)); require(success, 'TransferHelper: ETH_TRANSFER_FAILED'); } } // File contracts/Staking/Owned.sol // https://docs.synthetix.io/contracts/Owned contract Owned { address public owner; address public nominatedOwner; constructor (address _owner) public { require(_owner != address(0), "Owner address cannot be 0"); owner = _owner; emit OwnerChanged(address(0), _owner); } function nominateNewOwner(address _owner) external onlyOwner { nominatedOwner = _owner; emit OwnerNominated(_owner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } modifier onlyOwner { require(msg.sender == owner, "Only the contract owner may perform this action"); _; } event OwnerNominated(address newOwner); event OwnerChanged(address oldOwner, address newOwner); } // File contracts/Utils/ReentrancyGuard.sol /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File contracts/ERC20/__CROSSCHAIN/CrossChainCanonical.sol // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ / ___/ __ `| |/_/ / /_ / / __ \/ __ `/ __ \/ ___/ _ \ | // | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ | // | /_/ /_/ \__,_/_/|_| /_/ /_/_/ /_/\__,_/_/ /_/\___/\___/ | // | | // ==================================================================== // ======================== CrossChainCanonical ======================= // ==================================================================== // Cross-chain / non mainnet canonical token contract. // Can accept any number of old non-canonical tokens. These will be // withdrawable by the owner so they can de-bridge it and get back mainnet 'real' tokens // Does not include any spurious mainnet logic // Frax Finance: https://github.com/FraxFinance // Primary Author(s) // Travis Moore: https://github.com/FortisFortuna // Reviewer(s) / Contributor(s) // Jason Huan: https://github.com/jasonhuan // Sam Kazemian: https://github.com/samkazemian // Dennis: github.com/denett contract CrossChainCanonical is ERC20Permit, Owned, ReentrancyGuard { using SafeMath for uint256; /* ========== STATE VARIABLES ========== */ // Core address public timelock_address; // Governance timelock address address public custodian_address; // Misc uint256 public mint_cap; mapping(address => uint256[2]) public swap_fees; mapping(address => bool) public fee_exempt_list; // Acceptable old tokens address[] public bridge_tokens_array; mapping(address => bool) public bridge_tokens; // The addresses in this array are able to mint tokens address[] public minters_array; mapping(address => bool) public minters; // Mapping is also used for faster verification // Constants for various precisions uint256 private constant PRICE_PRECISION = 1e6; // Administrative booleans bool public exchangesPaused; // Pause old token exchanges in case of an emergency mapping(address => bool) public canSwap; /* ========== MODIFIERS ========== */ modifier onlyByOwnGov() { require(msg.sender == timelock_address || msg.sender == owner, "Not owner or timelock"); _; } modifier onlyByOwnGovCust() { require(msg.sender == timelock_address || msg.sender == owner || msg.sender == custodian_address, "Not owner, tlck, or custd"); _; } modifier onlyMinters() { require(minters[msg.sender], "Not a minter"); _; } modifier onlyMintersOwnGov() { require(_isMinterOwnGov(msg.sender), "Not minter, owner, or tlck"); _; } modifier validBridgeToken(address token_address) { require(bridge_tokens[token_address], "Invalid old token"); _; } /* ========== CONSTRUCTOR ========== */ constructor ( string memory _name, string memory _symbol, address _creator_address, uint256 _initial_mint_amt, address _custodian_address, address[] memory _bridge_tokens ) ERC20(_name, _symbol) ERC20Permit(_name) Owned(_creator_address) { custodian_address = _custodian_address; // Initialize the starting old tokens for (uint256 i = 0; i < _bridge_tokens.length; i++){ // Mark as accepted bridge_tokens[_bridge_tokens[i]] = true; // Add to the array bridge_tokens_array.push(_bridge_tokens[i]); // Set a small swap fee initially of 0.04% swap_fees[_bridge_tokens[i]] = [400, 400]; // Make sure swapping is on canSwap[_bridge_tokens[i]] = true; } // Set the mint cap to the initial mint amount mint_cap = _initial_mint_amt; // Mint some canonical tokens to the creator super._mint(_creator_address, _initial_mint_amt); } /* ========== VIEWS ========== */ // Helpful for UIs function allBridgeTokens() external view returns (address[] memory) { return bridge_tokens_array; } function _isMinterOwnGov(address the_address) internal view returns (bool) { return (the_address == timelock_address || the_address == owner || minters[the_address]); } function _isFeeExempt(address the_address) internal view returns (bool) { return (_isMinterOwnGov(the_address) || fee_exempt_list[the_address]); } /* ========== INTERNAL FUNCTIONS ========== */ // Enforce a minting cap function _mint_capped(address account, uint256 amount) internal { require(totalSupply() + amount <= mint_cap, "Mint cap"); super._mint(account, amount); } /* ========== PUBLIC FUNCTIONS ========== */ // Exchange old or bridge tokens for these canonical tokens function exchangeOldForCanonical(address bridge_token_address, uint256 token_amount) external nonReentrant validBridgeToken(bridge_token_address) returns (uint256 canonical_tokens_out) { require(!exchangesPaused && canSwap[bridge_token_address], "Exchanges paused"); // Pull in the old / bridge tokens TransferHelper.safeTransferFrom(bridge_token_address, msg.sender, address(this), token_amount); // Handle the fee, if applicable canonical_tokens_out = token_amount; if (!_isFeeExempt(msg.sender)) { canonical_tokens_out -= ((canonical_tokens_out * swap_fees[bridge_token_address][0]) / PRICE_PRECISION); } // Mint canonical tokens and give it to the sender _mint_capped(msg.sender, canonical_tokens_out); } // Exchange canonical tokens for old or bridge tokens function exchangeCanonicalForOld(address bridge_token_address, uint256 token_amount) external nonReentrant validBridgeToken(bridge_token_address) returns (uint256 bridge_tokens_out) { require(!exchangesPaused && canSwap[bridge_token_address], "Exchanges paused"); // Burn the canonical tokens super._burn(msg.sender, token_amount); // Handle the fee, if applicable bridge_tokens_out = token_amount; if (!_isFeeExempt(msg.sender)) { bridge_tokens_out -= ((bridge_tokens_out * swap_fees[bridge_token_address][1]) / PRICE_PRECISION); } // Give old / bridge tokens to the sender TransferHelper.safeTransfer(bridge_token_address, msg.sender, bridge_tokens_out); } /* ========== MINTERS OR GOVERNANCE FUNCTIONS ========== */ // Collect old / bridge tokens so you can de-bridge them back on mainnet function withdrawBridgeTokens(address bridge_token_address, uint256 bridge_token_amount) external onlyMintersOwnGov validBridgeToken(bridge_token_address) { TransferHelper.safeTransfer(bridge_token_address, msg.sender, bridge_token_amount); } /* ========== MINTERS ONLY ========== */ // This function is what other minters will call to mint new tokens function minter_mint(address m_address, uint256 m_amount) external onlyMinters { _mint_capped(m_address, m_amount); emit TokenMinted(msg.sender, m_address, m_amount); } // This function is what other minters will call to burn tokens function minter_burn(uint256 amount) external onlyMinters { super._burn(msg.sender, amount); emit TokenBurned(msg.sender, amount); } /* ========== RESTRICTED FUNCTIONS, BUT CUSTODIAN CAN CALL TOO ========== */ function toggleExchanges() external onlyByOwnGovCust { exchangesPaused = !exchangesPaused; } /* ========== RESTRICTED FUNCTIONS ========== */ function addBridgeToken(address bridge_token_address) external onlyByOwnGov { // Make sure the token is not already present for (uint i = 0; i < bridge_tokens_array.length; i++){ if (bridge_tokens_array[i] == bridge_token_address){ revert("Token already present"); } } // Add the old token bridge_tokens[bridge_token_address] = true; bridge_tokens_array.push(bridge_token_address); // Turn swapping on canSwap[bridge_token_address] = true; emit BridgeTokenAdded(bridge_token_address); } function toggleBridgeToken(address bridge_token_address) external onlyByOwnGov { bridge_tokens[bridge_token_address] = !bridge_tokens[bridge_token_address]; // Toggle swapping canSwap[bridge_token_address] = !canSwap[bridge_token_address]; emit BridgeTokenToggled(bridge_token_address, !bridge_tokens[bridge_token_address]); } // Adds a minter address function addMinter(address minter_address) external onlyByOwnGov { require(minter_address != address(0), "Zero address detected"); require(minters[minter_address] == false, "Address already exists"); minters[minter_address] = true; minters_array.push(minter_address); emit MinterAdded(minter_address); } // Remove a minter function removeMinter(address minter_address) external onlyByOwnGov { require(minter_address != address(0), "Zero address detected"); require(minters[minter_address] == true, "Address nonexistant"); // Delete from the mapping delete minters[minter_address]; // 'Delete' from the array by setting the address to 0x0 for (uint i = 0; i < minters_array.length; i++){ if (minters_array[i] == minter_address) { minters_array[i] = address(0); // This will leave a null in the array and keep the indices the same break; } } emit MinterRemoved(minter_address); } function setMintCap(uint256 _mint_cap) external onlyByOwnGov { mint_cap = _mint_cap; emit MintCapSet(_mint_cap); } function setSwapFees(address bridge_token_address, uint256 _bridge_to_canonical, uint256 _canonical_to_old) external onlyByOwnGov { swap_fees[bridge_token_address] = [_bridge_to_canonical, _canonical_to_old]; } function toggleFeesForAddress(address the_address) external onlyByOwnGov { fee_exempt_list[the_address] = !fee_exempt_list[the_address]; } function setTimelock(address new_timelock) external onlyByOwnGov { require(new_timelock != address(0), "Zero address detected"); timelock_address = new_timelock; emit TimelockSet(new_timelock); } function setCustodian(address _custodian_address) external onlyByOwnGov { require(_custodian_address != address(0), "Zero address detected"); custodian_address = _custodian_address; emit CustodianSet(_custodian_address); } function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyByOwnGov { require(!bridge_tokens[tokenAddress], "Cannot withdraw bridge tokens"); require(tokenAddress != address(this), "Cannot withdraw these tokens"); TransferHelper.safeTransfer(address(tokenAddress), msg.sender, tokenAmount); } // // Generic proxy // function execute( // address _to, // uint256 _value, // bytes calldata _data // ) external onlyByOwnGov returns (bool, bytes memory) { // (bool success, bytes memory result) = _to.call{value:_value}(_data); // return (success, result); // } /* ========== EVENTS ========== */ event TokenBurned(address indexed from, uint256 amount); event TokenMinted(address indexed from, address indexed to, uint256 amount); event BridgeTokenAdded(address indexed bridge_token_address); event BridgeTokenToggled(address indexed bridge_token_address, bool state); event CollateralRatioRefreshed(uint256 global_collateral_ratio); event MinterAdded(address pool_address); event MinterRemoved(address pool_address); event MintCapSet(uint256 new_mint_cap); event TimelockSet(address new_timelock); event CustodianSet(address custodian_address); } // File contracts/ERC20/__CROSSCHAIN/CrossChainCanonicalFRAX.sol contract CrossChainCanonicalFRAX is CrossChainCanonical { constructor ( string memory _name, string memory _symbol, address _creator_address, uint256 _initial_mint_amt, address _custodian_address, address[] memory _bridge_tokens ) CrossChainCanonical(_name, _symbol, _creator_address, _initial_mint_amt, _custodian_address, _bridge_tokens) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_creator_address","type":"address"},{"internalType":"uint256","name":"_initial_mint_amt","type":"uint256"},{"internalType":"address","name":"_custodian_address","type":"address"},{"internalType":"address[]","name":"_bridge_tokens","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":"bridge_token_address","type":"address"}],"name":"BridgeTokenAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bridge_token_address","type":"address"},{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"BridgeTokenToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"global_collateral_ratio","type":"uint256"}],"name":"CollateralRatioRefreshed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"custodian_address","type":"address"}],"name":"CustodianSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"new_mint_cap","type":"uint256"}],"name":"MintCapSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pool_address","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pool_address","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"new_timelock","type":"address"}],"name":"TimelockSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bridge_token_address","type":"address"}],"name":"addBridgeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allBridgeTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridge_tokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bridge_tokens_array","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"canSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"custodian_address","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bridge_token_address","type":"address"},{"internalType":"uint256","name":"token_amount","type":"uint256"}],"name":"exchangeCanonicalForOld","outputs":[{"internalType":"uint256","name":"bridge_tokens_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bridge_token_address","type":"address"},{"internalType":"uint256","name":"token_amount","type":"uint256"}],"name":"exchangeOldForCanonical","outputs":[{"internalType":"uint256","name":"canonical_tokens_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangesPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fee_exempt_list","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint_cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"minter_burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"m_address","type":"address"},{"internalType":"uint256","name":"m_amount","type":"uint256"}],"name":"minter_mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters_array","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_custodian_address","type":"address"}],"name":"setCustodian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mint_cap","type":"uint256"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bridge_token_address","type":"address"},{"internalType":"uint256","name":"_bridge_to_canonical","type":"uint256"},{"internalType":"uint256","name":"_canonical_to_old","type":"uint256"}],"name":"setSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"swap_fees","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":"timelock_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bridge_token_address","type":"address"}],"name":"toggleBridgeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleExchanges","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"the_address","type":"address"}],"name":"toggleFeesForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bridge_token_address","type":"address"},{"internalType":"uint256","name":"bridge_token_amount","type":"uint256"}],"name":"withdrawBridgeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b50604051620047c2380380620047c28339810160408190526200005a91620006cc565b858585858585838680604051806040016040528060018152602001603160f81b81525089898160039080519060200190620000979291906200053d565b508051620000ad9060049060208401906200053d565b50506005805460ff1916601217905550815160208084019190912082518383012060c082815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830188905260608201879052608082019490945230818401528151808203909301835290930190925281519190940120919290916080526101005250505050506001600160a01b038116620001a65760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600780546001600160a01b0319166001600160a01b038316908117909155604080516000815260208101929092527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1506001600955600b80546001600160a01b0319166001600160a01b03841617905560005b8151811015620003a657600160106000848481518110620002485762000248620008c6565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550600f8282815181106200029e576200029e620008c6565b602090810291909101810151825460018101845560009384528284200180546001600160a01b0319166001600160a01b03909216919091179055604080518082019091526101908082529181019190915283519091600d918590859081106200030b576200030b620008c6565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002090600262000343929190620005cc565b506001601460008484815181106200035f576200035f620008c6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806200039d8162000892565b91505062000223565b5082600c81905550620003c58484620003d760201b620027db1760201c565b505050505050505050505050620008f2565b6001600160a01b0382166200042f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200019d565b6200044b81600254620004d360201b620028f31790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200047e918390620028f3620004d3821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080620004e283856200083a565b905083811015620005365760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200019d565b9392505050565b8280546200054b9062000855565b90600052602060002090601f0160209004810192826200056f5760008555620005ba565b82601f106200058a57805160ff1916838001178555620005ba565b82800160010185558215620005ba579182015b82811115620005ba5782518255916020019190600101906200059d565b50620005c892915062000603565b5090565b8260028101928215620005ba579160200282015b82811115620005ba578251829061ffff16905591602001919060010190620005e0565b5b80821115620005c8576000815560010162000604565b80516001600160a01b03811681146200063257600080fd5b919050565b600082601f8301126200064957600080fd5b81516001600160401b03811115620006655762000665620008dc565b60206200067b601f8301601f1916820162000807565b82815285828487010111156200069057600080fd5b60005b83811015620006b057858101830151828201840152820162000693565b83811115620006c25760008385840101525b5095945050505050565b60008060008060008060c08789031215620006e657600080fd5b86516001600160401b0380821115620006fe57600080fd5b6200070c8a838b0162000637565b97506020915081890151818111156200072457600080fd5b620007328b828c0162000637565b9750506200074360408a016200061a565b9550606089015194506200075a60808a016200061a565b935060a0890151818111156200076f57600080fd5b8901601f81018b136200078157600080fd5b805182811115620007965762000796620008dc565b8060051b9250620007a984840162000807565b8181528481019083860185850187018f1015620007c557600080fd5b600095505b83861015620007f357620007de816200061a565b835260019590950194918601918601620007ca565b508096505050505050509295509295509295565b604051601f8201601f191681016001600160401b0381118282101715620008325762000832620008dc565b604052919050565b60008219821115620008505762000850620008b0565b500190565b600181811c908216806200086a57607f821691505b602082108114156200088c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620008a957620008a9620008b0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e0516101005161012051613e79620009496000396000818161042801526125c50152600061318e015260006131dd015260006131b80152600061313c015260006131650152613e796000f3fe608060405234801561001057600080fd5b506004361061032b5760003560e01c806379ba5097116101b2578063983b2d56116100f9578063cd4839ca116100a2578063dc6663c71161007c578063dc6663c714610719578063dd62ed3e14610739578063f46eccc41461077f578063f537fe0e146107a257600080fd5b8063cd4839ca146106de578063d505accf146106f3578063d73ced041461070657600080fd5b8063a9059cbb116100d3578063a9059cbb14610695578063b13c950a146106a8578063bdacb303146106cb57600080fd5b8063983b2d561461065c578063a457c2d71461066f578063a7c571fe1461068257600080fd5b80638980f11f1161015b5780639006a50f116101355780639006a50f1461061e57806392bc31171461063157806395d89b411461065457600080fd5b80638980f11f146105e25780638da5cb5b146105f55780638f8e1ed21461061557600080fd5b80637ecebe001161018c5780637ecebe001461059957806385a589cc146105ac57806386a4671c146105bf57600080fd5b806379ba50971461055e57806379cc6790146105665780637ce6112b1461057957600080fd5b806330adf81f116102765780634070a0c91161021f5780636a257ebc116101f95780636a257ebc1461050d57806370a08231146105205780637601f0691461055657600080fd5b80634070a0c9146104c757806342966c68146104da57806353a47bb7146104ed57600080fd5b80633644e515116102505780633644e5151461049957806339509351146104a1578063403f3731146104b457600080fd5b806330adf81f14610426578063313ce5671461044c578063351ec1311461046157600080fd5b806313489515116102d857806323b872dd116102b257806323b872dd146103ed578063280cf3ed146104005780633092afd51461041357600080fd5b806313489515146103b55780631627540c146103c857806318160ddd146103db57600080fd5b80630919a951116103095780630919a9511461037c578063095ea7b31461038f5780630d339768146103a257600080fd5b8063039784521461033057806305a7fc611461034557806306fdde0314610367575b600080fd5b61034361033e366004613a44565b6107b5565b005b6013546103529060ff1681565b60405190151581526020015b60405180910390f35b61036f6108ca565b60405161035e9190613b52565b61034361038a366004613947565b61095c565b61035261039d366004613a44565b610a53565b6103436103b0366004613947565b610a69565b6103436103c3366004613947565b610bb6565b6103436103d6366004613947565b610e0f565b6002545b60405190815260200161035e565b6103526103fb366004613995565b610f30565b6103df61040e366004613a44565b610fa6565b610343610421366004613947565b6111c9565b7f00000000000000000000000000000000000000000000000000000000000000006103df565b60055460405160ff909116815260200161035e565b61047461046f366004613ac3565b6114e0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161035e565b6103df611517565b6103526104af366004613a44565b611526565b6103436104c2366004613947565b611569565b6103436104d5366004613ac3565b6116fc565b6103436104e8366004613ac3565b6117d4565b6008546104749073ffffffffffffffffffffffffffffffffffffffff1681565b61034361051b366004613a44565b6117e1565b6103df61052e366004613947565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6103436118b6565b6103436119ad565b610343610574366004613a44565b611af8565b600b546104749073ffffffffffffffffffffffffffffffffffffffff1681565b6103df6105a7366004613947565b611b3f565b6103df6105ba366004613a44565b611b6c565b6103526105cd366004613947565b600e6020526000908152604090205460ff1681565b6103436105f0366004613a44565b611b91565b6007546104749073ffffffffffffffffffffffffffffffffffffffff1681565b6103df600c5481565b6103df61062c366004613a44565b611d53565b61035261063f366004613947565b60146020526000908152604090205460ff1681565b61036f611f68565b61034361066a366004613947565b611f77565b61035261067d366004613a44565b612200565b610343610690366004613a6e565b61225c565b6103526106a3366004613a44565b612349565b6103526106b6366004613947565b60106020526000908152604090205460ff1681565b6103436106d9366004613947565b612356565b6106e66124e9565b60405161035e9190613af8565b6103436107013660046139d1565b612557565b610474610714366004613ac3565b612716565b600a546104749073ffffffffffffffffffffffffffffffffffffffff1681565b6103df610747366004613962565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b61035261078d366004613947565b60126020526000908152604090205460ff1681565b6103436107b0366004613ac3565b612726565b6107be33612973565b610829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4e6f74206d696e7465722c206f776e65722c206f7220746c636b00000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020526040902054829060ff166108ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c6964206f6c6420746f6b656e0000000000000000000000000000006044820152606401610820565b6108c58333846129eb565b505050565b6060600380546108d990613c76565b80601f016020809104026020016040519081016040528092919081815260200182805461090590613c76565b80156109525780601f1061092757610100808354040283529160200191610952565b820191906000526020600020905b81548152906001019060200180831161093557829003601f168201915b5050505050905090565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480610999575060075473ffffffffffffffffffffffffffffffffffffffff1633145b6109ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b6000610a60338484612b5b565b50600192915050565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480610aa6575060075473ffffffffffffffffffffffffffffffffffffffff1633145b610b0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff81166000818152601060208181526040808420805460ff808216157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009283161783556014855295839020805480881615921691909117905592825291549151919092161581527ff7c93079dcbf699749d66345a351afab7d24219bb1d915c9f4fc4cf03f00d39791015b60405180910390a250565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480610bf3575060075473ffffffffffffffffffffffffffffffffffffffff1633145b610c59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b60005b600f54811015610d2c578173ffffffffffffffffffffffffffffffffffffffff16600f8281548110610c9057610c90613d5b565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff161415610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f546f6b656e20616c72656164792070726573656e7400000000000000000000006044820152606401610820565b80610d2481613cc4565b915050610c5c565b5073ffffffffffffffffffffffffffffffffffffffff81166000818152601060209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009182168117909255600f80548084019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180547fffffffffffffffffffffffff000000000000000000000000000000000000000016871790556014909352818420805490931617909155517fa1f77cf0208e08e61710338f5370c9eba737ddc758d9f317dc5bdcff348e6e1a9190a250565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e00000000000000000000000000000000006064820152608401610820565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b6000610f3d848484612d0f565b610f9c8433610f9785604051806060016040528060288152602001613dd36028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602090815260408083203384529091529020549190612f39565b612b5b565b5060019392505050565b600060026009541415611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610820565b600260095573ffffffffffffffffffffffffffffffffffffffff8316600090815260106020526040902054839060ff166110ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c6964206f6c6420746f6b656e0000000000000000000000000000006044820152606401610820565b60135460ff161580156110e3575073ffffffffffffffffffffffffffffffffffffffff841660009081526014602052604090205460ff165b611149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f45786368616e67657320706175736564000000000000000000000000000000006044820152606401610820565b6111533384612f8d565b82915061115f336130fb565b6111b25773ffffffffffffffffffffffffffffffffffffffff84166000908152600d60205260409020620f4240906001015461119b9084613bf6565b6111a59190613bbb565b6111af9083613c33565b91505b6111bd8433846129eb565b50600160095592915050565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480611206575060075473ffffffffffffffffffffffffffffffffffffffff1633145b61126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff81166112e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff811660009081526012602052604090205460ff16151560011461137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f41646472657373206e6f6e6578697374616e74000000000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260126020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b601154811015611499578173ffffffffffffffffffffffffffffffffffffffff16601182815481106113fd576113fd613d5b565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156114875760006011828154811061143a5761143a613d5b565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611499565b8061149181613cc4565b9150506113c9565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290602001610f25565b600f81815481106114f057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b6000611521613138565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610a60918590610f9790866128f3565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806115a6575060075473ffffffffffffffffffffffffffffffffffffffff1633145b61160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8116611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610820565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fb88c20a211c5d7677ba2a26c317d8ae6b25aa492016dc8ceca2469761d063d8090602001610f25565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480611739575060075473ffffffffffffffffffffffffffffffffffffffff1633145b61179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b600c8190556040518181527fcda03296b648d791f2cee5a5af4b32860d8a3d01fae4126b12b408122400376790602001610f25565b6117de3382612f8d565b50565b3360009081526012602052604090205460ff1661185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f742061206d696e74657200000000000000000000000000000000000000006044820152606401610820565b611864828261322b565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907fdf1b2b09e9800d31c599375056be9f9e4eb37f078102643600c4e149714efaad906020015b60405180910390a35050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806118f3575060075473ffffffffffffffffffffffffffffffffffffffff1633145b806119155750600b5473ffffffffffffffffffffffffffffffffffffffff1633145b61197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4e6f74206f776e65722c20746c636b2c206f72206375737464000000000000006044820152606401610820565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314611a54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e65727368697000000000000000000000006064820152608401610820565b6007546008546040805173ffffffffffffffffffffffffffffffffffffffff93841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160088054600780547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b6000611b2882604051806060016040528060248152602001613dfb60249139611b218633610747565b9190612f39565b9050611b35833383612b5b565b6108c58383612f8d565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600660205260408120545b92915050565b600d6020528160005260406000208160028110611b8857600080fd5b01549150829050565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480611bce575060075473ffffffffffffffffffffffffffffffffffffffff1633145b611c34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604090205460ff1615611cc4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f43616e6e6f742077697468647261772062726964676520746f6b656e730000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8216301415611d44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616e6e6f7420776974686472617720746865736520746f6b656e73000000006044820152606401610820565b611d4f8233836129eb565b5050565b600060026009541415611dc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610820565b600260095573ffffffffffffffffffffffffffffffffffffffff8316600090815260106020526040902054839060ff16611e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c6964206f6c6420746f6b656e0000000000000000000000000000006044820152606401610820565b60135460ff16158015611e90575073ffffffffffffffffffffffffffffffffffffffff841660009081526014602052604090205460ff165b611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f45786368616e67657320706175736564000000000000000000000000000000006044820152606401610820565b611f02843330866132b4565b829150611f0e336130fb565b611f5e5773ffffffffffffffffffffffffffffffffffffffff84166000908152600d6020526040902054620f424090611f479084613bf6565b611f519190613bbb565b611f5b9083613c33565b91505b6111bd338361322b565b6060600480546108d990613c76565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480611fb4575060075473ffffffffffffffffffffffffffffffffffffffff1633145b61201a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8116612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff811660009081526012602052604090205460ff1615612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c726561647920657869737473000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260126020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556011805491820181559093527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6890920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69101610f25565b6000610a603384610f9785604051806060016040528060258152602001613e1f6025913933600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190612f39565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480612299575060075473ffffffffffffffffffffffffffffffffffffffff1633145b6122ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b604080518082018252838152602080820184905273ffffffffffffffffffffffffffffffffffffffff86166000908152600d909152919091206123439160026138cb565b50505050565b6000610a60338484612d0f565b600a5473ffffffffffffffffffffffffffffffffffffffff16331480612393575060075473ffffffffffffffffffffffffffffffffffffffff1633145b6123f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610820565b73ffffffffffffffffffffffffffffffffffffffff8116612476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610820565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f7e7ee4175d63f671fac3401d5f401ed18d1f48a586e756f404d5696fc77a705890602001610f25565b6060600f80548060200260200160405190810160405280929190818152602001828054801561095257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311612523575050505050905090565b834211156125c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610820565b60007f00000000000000000000000000000000000000000000000000000000000000008888886125f08c613452565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061265882613487565b90506000612668828787876134f0565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146126ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610820565b61270a8a8a8a612b5b565b50505050505050505050565b601181815481106114f057600080fd5b3360009081526012602052604090205460ff1661279f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f742061206d696e74657200000000000000000000000000000000000000006044820152606401610820565b6127a93382612f8d565b60405181815233907f1af5163f80e79b5e554f61e1d052084d3a3fe1166e42a265798c4e2ddce8ffa290602001610bab565b73ffffffffffffffffffffffffffffffffffffffff8216612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610820565b60025461286590826128f3565b60025573ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205461289890826128f3565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016118aa565b6000806129008385613ba3565b90508381101561296c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610820565b9392505050565b600a5460009073ffffffffffffffffffffffffffffffffffffffff838116911614806129b9575060075473ffffffffffffffffffffffffffffffffffffffff8381169116145b80611b6657505073ffffffffffffffffffffffffffffffffffffffff1660009081526012602052604090205460ff1690565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790529151600092839290871691612a829190613adc565b6000604051808303816000865af19150503d8060008114612abf576040519150601f19603f3d011682016040523d82523d6000602084013e612ac4565b606091505b5091509150818015612aee575080511580612aee575080806020019051810190612aee9190613aa1565b612b54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c4544006044820152606401610820565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff8316612bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610820565b73ffffffffffffffffffffffffffffffffffffffff8216612ca0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610820565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316612db2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610820565b73ffffffffffffffffffffffffffffffffffffffff8216612e55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610820565b612e9f81604051806060016040528060268152602001613dad6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152602081905260409020549190612f39565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612edb90826128f3565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101612d02565b60008184841115612f77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108209190613b52565b506000612f848486613c33565b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8216613030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610820565b61307a81604051806060016040528060228152602001613d8b6022913973ffffffffffffffffffffffffffffffffffffffff85166000908152602081905260409020549190612f39565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020556002546130ad9082613518565b60025560405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016118aa565b600061310682612973565b80611b6657505073ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205460ff1690565b60007f000000000000000000000000000000000000000000000000000000000000000046141561318757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600c548161323860025490565b6132429190613ba3565b11156132aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4d696e74206361700000000000000000000000000000000000000000000000006044820152606401610820565b611d4f82826127db565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905291516000928392908816916133539190613adc565b6000604051808303816000865af19150503d8060008114613390576040519150601f19603f3d011682016040523d82523d6000602084013e613395565b606091505b50915091508180156133bf5750805115806133bf5750808060200190518101906133bf9190613aa1565b61344a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160448201527f494c4544000000000000000000000000000000000000000000000000000000006064820152608401610820565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090208054600181018255905b50919050565b6000611b66613494613138565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006135018787878761355a565b9150915061350e81613672565b5095945050505050565b600061296c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612f39565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156135915750600090506003613669565b8460ff16601b141580156135a957508460ff16601c14155b156135ba5750600090506004613669565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561360e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661366257600060019250925050613669565b9150600090505b94509492505050565b600081600481111561368657613686613d2c565b141561368f5750565b60018160048111156136a3576136a3613d2c565b141561370b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610820565b600281600481111561371f5761371f613d2c565b1415613787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610820565b600381600481111561379b5761379b613d2c565b1415613829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610820565b600481600481111561383d5761383d613d2c565b14156117de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610820565b82600281019282156138f9579160200282015b828111156138f95782518255916020019190600101906138de565b50613905929150613909565b5090565b5b80821115613905576000815560010161390a565b803573ffffffffffffffffffffffffffffffffffffffff8116811461394257600080fd5b919050565b60006020828403121561395957600080fd5b61296c8261391e565b6000806040838503121561397557600080fd5b61397e8361391e565b915061398c6020840161391e565b90509250929050565b6000806000606084860312156139aa57600080fd5b6139b38461391e565b92506139c16020850161391e565b9150604084013590509250925092565b600080600080600080600060e0888a0312156139ec57600080fd5b6139f58861391e565b9650613a036020890161391e565b95506040880135945060608801359350608088013560ff81168114613a2757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215613a5757600080fd5b613a608361391e565b946020939093013593505050565b600080600060608486031215613a8357600080fd5b613a8c8461391e565b95602085013595506040909401359392505050565b600060208284031215613ab357600080fd5b8151801515811461296c57600080fd5b600060208284031215613ad557600080fd5b5035919050565b60008251613aee818460208701613c4a565b9190910192915050565b6020808252825182820181905260009190848201906040850190845b81811015613b4657835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101613b14565b50909695505050505050565b6020815260008251806020840152613b71816040850160208701613c4a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008219821115613bb657613bb6613cfd565b500190565b600082613bf1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c2e57613c2e613cfd565b500290565b600082821015613c4557613c45613cfd565b500390565b60005b83811015613c65578181015183820152602001613c4d565b838111156123435750506000910152565b600181811c90821680613c8a57607f821691505b60208210811415613481577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cf657613cf6613cfd565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f3fc1df43b6612b28deac422bd08715f6877b53a43761b7edadabf6011fe5f4a64736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000eef54910b5200f94e91e4a9a891ca95797b6fbf80000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000008ba9447cb6f4fd934b0fa31783ff07c05c3bd2960000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000a4672617820536861726500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000346585300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dc1664458d2f0b6090bea60a8793a4e66c2f1c00
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000eef54910b5200f94e91e4a9a891ca95797b6fbf80000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000008ba9447cb6f4fd934b0fa31783ff07c05c3bd2960000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000a4672617820536861726500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000346585300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dc1664458d2f0b6090bea60a8793a4e66c2f1c00
-----Decoded View---------------
Arg [0] : _name (string): Frax Share
Arg [1] : _symbol (string): FXS
Arg [2] : _creator_address (address): 0xeef54910b5200f94e91e4a9a891ca95797b6fbf8
Arg [3] : _initial_mint_amt (uint256): 250000000000000000000000
Arg [4] : _custodian_address (address): 0x8ba9447cb6f4fd934b0fa31783ff07c05c3bd296
Arg [5] : _bridge_tokens (address[]): 0xdc1664458d2f0b6090bea60a8793a4e66c2f1c00
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000eef54910b5200f94e91e4a9a891ca95797b6fbf8
Arg [3] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [4] : 0000000000000000000000008ba9447cb6f4fd934b0fa31783ff07c05c3bd296
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 4672617820536861726500000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 4658530000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 000000000000000000000000dc1664458d2f0b6090bea60a8793a4e66c2f1c00
Deployed ByteCode Sourcemap
66968:420:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61315:256;;;;;;:::i;:::-;;:::i;:::-;;56539:27;;;;;;;;;;;;5602:14:1;;5595:22;5577:41;;5565:2;5550:18;56539:27:0;;;;;;;;19563:83;;;:::i;:::-;;;;;;;:::i;64909:152::-;;;;;;:::i;:::-;;:::i;21709:169::-;;;;;;:::i;:::-;;:::i;63016:371::-;;;;;;:::i;:::-;;:::i;62386:622::-;;;;;;:::i;:::-;;:::i;50967:141::-;;;;;;:::i;:::-;;:::i;20638:100::-;20718:12;;20638:100;;;5775:25:1;;;5763:2;5748:18;20638:100:0;5730:76:1;22350:321:0;;;;;;:::i;:::-;;:::i;60391:771::-;;;;;;:::i;:::-;;:::i;63816:706::-;;;;;;:::i;:::-;;:::i;48603:101::-;48680:16;48603:101;;20490:83;20556:9;;20490:83;;20556:9;;;;19597:36:1;;19585:2;19570:18;20490:83:0;19552:87:1;56121:36:0;;;;;;:::i;:::-;;:::i;:::-;;;3659:42:1;3647:55;;;3629:74;;3617:2;3602:18;56121:36:0;3584:125:1;48480:115:0;;;:::i;23080:218::-;;;;;;:::i;:::-;;:::i;65306:256::-;;;;;;:::i;:::-;;:::i;64530:139::-;;;;;;:::i;:::-;;:::i;25874:91::-;;;;;;:::i;:::-;;:::i;50735:29::-;;;;;;;;;61701:191;;;;;;:::i;:::-;;:::i;20801:119::-;;;;;;:::i;:::-;20894:18;;20867:7;20894:18;;;;;;;;;;;;20801:119;62216:106;;;:::i;51116:271::-;;;:::i;26282:295::-;;;;;;:::i;:::-;;:::i;55896:32::-;;;;;;;;;48222:128;;;;;;:::i;:::-;;:::i;55981:47::-;;;;;;:::i;:::-;;:::i;56035:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;65570:345;;;;;;:::i;:::-;;:::i;50708:20::-;;;;;;;;;55951:23;;;;;;59511:813;;;;;;:::i;:::-;;:::i;56626:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;19765:87;;;:::i;63425:358::-;;;;;;:::i;:::-;;:::i;23801:269::-;;;;;;:::i;:::-;;:::i;64677:224::-;;;;;;:::i;:::-;;:::i;21133:175::-;;;;;;:::i;:::-;;:::i;56164:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;65069:229;;;;;;:::i;:::-;;:::i;58646:113::-;;;:::i;:::-;;;;;;;:::i;47511:645::-;;;;;;:::i;:::-;;:::i;56278:30::-;;;;;;:::i;:::-;;:::i;55827:31::-;;;;;;;;;21371:151;;;;;;:::i;:::-;21487:18;;;;21460:7;21487:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21371:151;56315:39;;;;;;:::i;:::-;;;;;;;;;;;;;;;;61969:155;;;;;;:::i;:::-;;:::i;61315:256::-;57215:27;57231:10;57215:15;:27::i;:::-;57207:66;;;;;;;11366:2:1;57207:66:0;;;11348:21:1;11405:2;11385:18;;;11378:30;11444:28;11424:18;;;11417:56;11490:18;;57207:66:0;;;;;;;;;57369:28:::1;::::0;::::1;;::::0;;;:13:::1;:28;::::0;;;;;61448:20;;57369:28:::1;;57361:58;;;::::0;::::1;::::0;;12785:2:1;57361:58:0::1;::::0;::::1;12767:21:1::0;12824:2;12804:18;;;12797:30;12863:19;12843:18;;;12836:47;12900:18;;57361:58:0::1;12757:167:1::0;57361:58:0::1;61481:82:::2;61509:20;61531:10;61543:19;61481:27;:82::i;:::-;57284:1:::1;61315:256:::0;;:::o;19563:83::-;19600:13;19633:5;19626:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19563:83;:::o;64909:152::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;65025:28:::1;;;::::0;;;:15:::1;:28;::::0;;;;;;64993:60;;::::1;65025:28;::::0;;::::1;65024:29;64993:60;::::0;;64909:152::o;21709:169::-;21792:4;21809:39;890:10;21832:7;21841:6;21809:8;:39::i;:::-;-1:-1:-1;21866:4:0;21709:169;;;;:::o;63016:371::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;63145:35:::1;::::0;::::1;;::::0;;;:13:::1;:35;::::0;;;;;;;;;::::1;::::0;;::::1;63144:36;63106:74:::0;;;::::1;;::::0;;63254:7:::1;:29:::0;;;;;;;;;;::::1;63253:30;63221:62:::0;::::1;::::0;;;::::1;::::0;;63343:35;;;;;63301:78;;63343:35;;;::::1;63342:36;5577:41:1::0;;63301:78:0::1;::::0;5550:18:1;63301:78:0::1;;;;;;;;63016:371:::0;:::o;62386:622::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;62533:6:::1;62528:197;62549:19;:26:::0;62545:30;::::1;62528:197;;;62627:20;62601:46;;:19;62621:1;62601:22;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;::::1;;:46;62597:117;;;62667:31;::::0;::::1;::::0;;18000:2:1;62667:31:0::1;::::0;::::1;17982:21:1::0;18039:2;18019:18;;;18012:30;18078:23;18058:18;;;18051:51;18119:18;;62667:31:0::1;17972:171:1::0;62597:117:0::1;62577:3:::0;::::1;::::0;::::1;:::i;:::-;;;;62528:197;;;-1:-1:-1::0;62767:35:0::1;::::0;::::1;;::::0;;;:13:::1;:35;::::0;;;;;;;:42;;62805:4:::1;62767:42:::0;;;::::1;::::0;::::1;::::0;;;62820:19:::1;:46:::0;;;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;62908:7:::1;:29:::0;;;;;;:36;;;;::::1;;::::0;;;62962:38;::::1;::::0;62767:35;62962:38:::1;62386:622:::0;:::o;50967:141::-;51447:5;;;;51433:10;:19;51425:79;;;;;;;14291:2:1;51425:79:0;;;14273:21:1;14330:2;14310:18;;;14303:30;14369:34;14349:18;;;14342:62;14440:17;14420:18;;;14413:45;14475:19;;51425:79:0;14263:237:1;51425:79:0;51039:14:::1;:23:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;51078:22:::1;::::0;3629:74:1;;;51078:22:0::1;::::0;3617:2:1;3602:18;51078:22:0::1;;;;;;;;50967:141:::0;:::o;22350:321::-;22456:4;22473:36;22483:6;22491:9;22502:6;22473:9;:36::i;:::-;22520:121;22529:6;890:10;22551:89;22589:6;22551:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;;;890:10;22551:33;;;;;;;;;;:37;:89::i;:::-;22520:8;:121::i;:::-;-1:-1:-1;22659:4:0;22350:321;;;;;:::o;60391:771::-;60546:25;53341:1;53947:7;;:19;;53939:63;;;;;;;18755:2:1;53939:63:0;;;18737:21:1;18794:2;18774:18;;;18767:30;18833:33;18813:18;;;18806:61;18884:18;;53939:63:0;18727:181:1;53939:63:0;53341:1;54080:7;:18;57369:28:::1;::::0;::::1;;::::0;;;:13:::1;:28;::::0;;;;;60515:20;;57369:28:::1;;57361:58;;;::::0;::::1;::::0;;12785:2:1;57361:58:0::1;::::0;::::1;12767:21:1::0;12824:2;12804:18;;;12797:30;12863:19;12843:18;;;12836:47;12900:18;;57361:58:0::1;12757:167:1::0;57361:58:0::1;60593:15:::2;::::0;::::2;;60592:16;:49:::0;::::2;;;-1:-1:-1::0;60612:29:0::2;::::0;::::2;;::::0;;;:7:::2;:29;::::0;;;;;::::2;;60592:49;60584:78;;;::::0;::::2;::::0;;16101:2:1;60584:78:0::2;::::0;::::2;16083:21:1::0;16140:2;16120:18;;;16113:30;16179:18;16159;;;16152:46;16215:18;;60584:78:0::2;16073:166:1::0;60584:78:0::2;60721:37;60733:10;60745:12;60721:11;:37::i;:::-;60833:12;60813:32;;60861:24;60874:10;60861:12;:24::i;:::-;60856:155;;60945:31;::::0;::::2;;::::0;;;:9:::2;:31;::::0;;;;56495:3:::2;::::0;60977:1:::2;60945:34;::::0;60925:54:::2;::::0;:17;:54:::2;:::i;:::-;60924:74;;;;:::i;:::-;60902:97;::::0;;::::2;:::i;:::-;;;60856:155;61074:80;61102:20;61124:10;61136:17;61074:27;:80::i;:::-;-1:-1:-1::0;53297:1:0;54259:7;:22;60391:771;;-1:-1:-1;;60391:771:0:o;63816:706::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;63903:28:::1;::::0;::::1;63895:62;;;::::0;::::1;::::0;;11721:2:1;63895:62:0::1;::::0;::::1;11703:21:1::0;11760:2;11740:18;;;11733:30;11799:23;11779:18;;;11772:51;11840:18;;63895:62:0::1;11693:171:1::0;63895:62:0::1;63976:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:31;;:23:::0;:31:::1;63968:63;;;::::0;::::1;::::0;;15753:2:1;63968:63:0::1;::::0;::::1;15735:21:1::0;15792:2;15772:18;;;15765:30;15831:21;15811:18;;;15804:49;15870:18;;63968:63:0::1;15725:169:1::0;63968:63:0::1;64095:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;64088:30;;;::::1;::::0;;64197:271:::1;64218:13;:20:::0;64214:24;::::1;64197:271;;;64284:14;64264:34;;:13;64278:1;64264:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;::::1;;:34;64260:197;;;64346:1;64319:13;64333:1;64319:16;;;;;;;;:::i;:::-;;;;;;;;;:29;;;;;;;;;;;;;;;;;;64436:5;;64260:197;64240:3:::0;::::1;::::0;::::1;:::i;:::-;;;;64197:271;;;-1:-1:-1::0;64485:29:0::1;::::0;3659:42:1;3647:55;;3629:74;;64485:29:0::1;::::0;3617:2:1;3602:18;64485:29:0::1;3584:125:1::0;56121:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56121:36:0;:::o;48480:115::-;48540:7;48567:20;:18;:20::i;:::-;48560:27;;48480:115;:::o;23080:218::-;890:10;23168:4;23217:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;23168:4;;23185:83;;23208:7;;23217:50;;23256:10;23217:38;:50::i;65306:256::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;65397:32:::1;::::0;::::1;65389:66;;;::::0;::::1;::::0;;11721:2:1;65389:66:0::1;::::0;::::1;11703:21:1::0;11760:2;11740:18;;;11733:30;11799:23;11779:18;;;11772:51;11840:18;;65389:66:0::1;11693:171:1::0;65389:66:0::1;65466:17;:38:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;65522:32:::1;::::0;3629:74:1;;;65522:32:0::1;::::0;3617:2:1;3602:18;65522:32:0::1;3584:125:1::0;64530:139:0;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;64602:8:::1;:20:::0;;;64640:21:::1;::::0;5775:25:1;;;64640:21:0::1;::::0;5763:2:1;5748:18;64640:21:0::1;5730:76:1::0;25874:91:0;25930:27;890:10;25950:6;25930:5;:27::i;:::-;25874:91;:::o;61701:191::-;57111:10;57103:19;;;;:7;:19;;;;;;;;57095:44;;;;;;;17254:2:1;57095:44:0;;;17236:21:1;17293:2;17273:18;;;17266:30;17332:14;17312:18;;;17305:42;17364:18;;57095:44:0;17226:162:1;57095:44:0;61791:33:::1;61804:9;61815:8;61791:12;:33::i;:::-;61840:44;::::0;5775:25:1;;;61840:44:0::1;::::0;::::1;::::0;61852:10:::1;::::0;61840:44:::1;::::0;5763:2:1;5748:18;61840:44:0::1;;;;;;;;61701:191:::0;;:::o;62216:106::-;56930:16;;;;56916:10;:30;;:53;;-1:-1:-1;56964:5:0;;;;56950:10;:19;56916:53;:88;;;-1:-1:-1;56987:17:0;;;;56973:10;:31;56916:88;56908:126;;;;;;;13534:2:1;56908:126:0;;;13516:21:1;13573:2;13553:18;;;13546:30;13612:27;13592:18;;;13585:55;13657:18;;56908:126:0;13506:175:1;56908:126:0;62299:15:::1;::::0;;62280:34;;::::1;62299:15;::::0;;::::1;62298:16;62280:34;::::0;;62216:106::o;51116:271::-;51185:14;;;;51171:10;:28;51163:94;;;;;;;9116:2:1;51163:94:0;;;9098:21:1;9155:2;9135:18;;;9128:30;9194:34;9174:18;;;9167:62;9265:23;9245:18;;;9238:51;9306:19;;51163:94:0;9088:243:1;51163:94:0;51286:5;;51293:14;;51273:35;;;51286:5;;;;3949:34:1;;51293:14:0;;;;4014:2:1;3999:18;;3992:43;51273:35:0;;3861:18:1;51273:35:0;;;;;;;51327:14;;;51319:5;:22;;;;;;51327:14;;;51319:22;;;;51352:27;;;51116:271::o;26282:295::-;26359:26;26388:84;26425:6;26388:84;;;;;;;;;;;;;;;;;:32;26398:7;890:10;21371:151;:::i;26388:32::-;:36;:84;:36;:84::i;:::-;26359:113;-1:-1:-1;26485:51:0;26494:7;890:10;26517:18;26485:8;:51::i;:::-;26547:22;26553:7;26562:6;26547:5;:22::i;48222:128::-;48318:14;;;48291:7;48318:14;;;:7;:14;;;;;45690;48318:24;48311:31;48222:128;-1:-1:-1;;48222:128:0:o;55981:47::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55981:47:0;;-1:-1:-1;55981:47:0:o;65570:345::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;65677:27:::1;::::0;::::1;;::::0;;;:13:::1;:27;::::0;;;;;::::1;;65676:28;65668:70;;;::::0;::::1;::::0;;10255:2:1;65668:70:0::1;::::0;::::1;10237:21:1::0;10294:2;10274:18;;;10267:30;10333:31;10313:18;;;10306:59;10382:18;;65668:70:0::1;10227:179:1::0;65668:70:0::1;65757:29;::::0;::::1;65781:4;65757:29;;65749:70;;;::::0;::::1;::::0;;9898:2:1;65749:70:0::1;::::0;::::1;9880:21:1::0;9937:2;9917:18;;;9910:30;9976;9956:18;;;9949:58;10024:18;;65749:70:0::1;9870:178:1::0;65749:70:0::1;65832:75;65868:12;65883:10;65895:11;65832:27;:75::i;:::-;65570:345:::0;;:::o;59511:813::-;59666:28;53341:1;53947:7;;:19;;53939:63;;;;;;;18755:2:1;53939:63:0;;;18737:21:1;18794:2;18774:18;;;18767:30;18833:33;18813:18;;;18806:61;18884:18;;53939:63:0;18727:181:1;53939:63:0;53341:1;54080:7;:18;57369:28:::1;::::0;::::1;;::::0;;;:13:::1;:28;::::0;;;;;59635:20;;57369:28:::1;;57361:58;;;::::0;::::1;::::0;;12785:2:1;57361:58:0::1;::::0;::::1;12767:21:1::0;12824:2;12804:18;;;12797:30;12863:19;12843:18;;;12836:47;12900:18;;57361:58:0::1;12757:167:1::0;57361:58:0::1;59716:15:::2;::::0;::::2;;59715:16;:49:::0;::::2;;;-1:-1:-1::0;59735:29:0::2;::::0;::::2;;::::0;;;:7:::2;:29;::::0;;;;;::::2;;59715:49;59707:78;;;::::0;::::2;::::0;;16101:2:1;59707:78:0::2;::::0;::::2;16083:21:1::0;16140:2;16120:18;;;16113:30;16179:18;16159;;;16152:46;16215:18;;59707:78:0::2;16073:166:1::0;59707:78:0::2;59842:94;59874:20;59896:10;59916:4;59923:12;59842:31;:94::i;:::-;60014:12;59991:35;;60042:24;60055:10;60042:12;:24::i;:::-;60037:161;;60132:31;::::0;::::2;;::::0;;;:9:::2;:31;::::0;;;;:34;56495:3:::2;::::0;60109:57:::2;::::0;:20;:57:::2;:::i;:::-;60108:77;;;;:::i;:::-;60083:103;::::0;;::::2;:::i;:::-;;;60037:161;60270:46;60283:10;60295:20;60270:12;:46::i;19765:87::-:0;19804:13;19837:7;19830:14;;;;;:::i;63425:358::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;63509:28:::1;::::0;::::1;63501:62;;;::::0;::::1;::::0;;11721:2:1;63501:62:0::1;::::0;::::1;11703:21:1::0;11760:2;11740:18;;;11733:30;11799:23;11779:18;;;11772:51;11840:18;;63501:62:0::1;11693:171:1::0;63501:62:0::1;63584:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:32;63576:67;;;::::0;::::1;::::0;;15402:2:1;63576:67:0::1;::::0;::::1;15384:21:1::0;15441:2;15421:18;;;15414:30;15480:24;15460:18;;;15453:52;15522:18;;63576:67:0::1;15374:172:1::0;63576:67:0::1;63654:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;;;:30;;;::::1;63680:4;63654:30:::0;;::::1;::::0;;;63696:13:::1;:34:::0;;;;::::1;::::0;;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;63748:27;;3629:74:1;;;63748:27:0::1;::::0;3602:18:1;63748:27:0::1;3584:125:1::0;23801:269:0;23894:4;23911:129;890:10;23934:7;23943:96;23982:15;23943:96;;;;;;;;;;;;;;;;;890:10;23943:25;;;;:11;:25;;;;;;;;;:34;;;;;;;;;;;;:38;:96::i;64677:224::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;64818:75:::1;::::0;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;:31:::1;::::0;::::1;-1:-1:-1::0;64818:31:0;;;:9:::1;:31:::0;;;;;;;:75:::1;::::0;::::1;;:::i;:::-;;64677:224:::0;;;:::o;21133:175::-;21219:4;21236:42;890:10;21260:9;21271:6;21236:9;:42::i;65069:229::-;56776:16;;;;56762:10;:30;;:53;;-1:-1:-1;56810:5:0;;;;56796:10;:19;56762:53;56754:87;;;;;;;10613:2:1;56754:87:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691:23;10671:18;;;10664:51;10732:18;;56754:87:0;10585:171:1;56754:87:0;65153:26:::1;::::0;::::1;65145:60;;;::::0;::::1;::::0;;11721:2:1;65145:60:0::1;::::0;::::1;11703:21:1::0;11760:2;11740:18;;;11733:30;11799:23;11779:18;;;11772:51;11840:18;;65145:60:0::1;11693:171:1::0;65145:60:0::1;65216:16;:31:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;65265:25:::1;::::0;3629:74:1;;;65265:25:0::1;::::0;3617:2:1;3602:18;65265:25:0::1;3584:125:1::0;58646:113:0;58696:16;58732:19;58725:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58646:113;:::o;47511:645::-;47755:8;47736:15;:27;;47728:69;;;;;;;12427:2:1;47728:69:0;;;12409:21:1;12466:2;12446:18;;;12439:30;12505:31;12485:18;;;12478:59;12554:18;;47728:69:0;12399:179:1;47728:69:0;47810:18;47852:16;47870:5;47877:7;47886:5;47893:16;47903:5;47893:9;:16::i;:::-;47841:79;;;;;;6098:25:1;;;;6142:42;6220:15;;;6200:18;;;6193:43;6272:15;;;;6252:18;;;6245:43;6304:18;;;6297:34;6347:19;;;6340:35;6391:19;;;6384:35;;;6070:19;;47841:79:0;;;;;;;;;;;;47831:90;;;;;;47810:111;;47934:12;47949:28;47966:10;47949:16;:28::i;:::-;47934:43;;47990:14;48007:28;48021:4;48027:1;48030;48033;48007:13;:28::i;:::-;47990:45;;48064:5;48054:15;;:6;:15;;;48046:58;;;;;;;14707:2:1;48046:58:0;;;14689:21:1;14746:2;14726:18;;;14719:30;14785:32;14765:18;;;14758:60;14835:18;;48046:58:0;14679:180:1;48046:58:0;48117:31;48126:5;48133:7;48142:5;48117:8;:31::i;:::-;47717:439;;;47511:645;;;;;;;:::o;56278:30::-;;;;;;;;;;;;61969:155;57111:10;57103:19;;;;:7;:19;;;;;;;;57095:44;;;;;;;17254:2:1;57095:44:0;;;17236:21:1;17293:2;17273:18;;;17266:30;17332:14;17312:18;;;17305:42;17364:18;;57095:44:0;17226:162:1;57095:44:0;62038:31:::1;62050:10;62062:6;62038:11;:31::i;:::-;62085;::::0;5775:25:1;;;62097:10:0::1;::::0;62085:31:::1;::::0;5763:2:1;5748:18;62085:31:0::1;5730:76:1::0;25380:378:0;25464:21;;;25456:65;;;;;;;19115:2:1;25456:65:0;;;19097:21:1;19154:2;19134:18;;;19127:30;19193:33;19173:18;;;19166:61;19244:18;;25456:65:0;19087:181:1;25456:65:0;25611:12;;:24;;25628:6;25611:16;:24::i;:::-;25596:12;:39;25667:18;;;:9;:18;;;;;;;;;;;:30;;25690:6;25667:22;:30::i;:::-;25646:18;;;:9;:18;;;;;;;;;;;:51;;;;25713:37;;5775:25:1;;;25646:18:0;;:9;;25713:37;;5748:18:1;25713:37:0;5730:76:1;2032:181:0;2090:7;;2122:5;2126:1;2122;:5;:::i;:::-;2110:17;;2151:1;2146;:6;;2138:46;;;;;;;12071:2:1;2138:46:0;;;12053:21:1;12110:2;12090:18;;;12083:30;12149:29;12129:18;;;12122:57;12196:18;;2138:46:0;12043:177:1;2138:46:0;2204:1;2032:181;-1:-1:-1;;;2032:181:0:o;58767:182::-;58876:16;;58836:4;;58876:16;58861:31;;;58876:16;;58861:31;;:55;;-1:-1:-1;58911:5:0;;;58896:20;;;58911:5;;58896:20;58861:55;:79;;;-1:-1:-1;;58920:20:0;;;;;;:7;:20;;;;;;;;;58767:182::o;49616:361::-;49811:45;;;49800:10;4641:55:1;;;49811:45:0;;;4623:74:1;4713:18;;;;4706:34;;;49811:45:0;;;;;;;;;;4596:18:1;;;;49811:45:0;;;;;;;;;;;;;49800:57;;-1:-1:-1;;;;49800:10:0;;;;:57;;49811:45;49800:57;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49764:93;;;;49876:7;:57;;;;-1:-1:-1;49888:11:0;;:16;;:44;;;49919:4;49908:24;;;;;;;;;;;;:::i;:::-;49868:101;;;;;;;8756:2:1;49868:101:0;;;8738:21:1;8795:2;8775:18;;;8768:30;8834:33;8814:18;;;8807:61;8885:18;;49868:101:0;8728:181:1;49868:101:0;49686:291;;49616:361;;;:::o;27769:346::-;27871:19;;;27863:68;;;;;;;17595:2:1;27863:68:0;;;17577:21:1;17634:2;17614:18;;;17607:30;17673:34;17653:18;;;17646:62;17744:6;17724:18;;;17717:34;17768:19;;27863:68:0;17567:226:1;27863:68:0;27950:21;;;27942:68;;;;;;;10963:2:1;27942:68:0;;;10945:21:1;11002:2;10982:18;;;10975:30;11041:34;11021:18;;;11014:62;11112:4;11092:18;;;11085:32;11134:19;;27942:68:0;10935:224:1;27942:68:0;28023:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28075:32;;5775:25:1;;;28075:32:0;;5748:18:1;28075:32:0;;;;;;;;27769:346;;;:::o;24560:539::-;24666:20;;;24658:70;;;;;;;16848:2:1;24658:70:0;;;16830:21:1;16887:2;16867:18;;;16860:30;16926:34;16906:18;;;16899:62;16997:7;16977:18;;;16970:35;17022:19;;24658:70:0;16820:227:1;24658:70:0;24747:23;;;24739:71;;;;;;;8352:2:1;24739:71:0;;;8334:21:1;8391:2;8371:18;;;8364:30;8430:34;8410:18;;;8403:62;8501:5;8481:18;;;8474:33;8524:19;;24739:71:0;8324:225:1;24739:71:0;24903;24925:6;24903:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;24883:17;;;;:9;:17;;;;;;;;;;;:91;;;;25008:20;;;;;;;:32;;25033:6;25008:24;:32::i;:::-;24985:20;;;;:9;:20;;;;;;;;;;;;:55;;;;25056:35;5775:25:1;;;24985:20:0;;25056:35;;;;;;5748:18:1;25056:35:0;5730:76:1;2961:192:0;3047:7;3083:12;3075:6;;;;3067:29;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3107:9:0;3119:5;3123:1;3119;:5;:::i;:::-;3107:17;2961:192;-1:-1:-1;;;;;2961:192:0:o;26911:418::-;26995:21;;;26987:67;;;;;;;16446:2:1;26987:67:0;;;16428:21:1;16485:2;16465:18;;;16458:30;16524:34;16504:18;;;16497:62;16595:3;16575:18;;;16568:31;16616:19;;26987:67:0;16418:223:1;26987:67:0;27150:68;27173:6;27150:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;27129:18;;;:9;:18;;;;;;;;;;:89;27244:12;;:24;;27261:6;27244:16;:24::i;:::-;27229:12;:39;27284:37;;5775:25:1;;;27310:1:0;;27284:37;;;;;;5763:2:1;5748:18;27284:37:0;5730:76:1;58957:160:0;59023:4;59048:28;59064:11;59048:15;:28::i;:::-;:60;;;-1:-1:-1;;59080:28:0;;;;;;:15;:28;;;;;;;;;58957:160::o;43441:281::-;43494:7;43535:16;43518:13;:33;43514:201;;;-1:-1:-1;43575:24:0;;43441:281::o;43514:201::-;-1:-1:-1;43911:73:0;;;43661:10;43911:73;;;;6689:25:1;;;;43673:12:0;6730:18:1;;;6723:34;43687:15:0;6773:18:1;;;6766:34;43955:13:0;6816:18:1;;;6809:34;43978:4:0;6859:19:1;;;;6852:84;;;;43911:73:0;;;;;;;;;;6661:19:1;;;;43911:73:0;;;43901:84;;;;;;48480:115::o;59209:177::-;59318:8;;59308:6;59292:13;20718:12;;;20638:100;59292:13;:22;;;;:::i;:::-;:34;;59284:55;;;;;;;15066:2:1;59284:55:0;;;15048:21:1;15105:1;15085:18;;;15078:29;15143:10;15123:18;;;15116:38;15171:18;;59284:55:0;15038:157:1;59284:55:0;59350:28;59362:7;59371:6;59350:11;:28::i;49985:402::-;50210:51;;;50199:10;4327:15:1;;;50210:51:0;;;4309:34:1;4379:15;;;4359:18;;;4352:43;4411:18;;;;4404:34;;;50210:51:0;;;;;;;;;;4221:18:1;;;;50210:51:0;;;;;;;;;;;;;50199:63;;-1:-1:-1;;;;50199:10:0;;;;:63;;50210:51;50199:63;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50163:99;;;;50281:7;:57;;;;-1:-1:-1;50293:11:0;;:16;;:44;;;50324:4;50313:24;;;;;;;;;;;;:::i;:::-;50273:106;;;;;;;18350:2:1;50273:106:0;;;18332:21:1;18389:2;18369:18;;;18362:30;18428:34;18408:18;;;18401:62;18499:6;18479:18;;;18472:34;18523:19;;50273:106:0;18322:226:1;50273:106:0;50073:314;;49985:402;;;;:::o;48842:207::-;48963:14;;;48902:15;48963:14;;;:7;:14;;;;;45690;;45827:1;45809:19;;;;45690:14;49024:17;48919:130;48842:207;;;:::o;44635:167::-;44712:7;44739:55;44761:20;:18;:20::i;:::-;44783:10;40343:57;;3304:66:1;40343:57:0;;;3292:79:1;3387:11;;;3380:27;;;3423:12;;;3416:28;;;40306:7:0;;3460:12:1;;40343:57:0;;;;;;;;;;;;40333:68;;;;;;40326:75;;40213:196;;;;;39015:279;39143:7;39164:17;39183:18;39205:25;39216:4;39222:1;39225;39228;39205:10;:25::i;:::-;39163:67;;;;39241:18;39253:5;39241:11;:18::i;:::-;-1:-1:-1;39277:9:0;39015:279;-1:-1:-1;;;;;39015:279:0:o;2488:136::-;2546:7;2573:43;2577:1;2580;2573:43;;;;;;;;;;;;;;;;;:3;:43::i;37244:1632::-;37375:7;;38309:66;38296:79;;38292:163;;;-1:-1:-1;38408:1:0;;-1:-1:-1;38412:30:0;38392:51;;38292:163;38469:1;:7;;38474:2;38469:7;;:18;;;;;38480:1;:7;;38485:2;38480:7;;38469:18;38465:102;;;-1:-1:-1;38520:1:0;;-1:-1:-1;38524:30:0;38504:51;;38465:102;38681:24;;;38664:14;38681:24;;;;;;;;;7174:25:1;;;7247:4;7235:17;;7215:18;;;7208:45;;;;7269:18;;;7262:34;;;7312:18;;;7305:34;;;38681:24:0;;7146:19:1;;38681:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38681:24:0;;;;;;-1:-1:-1;;38720:20:0;;;38716:103;;38773:1;38777:29;38757:50;;;;;;;38716:103;38839:6;-1:-1:-1;38847:20:0;;-1:-1:-1;37244:1632:0;;;;;;;;:::o;31906:643::-;31984:20;31975:5;:29;;;;;;;;:::i;:::-;;31971:571;;;31906:643;:::o;31971:571::-;32082:29;32073:5;:38;;;;;;;;:::i;:::-;;32069:473;;;32128:34;;;;;7999:2:1;32128:34:0;;;7981:21:1;8038:2;8018:18;;;8011:30;8077:26;8057:18;;;8050:54;8121:18;;32128:34:0;7971:174:1;32069:473:0;32193:35;32184:5;:44;;;;;;;;:::i;:::-;;32180:362;;;32245:41;;;;;9538:2:1;32245:41:0;;;9520:21:1;9577:2;9557:18;;;9550:30;9616:33;9596:18;;;9589:61;9667:18;;32245:41:0;9510:181:1;32180:362:0;32317:30;32308:5;:39;;;;;;;;:::i;:::-;;32304:238;;;32364:44;;;;;13131:2:1;32364:44:0;;;13113:21:1;13170:2;13150:18;;;13143:30;13209:34;13189:18;;;13182:62;13280:4;13260:18;;;13253:32;13302:19;;32364:44:0;13103:224:1;32304:238:0;32439:30;32430:5;:39;;;;;;;;:::i;:::-;;32426:116;;;32486:44;;;;;13888:2:1;32486:44:0;;;13870:21:1;13927:2;13907:18;;;13900:30;13966:34;13946:18;;;13939:62;14037:4;14017:18;;;14010:32;14059:19;;32486:44:0;13860:224:1;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:196:1;82:20;;142:42;131:54;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;343:1;340;333:12;295:2;366:29;385:9;366:29;:::i;406:260::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:2;;;551:1;548;541:12;503:2;574:29;593:9;574:29;:::i;:::-;564:39;;622:38;656:2;645:9;641:18;622:38;:::i;:::-;612:48;;493:173;;;;;:::o;671:328::-;748:6;756;764;817:2;805:9;796:7;792:23;788:32;785:2;;;833:1;830;823:12;785:2;856:29;875:9;856:29;:::i;:::-;846:39;;904:38;938:2;927:9;923:18;904:38;:::i;:::-;894:48;;989:2;978:9;974:18;961:32;951:42;;775:224;;;;;:::o;1004:693::-;1115:6;1123;1131;1139;1147;1155;1163;1216:3;1204:9;1195:7;1191:23;1187:33;1184:2;;;1233:1;1230;1223:12;1184:2;1256:29;1275:9;1256:29;:::i;:::-;1246:39;;1304:38;1338:2;1327:9;1323:18;1304:38;:::i;:::-;1294:48;;1389:2;1378:9;1374:18;1361:32;1351:42;;1440:2;1429:9;1425:18;1412:32;1402:42;;1494:3;1483:9;1479:19;1466:33;1539:4;1532:5;1528:16;1521:5;1518:27;1508:2;;1559:1;1556;1549:12;1508:2;1174:523;;;;-1:-1:-1;1174:523:1;;;;1582:5;1634:3;1619:19;;1606:33;;-1:-1:-1;1686:3:1;1671:19;;;1658:33;;1174:523;-1:-1:-1;;1174:523:1:o;1702:254::-;1770:6;1778;1831:2;1819:9;1810:7;1806:23;1802:32;1799:2;;;1847:1;1844;1837:12;1799:2;1870:29;1889:9;1870:29;:::i;:::-;1860:39;1946:2;1931:18;;;;1918:32;;-1:-1:-1;;;1789:167:1:o;1961:322::-;2038:6;2046;2054;2107:2;2095:9;2086:7;2082:23;2078:32;2075:2;;;2123:1;2120;2113:12;2075:2;2146:29;2165:9;2146:29;:::i;:::-;2136:39;2222:2;2207:18;;2194:32;;-1:-1:-1;2273:2:1;2258:18;;;2245:32;;2065:218;-1:-1:-1;;;2065:218:1:o;2288:277::-;2355:6;2408:2;2396:9;2387:7;2383:23;2379:32;2376:2;;;2424:1;2421;2414:12;2376:2;2456:9;2450:16;2509:5;2502:13;2495:21;2488:5;2485:32;2475:2;;2531:1;2528;2521:12;2570:180;2629:6;2682:2;2670:9;2661:7;2657:23;2653:32;2650:2;;;2698:1;2695;2688:12;2650:2;-1:-1:-1;2721:23:1;;2640:110;-1:-1:-1;2640:110:1:o;2755:274::-;2884:3;2922:6;2916:13;2938:53;2984:6;2979:3;2972:4;2964:6;2960:17;2938:53;:::i;:::-;3007:16;;;;;2892:137;-1:-1:-1;;2892:137:1:o;4751:681::-;4922:2;4974:21;;;5044:13;;4947:18;;;5066:22;;;4893:4;;4922:2;5145:15;;;;5119:2;5104:18;;;4893:4;5188:218;5202:6;5199:1;5196:13;5188:218;;;5267:13;;5282:42;5263:62;5251:75;;5381:15;;;;5346:12;;;;5224:1;5217:9;5188:218;;;-1:-1:-1;5423:3:1;;4902:530;-1:-1:-1;;;;;;4902:530:1:o;7350:442::-;7499:2;7488:9;7481:21;7462:4;7531:6;7525:13;7574:6;7569:2;7558:9;7554:18;7547:34;7590:66;7649:6;7644:2;7633:9;7629:18;7624:2;7616:6;7612:15;7590:66;:::i;:::-;7708:2;7696:15;7713:66;7692:88;7677:104;;;;7783:2;7673:113;;7471:321;-1:-1:-1;;7471:321:1:o;19644:128::-;19684:3;19715:1;19711:6;19708:1;19705:13;19702:2;;;19721:18;;:::i;:::-;-1:-1:-1;19757:9:1;;19692:80::o;19777:274::-;19817:1;19843;19833:2;;19878:77;19875:1;19868:88;19979:4;19976:1;19969:15;20007:4;20004:1;19997:15;19833:2;-1:-1:-1;20036:9:1;;19823:228::o;20056:::-;20096:7;20222:1;20154:66;20150:74;20147:1;20144:81;20139:1;20132:9;20125:17;20121:105;20118:2;;;20229:18;;:::i;:::-;-1:-1:-1;20269:9:1;;20108:176::o;20289:125::-;20329:4;20357:1;20354;20351:8;20348:2;;;20362:18;;:::i;:::-;-1:-1:-1;20399:9:1;;20338:76::o;20419:258::-;20491:1;20501:113;20515:6;20512:1;20509:13;20501:113;;;20591:11;;;20585:18;20572:11;;;20565:39;20537:2;20530:10;20501:113;;;20632:6;20629:1;20626:13;20623:2;;;-1:-1:-1;;20667:1:1;20649:16;;20642:27;20472:205::o;20682:437::-;20761:1;20757:12;;;;20804;;;20825:2;;20879:4;20871:6;20867:17;20857:27;;20825:2;20932;20924:6;20921:14;20901:18;20898:38;20895:2;;;20969:77;20966:1;20959:88;21070:4;21067:1;21060:15;21098:4;21095:1;21088:15;21124:195;21163:3;21194:66;21187:5;21184:77;21181:2;;;21264:18;;:::i;:::-;-1:-1:-1;21311:1:1;21300:13;;21171:148::o;21324:184::-;21376:77;21373:1;21366:88;21473:4;21470:1;21463:15;21497:4;21494:1;21487:15;21513:184;21565:77;21562:1;21555:88;21662:4;21659:1;21652:15;21686:4;21683:1;21676:15;21702:184;21754:77;21751:1;21744:88;21851:4;21848:1;21841:15;21875:4;21872:1;21865:15
Swarm Source
ipfs://f3fc1df43b6612b28deac422bd08715f6877b53a43761b7edadabf6011fe5f4a