More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 201 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send | 12986381 | 1244 days ago | IN | 0 ETH | 0.00975125 | ||||
Transfer | 12965005 | 1247 days ago | IN | 0 ETH | 0.0012354 | ||||
Send | 12605290 | 1303 days ago | IN | 0 ETH | 0.00284945 | ||||
Send | 12428030 | 1331 days ago | IN | 0 ETH | 0.01554246 | ||||
Send | 12353981 | 1342 days ago | IN | 0 ETH | 0.00431735 | ||||
Send | 12344788 | 1344 days ago | IN | 0 ETH | 0.00518082 | ||||
Send | 12306425 | 1349 days ago | IN | 0 ETH | 0.00742584 | ||||
Send | 12120798 | 1378 days ago | IN | 0 ETH | 0.0235348 | ||||
Send | 12120308 | 1378 days ago | IN | 0 ETH | 0.02406969 | ||||
Send | 12120046 | 1378 days ago | IN | 0 ETH | 0.02406969 | ||||
Send | 12054839 | 1388 days ago | IN | 0 ETH | 0.02442627 | ||||
Send | 12035348 | 1391 days ago | IN | 0 ETH | 0.02032551 | ||||
Send | 12005595 | 1396 days ago | IN | 0 ETH | 0.02496116 | ||||
Send | 11996139 | 1397 days ago | IN | 0 ETH | 0.02086039 | ||||
Send | 11990169 | 1398 days ago | IN | 0 ETH | 0.02514114 | ||||
Send | 11985438 | 1399 days ago | IN | 0 ETH | 0.01765113 | ||||
Transfer | 11976834 | 1400 days ago | IN | 0 ETH | 0.0049612 | ||||
Send | 11971934 | 1401 days ago | IN | 0 ETH | 0.02086039 | ||||
Send | 11958875 | 1403 days ago | IN | 0 ETH | 0.01283716 | ||||
Send | 11958851 | 1403 days ago | IN | 0 ETH | 0.01390786 | ||||
Send | 11958552 | 1403 days ago | IN | 0 ETH | 0.02106239 | ||||
Send | 11952052 | 1404 days ago | IN | 0 ETH | 0.02246504 | ||||
Send | 11951349 | 1404 days ago | IN | 0 ETH | 0.02326736 | ||||
Send | 11950591 | 1404 days ago | IN | 0 ETH | 0.01925704 | ||||
Send | 11950551 | 1404 days ago | IN | 0 ETH | 0.01586816 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FHH
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-07 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC777/IERC777.sol /** * @dev Interface of the ERC777Token standard as defined in the EIP. * * This contract uses the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let * token holders and recipients react to token movements by using setting implementers * for the associated interfaces in said registry. See {IERC1820Registry} and * {ERC1820Implementer}. */ interface IERC777 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view returns (string memory); /** * @dev Returns the smallest part of the token that is not divisible. This * means all token operations (creation, movement and destruction) must have * amounts that are a multiple of this number. * * For most token contracts, this value will equal 1. */ function granularity() external view returns (uint256); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by an account (`owner`). */ function balanceOf(address owner) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * If send or receive hooks are registered for the caller and `recipient`, * the corresponding functions will be called with `data` and empty * `operatorData`. See {IERC777Sender} and {IERC777Recipient}. * * Emits a {Sent} event. * * Requirements * * - the caller must have at least `amount` tokens. * - `recipient` cannot be the zero address. * - if `recipient` is a contract, it must implement the {IERC777Recipient} * interface. */ function send(address recipient, uint256 amount, bytes calldata data) external; /** * @dev Destroys `amount` tokens from the caller's account, reducing the * total supply. * * If a send hook is registered for the caller, the corresponding function * will be called with `data` and empty `operatorData`. See {IERC777Sender}. * * Emits a {Burned} event. * * Requirements * * - the caller must have at least `amount` tokens. */ function burn(uint256 amount, bytes calldata data) external; /** * @dev Returns true if an account is an operator of `tokenHolder`. * Operators can send and burn tokens on behalf of their owners. All * accounts are their own operator. * * See {operatorSend} and {operatorBurn}. */ function isOperatorFor(address operator, address tokenHolder) external view returns (bool); /** * @dev Make an account an operator of the caller. * * See {isOperatorFor}. * * Emits an {AuthorizedOperator} event. * * Requirements * * - `operator` cannot be calling address. */ function authorizeOperator(address operator) external; /** * @dev Revoke an account's operator status for the caller. * * See {isOperatorFor} and {defaultOperators}. * * Emits a {RevokedOperator} event. * * Requirements * * - `operator` cannot be calling address. */ function revokeOperator(address operator) external; /** * @dev Returns the list of default operators. These accounts are operators * for all token holders, even if {authorizeOperator} was never called on * them. * * This list is immutable, but individual holders may revoke these via * {revokeOperator}, in which case {isOperatorFor} will return false. */ function defaultOperators() external view returns (address[] memory); /** * @dev Moves `amount` tokens from `sender` to `recipient`. The caller must * be an operator of `sender`. * * If send or receive hooks are registered for `sender` and `recipient`, * the corresponding functions will be called with `data` and * `operatorData`. See {IERC777Sender} and {IERC777Recipient}. * * Emits a {Sent} event. * * Requirements * * - `sender` cannot be the zero address. * - `sender` must have at least `amount` tokens. * - the caller must be an operator for `sender`. * - `recipient` cannot be the zero address. * - if `recipient` is a contract, it must implement the {IERC777Recipient} * interface. */ function operatorSend( address sender, address recipient, uint256 amount, bytes calldata data, bytes calldata operatorData ) external; /** * @dev Destroys `amount` tokens from `account`, reducing the total supply. * The caller must be an operator of `account`. * * If a send hook is registered for `account`, the corresponding function * will be called with `data` and `operatorData`. See {IERC777Sender}. * * Emits a {Burned} event. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. * - the caller must be an operator for `account`. */ function operatorBurn( address account, uint256 amount, bytes calldata data, bytes calldata operatorData ) external; event Sent( address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData ); event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData); event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData); event AuthorizedOperator(address indexed operator, address indexed tokenHolder); event RevokedOperator(address indexed operator, address indexed tokenHolder); } // File: @openzeppelin/contracts/token/ERC777/IERC777Recipient.sol /** * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP. * * Accounts can be notified of {IERC777} tokens being sent to them by having a * contract implement this interface (contract holders can be their own * implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Recipient { /** * @dev Called by an {IERC777} token contract whenever tokens are being * moved or created into a registered account (`to`). The type of operation * is conveyed by `from` being the zero address or not. * * This call occurs _after_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the post-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensReceived( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; } // File: @openzeppelin/contracts/token/ERC777/IERC777Sender.sol /** * @dev Interface of the ERC777TokensSender standard as defined in the EIP. * * {IERC777} Token holders can be notified of operations performed on their * tokens by having a contract implement this interface (contract holders can be * their own implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Sender { /** * @dev Called by an {IERC777} token contract whenever a registered holder's * (`from`) tokens are about to be moved or destroyed. The type of operation * is conveyed by `to` being the zero address or not. * * This call occurs _before_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the pre-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensToSend( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @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: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/introspection/IERC1820Registry.sol /** * @dev Interface of the global ERC1820 Registry, as defined in the * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register * implementers for interfaces in this registry, as well as query support. * * Implementers may be shared by multiple accounts, and can also implement more * than a single interface for each account. Contracts can implement interfaces * for themselves, but externally-owned accounts (EOA) must delegate this to a * contract. * * {IERC165} interfaces can also be queried via the registry. * * For an in-depth explanation and source code analysis, see the EIP text. */ interface IERC1820Registry { /** * @dev Sets `newManager` as the manager for `account`. A manager of an * account is able to set interface implementers for it. * * By default, each account is its own manager. Passing a value of `0x0` in * `newManager` will reset the manager to this initial state. * * Emits a {ManagerChanged} event. * * Requirements: * * - the caller must be the current manager for `account`. */ function setManager(address account, address newManager) external; /** * @dev Returns the manager for `account`. * * See {setManager}. */ function getManager(address account) external view returns (address); /** * @dev Sets the `implementer` contract as ``account``'s implementer for * `interfaceHash`. * * `account` being the zero address is an alias for the caller's address. * The zero address can also be used in `implementer` to remove an old one. * * See {interfaceHash} to learn how these are created. * * Emits an {InterfaceImplementerSet} event. * * Requirements: * * - the caller must be the current manager for `account`. * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not * end in 28 zeroes). * - `implementer` must implement {IERC1820Implementer} and return true when * queried for support, unless `implementer` is the caller. See * {IERC1820Implementer-canImplementInterfaceForAddress}. */ function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) external; /** * @dev Returns the implementer of `interfaceHash` for `account`. If no such * implementer is registered, returns the zero address. * * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28 * zeroes), `account` will be queried for support of it. * * `account` being the zero address is an alias for the caller's address. */ function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address); /** * @dev Returns the interface hash for an `interfaceName`, as defined in the * corresponding * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP]. */ function interfaceHash(string calldata interfaceName) external pure returns (bytes32); /** * @notice Updates the cache with whether the contract implements an ERC165 interface or not. * @param account Address of the contract for which to update the cache. * @param interfaceId ERC165 interface for which to update the cache. */ function updateERC165Cache(address account, bytes4 interfaceId) external; /** * @notice Checks whether a contract implements an ERC165 interface or not. * If the result is not cached a direct lookup on the contract address is performed. * If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling * {updateERC165Cache} with the contract address. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool); /** * @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool); event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer); event ManagerChanged(address indexed account, address indexed newManager); } // File: @openzeppelin/contracts/token/ERC777/ERC777.sol /** * @dev Implementation of the {IERC777} 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}. * * Support for ERC20 is included in this contract, as specified by the EIP: both * the ERC777 and ERC20 interfaces can be safely used when interacting with it. * Both {IERC777-Sent} and {IERC20-Transfer} events are emitted on token * movements. * * Additionally, the {IERC777-granularity} value is hard-coded to `1`, meaning that there * are no special restrictions in the amount of tokens that created, moved, or * destroyed. This makes integration with ERC20 applications seamless. */ contract ERC777 is Context, IERC777, IERC20 { using SafeMath for uint256; using Address for address; IERC1820Registry constant internal _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24); mapping(address => uint256) private _balances; uint256 private _totalSupply; string private _name; string private _symbol; // We inline the result of the following hashes because Solidity doesn't resolve them at compile time. // See https://github.com/ethereum/solidity/issues/4024. // keccak256("ERC777TokensSender") bytes32 constant private _TOKENS_SENDER_INTERFACE_HASH = 0x29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe895; // keccak256("ERC777TokensRecipient") bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH = 0xb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b; // This isn't ever read from - it's only used to respond to the defaultOperators query. address[] private _defaultOperatorsArray; // Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators). mapping(address => bool) private _defaultOperators; // For each account, a mapping of its operators and revoked default operators. mapping(address => mapping(address => bool)) private _operators; mapping(address => mapping(address => bool)) private _revokedDefaultOperators; // ERC20-allowances mapping (address => mapping (address => uint256)) private _allowances; /** * @dev `defaultOperators` may be an empty array. */ constructor( string memory name_, string memory symbol_, address[] memory defaultOperators_ ) public { _name = name_; _symbol = symbol_; _defaultOperatorsArray = defaultOperators_; for (uint256 i = 0; i < _defaultOperatorsArray.length; i++) { _defaultOperators[_defaultOperatorsArray[i]] = true; } // register interfaces _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this)); _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC20Token"), address(this)); } /** * @dev See {IERC777-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC777-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {ERC20-decimals}. * * Always returns 18, as per the * [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility). */ function decimals() public pure virtual returns (uint8) { return 18; } /** * @dev See {IERC777-granularity}. * * This implementation always returns `1`. */ function granularity() public view virtual override returns (uint256) { return 1; } /** * @dev See {IERC777-totalSupply}. */ function totalSupply() public view virtual override(IERC20, IERC777) returns (uint256) { return _totalSupply; } /** * @dev Returns the amount of tokens owned by an account (`tokenHolder`). */ function balanceOf(address tokenHolder) public view virtual override(IERC20, IERC777) returns (uint256) { return _balances[tokenHolder]; } /** * @dev See {IERC777-send}. * * Also emits a {IERC20-Transfer} event for ERC20 compatibility. */ function send(address recipient, uint256 amount, bytes memory data) public virtual override { _send(_msgSender(), recipient, amount, data, "", true); } /** * @dev See {IERC20-transfer}. * * Unlike `send`, `recipient` is _not_ required to implement the {IERC777Recipient} * interface if it is a contract. * * Also emits a {Sent} event. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); address from = _msgSender(); _callTokensToSend(from, from, recipient, amount, "", ""); _move(from, from, recipient, amount, "", ""); _callTokensReceived(from, from, recipient, amount, "", "", false); return true; } /** * @dev See {IERC777-burn}. * * Also emits a {IERC20-Transfer} event for ERC20 compatibility. */ function burn(uint256 amount, bytes memory data) public virtual override { _burn(_msgSender(), amount, data, ""); } /** * @dev See {IERC777-isOperatorFor}. */ function isOperatorFor(address operator, address tokenHolder) public view virtual override returns (bool) { return operator == tokenHolder || (_defaultOperators[operator] && !_revokedDefaultOperators[tokenHolder][operator]) || _operators[tokenHolder][operator]; } /** * @dev See {IERC777-authorizeOperator}. */ function authorizeOperator(address operator) public virtual override { require(_msgSender() != operator, "ERC777: authorizing self as operator"); if (_defaultOperators[operator]) { delete _revokedDefaultOperators[_msgSender()][operator]; } else { _operators[_msgSender()][operator] = true; } emit AuthorizedOperator(operator, _msgSender()); } /** * @dev See {IERC777-revokeOperator}. */ function revokeOperator(address operator) public virtual override { require(operator != _msgSender(), "ERC777: revoking self as operator"); if (_defaultOperators[operator]) { _revokedDefaultOperators[_msgSender()][operator] = true; } else { delete _operators[_msgSender()][operator]; } emit RevokedOperator(operator, _msgSender()); } /** * @dev See {IERC777-defaultOperators}. */ function defaultOperators() public view virtual override returns (address[] memory) { return _defaultOperatorsArray; } /** * @dev See {IERC777-operatorSend}. * * Emits {Sent} and {IERC20-Transfer} events. */ function operatorSend( address sender, address recipient, uint256 amount, bytes memory data, bytes memory operatorData ) public virtual override { require(isOperatorFor(_msgSender(), sender), "ERC777: caller is not an operator for holder"); _send(sender, recipient, amount, data, operatorData, true); } /** * @dev See {IERC777-operatorBurn}. * * Emits {Burned} and {IERC20-Transfer} events. */ function operatorBurn(address account, uint256 amount, bytes memory data, bytes memory operatorData) public virtual override { require(isOperatorFor(_msgSender(), account), "ERC777: caller is not an operator for holder"); _burn(account, amount, data, operatorData); } /** * @dev See {IERC20-allowance}. * * Note that operator and allowance concepts are orthogonal: operators may * not have allowance, and accounts with allowance may not be operators * themselves. */ function allowance(address holder, address spender) public view virtual override returns (uint256) { return _allowances[holder][spender]; } /** * @dev See {IERC20-approve}. * * Note that accounts cannot have allowance issued by their operators. */ function approve(address spender, uint256 value) public virtual override returns (bool) { address holder = _msgSender(); _approve(holder, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Note that operator and allowance concepts are orthogonal: operators cannot * call `transferFrom` (unless they have allowance), and accounts with * allowance cannot call `operatorSend` (unless they are operators). * * Emits {Sent}, {IERC20-Transfer} and {IERC20-Approval} events. */ function transferFrom(address holder, address recipient, uint256 amount) public virtual override returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); require(holder != address(0), "ERC777: transfer from the zero address"); address spender = _msgSender(); _callTokensToSend(spender, holder, recipient, amount, "", ""); _move(spender, holder, recipient, amount, "", ""); _approve(holder, spender, _allowances[holder][spender].sub(amount, "ERC777: transfer amount exceeds allowance")); _callTokensReceived(spender, holder, recipient, amount, "", "", false); return true; } /** * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * If a send hook is registered for `account`, the corresponding function * will be called with `operator`, `data` and `operatorData`. * * See {IERC777Sender} and {IERC777Recipient}. * * Emits {Minted} and {IERC20-Transfer} events. * * Requirements * * - `account` cannot be the zero address. * - if `account` is a contract, it must implement the {IERC777Recipient} * interface. */ function _mint( address account, uint256 amount, bytes memory userData, bytes memory operatorData ) internal virtual { require(account != address(0), "ERC777: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, amount); // Update state variables _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); _callTokensReceived(operator, address(0), account, amount, userData, operatorData, true); emit Minted(operator, account, amount, userData, operatorData); emit Transfer(address(0), account, amount); } /** * @dev Send tokens * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient */ function _send( address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck ) internal virtual { require(from != address(0), "ERC777: send from the zero address"); require(to != address(0), "ERC777: send to the zero address"); address operator = _msgSender(); _callTokensToSend(operator, from, to, amount, userData, operatorData); _move(operator, from, to, amount, userData, operatorData); _callTokensReceived(operator, from, to, amount, userData, operatorData, requireReceptionAck); } /** * @dev Burn tokens * @param from address token holder address * @param amount uint256 amount of tokens to burn * @param data bytes extra information provided by the token holder * @param operatorData bytes extra information provided by the operator (if any) */ function _burn( address from, uint256 amount, bytes memory data, bytes memory operatorData ) internal virtual { require(from != address(0), "ERC777: burn from the zero address"); address operator = _msgSender(); _callTokensToSend(operator, from, address(0), amount, data, operatorData); _beforeTokenTransfer(operator, from, address(0), amount); // Update state variables _balances[from] = _balances[from].sub(amount, "ERC777: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Burned(operator, from, amount, data, operatorData); emit Transfer(from, address(0), amount); } function _move( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData ) private { _beforeTokenTransfer(operator, from, to, amount); _balances[from] = _balances[from].sub(amount, "ERC777: transfer amount exceeds balance"); _balances[to] = _balances[to].add(amount); emit Sent(operator, from, to, amount, userData, operatorData); emit Transfer(from, to, amount); } /** * @dev See {ERC20-_approve}. * * Note that accounts cannot have allowance issued by their operators. */ function _approve(address holder, address spender, uint256 value) internal { require(holder != address(0), "ERC777: approve from the zero address"); require(spender != address(0), "ERC777: approve to the zero address"); _allowances[holder][spender] = value; emit Approval(holder, spender, value); } /** * @dev Call from.tokensToSend() if the interface is registered * @param operator address operator requesting the transfer * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) */ function _callTokensToSend( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData ) private { address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(from, _TOKENS_SENDER_INTERFACE_HASH); if (implementer != address(0)) { IERC777Sender(implementer).tokensToSend(operator, from, to, amount, userData, operatorData); } } /** * @dev Call to.tokensReceived() if the interface is registered. Reverts if the recipient is a contract but * tokensReceived() was not registered for the recipient * @param operator address operator requesting the transfer * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient */ function _callTokensReceived( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck ) private { address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(to, _TOKENS_RECIPIENT_INTERFACE_HASH); if (implementer != address(0)) { IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData); } else if (requireReceptionAck) { require(!to.isContract(), "ERC777: token recipient contract has no implementer for ERC777TokensRecipient"); } } /** * @dev Hook that is called before any token transfer. This includes * calls to {send}, {transfer}, {operatorSend}, minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address operator, address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/utils/Pausable.sol /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @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. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol /** * @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.3.0, sets of type `bytes32` (`Bytes32Set`), `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]; } // Bytes32Set struct Bytes32Set { 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(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, 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(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set 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(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, 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(uint160(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(uint160(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(uint160(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(uint160(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/access/AccessControl.sol /** * @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, msg.sender)); * ... * } * ``` * * 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}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { 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 `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @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. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _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()); } } } // File: contracts/FHH.sol contract FHH is ERC777( "FineCoin", // name "FHH", // symbol new address[](0) ), AccessControl, Pausable { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); constructor() public { _mint( 0x6daC8f851E01676b762d3Ac6aC8c5132BF20F226, // account 50000000 * 10 ** uint256(decimals()), // amount "", // userData "" // operatorData ); _setupRole(PAUSER_ROLE, 0x6daC8f851E01676b762d3Ac6aC8c5132BF20F226); } /** * @dev Pauses all token transfers. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function pause() external virtual { require(hasRole(PAUSER_ROLE, _msgSender()), "FHH: must have pauser role to pause"); _pause(); } /** * @dev Unpauses all token transfers. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function unpause() external virtual { require(hasRole(PAUSER_ROLE, _msgSender()), "FHH: must have pauser role to unpause"); _unpause(); } function _beforeTokenTransfer(address operator, address from, address to, uint256 amount) internal virtual override whenNotPaused { super._beforeTokenTransfer(operator, from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"AuthorizedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"RevokedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Sent","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":"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":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"authorizeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"defaultOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[],"name":"granularity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"operator","type":"address"},{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"isOperatorFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorSend","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"revokeOperator","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"send","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":"holder","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260088152672334b732a1b7b4b760c11b602080830191825283518085018552600381526208c90960eb1b81830152845160008152918201909452825192939290916200006b9160029190620009cc565b50815162000081906003906020850190620009cc565b5080516200009790600490602084019062000a51565b5060005b600454811015620000f75760016005600060048481548110620000ba57fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790556001016200009b565b50604080516329965a1d60e01b815230600482018190527fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b1580156200017857600080fd5b505af11580156200018d573d6000803e3d6000fd5b5050604080516329965a1d60e01b815230600482018190527faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b1580156200021157600080fd5b505af115801562000226573d6000803e3d6000fd5b5050600a805460ff1916905550620002959350736dac8f851e01676b762d3ac6ac8c5132bf20f22692506200025d915050620002db565b60ff16600a0a6302faf080026040518060200160405280600081525060405180602001604052806000815250620002e060201b60201c565b620002d57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a736dac8f851e01676b762d3ac6ac8c5132bf20f22662000541565b62000aef565b601290565b6001600160a01b0384166200033c576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006200034862000551565b905062000359816000878762000555565b6200037584600154620005c460201b620014a71790919060201c565b6001556001600160a01b03851660009081526020818152604090912054620003a8918690620014a7620005c4821b17901c565b6001600160a01b038616600090815260208190526040812091909155620003d790829087878787600162000628565b846001600160a01b0316816001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015620004585781810151838201526020016200043e565b50505050905090810190601f168015620004865780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015620004bb578181015183820152602001620004a1565b50505050905090810190601f168015620004e95780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516001600160a01b038716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6200054d8282620008ca565b5050565b3390565b6200055f62000945565b15620005a5576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b620005be84848484620005be60201b6200147f1760201c565b50505050565b6000828201838110156200061f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015620006ad57600080fd5b505afa158015620006c2573d6000803e3d6000fd5b505050506040513d6020811015620006d957600080fd5b505190506001600160a01b038116156200085c57806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015620007865781810151838201526020016200076c565b50505050905090810190601f168015620007b45780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015620007e9578181015183820152602001620007cf565b50505050905090810190601f168015620008175780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156200083d57600080fd5b505af115801562000852573d6000803e3d6000fd5b50505050620008c0565b8115620008c05762000882866001600160a01b03166200094e60201b620015011760201c565b15620008c05760405162461bcd60e51b815260040180806020018281038252604d8152602001806200332f604d913960600191505060405180910390fd5b5050505050505050565b6000828152600960209081526040909120620008f19183906200150762000954821b17901c565b156200054d576200090162000551565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600a5460ff1690565b3b151590565b60006200061f836001600160a01b0384166000620009738383620009b4565b620009ab5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000622565b50600062000622565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000a0f57805160ff191683800117855562000a3f565b8280016001018555821562000a3f579182015b8281111562000a3f57825182559160200191906001019062000a22565b5062000a4d92915062000ab7565b5090565b82805482825590600052602060002090810192821562000aa9579160200282015b8281111562000aa957825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a72565b5062000a4d92915062000ace565b5b8082111562000a4d576000815560010162000ab8565b5b8082111562000a4d5780546001600160a01b031916815560010162000acf565b6128308062000aff6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80639010d07c11610104578063ca15c873116100a2578063e63ab1e911610071578063e63ab1e914610793578063fad8b32a1461079b578063fc673c4f146107c1578063fe9d9303146108ff576101da565b8063ca15c873146106ee578063d547741f1461070b578063d95b637114610737578063dd62ed3e14610765576101da565b806395d89b41116100de57806395d89b41146105f95780639bd9bbc614610601578063a217fddf146106ba578063a9059cbb146106c2576101da565b80639010d07c1461056857806391d14854146105a7578063959b8c3f146105d3576101da565b8063313ce5671161017c5780635c975abb1161014b5780635c975abb146103e957806362ad1b83146103f157806370a082311461053a5780638456cb5914610560576101da565b8063313ce5671461038f57806336568abe146103ad5780633f4ba83a146103d9578063556f0dc7146103e1576101da565b806318160ddd116101b857806318160ddd146102f457806323b872dd1461030e578063248a9ca3146103445780632f2ff15d14610361576101da565b806306e48538146101df57806306fdde0314610237578063095ea7b3146102b4575b600080fd5b6101e76109aa565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022357818101518382015260200161020b565b505050509050019250505060405180910390f35b61023f610a0c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610279578181015183820152602001610261565b50505050905090810190601f1680156102a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e0600480360360408110156102ca57600080fd5b506001600160a01b038135169060200135610a96565b604080519115158252519081900360200190f35b6102fc610aba565b60408051918252519081900360200190f35b6102e06004803603606081101561032457600080fd5b506001600160a01b03813581169160208101359091169060400135610ac0565b6102fc6004803603602081101561035a57600080fd5b5035610c3d565b61038d6004803603604081101561037757600080fd5b50803590602001356001600160a01b0316610c52565b005b610397610cbe565b6040805160ff9092168252519081900360200190f35b61038d600480360360408110156103c357600080fd5b50803590602001356001600160a01b0316610cc3565b61038d610d24565b6102fc610d95565b6102e0610d9a565b61038d600480360360a081101561040757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561044157600080fd5b82018360208201111561045357600080fd5b803590602001918460018302840111600160201b8311171561047457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610da3945050505050565b6102fc6004803603602081101561055057600080fd5b50356001600160a01b0316610e05565b61038d610e20565b61058b6004803603604081101561057e57600080fd5b5080359060200135610e8f565b604080516001600160a01b039092168252519081900360200190f35b6102e0600480360360408110156105bd57600080fd5b50803590602001356001600160a01b0316610eae565b61038d600480360360208110156105e957600080fd5b50356001600160a01b0316610ec6565b61023f611012565b61038d6004803603606081101561061757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561064657600080fd5b82018360208201111561065857600080fd5b803590602001918460018302840111600160201b8311171561067957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611073945050505050565b6102fc61109d565b6102e0600480360360408110156106d857600080fd5b506001600160a01b0381351690602001356110a2565b6102fc6004803603602081101561070457600080fd5b503561117b565b61038d6004803603604081101561072157600080fd5b50803590602001356001600160a01b0316611192565b6102e06004803603604081101561074d57600080fd5b506001600160a01b03813581169160200135166111eb565b6102fc6004803603604081101561077b57600080fd5b506001600160a01b038135811691602001351661128c565b6102fc6112b7565b61038d600480360360208110156107b157600080fd5b50356001600160a01b03166112db565b61038d600480360360808110156107d757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561080657600080fd5b82018360208201111561081857600080fd5b803590602001918460018302840111600160201b8311171561083957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561088b57600080fd5b82018360208201111561089d57600080fd5b803590602001918460018302840111600160201b831117156108be57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611427945050505050565b61038d6004803603604081101561091557600080fd5b81359190810190604081016020820135600160201b81111561093657600080fd5b82018360208201111561094857600080fd5b803590602001918460018302840111600160201b8311171561096957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611485945050505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610a0257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109e4575b5050505050905090565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610a025780601f10610a6a57610100808354040283529160200191610a02565b820191906000526020600020905b815481529060010190602001808311610a7857509395945050505050565b600080610aa161151c565b9050610aae818585611520565b60019150505b92915050565b60015490565b60006001600160a01b038316610b075760405162461bcd60e51b81526004018080602001828103825260248152602001806126e76024913960400191505060405180910390fd5b6001600160a01b038416610b4c5760405162461bcd60e51b81526004018080602001828103825260268152602001806127606026913960400191505060405180910390fd5b6000610b5661151c565b9050610b8481868686604051806020016040528060008152506040518060200160405280600081525061160c565b610bb0818686866040518060200160405280600081525060405180602001604052806000815250611839565b610c048582610bff86604051806060016040528060298152602001612737602991396001600160a01b03808c166000908152600860209081526040808320938b16835292905220549190611a52565b611520565b610c328186868660405180602001604052806000815250604051806020016040528060008152506000611ae9565b506001949350505050565b60009081526009602052604090206002015490565b600082815260096020526040902060020154610c7590610c7061151c565b610eae565b610cb05760405162461bcd60e51b815260040180806020018281038252602f815260200180612541602f913960400191505060405180910390fd5b610cba8282611d6e565b5050565b601290565b610ccb61151c565b6001600160a01b0316816001600160a01b031614610d1a5760405162461bcd60e51b815260040180806020018281038252602f8152602001806127cc602f913960400191505060405180910390fd5b610cba8282611dd7565b610d507f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c7061151c565b610d8b5760405162461bcd60e51b81526004018080602001828103825260258152602001806125de6025913960400191505060405180910390fd5b610d93611e40565b565b600190565b600a5460ff1690565b610db4610dae61151c565b866111eb565b610def5760405162461bcd60e51b815260040180806020018281038252602c81526020018061270b602c913960400191505060405180910390fd5b610dfe85858585856001611ee0565b5050505050565b6001600160a01b031660009081526020819052604090205490565b610e4c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c7061151c565b610e875760405162461bcd60e51b815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b610d93611fb7565b6000828152600960205260408120610ea7908361203a565b9392505050565b6000828152600960205260408120610ea79083612046565b806001600160a01b0316610ed861151c565b6001600160a01b03161415610f1e5760405162461bcd60e51b81526004018080602001828103825260248152602001806126256024913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff1615610f815760076000610f4b61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055610fc8565b600160066000610f8f61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b610fd061151c565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a025780601f10610a6a57610100808354040283529160200191610a02565b61109861107e61151c565b848484604051806020016040528060008152506001611ee0565b505050565b600081565b60006001600160a01b0383166110e95760405162461bcd60e51b81526004018080602001828103825260248152602001806126e76024913960400191505060405180910390fd5b60006110f361151c565b905061112181828686604051806020016040528060008152506040518060200160405280600081525061160c565b61114d818286866040518060200160405280600081525060405180602001604052806000815250611839565b610aae8182868660405180602001604052806000815250604051806020016040528060008152506000611ae9565b6000818152600960205260408120610ab49061205b565b6000828152600960205260409020600201546111b090610c7061151c565b610d1a5760405162461bcd60e51b81526004018080602001828103825260308152602001806126496030913960400191505060405180910390fd5b6000816001600160a01b0316836001600160a01b0316148061125657506001600160a01b03831660009081526005602052604090205460ff16801561125657506001600160a01b0380831660009081526007602090815260408083209387168352929052205460ff16155b80610ea75750506001600160a01b0390811660009081526006602090815260408083209490931682529290925290205460ff1690565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6112e361151c565b6001600160a01b0316816001600160a01b031614156113335760405162461bcd60e51b81526004018080602001828103825260218152602001806126796021913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff161561139f5760016007600061136261151c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790556113dd565b600660006113ab61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b6113e561151c565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b61143861143261151c565b856111eb565b6114735760405162461bcd60e51b815260040180806020018281038252602c81526020018061270b602c913960400191505060405180910390fd5b61147f84848484612066565b50505050565b610cba61149061151c565b838360405180602001604052806000815250612066565b600082820183811015610ea7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b6000610ea7836001600160a01b0384166122a0565b3390565b6001600160a01b0383166115655760405162461bcd60e51b81526004018080602001828103825260258152602001806125706025913960400191505060405180910390fd5b6001600160a01b0382166115aa5760405162461bcd60e51b81526004018080602001828103825260238152602001806127a96023913960400191505060405180910390fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561169057600080fd5b505afa1580156116a4573d6000803e3d6000fd5b505050506040513d60208110156116ba57600080fd5b505190506001600160a01b0381161561183057806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561176557818101518382015260200161174d565b50505050905090810190601f1680156117925780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156117c55781810151838201526020016117ad565b50505050905090810190601f1680156117f25780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561181757600080fd5b505af115801561182b573d6000803e3d6000fd5b505050505b50505050505050565b611845868686866122ea565b611882836040518060600160405280602781526020016125b7602791396001600160a01b0388166000908152602081905260409020549190611a52565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546118b190846114a7565b600080866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561196257818101518382015260200161194a565b50505050905090810190601f16801561198f5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156119c25781810151838201526020016119aa565b50505050905090810190601f1680156119ef5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115611ae15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611aa6578181015183820152602001611a8e565b50505050905090810190601f168015611ad35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015611b6d57600080fd5b505afa158015611b81573d6000803e3d6000fd5b505050506040513d6020811015611b9757600080fd5b505190506001600160a01b03811615611d1057806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611c41578181015183820152602001611c29565b50505050905090810190601f168015611c6e5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611ca1578181015183820152602001611c89565b50505050905090810190601f168015611cce5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015611cf357600080fd5b505af1158015611d07573d6000803e3d6000fd5b50505050611d64565b8115611d6457611d28866001600160a01b0316611501565b15611d645760405162461bcd60e51b815260040180806020018281038252604d81526020018061269a604d913960600191505060405180910390fd5b5050505050505050565b6000828152600960205260409020611d869082611507565b15610cba57611d9361151c565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600960205260409020611def9082612343565b15610cba57611dfc61151c565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611e48610d9a565b611e90576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ec361151c565b604080516001600160a01b039092168252519081900360200190a1565b6001600160a01b038616611f255760405162461bcd60e51b81526004018080602001828103825260228152602001806125956022913960400191505060405180910390fd5b6001600160a01b038516611f80576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6000611f8a61151c565b9050611f9a81888888888861160c565b611fa8818888888888611839565b61183081888888888888611ae9565b611fbf610d9a565b15612004576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ec361151c565b6000610ea78383612358565b6000610ea7836001600160a01b0384166123bc565b6000610ab4826123d4565b6001600160a01b0384166120ab5760405162461bcd60e51b81526004018080602001828103825260228152602001806126036022913960400191505060405180910390fd5b60006120b561151c565b90506120c68186600087878761160c565b6120d381866000876122ea565b61211084604051806060016040528060238152602001612786602391396001600160a01b0388166000908152602081905260409020549190611a52565b6001600160a01b03861660009081526020819052604090205560015461213690856123d8565b600181905550846001600160a01b0316816001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156121bb5781810151838201526020016121a3565b50505050905090810190601f1680156121e85780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561221b578181015183820152602001612203565b50505050905090810190601f1680156122485780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516000916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b60006122ac83836123bc565b6122e257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ab4565b506000610ab4565b6122f2610d9a565b15612337576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61147f8484848461147f565b6000610ea7836001600160a01b038416612435565b8154600090821061239a5760405162461bcd60e51b81526004018080602001828103825260228152602001806124fc6022913960400191505060405180910390fd5b8260000182815481106123a957fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60008282111561242f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081815260018301602052604081205480156124f1578354600019808301919081019060009087908390811061246857fe5b906000526020600020015490508087600001848154811061248557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806124b557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610ab4565b6000915050610ab456fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734648483a206d75737420686176652070617573657220726f6c6520746f207061757365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63654648483a206d75737420686176652070617573657220726f6c6520746f20756e70617573654552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f72416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433737373a207265766f6b696e672073656c66206173206f70657261746f724552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212200e20a9a06bfca4db1e875ea12869487fa7d034ce65247bf79c45f66d3469d9fb64736f6c634300060c00334552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e74
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80639010d07c11610104578063ca15c873116100a2578063e63ab1e911610071578063e63ab1e914610793578063fad8b32a1461079b578063fc673c4f146107c1578063fe9d9303146108ff576101da565b8063ca15c873146106ee578063d547741f1461070b578063d95b637114610737578063dd62ed3e14610765576101da565b806395d89b41116100de57806395d89b41146105f95780639bd9bbc614610601578063a217fddf146106ba578063a9059cbb146106c2576101da565b80639010d07c1461056857806391d14854146105a7578063959b8c3f146105d3576101da565b8063313ce5671161017c5780635c975abb1161014b5780635c975abb146103e957806362ad1b83146103f157806370a082311461053a5780638456cb5914610560576101da565b8063313ce5671461038f57806336568abe146103ad5780633f4ba83a146103d9578063556f0dc7146103e1576101da565b806318160ddd116101b857806318160ddd146102f457806323b872dd1461030e578063248a9ca3146103445780632f2ff15d14610361576101da565b806306e48538146101df57806306fdde0314610237578063095ea7b3146102b4575b600080fd5b6101e76109aa565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022357818101518382015260200161020b565b505050509050019250505060405180910390f35b61023f610a0c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610279578181015183820152602001610261565b50505050905090810190601f1680156102a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e0600480360360408110156102ca57600080fd5b506001600160a01b038135169060200135610a96565b604080519115158252519081900360200190f35b6102fc610aba565b60408051918252519081900360200190f35b6102e06004803603606081101561032457600080fd5b506001600160a01b03813581169160208101359091169060400135610ac0565b6102fc6004803603602081101561035a57600080fd5b5035610c3d565b61038d6004803603604081101561037757600080fd5b50803590602001356001600160a01b0316610c52565b005b610397610cbe565b6040805160ff9092168252519081900360200190f35b61038d600480360360408110156103c357600080fd5b50803590602001356001600160a01b0316610cc3565b61038d610d24565b6102fc610d95565b6102e0610d9a565b61038d600480360360a081101561040757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561044157600080fd5b82018360208201111561045357600080fd5b803590602001918460018302840111600160201b8311171561047457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610da3945050505050565b6102fc6004803603602081101561055057600080fd5b50356001600160a01b0316610e05565b61038d610e20565b61058b6004803603604081101561057e57600080fd5b5080359060200135610e8f565b604080516001600160a01b039092168252519081900360200190f35b6102e0600480360360408110156105bd57600080fd5b50803590602001356001600160a01b0316610eae565b61038d600480360360208110156105e957600080fd5b50356001600160a01b0316610ec6565b61023f611012565b61038d6004803603606081101561061757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561064657600080fd5b82018360208201111561065857600080fd5b803590602001918460018302840111600160201b8311171561067957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611073945050505050565b6102fc61109d565b6102e0600480360360408110156106d857600080fd5b506001600160a01b0381351690602001356110a2565b6102fc6004803603602081101561070457600080fd5b503561117b565b61038d6004803603604081101561072157600080fd5b50803590602001356001600160a01b0316611192565b6102e06004803603604081101561074d57600080fd5b506001600160a01b03813581169160200135166111eb565b6102fc6004803603604081101561077b57600080fd5b506001600160a01b038135811691602001351661128c565b6102fc6112b7565b61038d600480360360208110156107b157600080fd5b50356001600160a01b03166112db565b61038d600480360360808110156107d757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561080657600080fd5b82018360208201111561081857600080fd5b803590602001918460018302840111600160201b8311171561083957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561088b57600080fd5b82018360208201111561089d57600080fd5b803590602001918460018302840111600160201b831117156108be57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611427945050505050565b61038d6004803603604081101561091557600080fd5b81359190810190604081016020820135600160201b81111561093657600080fd5b82018360208201111561094857600080fd5b803590602001918460018302840111600160201b8311171561096957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611485945050505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610a0257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109e4575b5050505050905090565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610a025780601f10610a6a57610100808354040283529160200191610a02565b820191906000526020600020905b815481529060010190602001808311610a7857509395945050505050565b600080610aa161151c565b9050610aae818585611520565b60019150505b92915050565b60015490565b60006001600160a01b038316610b075760405162461bcd60e51b81526004018080602001828103825260248152602001806126e76024913960400191505060405180910390fd5b6001600160a01b038416610b4c5760405162461bcd60e51b81526004018080602001828103825260268152602001806127606026913960400191505060405180910390fd5b6000610b5661151c565b9050610b8481868686604051806020016040528060008152506040518060200160405280600081525061160c565b610bb0818686866040518060200160405280600081525060405180602001604052806000815250611839565b610c048582610bff86604051806060016040528060298152602001612737602991396001600160a01b03808c166000908152600860209081526040808320938b16835292905220549190611a52565b611520565b610c328186868660405180602001604052806000815250604051806020016040528060008152506000611ae9565b506001949350505050565b60009081526009602052604090206002015490565b600082815260096020526040902060020154610c7590610c7061151c565b610eae565b610cb05760405162461bcd60e51b815260040180806020018281038252602f815260200180612541602f913960400191505060405180910390fd5b610cba8282611d6e565b5050565b601290565b610ccb61151c565b6001600160a01b0316816001600160a01b031614610d1a5760405162461bcd60e51b815260040180806020018281038252602f8152602001806127cc602f913960400191505060405180910390fd5b610cba8282611dd7565b610d507f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c7061151c565b610d8b5760405162461bcd60e51b81526004018080602001828103825260258152602001806125de6025913960400191505060405180910390fd5b610d93611e40565b565b600190565b600a5460ff1690565b610db4610dae61151c565b866111eb565b610def5760405162461bcd60e51b815260040180806020018281038252602c81526020018061270b602c913960400191505060405180910390fd5b610dfe85858585856001611ee0565b5050505050565b6001600160a01b031660009081526020819052604090205490565b610e4c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c7061151c565b610e875760405162461bcd60e51b815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b610d93611fb7565b6000828152600960205260408120610ea7908361203a565b9392505050565b6000828152600960205260408120610ea79083612046565b806001600160a01b0316610ed861151c565b6001600160a01b03161415610f1e5760405162461bcd60e51b81526004018080602001828103825260248152602001806126256024913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff1615610f815760076000610f4b61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055610fc8565b600160066000610f8f61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b610fd061151c565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a025780601f10610a6a57610100808354040283529160200191610a02565b61109861107e61151c565b848484604051806020016040528060008152506001611ee0565b505050565b600081565b60006001600160a01b0383166110e95760405162461bcd60e51b81526004018080602001828103825260248152602001806126e76024913960400191505060405180910390fd5b60006110f361151c565b905061112181828686604051806020016040528060008152506040518060200160405280600081525061160c565b61114d818286866040518060200160405280600081525060405180602001604052806000815250611839565b610aae8182868660405180602001604052806000815250604051806020016040528060008152506000611ae9565b6000818152600960205260408120610ab49061205b565b6000828152600960205260409020600201546111b090610c7061151c565b610d1a5760405162461bcd60e51b81526004018080602001828103825260308152602001806126496030913960400191505060405180910390fd5b6000816001600160a01b0316836001600160a01b0316148061125657506001600160a01b03831660009081526005602052604090205460ff16801561125657506001600160a01b0380831660009081526007602090815260408083209387168352929052205460ff16155b80610ea75750506001600160a01b0390811660009081526006602090815260408083209490931682529290925290205460ff1690565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6112e361151c565b6001600160a01b0316816001600160a01b031614156113335760405162461bcd60e51b81526004018080602001828103825260218152602001806126796021913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff161561139f5760016007600061136261151c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790556113dd565b600660006113ab61151c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b6113e561151c565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b61143861143261151c565b856111eb565b6114735760405162461bcd60e51b815260040180806020018281038252602c81526020018061270b602c913960400191505060405180910390fd5b61147f84848484612066565b50505050565b610cba61149061151c565b838360405180602001604052806000815250612066565b600082820183811015610ea7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b6000610ea7836001600160a01b0384166122a0565b3390565b6001600160a01b0383166115655760405162461bcd60e51b81526004018080602001828103825260258152602001806125706025913960400191505060405180910390fd5b6001600160a01b0382166115aa5760405162461bcd60e51b81526004018080602001828103825260238152602001806127a96023913960400191505060405180910390fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561169057600080fd5b505afa1580156116a4573d6000803e3d6000fd5b505050506040513d60208110156116ba57600080fd5b505190506001600160a01b0381161561183057806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561176557818101518382015260200161174d565b50505050905090810190601f1680156117925780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156117c55781810151838201526020016117ad565b50505050905090810190601f1680156117f25780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561181757600080fd5b505af115801561182b573d6000803e3d6000fd5b505050505b50505050505050565b611845868686866122ea565b611882836040518060600160405280602781526020016125b7602791396001600160a01b0388166000908152602081905260409020549190611a52565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546118b190846114a7565b600080866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561196257818101518382015260200161194a565b50505050905090810190601f16801561198f5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156119c25781810151838201526020016119aa565b50505050905090810190601f1680156119ef5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115611ae15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611aa6578181015183820152602001611a8e565b50505050905090810190601f168015611ad35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015611b6d57600080fd5b505afa158015611b81573d6000803e3d6000fd5b505050506040513d6020811015611b9757600080fd5b505190506001600160a01b03811615611d1057806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611c41578181015183820152602001611c29565b50505050905090810190601f168015611c6e5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611ca1578181015183820152602001611c89565b50505050905090810190601f168015611cce5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015611cf357600080fd5b505af1158015611d07573d6000803e3d6000fd5b50505050611d64565b8115611d6457611d28866001600160a01b0316611501565b15611d645760405162461bcd60e51b815260040180806020018281038252604d81526020018061269a604d913960600191505060405180910390fd5b5050505050505050565b6000828152600960205260409020611d869082611507565b15610cba57611d9361151c565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600960205260409020611def9082612343565b15610cba57611dfc61151c565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611e48610d9a565b611e90576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ec361151c565b604080516001600160a01b039092168252519081900360200190a1565b6001600160a01b038616611f255760405162461bcd60e51b81526004018080602001828103825260228152602001806125956022913960400191505060405180910390fd5b6001600160a01b038516611f80576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6000611f8a61151c565b9050611f9a81888888888861160c565b611fa8818888888888611839565b61183081888888888888611ae9565b611fbf610d9a565b15612004576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ec361151c565b6000610ea78383612358565b6000610ea7836001600160a01b0384166123bc565b6000610ab4826123d4565b6001600160a01b0384166120ab5760405162461bcd60e51b81526004018080602001828103825260228152602001806126036022913960400191505060405180910390fd5b60006120b561151c565b90506120c68186600087878761160c565b6120d381866000876122ea565b61211084604051806060016040528060238152602001612786602391396001600160a01b0388166000908152602081905260409020549190611a52565b6001600160a01b03861660009081526020819052604090205560015461213690856123d8565b600181905550846001600160a01b0316816001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156121bb5781810151838201526020016121a3565b50505050905090810190601f1680156121e85780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561221b578181015183820152602001612203565b50505050905090810190601f1680156122485780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516000916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b60006122ac83836123bc565b6122e257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ab4565b506000610ab4565b6122f2610d9a565b15612337576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61147f8484848461147f565b6000610ea7836001600160a01b038416612435565b8154600090821061239a5760405162461bcd60e51b81526004018080602001828103825260228152602001806124fc6022913960400191505060405180910390fd5b8260000182815481106123a957fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60008282111561242f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081815260018301602052604081205480156124f1578354600019808301919081019060009087908390811061246857fe5b906000526020600020015490508087600001848154811061248557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806124b557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610ab4565b6000915050610ab456fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734648483a206d75737420686176652070617573657220726f6c6520746f207061757365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63654648483a206d75737420686176652070617573657220726f6c6520746f20756e70617573654552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f72416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433737373a207265766f6b696e672073656c66206173206f70657261746f724552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212200e20a9a06bfca4db1e875ea12869487fa7d034ce65247bf79c45f66d3469d9fb64736f6c634300060c0033
Deployed Bytecode Sourcemap
70152:1266:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39967:132;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36077:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41596:201;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41596:201:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;36903:125;;;:::i;:::-;;;;;;;;;;;;;;;;42173:694;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42173:694:0;;;;;;;;;;;;;;;;;:::i;66885:114::-;;;;;;;;;;;;;;;;-1:-1:-1;66885:114:0;;:::i;67261:227::-;;;;;;;;;;;;;;;;-1:-1:-1;67261:227:0;;;;;;-1:-1:-1;;;;;67261:227:0;;:::i;:::-;;36534:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;68470:209;;;;;;;;;;;;;;;;-1:-1:-1;68470:209:0;;;;;;-1:-1:-1;;;;;68470:209:0;;:::i;71056:154::-;;;:::i;36740:97::-;;;:::i;51711:86::-;;;:::i;40225:407::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40225:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40225:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40225:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40225:407:0;;;;;;;;-1:-1:-1;40225:407:0;;-1:-1:-1;;;;;40225:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40225:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40225:407:0;;-1:-1:-1;40225:407:0;;-1:-1:-1;;;;;40225:407:0:i;37133:152::-;;;;;;;;;;;;;;;;-1:-1:-1;37133:152:0;-1:-1:-1;;;;;37133:152:0;;:::i;70767:148::-;;;:::i;66558:138::-;;;;;;;;;;;;;;;;-1:-1:-1;66558:138:0;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;66558:138:0;;;;;;;;;;;;;;65519:139;;;;;;;;;;;;;;;;-1:-1:-1;65519:139:0;;;;;;-1:-1:-1;;;;;65519:139:0;;:::i;38990:423::-;;;;;;;;;;;;;;;;-1:-1:-1;38990:423:0;-1:-1:-1;;;;;38990:423:0;;:::i;36238:104::-;;;:::i;37422:166::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37422:166:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37422:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37422:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37422:166:0;;-1:-1:-1;37422:166:0;;-1:-1:-1;;;;;37422:166:0:i;64264:49::-;;;:::i;37829:451::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37829:451:0;;;;;;;;:::i;65832:127::-;;;;;;;;;;;;;;;;-1:-1:-1;65832:127:0;;:::i;67733:230::-;;;;;;;;;;;;;;;;-1:-1:-1;67733:230:0;;;;;;-1:-1:-1;;;;;67733:230:0;;:::i;38615:303::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38615:303:0;;;;;;;;;;:::i;41298:153::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41298:153:0;;;;;;;;;;:::i;70272:62::-;;;:::i;39482:414::-;;;;;;;;;;;;;;;;-1:-1:-1;39482:414:0;-1:-1:-1;;;;;39482:414:0;;:::i;40760:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40760:290:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40760:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40760:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40760:290:0;;;;;;;;-1:-1:-1;40760:290:0;;-1:-1:-1;;;;;40760:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40760:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40760:290:0;;-1:-1:-1;40760:290:0;;-1:-1:-1;;;;;40760:290:0:i;38417:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38417:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38417:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38417:130:0;;-1:-1:-1;38417:130:0;;-1:-1:-1;;;;;38417:130:0:i;39967:132::-;40033:16;40069:22;40062:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40062:29:0;;;;;;;;;;;;;;;;;;;;;;;39967:132;:::o;36077:100::-;36164:5;36157:12;;;;;;;-1:-1:-1;;36157:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36131:13;;36157:12;;36164:5;;36157:12;;36164:5;36157:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36157:12:0;;36077:100;-1:-1:-1;;;;;36077:100:0:o;41596:201::-;41678:4;41695:14;41712:12;:10;:12::i;:::-;41695:29;;41735:32;41744:6;41752:7;41761:5;41735:8;:32::i;:::-;41785:4;41778:11;;;41596:201;;;;;:::o;36903:125::-;37008:12;;36903:125;:::o;42173:694::-;42279:4;-1:-1:-1;;;;;42304:23:0;;42296:72;;;;-1:-1:-1;;;42296:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42387:20:0;;42379:71;;;;-1:-1:-1;;;42379:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42463:15;42481:12;:10;:12::i;:::-;42463:30;;42506:61;42524:7;42533:6;42541:9;42552:6;42506:61;;;;;;;;;;;;;;;;;;;;;;;;:17;:61::i;:::-;42580:49;42586:7;42595:6;42603:9;42614:6;42580:49;;;;;;;;;;;;;;;;;;;;;;;;:5;:49::i;:::-;42640:112;42649:6;42657:7;42666:85;42699:6;42666:85;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42666:19:0;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;:85;:32;:85::i;:::-;42640:8;:112::i;:::-;42765:70;42785:7;42794:6;42802:9;42813:6;42765:70;;;;;;;;;;;;;;;;;;;;;;;;42829:5;42765:19;:70::i;:::-;-1:-1:-1;42855:4:0;;42173:694;-1:-1:-1;;;;42173:694:0:o;66885:114::-;66942:7;66969:12;;;:6;:12;;;;;:22;;;;66885:114::o;67261:227::-;67353:12;;;;:6;:12;;;;;:22;;;67345:45;;67377:12;:10;:12::i;:::-;67345:7;:45::i;:::-;67337:105;;;;-1:-1:-1;;;67337:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67455:25;67466:4;67472:7;67455:10;:25::i;:::-;67261:227;;:::o;36534:84::-;36608:2;36534:84;:::o;68470:209::-;68568:12;:10;:12::i;:::-;-1:-1:-1;;;;;68557:23:0;:7;-1:-1:-1;;;;;68557:23:0;;68549:83;;;;-1:-1:-1;;;68549:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68645:26;68657:4;68663:7;68645:11;:26::i;71056:154::-;71109:34;70310:24;71130:12;:10;:12::i;71109:34::-;71101:84;;;;-1:-1:-1;;;71101:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71194:10;:8;:10::i;:::-;71056:154::o;36740:97::-;36828:1;36740:97;:::o;51711:86::-;51782:7;;;;51711:86;:::o;40225:407::-;40471:35;40485:12;:10;:12::i;:::-;40499:6;40471:13;:35::i;:::-;40463:92;;;;-1:-1:-1;;;40463:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40566:58;40572:6;40580:9;40591:6;40599:4;40605:12;40619:4;40566:5;:58::i;:::-;40225:407;;;;;:::o;37133:152::-;-1:-1:-1;;;;;37255:22:0;37228:7;37255:22;;;;;;;;;;;;37133:152::o;70767:148::-;70818:34;70310:24;70839:12;:10;:12::i;70818:34::-;70810:82;;;;-1:-1:-1;;;70810:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70901:8;:6;:8::i;66558:138::-;66631:7;66658:12;;;:6;:12;;;;;:30;;66682:5;66658:23;:30::i;:::-;66651:37;66558:138;-1:-1:-1;;;66558:138:0:o;65519:139::-;65588:4;65612:12;;;:6;:12;;;;;:38;;65642:7;65612:29;:38::i;38990:423::-;39095:8;-1:-1:-1;;;;;39079:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;39079:24:0;;;39071:73;;;;-1:-1:-1;;;39071:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39161:27:0;;;;;;:17;:27;;;;;;;;39157:189;;;39212:24;:38;39237:12;:10;:12::i;:::-;-1:-1:-1;;;;;39212:38:0;;;;;;;;;;;;;;;;;-1:-1:-1;39212:38:0;;;:48;;;;;;;;;39205:55;;-1:-1:-1;;39205:55:0;;;39157:189;;;39330:4;39293:10;:24;39304:12;:10;:12::i;:::-;-1:-1:-1;;;;;39293:24:0;;;;;;;;;;;;;;;;;-1:-1:-1;39293:24:0;;;:34;;;;;;;;;:41;;-1:-1:-1;;39293:41:0;;;;;;;;;;39157:189;39392:12;:10;:12::i;:::-;-1:-1:-1;;;;;39363:42:0;39382:8;-1:-1:-1;;;;;39363:42:0;;;;;;;;;;;38990:423;:::o;36238:104::-;36327:7;36320:14;;;;;;;;-1:-1:-1;;36320:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36294:13;;36320:14;;36327:7;;36320:14;;36327:7;36320:14;;;;;;;;;;;;;;;;;;;;;;;;37422:166;37526:54;37532:12;:10;:12::i;:::-;37546:9;37557:6;37565:4;37526:54;;;;;;;;;;;;37575:4;37526:5;:54::i;:::-;37422:166;;;:::o;64264:49::-;64309:4;64264:49;:::o;37829:451::-;37915:4;-1:-1:-1;;;;;37940:23:0;;37932:72;;;;-1:-1:-1;;;37932:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38017:12;38032;:10;:12::i;:::-;38017:27;;38057:56;38075:4;38081;38087:9;38098:6;38057:56;;;;;;;;;;;;;;;;;;;;;;;;:17;:56::i;:::-;38126:44;38132:4;38138;38144:9;38155:6;38126:44;;;;;;;;;;;;;;;;;;;;;;;;:5;:44::i;:::-;38183:65;38203:4;38209;38215:9;38226:6;38183:65;;;;;;;;;;;;;;;;;;;;;;;;38242:5;38183:19;:65::i;65832:127::-;65895:7;65922:12;;;:6;:12;;;;;:29;;:27;:29::i;67733:230::-;67826:12;;;;:6;:12;;;;;:22;;;67818:45;;67850:12;:10;:12::i;67818:45::-;67810:106;;;;-1:-1:-1;;;67810:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38615:303;38715:4;38751:11;-1:-1:-1;;;;;38739:23:0;:8;-1:-1:-1;;;;;38739:23:0;;:121;;;-1:-1:-1;;;;;;38780:27:0;;;;;;:17;:27;;;;;;;;:79;;;;-1:-1:-1;;;;;;38812:37:0;;;;;;;:24;:37;;;;;;;;:47;;;;;;;;;;;;38811:48;38780:79;38739:171;;;-1:-1:-1;;;;;;;38877:23:0;;;;;;;:10;:23;;;;;;;;:33;;;;;;;;;;;;;;;;38615:303::o;41298:153::-;-1:-1:-1;;;;;41415:19:0;;;41388:7;41415:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;41298:153::o;70272:62::-;70310:24;70272:62;:::o;39482:414::-;39580:12;:10;:12::i;:::-;-1:-1:-1;;;;;39568:24:0;:8;-1:-1:-1;;;;;39568:24:0;;;39560:70;;;;-1:-1:-1;;;39560:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39647:27:0;;;;;;:17;:27;;;;;;;;39643:189;;;39742:4;39691:24;:38;39716:12;:10;:12::i;:::-;-1:-1:-1;;;;;39691:38:0;;;;;;;;;;;;;;;;;-1:-1:-1;39691:38:0;;;:48;;;;;;;;;:55;;-1:-1:-1;;39691:55:0;;;;;;;;;;39643:189;;;39786:10;:24;39797:12;:10;:12::i;:::-;-1:-1:-1;;;;;39786:24:0;;;;;;;;;;;;;;;;;-1:-1:-1;39786:24:0;;;:34;;;;;;;;;39779:41;;-1:-1:-1;;39779:41:0;;;39643:189;39875:12;:10;:12::i;:::-;-1:-1:-1;;;;;39849:39:0;39865:8;-1:-1:-1;;;;;39849:39:0;;;;;;;;;;;39482:414;:::o;40760:290::-;40904:36;40918:12;:10;:12::i;:::-;40932:7;40904:13;:36::i;:::-;40896:93;;;;-1:-1:-1;;;40896:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41000:42;41006:7;41015:6;41023:4;41029:12;41000:5;:42::i;:::-;40760:290;;;;:::o;38417:130::-;38502:37;38508:12;:10;:12::i;:::-;38522:6;38530:4;38502:37;;;;;;;;;;;;:5;:37::i;15351:179::-;15409:7;15441:5;;;15465:6;;;;15457:46;;;;;-1:-1:-1;;;15457:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20761:422;21128:20;21167:8;;;20761:422::o;59524:152::-;59594:4;59618:50;59623:3;-1:-1:-1;;;;;59643:23:0;;59618:4;:50::i;671:106::-;759:10;671:106;:::o;47162:341::-;-1:-1:-1;;;;;47256:20:0;;47248:70;;;;-1:-1:-1;;;47248:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47337:21:0;;47329:69;;;;-1:-1:-1;;;47329:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47411:19:0;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;:36;;;47463:32;;;;;;;;;;;;;;;;;47162:341;;;:::o;47987:498::-;48240:78;;;-1:-1:-1;;;48240:78:0;;-1:-1:-1;;;;;48240:78:0;;;;;;34392:66;48240:78;;;;;;48218:19;;33913:42;;48240:41;;:78;;;;;;;;;;;;;;;33913:42;48240:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48240:78:0;;-1:-1:-1;;;;;;48333:25:0;;;48329:149;;48389:11;-1:-1:-1;;;;;48375:39:0;;48415:8;48425:4;48431:2;48435:6;48443:8;48453:12;48375:91;;;;;;;;;;;;;-1:-1:-1;;;;;48375:91:0;;;;;;-1:-1:-1;;;;;48375:91:0;;;;;;-1:-1:-1;;;;;48375:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48375:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48329:149;47987:498;;;;;;;:::o;46473:544::-;46692:48;46713:8;46723:4;46729:2;46733:6;46692:20;:48::i;:::-;46771:70;46791:6;46771:70;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46771:15:0;;:9;:15;;;;;;;;;;;;:70;:19;:70::i;:::-;-1:-1:-1;;;;;46753:15:0;;;:9;:15;;;;;;;;;;;:88;;;;46868:13;;;;;;;:25;;46886:6;46868:17;:25::i;:::-;46852:9;:13;46862:2;-1:-1:-1;;;;;46852:13:0;-1:-1:-1;;;;;46852:13:0;;;;;;;;;;;;:41;;;;46932:2;-1:-1:-1;;;;;46911:56:0;46926:4;-1:-1:-1;;;;;46911:56:0;46916:8;-1:-1:-1;;;;;46911:56:0;;46936:6;46944:8;46954:12;46911:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46911:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46998:2;-1:-1:-1;;;;;46983:26:0;46992:4;-1:-1:-1;;;;;46983:26:0;;47002:6;46983:26;;;;;;;;;;;;;;;;;;46473:544;;;;;;:::o;18178:166::-;18264:7;18300:12;18292:6;;;;18284:29;;;;-1:-1:-1;;;18284:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18331:5:0;;;18178:166::o;49187:705::-;49477:79;;;-1:-1:-1;;;49477:79:0;;-1:-1:-1;;;;;49477:79:0;;;;;;34579:66;49477:79;;;;;;49455:19;;33913:42;;49477:41;;:79;;;;;;;;;;;;;;;33913:42;49477:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49477:79:0;;-1:-1:-1;;;;;;49571:25:0;;;49567:318;;49630:11;-1:-1:-1;;;;;49613:44:0;;49658:8;49668:4;49674:2;49678:6;49686:8;49696:12;49613:96;;;;;;;;;;;;;-1:-1:-1;;;;;49613:96:0;;;;;;-1:-1:-1;;;;;49613:96:0;;;;;;-1:-1:-1;;;;;49613:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49613:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49567:318;;;49731:19;49727:158;;;49776:15;:2;-1:-1:-1;;;;;49776:13:0;;:15::i;:::-;49775:16;49767:106;;;;-1:-1:-1;;;49767:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49187:705;;;;;;;;:::o;69713:188::-;69787:12;;;;:6;:12;;;;;:33;;69812:7;69787:24;:33::i;:::-;69783:111;;;69869:12;:10;:12::i;:::-;-1:-1:-1;;;;;69842:40:0;69860:7;-1:-1:-1;;;;;69842:40:0;69854:4;69842:40;;;;;;;;;;69713:188;;:::o;69909:192::-;69984:12;;;;:6;:12;;;;;:36;;70012:7;69984:27;:36::i;:::-;69980:114;;;70069:12;:10;:12::i;:::-;-1:-1:-1;;;;;70042:40:0;70060:7;-1:-1:-1;;;;;70042:40:0;70054:4;70042:40;;;;;;;;;;69909:192;;:::o;52770:120::-;52314:8;:6;:8::i;:::-;52306:41;;;;;-1:-1:-1;;;52306:41:0;;;;;;;;;;;;-1:-1:-1;;;52306:41:0;;;;;;;;;;;;;;;52829:7:::1;:15:::0;;-1:-1:-1;;52829:15:0::1;::::0;;52860:22:::1;52869:12;:10;:12::i;:::-;52860:22;::::0;;-1:-1:-1;;;;;52860:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;52770:120::o:0;44703:691::-;-1:-1:-1;;;;;44956:18:0;;44948:65;;;;-1:-1:-1;;;44948:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45032:16:0;;45024:61;;;;;-1:-1:-1;;;45024:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45098:16;45117:12;:10;:12::i;:::-;45098:31;;45142:69;45160:8;45170:4;45176:2;45180:6;45188:8;45198:12;45142:17;:69::i;:::-;45224:57;45230:8;45240:4;45246:2;45250:6;45258:8;45268:12;45224:5;:57::i;:::-;45294:92;45314:8;45324:4;45330:2;45334:6;45342:8;45352:12;45366:19;45294;:92::i;52511:118::-;52037:8;:6;:8::i;:::-;52036:9;52028:38;;;;;-1:-1:-1;;;52028:38:0;;;;;;;;;;;;-1:-1:-1;;;52028:38:0;;;;;;;;;;;;;;;52571:7:::1;:14:::0;;-1:-1:-1;;52571:14:0::1;52581:4;52571:14;::::0;;52601:20:::1;52608:12;:10;:12::i;60810:158::-:0;60884:7;60935:22;60939:3;60951:5;60935:3;:22::i;60096:167::-;60176:4;60200:55;60210:3;-1:-1:-1;;;;;60230:23:0;;60200:9;:55::i;60349:117::-;60412:7;60439:19;60447:3;60439:7;:19::i;45708:757::-;-1:-1:-1;;;;;45901:18:0;;45893:65;;;;-1:-1:-1;;;45893:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45971:16;45990:12;:10;:12::i;:::-;45971:31;;46015:73;46033:8;46043:4;46057:1;46061:6;46069:4;46075:12;46015:17;:73::i;:::-;46101:56;46122:8;46132:4;46146:1;46150:6;46101:20;:56::i;:::-;46223:66;46243:6;46223:66;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46223:15:0;;:9;:15;;;;;;;;;;;;:66;:19;:66::i;:::-;-1:-1:-1;;;;;46205:15:0;;:9;:15;;;;;;;;;;:84;46315:12;;:24;;46332:6;46315:16;:24::i;:::-;46300:12;:39;;;;46374:4;-1:-1:-1;;;;;46357:50:0;46364:8;-1:-1:-1;;;;;46357:50:0;;46380:6;46388:4;46394:12;46357:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46357:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46423:34;;;;;;;;46446:1;;-1:-1:-1;;;;;46423:34:0;;;;;;;;;;;;45708:757;;;;;:::o;54588:414::-;54651:4;54673:21;54683:3;54688:5;54673:9;:21::i;:::-;54668:327;;-1:-1:-1;54711:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;54894:18;;54872:19;;;:12;;;:19;;;;;;:40;;;;54927:11;;54668:327;-1:-1:-1;54978:5:0;54971:12;;71216:197;52037:8;:6;:8::i;:::-;52036:9;52028:38;;;;;-1:-1:-1;;;52028:38:0;;;;;;;;;;;;-1:-1:-1;;;52028:38:0;;;;;;;;;;;;;;;71353:54:::1;71380:8;71390:4;71396:2;71400:6;71353:26;:54::i;59852:158::-:0;59925:4;59949:53;59957:3;-1:-1:-1;;;;;59977:23:0;;59949:7;:53::i;57476:204::-;57571:18;;57543:7;;57571:26;-1:-1:-1;57563:73:0;;;;-1:-1:-1;;;57563:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57654:3;:11;;57666:5;57654:18;;;;;;;;;;;;;;;;57647:25;;57476:204;;;;:::o;56808:129::-;56881:4;56905:19;;;:12;;;;;:19;;;;;;:24;;;56808:129::o;57023:109::-;57106:18;;57023:109::o;15813:158::-;15871:7;15904:1;15899;:6;;15891:49;;;;;-1:-1:-1;;;15891:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15958:5:0;;;15813:158::o;55178:1544::-;55244:4;55383:19;;;:12;;;:19;;;;;;55419:15;;55415:1300;;55854:18;;-1:-1:-1;;55805:14:0;;;;55854:22;;;;55781:21;;55854:3;;:22;;56141;;;;;;;;;;;;;;56121:42;;56287:9;56258:3;:11;;56270:13;56258:26;;;;;;;;;;;;;;;;;;;:38;;;;56364:23;;;56406:1;56364:12;;;:23;;;;;;56390:17;;;56364:43;;56516:17;;56364:3;;56516:17;;;;;;;;;;;;;;;;;;;;;;56611:3;:12;;:19;56624:5;56611:19;;;;;;;;;;;56604:26;;;56654:4;56647:11;;;;;;;;55415:1300;56698:5;56691:12;;;;
Swarm Source
ipfs://0e20a9a06bfca4db1e875ea12869487fa7d034ce65247bf79c45f66d3469d9fb
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.