Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PRETokenV2
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-23 */ // File: @openzeppelin/contracts-ethereum-package/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; assembly { cs := extcodesize(self) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } // File: @openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @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. */ 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. */ 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts-ethereum-package/contracts/utils/EnumerableSet.sol pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); } } // File: @openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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. */ contract ContextUpgradeSafe is Initializable { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address payable) { return 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; } uint256[50] private __gap; } // File: @openzeppelin/contracts-ethereum-package/contracts/access/AccessControl.sol pragma solidity ^0.6.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, _msgSender())); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. */ abstract contract AccessControlUpgradeSafe is Initializable, ContextUpgradeSafe { function __AccessControl_init() internal initializer { __Context_init_unchained(); __AccessControl_init_unchained(); } function __AccessControl_init_unchained() internal initializer { } using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } uint256[49] private __gap; } // File: @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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/EnhancedERC20.sol pragma solidity 0.6.2; /** * @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 {ERC20MinterPauser}. * * 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 EnhancedERC20 is Initializable, ContextUpgradeSafe, IERC20 { using SafeMath for uint256; using Address for address; 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. */ function __ERC20_init(string memory name, string memory symbol) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name, symbol); } function __ERC20_init_unchained(string memory name, string memory symbol) internal initializer { _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. */ 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 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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /* Above this line is original Openzeppelin code from ERC20UpgradeSafe. Below are changes required necessary to expose private variables or hooks to make the contract more flexible or gas-efficient. */ /** * @dev Hook that is called before minting of tokens. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeMint(address from, address to, uint256 amount) internal virtual { } /** * @dev Hook that is called before a transfering tokens out of an account to one or more token holders * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransferBatch() internal virtual { } /** @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"); _beforeMint(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @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"); _beforeTokenTransferBatch(); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** * @dev Send multiple transfers as a batch within a single transaction * This is much more efficient than sending independent transactions. * This method should between 28% of gas (2 transfers) * and 50%-60% of gas (10+ transfers) * * Calling conditions: * * Emits an {Transfer} event for each individual successful transfer. * * Requirements: * * - `recipients[]` length must equal `amounts[]` length. * - The amount to send `recipients[i]` must be at `amounts[i]` * - `recipient` cannot be the zero address. * - `balance` of the calling account must be >= the sum of values in `amounts` going to other accounts */ function transferBatch(address[] calldata recipients, uint256[] calldata amounts) external virtual returns (bool) { require(recipients.length == amounts.length); _beforeTokenTransferBatch(); address sender = _msgSender(); uint256 senderBalance = _balances[sender]; for (uint i = 0; i < amounts.length; i++) { uint amount = amounts[i]; address recipient = recipients[i]; require(senderBalance >= amount, "ERC20: Insufficient balance for batch transfer"); require(recipient != address(0), "ERC20: transfer to the zero address"); if(sender != recipient){ senderBalance = senderBalance - amount; _balances[recipient] += amount; } emit Transfer(sender, recipient, amount); } _balances[sender] = senderBalance; return true; } uint256[44] private __gap; } // File: @openzeppelin/contracts-ethereum-package/contracts/utils/Pausable.sol pragma solidity ^0.6.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract PausableUpgradeSafe is Initializable, ContextUpgradeSafe { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; } // File: contracts/ManagedEnhancedERC20.sol pragma solidity 0.6.2; /** * @dev ERC20 token with pausable token transfers. * * Useful as an emergency switch for freezing all token transfers in the * event of a large bug or major project-impacting event. */ abstract contract ManagedEnhancedERC20 is Initializable, ContextUpgradeSafe, AccessControlUpgradeSafe, EnhancedERC20, PausableUpgradeSafe { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); function __ManagedEnhancedERC20_init(string memory name, string memory symbol) internal initializer { __Context_init_unchained(); __AccessControl_init_unchained(); __ERC20_init_unchained(name, symbol); __Pausable_init_unchained(); __ManagedEnhancedERC20_init_unchained(); } function __ManagedEnhancedERC20_init_unchained() internal initializer { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(PAUSER_ROLE, _msgSender()); } /** * @dev Pauses all token transfers. * * See {ERC20Pausable} and {Pausable-_pause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function pause() public { require(hasRole(PAUSER_ROLE, _msgSender()), "PauseableEnhancedERC20: must have pauser role to pause"); _pause(); } /** * @dev Unpauses all token transfers. * * See {ERC20Pausable} and {Pausable-_unpause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function unpause() public { require(hasRole(PAUSER_ROLE, _msgSender()), "PauseableEnhancedERC20: must have pauser role to unpause"); _unpause(); } /** * @dev See {EnhancedERC20-_beforeTokenTransferBatch}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransferBatch() internal virtual override { super._beforeTokenTransferBatch(); require(!paused(), "ManagedEnhancedERC20: token transfer while paused"); } uint256[50] private __gap; } // File: contracts/PREToken.sol pragma solidity 0.6.2; /** * @dev Presearch ERC20 Token * * Supply capped at 500M. */ contract PREToken is Initializable, ManagedEnhancedERC20 { using SafeMath for uint256; uint256 internal _maxSupply; function initialize(string memory name, string memory symbol) public initializer { __Context_init_unchained(); __AccessControl_init_unchained(); __ERC20_init_unchained(name, symbol); __Pausable_init_unchained(); __ManagedEnhancedERC20_init_unchained(); __PREToken_init_unchained(); } function __PREToken_init_unchained() internal initializer { _maxSupply = 500000000e18; _mint(_msgSender(), _maxSupply); } function _beforeMint(address from, address to, uint256 amount) internal virtual override { require(totalSupply().add(amount) <= _maxSupply); super._beforeMint(from, to, amount); } uint256[50] private __gap; } // File: contracts/lib/Strings.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.6.2; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: contracts/lib/ECDSA.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity 0.6.2; /** * @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 ECDSAUpgradeable { 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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsUpgradeable.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: contracts/EIP712.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.6.2; /** * @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 EIP712Upgradeable is Initializable { /* solhint-disable var-name-mixedcase */ bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); /* 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]. */ function __EIP712_init(string memory name, string memory version) internal { __EIP712_init_unchained(name, version); } function __EIP712_init_unchained(string memory name, string memory version) internal { _initialize(name, version); } function _initialize(string memory name, string memory version) internal { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash()); } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { uint256 chainId; assembly { chainId := chainid() } return keccak256(abi.encode(typeHash, nameHash, versionHash, 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 ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev The hash of the name parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712NameHash() internal virtual view returns (bytes32) { return _HASHED_NAME; } /** * @dev The hash of the version parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712VersionHash() internal virtual view returns (bytes32) { return _HASHED_VERSION; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: contracts/TransferAuthorizableERC20.sol pragma solidity 0.6.2; /** * @dev ERC20 token with pausable token transfers. * * Useful as an emergency switch for freezing all token transfers in the * event of a large bug or major project-impacting event. */ abstract contract TransferAuthorizableERC20 is Initializable, ManagedEnhancedERC20, EIP712Upgradeable { bytes32 public constant TRANSFER_AUTHORIZER_ROLE = keccak256("TRANSFER_AUTHORIZER_ROLE"); function __TransferAuthorizableERC20_init(string memory name, string memory symbol) internal initializer { __Context_init_unchained(); __AccessControl_init_unchained(); __ERC20_init_unchained(name, symbol); __Pausable_init_unchained(); __ManagedEnhancedERC20_init_unchained(); __TransferAuthorizableERC20ERC20_init_unchained(); } function __TransferAuthorizableERC20ERC20_init_unchained() internal initializer { _setupTransferAuthorizable(); } function getDomainSeparator() external view returns(bytes32) { return _domainSeparatorV4(); } function _setupTransferAuthorizable() internal { _initialize(name(), "1"); _setupRole(TRANSFER_AUTHORIZER_ROLE, _msgSender()); } /*********EIP3009 */ // keccak256("TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)") bytes32 public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH = 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267; // keccak256("ReceiveWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)") bytes32 public constant RECEIVE_WITH_AUTHORIZATION_TYPEHASH = 0xd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8; // keccak256("CancelAuthorization(address authorizer,bytes32 nonce)") bytes32 public constant CANCEL_AUTHORIZATION_TYPEHASH = 0x158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a1597429; /** * @dev authorizer address => nonce => state (true = used / false = unused) */ mapping(address => mapping(bytes32 => bool)) internal _authorizationStates; event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce); event AuthorizationCanceled( address indexed authorizer, bytes32 indexed nonce ); string internal constant _INVALID_SIGNATURE_ERROR = "EIP3009: invalid signature"; string internal constant _AUTHORIZATION_USED_ERROR = "EIP3009: authorization is used"; /** * @notice Returns the state of an authorization * @dev Nonces are randomly generated 32-byte data unique to the authorizer's * address * @param authorizer Authorizer's address * @param nonce Nonce of the authorization * @return True if the nonce is used */ function authorizationState(address authorizer, bytes32 nonce) external view returns (bool) { return _authorizationStates[authorizer][nonce]; } /** * @notice Execute a transfer with a signed authorization * @param from Payer's address (Authorizer) * @param to Payee's address * @param value Amount to be transferred * @param validAfter The time after which this is valid (unix time) * @param validBefore The time before which this is valid (unix time) * @param nonce Unique nonce * @param v v of the signature * @param r r of the signature * @param s s of the signature */ function transferWithAuthorization( address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) external { require(hasRole(TRANSFER_AUTHORIZER_ROLE, from), "TransferAuthorizableERC20: from address is not authorized for transferWithAuthorization"); _transferWithAuthorization( TRANSFER_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce, v, r, s ); } /** * @notice Receive a transfer with a signed authorization from the payer * @dev This has an additional check to ensure that the payee's address matches * the caller of this function to prevent front-running attacks. (See security * considerations) * @param from Payer's address (Authorizer) * @param to Payee's address * @param value Amount to be transferred * @param validAfter The time after which this is valid (unix time) * @param validBefore The time before which this is valid (unix time) * @param nonce Unique nonce * @param v v of the signature * @param r r of the signature * @param s s of the signature */ function receiveWithAuthorization( address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) external { require(to == _msgSender(), "EIP3009: caller must be the payee"); require(hasRole(TRANSFER_AUTHORIZER_ROLE, from), "TransferAuthorizableERC20: from address is not authorized for transferWithAuthorization"); _transferWithAuthorization( RECEIVE_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce, v, r, s ); } /** * @notice Attempt to cancel an authorization * @param authorizer Authorizer's address * @param nonce Nonce of the authorization * @param v v of the signature * @param r r of the signature * @param s s of the signature */ function cancelAuthorization( address authorizer, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) external { require( !_authorizationStates[authorizer][nonce], _AUTHORIZATION_USED_ERROR ); bytes memory data = abi.encode( CANCEL_AUTHORIZATION_TYPEHASH, authorizer, nonce ); bytes32 typedDataHash = ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), keccak256(data)); require( ECDSAUpgradeable.recover(typedDataHash, v, r, s) == authorizer, _INVALID_SIGNATURE_ERROR ); _authorizationStates[authorizer][nonce] = true; emit AuthorizationCanceled(authorizer, nonce); } function _transferWithAuthorization( bytes32 typeHash, address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) internal { require(now > validAfter, "EIP3009: authorization is not yet valid"); require(now < validBefore, "EIP3009: authorization is expired"); require(!_authorizationStates[from][nonce], _AUTHORIZATION_USED_ERROR); bytes memory data = abi.encode( typeHash, from, to, value, validAfter, validBefore, nonce ); bytes32 typedDataHash = ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), keccak256(data)); require( ECDSAUpgradeable.recover(typedDataHash, v, r, s) == from, _INVALID_SIGNATURE_ERROR ); _authorizationStates[from][nonce] = true; emit AuthorizationUsed(from, nonce); _transfer(from, to, value); } uint256[49] private __gap; } // File: contracts/PRETokenV2.sol pragma solidity 0.6.2; /** * @dev Presearch ERC20 Token * * Supply capped at 500M. */ contract PRETokenV2 is PREToken, TransferAuthorizableERC20 { bool private _initializedV2; function initialize() public { require (!_initializedV2, "PRETokenV2: Contract is already initialized"); require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "TransferAuthorizableERC20: Only Admin role can run this method"); _setupTransferAuthorizable(); _initializedV2 = true; } function _beforeMint(address from, address to, uint256 amount) internal virtual override(EnhancedERC20, PREToken) { super._beforeMint(from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CANCEL_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECEIVE_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_AUTHORIZER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authorizer","type":"address"},{"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"authorizationState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"authorizer","type":"address"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"cancelAuthorization","outputs":[],"stateMutability":"nonpayable","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":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"receiveWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"transferBatch","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612e7f806100206000396000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c80638456cb5911610145578063ca15c873116100bd578063e3ee160e1161008c578063e94a010211610071578063e94a01021461085b578063ed24911d14610887578063ef55bec61461088f57610241565b8063e3ee160e146107f4578063e63ab1e91461085357610241565b8063ca15c87314610775578063d547741f14610792578063d9169487146107be578063dd62ed3e146107c657610241565b8063a0cc6a6811610114578063a457c2d7116100f9578063a457c2d714610715578063a9059cbb14610741578063b17123b21461076d57610241565b8063a0cc6a6814610705578063a217fddf1461070d57610241565b80638456cb591461068a5780639010d07c1461069257806391d14854146106d157806395d89b41146106fd57610241565b806339509351116101d85780635a049a70116101a757806370a082311161018c57806370a08231146106545780637f2eecc31461067a5780638129fc1c1461068257610241565b80635a049a701461060b5780635c975abb1461064c57610241565b806339509351146103e85780633b3e672f146104145780633f4ba83a146104d65780634cd88b76146104de57610241565b8063248a9ca311610214578063248a9ca3146103535780632f2ff15d14610370578063313ce5671461039e57806336568abe146103bc57610241565b806306fdde0314610246578063095ea7b3146102c357806318160ddd1461030357806323b872dd1461031d575b600080fd5b61024e6108ee565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610288578181015183820152602001610270565b50505050905090810190601f1680156102b55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ef600480360360408110156102d957600080fd5b506001600160a01b038135169060200135610985565b604080519115158252519081900360200190f35b61030b6109a3565b60408051918252519081900360200190f35b6102ef6004803603606081101561033357600080fd5b506001600160a01b038135811691602081013590911690604001356109a9565b61030b6004803603602081101561036957600080fd5b5035610a36565b61039c6004803603604081101561038657600080fd5b50803590602001356001600160a01b0316610a4b565b005b6103a6610ab7565b6040805160ff9092168252519081900360200190f35b61039c600480360360408110156103d257600080fd5b50803590602001356001600160a01b0316610ac0565b6102ef600480360360408110156103fe57600080fd5b506001600160a01b038135169060200135610b21565b6102ef6004803603604081101561042a57600080fd5b81019060208101813564010000000081111561044557600080fd5b82018360208201111561045757600080fd5b8035906020019184602083028401116401000000008311171561047957600080fd5b91939092909160208101903564010000000081111561049757600080fd5b8201836020820111156104a957600080fd5b803590602001918460208302840111640100000000831117156104cb57600080fd5b509092509050610b75565b61039c610d2d565b61039c600480360360408110156104f457600080fd5b81019060208101813564010000000081111561050f57600080fd5b82018360208201111561052157600080fd5b8035906020019184600183028401116401000000008311171561054357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561059657600080fd5b8201836020820111156105a857600080fd5b803590602001918460018302840111640100000000831117156105ca57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d9e945050505050565b61039c600480360360a081101561062157600080fd5b506001600160a01b038135169060208101359060ff6040820135169060608101359060800135610e74565b6102ef6110cb565b61030b6004803603602081101561066a57600080fd5b50356001600160a01b03166110d4565b61030b6110ef565b61039c611113565b61039c6111b6565b6106b5600480360360408110156106a857600080fd5b5080359060200135611225565b604080516001600160a01b039092168252519081900360200190f35b6102ef600480360360408110156106e757600080fd5b50803590602001356001600160a01b031661124a565b61024e611268565b61030b6112c9565b61030b6112ed565b6102ef6004803603604081101561072b57600080fd5b506001600160a01b0381351690602001356112f2565b6102ef6004803603604081101561075757600080fd5b506001600160a01b038135169060200135611360565b61030b611374565b61030b6004803603602081101561078b57600080fd5b50356113a9565b61039c600480360360408110156107a857600080fd5b50803590602001356001600160a01b03166113c0565b61030b611419565b61030b600480360360408110156107dc57600080fd5b506001600160a01b038135811691602001351661143d565b61039c600480360361012081101561080b57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e0810135906101000135611468565b61030b61151c565b6102ef6004803603604081101561087157600080fd5b506001600160a01b03813516906020013561153f565b61030b61156b565b61039c60048036036101208110156108a657600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e081013590610100013561157a565b609a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b505050505090505b90565b600061099961099261167a565b848461167e565b5060015b92915050565b60995490565b60006109b684848461176a565b610a2c846109c261167a565b610a2785604051806060016040528060288152602001612ccf602891396001600160a01b038a16600090815260986020526040812090610a0061167a565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6118d016565b61167e565b5060019392505050565b60009081526065602052604090206002015490565b600082815260656020526040902060020154610a6e90610a6961167a565b61124a565b610aa95760405162461bcd60e51b815260040180806020018281038252602f815260200180612a87602f913960400191505060405180910390fd5b610ab3828261192a565b5050565b609c5460ff1690565b610ac861167a565b6001600160a01b0316816001600160a01b031614610b175760405162461bcd60e51b815260040180806020018281038252602f815260200180612e1b602f913960400191505060405180910390fd5b610ab38282611999565b6000610999610b2e61167a565b84610a278560986000610b3f61167a565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611a0816565b6000838214610b8357600080fd5b610b8b611a62565b6000610b9561167a565b6001600160a01b0381166000908152609760205260408120549192505b84811015610d07576000868683818110610bc857fe5b9050602002013590506000898984818110610bdf57fe5b905060200201356001600160a01b0316905081841015610c305760405162461bcd60e51b815260040180806020018281038252602e815260200180612ad8602e913960400191505060405180910390fd5b6001600160a01b038116610c755760405162461bcd60e51b8152600401808060200182810382526023815260200180612a2c6023913960400191505060405180910390fd5b806001600160a01b0316856001600160a01b031614610cb2576001600160a01b038116600090815260976020526040902080548301905592819003925b806001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050600101610bb2565b506001600160a01b03909116600090815260976020526040902055506001949350505050565b604080516a5041555345525f524f4c4560a81b8152905190819003600b019020610d5990610a6961167a565b610d945760405162461bcd60e51b8152600401808060200182810382526038815260200180612a4f6038913960400191505060405180910390fd5b610d9c611aae565b565b600054610100900460ff1680610db75750610db7611b55565b80610dc5575060005460ff16155b610e005760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015610e2b576000805460ff1961ff0019909116610100171660011790555b610e33611b5b565b610e3b611b5b565b610e458383611bfd565b610e4d611cd5565b610e55611d80565b610e5d611e4b565b8015610e6f576000805461ff00191690555b505050565b6001600160a01b038516600090815261019460209081526040808320878452825291829020548251808401909352601e83527f454950333030393a20617574686f72697a6174696f6e206973207573656400009183019190915260ff1615610f5a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f1f578181015183820152602001610f07565b50505050905090810190601f168015610f4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50604080517f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742960208201526001600160a01b0387168183015260608181018790528251808303909101815260809091019091526000610fc6610fba611efd565b83516020850120611f30565b9050866001600160a01b0316610fde82878787611f86565b6001600160a01b0316146040518060400160405280601a81526020017f454950333030393a20696e76616c6964207369676e61747572650000000000008152509061106a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b506001600160a01b0387166000818152610194602090815260408083208a8452909152808220805460ff19166001179055518892917f1cdd46ff242716cdaa72d159d339a485b3438398348d68f09d7c8c0a59353d8191a350505050505050565b60c95460ff1690565b6001600160a01b031660009081526097602052604090205490565b7fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b6101c65460ff16156111565760405162461bcd60e51b815260040180806020018281038252602b8152602001806129df602b913960400191505060405180910390fd5b6111636000610a6961167a565b61119e5760405162461bcd60e51b815260040180806020018281038252603e815260200180612c3f603e913960400191505060405180910390fd5b6111a6611fae565b6101c6805460ff19166001179055565b604080516a5041555345525f524f4c4560a81b8152905190819003600b0190206111e290610a6961167a565b61121d5760405162461bcd60e51b8152600401808060200182810382526036815260200180612d4a6036913960400191505060405180910390fd5b610d9c612032565b6000828152606560205260408120611243908363ffffffff6120c016565b9392505050565b6000828152606560205260408120611243908363ffffffff6120cc16565b609b8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561097a5780601f1061094f5761010080835404028352916020019161097a565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b600081565b60006109996112ff61167a565b84610a2785604051806060016040528060258152602001612dc5602591396098600061132961167a565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6118d016565b600061099961136d61167a565b848461176a565b604080517f5452414e534645525f415554484f52495a45525f524f4c4500000000000000008152905190819003601801902081565b600081815260656020526040812061099d906120e1565b6000828152606560205260409020600201546113de90610a6961167a565b610b175760405162461bcd60e51b8152600401808060200182810382526030815260200180612b966030913960400191505060405180910390fd5b7f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742981565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205490565b604080517f5452414e534645525f415554484f52495a45525f524f4c450000000000000000815290519081900360180190206114a4908a61124a565b6114df5760405162461bcd60e51b8152600401808060200182810382526057815260200180612bc66057913960600191505060405180910390fd5b6115117f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a22678a8a8a8a8a8a8a8a8a6120ec565b505050505050505050565b604080516a5041555345525f524f4c4560a81b8152905190819003600b01902081565b6001600160a01b0391909116600090815261019460209081526040808320938352929052205460ff1690565b6000611575611efd565b905090565b61158261167a565b6001600160a01b0316886001600160a01b0316146115d15760405162461bcd60e51b8152600401808060200182810382526021815260200180612b2d6021913960400191505060405180910390fd5b604080517f5452414e534645525f415554484f52495a45525f524f4c4500000000000000008152905190819003601801902061160d908a61124a565b6116485760405162461bcd60e51b8152600401808060200182810382526057815260200180612bc66057913960600191505060405180910390fd5b6115117fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de88a8a8a8a8a8a8a8a8a6120ec565b3390565b6001600160a01b0383166116c35760405162461bcd60e51b8152600401808060200182810382526024815260200180612d806024913960400191505060405180910390fd5b6001600160a01b0382166117085760405162461bcd60e51b8152600401808060200182810382526022815260200180612ab66022913960400191505060405180910390fd5b6001600160a01b03808416600081815260986020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117af5760405162461bcd60e51b8152600401808060200182810382526025815260200180612d256025913960400191505060405180910390fd5b6001600160a01b0382166117f45760405162461bcd60e51b8152600401808060200182810382526023815260200180612a2c6023913960400191505060405180910390fd5b6117fc611a62565b61183f81604051806060016040528060268152602001612b4e602691396001600160a01b038616600090815260976020526040902054919063ffffffff6118d016565b6001600160a01b038085166000908152609760205260408082209390935590841681522054611874908263ffffffff611a0816565b6001600160a01b0380841660008181526097602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156119225760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b505050900390565b6000828152606560205260409020611948908263ffffffff61238516565b15610ab35761195561167a565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526065602052604090206119b7908263ffffffff61239a16565b15610ab3576119c461167a565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600082820183811015611243576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611a6a610d9c565b611a726110cb565b15610d9c5760405162461bcd60e51b8152600401808060200182810382526031815260200180612dea6031913960400191505060405180910390fd5b60c95460ff16611b05576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b3861167a565b604080516001600160a01b039092168252519081900360200190a1565b303b1590565b600054610100900460ff1680611b745750611b74611b55565b80611b82575060005460ff16155b611bbd5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611be8576000805460ff1961ff0019909116610100171660011790555b8015611bfa576000805461ff00191690555b50565b600054610100900460ff1680611c165750611c16611b55565b80611c24575060005460ff16155b611c5f5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611c8a576000805460ff1961ff0019909116610100171660011790555b8251611c9d90609a906020860190612946565b508151611cb190609b906020850190612946565b50609c805460ff191660121790558015610e6f576000805461ff0019169055505050565b600054610100900460ff1680611cee5750611cee611b55565b80611cfc575060005460ff16155b611d375760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d62576000805460ff1961ff0019909116610100171660011790555b60c9805460ff191690558015611bfa576000805461ff001916905550565b600054610100900460ff1680611d995750611d99611b55565b80611da7575060005460ff16155b611de25760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611e0d576000805460ff1961ff0019909116610100171660011790555b611e1f6000611e1a61167a565b610aa9565b604080516a5041555345525f524f4c4560a81b8152905190819003600b019020611be890611e1a61167a565b600054610100900460ff1680611e645750611e64611b55565b80611e72575060005460ff16155b611ead5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611ed8576000805460ff1961ff0019909116610100171660011790555b6b019d971e4fe8401e7400000061012d55611be8611ef461167a565b61012d546123af565b60006115756040518080612c7d6052913960520190506040518091039020611f236124ad565b611f2b6124b4565b6124bb565b604080517f19010000000000000000000000000000000000000000000000000000000000006020808301919091526022820194909452604280820193909352815180820390930183526062019052805191012090565b6000806000611f9787878787612500565b91509150611fa4816125f1565b5095945050505050565b611ff4611fb96108ee565b6040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250612762565b604080517f5452414e534645525f415554484f52495a45525f524f4c45000000000000000081529051908190036018019020610d9c90611e1a61167a565b60c95460ff161561208a576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b3861167a565b6000611243838361277e565b6000611243836001600160a01b0384166127e2565b600061099d826127fa565b85421161212a5760405162461bcd60e51b8152600401808060200182810382526027815260200180612b066027913960400191505060405180910390fd5b8442106121685760405162461bcd60e51b8152600401808060200182810382526021815260200180612da46021913960400191505060405180910390fd5b6001600160a01b038916600090815261019460209081526040808320878452825291829020548251808401909352601e83527f454950333030393a20617574686f72697a6174696f6e206973207573656400009183019190915260ff16156122115760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b5060408051602081018c90526001600160a01b03808c16828401528a1660608201526080810189905260a0810188905260c0810187905260e0808201879052825180830390910181526101009091019091526000612270610fba611efd565b90508a6001600160a01b031661228882878787611f86565b6001600160a01b0316146040518060400160405280601a81526020017f454950333030393a20696e76616c6964207369676e6174757265000000000000815250906123145760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b506001600160a01b038b166000818152610194602090815260408083208a8452909152808220805460ff19166001179055518892917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a36123778b8b8b61176a565b505050505050505050505050565b6000611243836001600160a01b0384166127fe565b6000611243836001600160a01b038416612848565b6001600160a01b03821661240a576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6124166000838361290e565b609954612429908263ffffffff611a0816565b6099556001600160a01b038216600090815260976020526040902054612455908263ffffffff611a0816565b6001600160a01b03831660008181526097602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6101605490565b6101615490565b604080516020808201959095528082019390935260608301919091524660808301523060a0808401919091528151808403909101815260c09092019052805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561253757506000905060036125e8565b8460ff16601b1415801561254f57508460ff16601c14155b1561256057506000905060046125e8565b60408051600080825260208083018085528a905260ff89168385015260608301889052608083018790529251909260019260a080820193601f1981019281900390910190855afa1580156125b8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125e1575060009150600190506125e8565b9150600090505b94509492505050565b60008160048111156125ff57fe5b141561260a57611bfa565b600181600481111561261857fe5b141561266b576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b600281600481111561267957fe5b14156126cc576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60038160048111156126da57fe5b14156127175760405162461bcd60e51b8152600401808060200182810382526022815260200180612b746022913960400191505060405180910390fd5b600481600481111561272557fe5b1415611bfa5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c1d6022913960400191505060405180910390fd5b8151602092830120815191909201206101609190915561016155565b815460009082106127c05760405162461bcd60e51b8152600401808060200182810382526022815260200180612a0a6022913960400191505060405180910390fd5b8260000182815481106127cf57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600061280a83836127e2565b6128405750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561099d565b50600061099d565b60008181526001830160205260408120548015612904578354600019808301919081019060009087908390811061287b57fe5b906000526020600020015490508087600001848154811061289857fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806128c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061099d565b600091505061099d565b610e6f83838361012d54612930826129246109a3565b9063ffffffff611a0816565b111561293b57600080fd5b610e6f838383610e6f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061298757805160ff19168380011785556129b4565b828001600101855582156129b4579182015b828111156129b4578251825591602001919060010190612999565b506129c09291506129c4565b5090565b61098291905b808211156129c057600081556001016129ca56fe505245546f6b656e56323a20436f6e747261637420697320616c726561647920696e697469616c697a6564456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373506175736561626c65456e68616e63656445524332303a206d75737420686176652070617573657220726f6c6520746f20756e7061757365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a20496e73756666696369656e742062616c616e636520666f72206261746368207472616e73666572454950333030393a20617574686f72697a6174696f6e206973206e6f74207965742076616c6964454950333030393a2063616c6c6572206d7573742062652074686520706179656545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545434453413a20696e76616c6964207369676e6174757265202773272076616c7565416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b655472616e73666572417574686f72697a61626c6545524332303a2066726f6d2061646472657373206973206e6f7420617574686f72697a656420666f72207472616e7366657257697468417574686f72697a6174696f6e45434453413a20696e76616c6964207369676e6174757265202776272076616c75655472616e73666572417574686f72697a61626c6545524332303a204f6e6c792041646d696e20726f6c652063616e2072756e2074686973206d6574686f64454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373506175736561626c65456e68616e63656445524332303a206d75737420686176652070617573657220726f6c6520746f20706175736545524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373454950333030393a20617574686f72697a6174696f6e206973206578706972656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4d616e61676564456e68616e63656445524332303a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203a1f42beb1cc3dfa9b04613e446f9a05dcf6bc0c8b2378f95952daedadab42de64736f6c63430006020033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102415760003560e01c80638456cb5911610145578063ca15c873116100bd578063e3ee160e1161008c578063e94a010211610071578063e94a01021461085b578063ed24911d14610887578063ef55bec61461088f57610241565b8063e3ee160e146107f4578063e63ab1e91461085357610241565b8063ca15c87314610775578063d547741f14610792578063d9169487146107be578063dd62ed3e146107c657610241565b8063a0cc6a6811610114578063a457c2d7116100f9578063a457c2d714610715578063a9059cbb14610741578063b17123b21461076d57610241565b8063a0cc6a6814610705578063a217fddf1461070d57610241565b80638456cb591461068a5780639010d07c1461069257806391d14854146106d157806395d89b41146106fd57610241565b806339509351116101d85780635a049a70116101a757806370a082311161018c57806370a08231146106545780637f2eecc31461067a5780638129fc1c1461068257610241565b80635a049a701461060b5780635c975abb1461064c57610241565b806339509351146103e85780633b3e672f146104145780633f4ba83a146104d65780634cd88b76146104de57610241565b8063248a9ca311610214578063248a9ca3146103535780632f2ff15d14610370578063313ce5671461039e57806336568abe146103bc57610241565b806306fdde0314610246578063095ea7b3146102c357806318160ddd1461030357806323b872dd1461031d575b600080fd5b61024e6108ee565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610288578181015183820152602001610270565b50505050905090810190601f1680156102b55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ef600480360360408110156102d957600080fd5b506001600160a01b038135169060200135610985565b604080519115158252519081900360200190f35b61030b6109a3565b60408051918252519081900360200190f35b6102ef6004803603606081101561033357600080fd5b506001600160a01b038135811691602081013590911690604001356109a9565b61030b6004803603602081101561036957600080fd5b5035610a36565b61039c6004803603604081101561038657600080fd5b50803590602001356001600160a01b0316610a4b565b005b6103a6610ab7565b6040805160ff9092168252519081900360200190f35b61039c600480360360408110156103d257600080fd5b50803590602001356001600160a01b0316610ac0565b6102ef600480360360408110156103fe57600080fd5b506001600160a01b038135169060200135610b21565b6102ef6004803603604081101561042a57600080fd5b81019060208101813564010000000081111561044557600080fd5b82018360208201111561045757600080fd5b8035906020019184602083028401116401000000008311171561047957600080fd5b91939092909160208101903564010000000081111561049757600080fd5b8201836020820111156104a957600080fd5b803590602001918460208302840111640100000000831117156104cb57600080fd5b509092509050610b75565b61039c610d2d565b61039c600480360360408110156104f457600080fd5b81019060208101813564010000000081111561050f57600080fd5b82018360208201111561052157600080fd5b8035906020019184600183028401116401000000008311171561054357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561059657600080fd5b8201836020820111156105a857600080fd5b803590602001918460018302840111640100000000831117156105ca57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d9e945050505050565b61039c600480360360a081101561062157600080fd5b506001600160a01b038135169060208101359060ff6040820135169060608101359060800135610e74565b6102ef6110cb565b61030b6004803603602081101561066a57600080fd5b50356001600160a01b03166110d4565b61030b6110ef565b61039c611113565b61039c6111b6565b6106b5600480360360408110156106a857600080fd5b5080359060200135611225565b604080516001600160a01b039092168252519081900360200190f35b6102ef600480360360408110156106e757600080fd5b50803590602001356001600160a01b031661124a565b61024e611268565b61030b6112c9565b61030b6112ed565b6102ef6004803603604081101561072b57600080fd5b506001600160a01b0381351690602001356112f2565b6102ef6004803603604081101561075757600080fd5b506001600160a01b038135169060200135611360565b61030b611374565b61030b6004803603602081101561078b57600080fd5b50356113a9565b61039c600480360360408110156107a857600080fd5b50803590602001356001600160a01b03166113c0565b61030b611419565b61030b600480360360408110156107dc57600080fd5b506001600160a01b038135811691602001351661143d565b61039c600480360361012081101561080b57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e0810135906101000135611468565b61030b61151c565b6102ef6004803603604081101561087157600080fd5b506001600160a01b03813516906020013561153f565b61030b61156b565b61039c60048036036101208110156108a657600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e081013590610100013561157a565b609a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b505050505090505b90565b600061099961099261167a565b848461167e565b5060015b92915050565b60995490565b60006109b684848461176a565b610a2c846109c261167a565b610a2785604051806060016040528060288152602001612ccf602891396001600160a01b038a16600090815260986020526040812090610a0061167a565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6118d016565b61167e565b5060019392505050565b60009081526065602052604090206002015490565b600082815260656020526040902060020154610a6e90610a6961167a565b61124a565b610aa95760405162461bcd60e51b815260040180806020018281038252602f815260200180612a87602f913960400191505060405180910390fd5b610ab3828261192a565b5050565b609c5460ff1690565b610ac861167a565b6001600160a01b0316816001600160a01b031614610b175760405162461bcd60e51b815260040180806020018281038252602f815260200180612e1b602f913960400191505060405180910390fd5b610ab38282611999565b6000610999610b2e61167a565b84610a278560986000610b3f61167a565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611a0816565b6000838214610b8357600080fd5b610b8b611a62565b6000610b9561167a565b6001600160a01b0381166000908152609760205260408120549192505b84811015610d07576000868683818110610bc857fe5b9050602002013590506000898984818110610bdf57fe5b905060200201356001600160a01b0316905081841015610c305760405162461bcd60e51b815260040180806020018281038252602e815260200180612ad8602e913960400191505060405180910390fd5b6001600160a01b038116610c755760405162461bcd60e51b8152600401808060200182810382526023815260200180612a2c6023913960400191505060405180910390fd5b806001600160a01b0316856001600160a01b031614610cb2576001600160a01b038116600090815260976020526040902080548301905592819003925b806001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050600101610bb2565b506001600160a01b03909116600090815260976020526040902055506001949350505050565b604080516a5041555345525f524f4c4560a81b8152905190819003600b019020610d5990610a6961167a565b610d945760405162461bcd60e51b8152600401808060200182810382526038815260200180612a4f6038913960400191505060405180910390fd5b610d9c611aae565b565b600054610100900460ff1680610db75750610db7611b55565b80610dc5575060005460ff16155b610e005760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015610e2b576000805460ff1961ff0019909116610100171660011790555b610e33611b5b565b610e3b611b5b565b610e458383611bfd565b610e4d611cd5565b610e55611d80565b610e5d611e4b565b8015610e6f576000805461ff00191690555b505050565b6001600160a01b038516600090815261019460209081526040808320878452825291829020548251808401909352601e83527f454950333030393a20617574686f72697a6174696f6e206973207573656400009183019190915260ff1615610f5a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f1f578181015183820152602001610f07565b50505050905090810190601f168015610f4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50604080517f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742960208201526001600160a01b0387168183015260608181018790528251808303909101815260809091019091526000610fc6610fba611efd565b83516020850120611f30565b9050866001600160a01b0316610fde82878787611f86565b6001600160a01b0316146040518060400160405280601a81526020017f454950333030393a20696e76616c6964207369676e61747572650000000000008152509061106a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b506001600160a01b0387166000818152610194602090815260408083208a8452909152808220805460ff19166001179055518892917f1cdd46ff242716cdaa72d159d339a485b3438398348d68f09d7c8c0a59353d8191a350505050505050565b60c95460ff1690565b6001600160a01b031660009081526097602052604090205490565b7fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b6101c65460ff16156111565760405162461bcd60e51b815260040180806020018281038252602b8152602001806129df602b913960400191505060405180910390fd5b6111636000610a6961167a565b61119e5760405162461bcd60e51b815260040180806020018281038252603e815260200180612c3f603e913960400191505060405180910390fd5b6111a6611fae565b6101c6805460ff19166001179055565b604080516a5041555345525f524f4c4560a81b8152905190819003600b0190206111e290610a6961167a565b61121d5760405162461bcd60e51b8152600401808060200182810382526036815260200180612d4a6036913960400191505060405180910390fd5b610d9c612032565b6000828152606560205260408120611243908363ffffffff6120c016565b9392505050565b6000828152606560205260408120611243908363ffffffff6120cc16565b609b8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561097a5780601f1061094f5761010080835404028352916020019161097a565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b600081565b60006109996112ff61167a565b84610a2785604051806060016040528060258152602001612dc5602591396098600061132961167a565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6118d016565b600061099961136d61167a565b848461176a565b604080517f5452414e534645525f415554484f52495a45525f524f4c4500000000000000008152905190819003601801902081565b600081815260656020526040812061099d906120e1565b6000828152606560205260409020600201546113de90610a6961167a565b610b175760405162461bcd60e51b8152600401808060200182810382526030815260200180612b966030913960400191505060405180910390fd5b7f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742981565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205490565b604080517f5452414e534645525f415554484f52495a45525f524f4c450000000000000000815290519081900360180190206114a4908a61124a565b6114df5760405162461bcd60e51b8152600401808060200182810382526057815260200180612bc66057913960600191505060405180910390fd5b6115117f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a22678a8a8a8a8a8a8a8a8a6120ec565b505050505050505050565b604080516a5041555345525f524f4c4560a81b8152905190819003600b01902081565b6001600160a01b0391909116600090815261019460209081526040808320938352929052205460ff1690565b6000611575611efd565b905090565b61158261167a565b6001600160a01b0316886001600160a01b0316146115d15760405162461bcd60e51b8152600401808060200182810382526021815260200180612b2d6021913960400191505060405180910390fd5b604080517f5452414e534645525f415554484f52495a45525f524f4c4500000000000000008152905190819003601801902061160d908a61124a565b6116485760405162461bcd60e51b8152600401808060200182810382526057815260200180612bc66057913960600191505060405180910390fd5b6115117fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de88a8a8a8a8a8a8a8a8a6120ec565b3390565b6001600160a01b0383166116c35760405162461bcd60e51b8152600401808060200182810382526024815260200180612d806024913960400191505060405180910390fd5b6001600160a01b0382166117085760405162461bcd60e51b8152600401808060200182810382526022815260200180612ab66022913960400191505060405180910390fd5b6001600160a01b03808416600081815260986020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117af5760405162461bcd60e51b8152600401808060200182810382526025815260200180612d256025913960400191505060405180910390fd5b6001600160a01b0382166117f45760405162461bcd60e51b8152600401808060200182810382526023815260200180612a2c6023913960400191505060405180910390fd5b6117fc611a62565b61183f81604051806060016040528060268152602001612b4e602691396001600160a01b038616600090815260976020526040902054919063ffffffff6118d016565b6001600160a01b038085166000908152609760205260408082209390935590841681522054611874908263ffffffff611a0816565b6001600160a01b0380841660008181526097602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156119225760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b505050900390565b6000828152606560205260409020611948908263ffffffff61238516565b15610ab35761195561167a565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526065602052604090206119b7908263ffffffff61239a16565b15610ab3576119c461167a565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600082820183811015611243576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611a6a610d9c565b611a726110cb565b15610d9c5760405162461bcd60e51b8152600401808060200182810382526031815260200180612dea6031913960400191505060405180910390fd5b60c95460ff16611b05576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b3861167a565b604080516001600160a01b039092168252519081900360200190a1565b303b1590565b600054610100900460ff1680611b745750611b74611b55565b80611b82575060005460ff16155b611bbd5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611be8576000805460ff1961ff0019909116610100171660011790555b8015611bfa576000805461ff00191690555b50565b600054610100900460ff1680611c165750611c16611b55565b80611c24575060005460ff16155b611c5f5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611c8a576000805460ff1961ff0019909116610100171660011790555b8251611c9d90609a906020860190612946565b508151611cb190609b906020850190612946565b50609c805460ff191660121790558015610e6f576000805461ff0019169055505050565b600054610100900460ff1680611cee5750611cee611b55565b80611cfc575060005460ff16155b611d375760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d62576000805460ff1961ff0019909116610100171660011790555b60c9805460ff191690558015611bfa576000805461ff001916905550565b600054610100900460ff1680611d995750611d99611b55565b80611da7575060005460ff16155b611de25760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611e0d576000805460ff1961ff0019909116610100171660011790555b611e1f6000611e1a61167a565b610aa9565b604080516a5041555345525f524f4c4560a81b8152905190819003600b019020611be890611e1a61167a565b600054610100900460ff1680611e645750611e64611b55565b80611e72575060005460ff16155b611ead5760405162461bcd60e51b815260040180806020018281038252602e815260200180612cf7602e913960400191505060405180910390fd5b600054610100900460ff16158015611ed8576000805460ff1961ff0019909116610100171660011790555b6b019d971e4fe8401e7400000061012d55611be8611ef461167a565b61012d546123af565b60006115756040518080612c7d6052913960520190506040518091039020611f236124ad565b611f2b6124b4565b6124bb565b604080517f19010000000000000000000000000000000000000000000000000000000000006020808301919091526022820194909452604280820193909352815180820390930183526062019052805191012090565b6000806000611f9787878787612500565b91509150611fa4816125f1565b5095945050505050565b611ff4611fb96108ee565b6040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250612762565b604080517f5452414e534645525f415554484f52495a45525f524f4c45000000000000000081529051908190036018019020610d9c90611e1a61167a565b60c95460ff161561208a576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b3861167a565b6000611243838361277e565b6000611243836001600160a01b0384166127e2565b600061099d826127fa565b85421161212a5760405162461bcd60e51b8152600401808060200182810382526027815260200180612b066027913960400191505060405180910390fd5b8442106121685760405162461bcd60e51b8152600401808060200182810382526021815260200180612da46021913960400191505060405180910390fd5b6001600160a01b038916600090815261019460209081526040808320878452825291829020548251808401909352601e83527f454950333030393a20617574686f72697a6174696f6e206973207573656400009183019190915260ff16156122115760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b5060408051602081018c90526001600160a01b03808c16828401528a1660608201526080810189905260a0810188905260c0810187905260e0808201879052825180830390910181526101009091019091526000612270610fba611efd565b90508a6001600160a01b031661228882878787611f86565b6001600160a01b0316146040518060400160405280601a81526020017f454950333030393a20696e76616c6964207369676e6174757265000000000000815250906123145760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b506001600160a01b038b166000818152610194602090815260408083208a8452909152808220805460ff19166001179055518892917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a36123778b8b8b61176a565b505050505050505050505050565b6000611243836001600160a01b0384166127fe565b6000611243836001600160a01b038416612848565b6001600160a01b03821661240a576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6124166000838361290e565b609954612429908263ffffffff611a0816565b6099556001600160a01b038216600090815260976020526040902054612455908263ffffffff611a0816565b6001600160a01b03831660008181526097602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6101605490565b6101615490565b604080516020808201959095528082019390935260608301919091524660808301523060a0808401919091528151808403909101815260c09092019052805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561253757506000905060036125e8565b8460ff16601b1415801561254f57508460ff16601c14155b1561256057506000905060046125e8565b60408051600080825260208083018085528a905260ff89168385015260608301889052608083018790529251909260019260a080820193601f1981019281900390910190855afa1580156125b8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125e1575060009150600190506125e8565b9150600090505b94509492505050565b60008160048111156125ff57fe5b141561260a57611bfa565b600181600481111561261857fe5b141561266b576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b600281600481111561267957fe5b14156126cc576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60038160048111156126da57fe5b14156127175760405162461bcd60e51b8152600401808060200182810382526022815260200180612b746022913960400191505060405180910390fd5b600481600481111561272557fe5b1415611bfa5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c1d6022913960400191505060405180910390fd5b8151602092830120815191909201206101609190915561016155565b815460009082106127c05760405162461bcd60e51b8152600401808060200182810382526022815260200180612a0a6022913960400191505060405180910390fd5b8260000182815481106127cf57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600061280a83836127e2565b6128405750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561099d565b50600061099d565b60008181526001830160205260408120548015612904578354600019808301919081019060009087908390811061287b57fe5b906000526020600020015490508087600001848154811061289857fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806128c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061099d565b600091505061099d565b610e6f83838361012d54612930826129246109a3565b9063ffffffff611a0816565b111561293b57600080fd5b610e6f838383610e6f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061298757805160ff19168380011785556129b4565b828001600101855582156129b4579182015b828111156129b4578251825591602001919060010190612999565b506129c09291506129c4565b5090565b61098291905b808211156129c057600081556001016129ca56fe505245546f6b656e56323a20436f6e747261637420697320616c726561647920696e697469616c697a6564456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373506175736561626c65456e68616e63656445524332303a206d75737420686176652070617573657220726f6c6520746f20756e7061757365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a20496e73756666696369656e742062616c616e636520666f72206261746368207472616e73666572454950333030393a20617574686f72697a6174696f6e206973206e6f74207965742076616c6964454950333030393a2063616c6c6572206d7573742062652074686520706179656545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545434453413a20696e76616c6964207369676e6174757265202773272076616c7565416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b655472616e73666572417574686f72697a61626c6545524332303a2066726f6d2061646472657373206973206e6f7420617574686f72697a656420666f72207472616e7366657257697468417574686f72697a6174696f6e45434453413a20696e76616c6964207369676e6174757265202776272076616c75655472616e73666572417574686f72697a61626c6545524332303a204f6e6c792041646d696e20726f6c652063616e2072756e2074686973206d6574686f64454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373506175736561626c65456e68616e63656445524332303a206d75737420686176652070617573657220726f6c6520746f20706175736545524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373454950333030393a20617574686f72697a6174696f6e206973206578706972656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4d616e61676564456e68616e63656445524332303a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203a1f42beb1cc3dfa9b04613e446f9a05dcf6bc0c8b2378f95952daedadab42de64736f6c63430006020033
Deployed Bytecode Sourcemap
72923:598:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72923:598:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32171:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32171:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34277:169;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34277:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;33246:100;;;:::i;:::-;;;;;;;;;;;;;;;;34920:321;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34920:321:0;;;;;;;;;;;;;;;;;:::i;23794:114::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23794:114:0;;:::i;24170:227::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24170:227:0;;;;;;-1:-1:-1;;;;;24170:227:0;;:::i;:::-;;33098:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25379:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25379:209:0;;;;;;-1:-1:-1;;;;;25379:209:0;;:::i;35650:218::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35650:218:0;;;;;;;;:::i;41040:914::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41040:914:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;41040:914:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41040:914:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41040:914:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;41040:914:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41040:914:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;41040:914:0;;-1:-1:-1;41040:914:0;-1:-1:-1;41040:914:0;:::i;45820:169::-;;;:::i;46679:343::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;46679:343:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;46679:343:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;46679:343:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;46679:343:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;46679:343:0;;;;;;;;-1:-1:-1;46679:343:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;46679:343:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;46679:343:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;46679:343:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;46679:343:0;;-1:-1:-1;46679:343:0;;-1:-1:-1;;;;;46679:343:0:i;70781:817::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;70781:817:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43312:78::-;;;:::i;33409:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33409:119:0;-1:-1:-1;;;;;33409:119:0;;:::i;66174:137::-;;;:::i;73027:313::-;;;:::i;45439:163::-;;;:::i;23467:138::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23467:138:0;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;23467:138:0;;;;;;;;;;;;;;22428:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22428:139:0;;;;;;-1:-1:-1;;;;;22428:139:0;;:::i;32373:87::-;;;:::i;65889:138::-;;;:::i;21596:49::-;;;:::i;36371:269::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;36371:269:0;;;;;;;;:::i;33741:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33741:175:0;;;;;;;;:::i;64811:88::-;;;:::i;22741:127::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22741:127:0;;:::i;24642:230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24642:230:0;;;;;;-1:-1:-1;;;;;24642:230:0;;:::i;66395:131::-;;;:::i;33979:151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33979:151:0;;;;;;;;;;:::i;68202:692::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;68202:692:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;44631:62::-;;;:::i;67428:189::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;67428:189:0;;;;;;;;:::i;65446:107::-;;;:::i;69687:767::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;69687:767:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;32171:83::-;32241:5;32234:12;;;;;;;;-1:-1:-1;;32234:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32208:13;;32234:12;;32241:5;;32234:12;;32241:5;32234:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32171:83;;:::o;34277:169::-;34360:4;34377:39;34386:12;:10;:12::i;:::-;34400:7;34409:6;34377:8;:39::i;:::-;-1:-1:-1;34434:4:0;34277:169;;;;;:::o;33246:100::-;33326:12;;33246:100;:::o;34920:321::-;35026:4;35043:36;35053:6;35061:9;35072:6;35043:9;:36::i;:::-;35090:121;35099:6;35107:12;:10;:12::i;:::-;35121:89;35159:6;35121:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35121:19:0;;;;;;:11;:19;;;;;;35141:12;:10;:12::i;:::-;-1:-1:-1;;;;;35121:33:0;;;;;;;;;;;;-1:-1:-1;35121:33:0;;;:89;;:37;:89;:::i;:::-;35090:8;:121::i;:::-;-1:-1:-1;35229:4:0;34920:321;;;;;:::o;23794:114::-;23851:7;23878:12;;;:6;:12;;;;;:22;;;;23794:114::o;24170:227::-;24262:12;;;;:6;:12;;;;;:22;;;24254:45;;24286:12;:10;:12::i;:::-;24254:7;:45::i;:::-;24246:105;;;;-1:-1:-1;;;24246:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24364:25;24375:4;24381:7;24364:10;:25::i;:::-;24170:227;;:::o;33098:83::-;33164:9;;;;33098:83;:::o;25379:209::-;25477:12;:10;:12::i;:::-;-1:-1:-1;;;;;25466:23:0;:7;-1:-1:-1;;;;;25466:23:0;;25458:83;;;;-1:-1:-1;;;25458:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25554:26;25566:4;25572:7;25554:11;:26::i;35650:218::-;35738:4;35755:83;35764:12;:10;:12::i;:::-;35778:7;35787:50;35826:10;35787:11;:25;35799:12;:10;:12::i;:::-;-1:-1:-1;;;;;35787:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;35787:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;41040:914::-;41148:4;41173:35;;;41165:44;;;;;;41220:27;:25;:27::i;:::-;41260:14;41277:12;:10;:12::i;:::-;-1:-1:-1;;;;;41324:17:0;;41300:21;41324:17;;;:9;:17;;;;;;41260:29;;-1:-1:-1;41352:529:0;41369:18;;;41352:529;;;41409:11;41423:7;;41431:1;41423:10;;;;;;;;;;;;;41409:24;;41448:17;41468:10;;41479:1;41468:13;;;;;;;;;;;;;-1:-1:-1;;;;;41468:13:0;41448:33;;41521:6;41504:13;:23;;41496:82;;;;-1:-1:-1;;;41496:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41601:23:0;;41593:71;;;;-1:-1:-1;;;41593:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41692:9;-1:-1:-1;;;;;41682:19:0;:6;-1:-1:-1;;;;;41682:19:0;;41679:145;;-1:-1:-1;;;;;41778:20:0;;;;;;:9;:20;;;;;:30;;;;;;41737:22;;;;;41679:145;41851:9;-1:-1:-1;;;;;41834:35:0;41843:6;-1:-1:-1;;;;;41834:35:0;;41862:6;41834:35;;;;;;;;;;;;;;;;;;-1:-1:-1;;41389:3:0;;41352:529;;;-1:-1:-1;;;;;;41891:17:0;;;;;;;:9;:17;;;;;:33;-1:-1:-1;41942:4:0;41040:914;;;;;;:::o;45820:169::-;44669:24;;;-1:-1:-1;;;44669:24:0;;;;;;;;;;;;45865:34;;45886:12;:10;:12::i;45865:34::-;45857:103;;;;-1:-1:-1;;;45857:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45971:10;:8;:10::i;:::-;45820:169::o;46679:343::-;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;46771:26:::1;:24;:26::i;:::-;46808:32;:30;:32::i;:::-;46851:36;46874:4;46880:6;46851:22;:36::i;:::-;46898:27;:25;:27::i;:::-;46936:39;:37;:39::i;:::-;46986:27;:25;:27::i;:::-;1390:14:::0;1386:57;;;1430:5;1415:20;;-1:-1:-1;;1415:20:0;;;1386:57;46679:343;;;:::o;70781:817::-;-1:-1:-1;;;;;70971:32:0;;;;;;:20;:32;;;;;;;;:39;;;;;;;;;;71025:25;;;;;;;;;;;;;;;;;;;70971:39;;70970:40;70948:113;;;;-1:-1:-1;;;70948:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;70948:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71094:110:0;;;66460:66;71094:110;;;;-1:-1:-1;;;;;71094:110:0;;;;;;71074:17;71094:110;;;;;;;;26:21:-1;;;22:32;;;6:49;;71094:110:0;;;;;;;71119:29;71249:71;71282:20;:18;:20::i;:::-;71304:15;;;;;;71249:32;:71::i;:::-;71225:95;;71415:10;-1:-1:-1;;;;;71363:62:0;:48;71388:13;71403:1;71406;71409;71363:24;:48::i;:::-;-1:-1:-1;;;;;71363:62:0;;71440:24;;;;;;;;;;;;;;;;;71341:134;;;;;-1:-1:-1;;;71341:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;71341:134:0;-1:-1:-1;;;;;;71488:32:0;;;;;;:20;:32;;;;;;;;:39;;;;;;;;;:46;;-1:-1:-1;;71488:46:0;71530:4;71488:46;;;71550:40;71521:5;;71488:32;71550:40;;;70781:817;;;;;;;:::o;43312:78::-;43375:7;;;;43312:78;:::o;33409:119::-;-1:-1:-1;;;;;33502:18:0;33475:7;33502:18;;;:9;:18;;;;;;;33409:119::o;66174:137::-;66245:66;66174:137;:::o;73027:313::-;73075:14;;;;73074:15;73065:72;;;;-1:-1:-1;;;73065:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73154:41;21641:4;73182:12;:10;:12::i;73154:41::-;73146:116;;;;-1:-1:-1;;;73146:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73271:28;:26;:28::i;:::-;73308:14;:21;;-1:-1:-1;;73308:21:0;73325:4;73308:21;;;73027:313::o;45439:163::-;44669:24;;;-1:-1:-1;;;44669:24:0;;;;;;;;;;;;45482:34;;45503:12;:10;:12::i;45482:34::-;45474:101;;;;-1:-1:-1;;;45474:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45586:8;:6;:8::i;23467:138::-;23540:7;23567:12;;;:6;:12;;;;;:30;;23591:5;23567:30;:23;:30;:::i;:::-;23560:37;23467:138;-1:-1:-1;;;23467:138:0:o;22428:139::-;22497:4;22521:12;;;:6;:12;;;;;:38;;22551:7;22521:38;:29;:38;:::i;32373:87::-;32445:7;32438:14;;;;;;;;-1:-1:-1;;32438:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32412:13;;32438:14;;32445:7;;32438:14;;32445:7;32438:14;;;;;;;;;;;;;;;;;;;;;;;;65889:138;65961:66;65889:138;:::o;21596:49::-;21641:4;21596:49;:::o;36371:269::-;36464:4;36481:129;36490:12;:10;:12::i;:::-;36504:7;36513:96;36552:15;36513:96;;;;;;;;;;;;;;;;;:11;:25;36525:12;:10;:12::i;:::-;-1:-1:-1;;;;;36513:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;36513:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;33741:175::-;33827:4;33844:42;33854:12;:10;:12::i;:::-;33868:9;33879:6;33844:9;:42::i;64811:88::-;64862:37;;;;;;;;;;;;;;;;64811:88;:::o;22741:127::-;22804:7;22831:12;;;:6;:12;;;;;:29;;:27;:29::i;24642:230::-;24735:12;;;;:6;:12;;;;;:22;;;24727:45;;24759:12;:10;:12::i;24727:45::-;24719:106;;;;-1:-1:-1;;;24719:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66395:131;66460:66;66395:131;:::o;33979:151::-;-1:-1:-1;;;;;34095:18:0;;;34068:7;34095:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;33979:151::o;68202:692::-;64862:37;;;;;;;;;;;;;;;;68481:39;;68515:4;68481:7;:39::i;:::-;68473:139;;;;-1:-1:-1;;;68473:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68623:263;65961:66;68715:4;68734:2;68751:5;68771:10;68796:11;68822:5;68842:1;68858;68874;68623:26;:263::i;:::-;68202:692;;;;;;;;;:::o;44631:62::-;44669:24;;;-1:-1:-1;;;44669:24:0;;;;;;;;;;;;44631:62;:::o;67428:189::-;-1:-1:-1;;;;;67570:32:0;;;;67541:4;67570:32;;;:20;:32;;;;;;;;:39;;;;;;;;;;;67428:189::o;65446:107::-;65498:7;65525:20;:18;:20::i;:::-;65518:27;;65446:107;:::o;69687:767::-;69971:12;:10;:12::i;:::-;-1:-1:-1;;;;;69965:18:0;:2;-1:-1:-1;;;;;69965:18:0;;69957:64;;;;-1:-1:-1;;;69957:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64862:37;;;;;;;;;;;;;;;;70040:39;;70074:4;70040:7;:39::i;:::-;70032:139;;;;-1:-1:-1;;;70032:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70184:262;66245:66;70275:4;70294:2;70311:5;70331:10;70356:11;70382:5;70402:1;70418;70434;70184:26;:262::i;19409:106::-;19497:10;19409:106;:::o;37080:346::-;-1:-1:-1;;;;;37182:19:0;;37174:68;;;;-1:-1:-1;;;37174:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37261:21:0;;37253:68;;;;-1:-1:-1;;;37253:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37334:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;37386:32;;;;;;;;;;;;;;;;;37080:346;;;:::o;39789:519::-;-1:-1:-1;;;;;39895:20:0;;39887:70;;;;-1:-1:-1;;;39887:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39976:23:0;;39968:71;;;;-1:-1:-1;;;39968:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40052:27;:25;:27::i;:::-;40112:71;40134:6;40112:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40112:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;40092:17:0;;;;;;;:9;:17;;;;;;:91;;;;40217:20;;;;;;;:32;;40242:6;40217:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;40194:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;40265:35;;;;;;;40194:20;;40265:35;;;;;;;;;;;;;39789:519;;;:::o;3987:192::-;4073:7;4109:12;4101:6;;;;4093:29;;;;-1:-1:-1;;;4093:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4093:29:0;-1:-1:-1;;;4145:5:0;;;3987:192::o;26499:188::-;26573:12;;;;:6;:12;;;;;:33;;26598:7;26573:33;:24;:33;:::i;:::-;26569:111;;;26655:12;:10;:12::i;:::-;-1:-1:-1;;;;;26628:40:0;26646:7;-1:-1:-1;;;;;26628:40:0;26640:4;26628:40;;;;;;;;;;26499:188;;:::o;26695:192::-;26770:12;;;;:6;:12;;;;;:36;;26798:7;26770:36;:27;:36;:::i;:::-;26766:114;;;26855:12;:10;:12::i;:::-;-1:-1:-1;;;;;26828:40:0;26846:7;-1:-1:-1;;;;;26828:40:0;26840:4;26828:40;;;;;;;;;;26695:192;;:::o;3100:181::-;3158:7;3190:5;;;3214:6;;;;3206:46;;;;;-1:-1:-1;;;3206:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;46166:197;46240:33;:31;:33::i;:::-;46293:8;:6;:8::i;:::-;46292:9;46284:71;;;;-1:-1:-1;;;46284:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44045:120;43748:7;;;;43740:40;;;;;-1:-1:-1;;;43740:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;44104:7:::1;:15:::0;;-1:-1:-1;;44104:15:0::1;::::0;;44135:22:::1;44144:12;:10;:12::i;:::-;44135:22;::::0;;-1:-1:-1;;;;;44135:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;44045:120::o:0;1537:508::-;1954:4;2000:17;2032:7;1537:508;:::o;19330:69::-;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;1390:14;1386:57;;;1430:5;1415:20;;-1:-1:-1;;1415:20:0;;;1386:57;19330:69;:::o;31923:178::-;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;32029:12;;::::1;::::0;:5:::1;::::0;:12:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;32052:16:0;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;32079:9:0::1;:14:::0;;-1:-1:-1;;32079:14:0::1;32091:2;32079:14;::::0;;1386:57;;;;1430:5;1415:20;;-1:-1:-1;;1415:20:0;;;31923:178;;;:::o;43112:98::-;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;43185:7:::1;:15:::0;;-1:-1:-1;;43185:15:0::1;::::0;;1386:57;;;;1430:5;1415:20;;-1:-1:-1;;1415:20:0;;;43112:98;:::o;45040:181::-;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;45121:44:::1;21641:4;45152:12;:10;:12::i;:::-;45121:10;:44::i;:::-;44669:24;::::0;;-1:-1:-1;;;44669:24:0;;;;;;;;::::1;::::0;;;45176:37:::1;::::0;45200:12:::1;:10;:12::i;47030:145::-:0;1136:12;;;;;;;;:31;;;1152:15;:13;:15::i;:::-;1136:47;;;-1:-1:-1;1172:11:0;;;;1171:12;1136:47;1128:106;;;;-1:-1:-1;;;1128:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1243:19;1266:12;;;;;;1265:13;1285:83;;;;1314:12;:19;;-1:-1:-1;;;;1314:19:0;;;;;1342:18;1329:4;1342:18;;;1285:83;47112:12:::1;47099:10;:25:::0;47135:31:::1;47141:12;:10;:12::i;:::-;47155:10;;47135:5;:31::i;62058:162::-:0;62111:7;62138:74;60689:95;;;;;;;;;;;;;;;;;;;62172:17;:15;:17::i;:::-;62191:20;:18;:20::i;:::-;62138:21;:74::i;58932:196::-;59062:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;59062:57:0;;;;59052:68;;;;;;58932:196::o;57230:279::-;57358:7;57379:17;57398:18;57420:25;57431:4;57437:1;57440;57443;57420:10;:25::i;:::-;57378:67;;;;57456:18;57468:5;57456:11;:18::i;:::-;-1:-1:-1;57492:9:0;57230:279;-1:-1:-1;;;;;57230:279:0:o;65561:156::-;65624:24;65636:6;:4;:6::i;:::-;65624:24;;;;;;;;;;;;;;;;;:11;:24::i;:::-;64862:37;;;;;;;;;;;;;;;;65659:50;;65696:12;:10;:12::i;43863:118::-;43549:7;;;;43548:8;43540:37;;;;;-1:-1:-1;;;43540:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43923:7:::1;:14:::0;;-1:-1:-1;;43923:14:0::1;43933:4;43923:14;::::0;;43953:20:::1;43960:12;:10;:12::i;13892:149::-:0;13966:7;14009:22;14013:3;14025:5;14009:3;:22::i;13187:158::-;13267:4;13291:46;13301:3;-1:-1:-1;;;;;13321:14:0;;13291:9;:46::i;13431:117::-;13494:7;13521:19;13529:3;13521:7;:19::i;71606:1137::-;71919:10;71913:3;:16;71905:68;;;;-1:-1:-1;;;71905:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71998:11;71992:3;:17;71984:63;;;;-1:-1:-1;;;71984:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72067:26:0;;;;;;:20;:26;;;;;;;;:33;;;;;;;;;;72102:25;;;;;;;;;;;;;;;;;;;72067:33;;72066:34;72058:70;;;;-1:-1:-1;;;72058:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;72058:70:0;-1:-1:-1;72161:171:0;;;;;;;;;-1:-1:-1;;;;;72161:171:0;;;;;;;;;72141:17;72161:171;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;72161:171:0;;;;;;;-1:-1:-1;72377:71:0;72410:20;:18;:20::i;72377:71::-;72353:95;;72543:4;-1:-1:-1;;;;;72491:56:0;:48;72516:13;72531:1;72534;72537;72491:24;:48::i;:::-;-1:-1:-1;;;;;72491:56:0;;72562:24;;;;;;;;;;;;;;;;;72469:128;;;;;-1:-1:-1;;;72469:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;72469:128:0;-1:-1:-1;;;;;;72610:26:0;;;;;;:20;:26;;;;;;;;:33;;;;;;;;;:40;;-1:-1:-1;;72610:40:0;72646:4;72610:40;;;72666:30;72637:5;;72610:26;72666:30;;;72709:26;72719:4;72725:2;72729:5;72709:9;:26::i;:::-;71606:1137;;;;;;;;;;;;:::o;12633:143::-;12703:4;12727:41;12732:3;-1:-1:-1;;;;;12752:14:0;;12727:4;:41::i;12952:149::-;13025:4;13049:44;13057:3;-1:-1:-1;;;;;13077:14:0;;13049:7;:44::i;38930:369::-;-1:-1:-1;;;;;39014:21:0;;39006:65;;;;;-1:-1:-1;;;39006:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39084:40;39104:1;39108:7;39117:6;39084:11;:40::i;:::-;39152:12;;:24;;39169:6;39152:24;:16;:24;:::i;:::-;39137:12;:39;-1:-1:-1;;;;;39208:18:0;;;;;;:9;:18;;;;;;:30;;39231:6;39208:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;39187:18:0;;;;;;:9;:18;;;;;;;;:51;;;;39254:37;;;;;;;39187:18;;;;39254:37;;;;;;;;;;38930:369;;:::o;63643:105::-;63728:12;;63643:105;:::o;63995:111::-;64083:15;;63995:111;:::o;62228:351::-;62503:67;;;;;;;;;;;;;;;;;;;;;;;;;62454:9;62503:67;;;;62564:4;62503:67;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;62503:67:0;;;;;;62493:78;;;;;;62228:351::o;55459:1632::-;55590:7;;56524:66;56511:79;;56507:163;;;-1:-1:-1;56623:1:0;;-1:-1:-1;56627:30:0;56607:51;;56507:163;56684:1;:7;;56689:2;56684:7;;:18;;;;;56695:1;:7;;56700:2;56695:7;;56684:18;56680:102;;;-1:-1:-1;56735:1:0;;-1:-1:-1;56739:30:0;56719:51;;56680:102;56896:24;;;56879:14;56896:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56879:14;;56896:24;;;;;;;-1:-1:-1;;56896:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;56896:24:0;;-1:-1:-1;;56896:24:0;;;-1:-1:-1;;;;;;;56935:20:0;;56931:103;;-1:-1:-1;56988:1:0;;-1:-1:-1;56992:29:0;;-1:-1:-1;56972:50:0;;56931:103;57054:6;-1:-1:-1;57062:20:0;;-1:-1:-1;55459:1632:0;;;;;;;;:::o;50168:643::-;50246:20;50237:5;:29;;;;;;;;;50233:571;;;50283:7;;50233:571;50344:29;50335:5;:38;;;;;;;;;50331:473;;;50390:34;;;-1:-1:-1;;;50390:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;50331:473;50455:35;50446:5;:44;;;;;;;;;50442:362;;;50507:41;;;-1:-1:-1;;;50507:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;50442:362;50579:30;50570:5;:39;;;;;;;;;50566:238;;;50626:44;;-1:-1:-1;;;50626:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50566:238;50701:30;50692:5;:39;;;;;;;;;50688:116;;;50748:44;;-1:-1:-1;;;50748:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61694:273;61799:22;;;;;;;61856:25;;;;;;;61892:12;:25;;;;61928:15;:31;61694:273::o;12175:204::-;12270:18;;12242:7;;12270:26;-1:-1:-1;12262:73:0;;;;-1:-1:-1;;;12262:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12353:3;:11;;12365:5;12353:18;;;;;;;;;;;;;;;;12346:25;;12175:204;;;;:::o;11507:129::-;11580:4;11604:19;;;:12;;;;;:19;;;;;;:24;;;11507:129::o;11722:109::-;11805:18;;11722:109::o;9287:414::-;9350:4;9372:21;9382:3;9387:5;9372:9;:21::i;:::-;9367:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;9410:11:0;:23;;;;;;;;;;;;;9593:18;;9571:19;;;:12;;;:19;;;;;;:40;;;;9626:11;;9367:327;-1:-1:-1;9677:5:0;9670:12;;9877:1544;9943:4;10082:19;;;:12;;;:19;;;;;;10118:15;;10114:1300;;10553:18;;-1:-1:-1;;10504:14:0;;;;10553:22;;;;10480:21;;10553:3;;:22;;10840;;;;;;;;;;;;;;10820:42;;10986:9;10957:3;:11;;10969:13;10957:26;;;;;;;;;;;;;;;;;;;:38;;;;11063:23;;;11105:1;11063:12;;;:23;;;;;;11089:17;;;11063:43;;11215:17;;11063:3;;11215:17;;;;;;;;;;;;;;;;;;;;;;11310:3;:12;;:19;11323:5;11310:19;;;;;;;;;;;11303:26;;;11353:4;11346:11;;;;;;;;10114:1300;11397:5;11390:12;;;;;73348:168;73473:35;73491:4;73497:2;73501:6;47320:10;;47291:25;47309:6;47291:13;:11;:13::i;:::-;:17;:25;:17;:25;:::i;:::-;:39;;47283:48;;;;;;47342:35;47360:4;47366:2;47370:6;47342:17;:35::i;72923:598::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72923:598:0;;;-1:-1:-1;72923:598:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://3a1f42beb1cc3dfa9b04613e446f9a05dcf6bc0c8b2378f95952daedadab42de
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.