Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60a06040 | 17182379 | 491 days ago | IN | 0 ETH | 0.1462919 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20659790 | 4 days ago | 0 ETH | |||||
20637490 | 7 days ago | 0 ETH | |||||
20637478 | 7 days ago | 0 ETH | |||||
20458452 | 32 days ago | 0 ETH | |||||
20458421 | 32 days ago | 0 ETH | |||||
20457991 | 32 days ago | 0 ETH | |||||
20457958 | 32 days ago | 0 ETH | |||||
20457930 | 32 days ago | 0 ETH | |||||
20457917 | 32 days ago | 0 ETH | |||||
20457909 | 32 days ago | 0 ETH | |||||
20292303 | 55 days ago | 0 ETH | |||||
20015068 | 94 days ago | 0 ETH | |||||
20015068 | 94 days ago | 0 ETH | |||||
20015068 | 94 days ago | 0 ETH | |||||
19809864 | 123 days ago | 0 ETH | |||||
19634550 | 147 days ago | 0 ETH | |||||
19634550 | 147 days ago | 0 ETH | |||||
19634550 | 147 days ago | 0 ETH | |||||
19632975 | 147 days ago | 0 ETH | |||||
19632975 | 147 days ago | 0 ETH | |||||
19632975 | 147 days ago | 0 ETH | |||||
19320570 | 191 days ago | 0 ETH | |||||
19148966 | 215 days ago | 0 ETH | |||||
19137109 | 217 days ago | 0 ETH | |||||
19103411 | 222 days ago | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
RizzCoin
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-03 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity 0.8.19; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } } // File: @openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol // OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol) /** * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. * * _Available since v4.9._ */ interface IERC1967Upgradeable { /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Emitted when the beacon is changed. */ event BeaconUpgraded(address indexed beacon); } // File: @openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); } // File: @openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822ProxiableUpgradeable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } } // File: @openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable { function __ERC1967Upgrade_init() internal onlyInitializing { } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @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) private returns (bytes memory) { require(AddressUpgradeable.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 AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol) /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Check that the execution is not being performed through a delegate call. This allows a function to be * callable on the implementing contract but not through proxies. */ modifier notDelegated() { require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall"); _; } /** * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the * implementation. It is used to validate the implementation's compatibility when performing an upgrade. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier. */ function proxiableUUID() external view virtual override notDelegated returns (bytes32) { return _IMPLEMENTATION_SLOT; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeTo(address newImplementation) external virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/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 PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { 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()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[45] private __gap; } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, 'SafeMath: addition overflow'); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, 'SafeMath: subtraction overflow'); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, 'SafeMath: multiplication overflow'); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, 'SafeMath: division by zero'); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, 'SafeMath: modulo by zero'); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract RizzCoin is Initializable, ERC20Upgradeable, PausableUpgradeable, OwnableUpgradeable, UUPSUpgradeable { using SafeMath for uint256; uint256 private MaxSupply; uint256 private transferFees; uint256 private feeDivisor; mapping(address=>bool) private isExcluded; mapping(address=>bool) private Blacklisted; event WalletExcluded(address indexed wallet, bool indexed status); event WalletBlacklisted(address indexed wallet, bool indexed status); event TransferFeesUpdated(uint256 indexed fees, uint256 indexed divisor); /// @custom:oz-upgrades-unsafe-allow constructor constructor() { _disableInitializers(); } function initialize() initializer public { __ERC20_init("Rizz Coin", "$RIZZ"); __Pausable_init(); __Ownable_init(); __UUPSUpgradeable_init(); MaxSupply = 690690690690 ether; _mint(0xD22a909d1040Af7667CCf56Db2Ac5aF43E94A17e, MaxSupply); _transferOwnership(0xD22a909d1040Af7667CCf56Db2Ac5aF43E94A17e); isExcluded[0xD22a909d1040Af7667CCf56Db2Ac5aF43E94A17e] = true; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function getMaxSupply() public view returns (uint256) { return MaxSupply; } function getTransferFees() public view returns (uint256) { return transferFees; } function getFeeDivisor() public view returns (uint256) { return feeDivisor; } function setTransferFees(uint256 transferFees_, uint256 feeDivisor_) public onlyOwner { require(feeDivisor_ >= transferFees_, "Transfer fees cannot exceed fee divisor"); transferFees = transferFees_; feeDivisor = feeDivisor_; emit TransferFeesUpdated(transferFees_,feeDivisor_); } function isWalletExcluded(address wallet) public view returns (bool) { return isExcluded[wallet]; } function excludeWallet(address wallet, bool status) public onlyOwner { require(isExcluded[wallet] != status, "Wallet already have same status"); isExcluded[wallet] = status; emit WalletExcluded(wallet, status); } function isWalletBlacklisted(address wallet) public view returns (bool) { return Blacklisted[wallet]; } function BlacklistWallet(address wallet, bool status) public onlyOwner { require(Blacklisted[wallet] != status, "Wallet already have same status"); Blacklisted[wallet] = status; emit WalletBlacklisted(wallet, status); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { require(!Blacklisted[from], "Cannot transfer from blacklisted wallet"); require(!Blacklisted[to], "Cannot transfer to blacklisted wallet"); super._beforeTokenTransfer(from, to, amount); } function _transfer(address from, address to, uint256 amount) internal override { if(transferFees > 0) { bool takeFee = true; if(isExcluded[from] || isExcluded[to]) { takeFee = false; } if(takeFee) { uint256 feeAmount = (amount.mul(transferFees)).div(feeDivisor); uint256 amountToTransfer = amount.sub(feeAmount); super._transfer(from, owner(), feeAmount); super._transfer(from, to, amountToTransfer); return; } } super._transfer(from, to, amount); } function _authorizeUpgrade(address newImplementation) internal onlyOwner override {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":true,"internalType":"uint256","name":"fees","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"TransferFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"WalletBlacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"WalletExcluded","type":"event"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"BlacklistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"excludeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFeeDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isWalletBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isWalletExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"transferFees_","type":"uint256"},{"internalType":"uint256","name":"feeDivisor_","type":"uint256"}],"name":"setTransferFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040523060805234801561001457600080fd5b5061001d610022565b6100e2565b600054610100900460ff161561008e5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811610156100e0576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161222f6200011a6000396000818161070b0152818161074b0152818161081e0152818161085e01526108f1015261222f6000f3fe6080604052600436106101c25760003560e01c806352d1902d116100f75780638da5cb5b11610095578063dd62ed3e11610064578063dd62ed3e146104dc578063f2fde38b146104fc578063f639d5341461051c578063f828edbe1461053c57600080fd5b80638da5cb5b1461045f57806395d89b4114610487578063a457c2d71461049c578063a9059cbb146104bc57600080fd5b8063715018a6116100d1578063715018a6146103e65780637257032d146103fb5780638129fc1c146104355780638456cb591461044a57600080fd5b806352d1902d146103835780635c975abb1461039857806370a08231146103b057600080fd5b8063313ce56711610164578063395093511161013e57806339509351146103255780633f4ba83a146103455780634c0f38c21461035a5780634f1ef2861461037057600080fd5b8063313ce567146102d3578063331d19a9146102ef5780633659cfe61461030557600080fd5b80631356af02116101a05780631356af021461024257806318160ddd1461027c57806323b872dd146102915780632e0c2801146102b157600080fd5b806306fdde03146101c7578063095ea7b3146101f25780630ce9060714610222575b600080fd5b3480156101d357600080fd5b506101dc61055c565b6040516101e99190611cac565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611cfb565b6105ee565b60405190151581526020016101e9565b34801561022e57600080fd5b5061012e545b6040519081526020016101e9565b34801561024e57600080fd5b5061021261025d366004611d25565b6001600160a01b03166000908152610131602052604090205460ff1690565b34801561028857600080fd5b50603554610234565b34801561029d57600080fd5b506102126102ac366004611d40565b610608565b3480156102bd57600080fd5b506102d16102cc366004611d7c565b61062e565b005b3480156102df57600080fd5b50604051601281526020016101e9565b3480156102fb57600080fd5b5061012f54610234565b34801561031157600080fd5b506102d1610320366004611d25565b610701565b34801561033157600080fd5b50610212610340366004611cfb565b6107e0565b34801561035157600080fd5b506102d1610802565b34801561036657600080fd5b5061012d54610234565b6102d161037e366004611dce565b610814565b34801561038f57600080fd5b506102346108e4565b3480156103a457600080fd5b5060655460ff16610212565b3480156103bc57600080fd5b506102346103cb366004611d25565b6001600160a01b031660009081526033602052604090205490565b3480156103f257600080fd5b506102d1610997565b34801561040757600080fd5b50610212610416366004611d25565b6001600160a01b03166000908152610130602052604090205460ff1690565b34801561044157600080fd5b506102d16109a9565b34801561045657600080fd5b506102d1610bab565b34801561046b57600080fd5b506097546040516001600160a01b0390911681526020016101e9565b34801561049357600080fd5b506101dc610bbb565b3480156104a857600080fd5b506102126104b7366004611cfb565b610bca565b3480156104c857600080fd5b506102126104d7366004611cfb565b610c50565b3480156104e857600080fd5b506102346104f7366004611e90565b610c5e565b34801561050857600080fd5b506102d1610517366004611d25565b610c89565b34801561052857600080fd5b506102d1610537366004611ec3565b610cff565b34801561054857600080fd5b506102d1610557366004611d7c565b610da4565b60606036805461056b90611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461059790611ee5565b80156105e45780601f106105b9576101008083540402835291602001916105e4565b820191906000526020600020905b8154815290600101906020018083116105c757829003601f168201915b5050505050905090565b6000336105fc818585610e72565b60019150505b92915050565b600033610616858285610f96565b610621858585611010565b60019150505b9392505050565b6106366110e2565b6001600160a01b0382166000908152610131602052604090205481151560ff9091161515036106ac5760405162461bcd60e51b815260206004820152601f60248201527f57616c6c657420616c726561647920686176652073616d65207374617475730060448201526064015b60405180910390fd5b6001600160a01b03821660008181526101316020526040808220805460ff191685151590811790915590519092917f6e5e68466043e631629f40501adefa55dc080619353e9256cecbb1cc4997c18591a35050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107495760405162461bcd60e51b81526004016106a390611f1f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107926000805160206121b3833981519152546001600160a01b031690565b6001600160a01b0316146107b85760405162461bcd60e51b81526004016106a390611f6b565b6107c18161113c565b604080516000808252602082019092526107dd91839190611144565b50565b6000336105fc8185856107f38383610c5e565b6107fd9190611fcd565b610e72565b61080a6110e2565b6108126112af565b565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361085c5760405162461bcd60e51b81526004016106a390611f1f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166108a56000805160206121b3833981519152546001600160a01b031690565b6001600160a01b0316146108cb5760405162461bcd60e51b81526004016106a390611f6b565b6108d48261113c565b6108e082826001611144565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109845760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016106a3565b506000805160206121b383398151915290565b61099f6110e2565b6108126000611301565b600054610100900460ff16158080156109c95750600054600160ff909116105b806109e35750303b1580156109e3575060005460ff166001145b610a465760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016106a3565b6000805460ff191660011790558015610a69576000805461ff0019166101001790555b610ab1604051806040016040528060098152602001682934bd3d1021b7b4b760b91b81525060405180604001604052806005815260200164122924ad2d60d91b815250611353565b610ab9611384565b610ac16113b3565b610ac96113e2565b6c08b7bdf2d814a0cc3078c8000061012d819055610afc9073d22a909d1040af7667ccf56db2ac5af43e94a17e90611409565b610b1973d22a909d1040af7667ccf56db2ac5af43e94a17e611301565b73d22a909d1040af7667ccf56db2ac5af43e94a17e6000526101306020527f97019a649c42efc11b1ae4ec797ee80c203878eaae30d7a1eaf7e48ea00e0808805460ff1916600117905580156107dd576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b610bb36110e2565b6108126114d6565b60606037805461056b90611ee5565b60003381610bd88286610c5e565b905083811015610c385760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a3565b610c458286868403610e72565b506001949350505050565b6000336105fc818585611010565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b610c916110e2565b6001600160a01b038116610cf65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a3565b6107dd81611301565b610d076110e2565b81811015610d675760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220666565732063616e6e6f742065786365656420666565206044820152663234bb34b9b7b960c91b60648201526084016106a3565b61012e82905561012f819055604051819083907fe2aeabc3bc5a239852dbc489960a6b3025a7a3b26d684b4aaa3071ef449b947b90600090a35050565b610dac6110e2565b6001600160a01b0382166000908152610130602052604090205481151560ff909116151503610e1d5760405162461bcd60e51b815260206004820152601f60248201527f57616c6c657420616c726561647920686176652073616d65207374617475730060448201526064016106a3565b6001600160a01b03821660008181526101306020526040808220805460ff191685151590811790915590519092917f2a5f9b66922508fa25e17b3639538242a1a4fe74b92d315213dbfea82ca1230391a35050565b6001600160a01b038316610ed45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a3565b6001600160a01b038216610f355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a3565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fa28484610c5e565b9050600019811461100a5781811015610ffd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a3565b61100a8484848403610e72565b50505050565b61012e54156110d2576001600160a01b0383166000908152610130602052604090205460019060ff168061105d57506001600160a01b0383166000908152610130602052604090205460ff165b15611066575060005b80156110d057600061109161012f5461108b61012e548661151390919063ffffffff16565b90611595565b9050600061109f84836115d7565b90506110bd866110b76097546001600160a01b031690565b84611619565b6110c8868683611619565b505050505050565b505b6110dd838383611619565b505050565b6097546001600160a01b031633146108125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a3565b6107dd6110e2565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611177576110dd836117cf565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156111d1575060408051601f3d908101601f191682019092526111ce91810190611fe0565b60015b6112345760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016106a3565b6000805160206121b383398151915281146112a35760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016106a3565b506110dd83838361186b565b6112b7611890565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1661137a5760405162461bcd60e51b81526004016106a390611ff9565b6108e082826118d9565b600054610100900460ff166113ab5760405162461bcd60e51b81526004016106a390611ff9565b610812611919565b600054610100900460ff166113da5760405162461bcd60e51b81526004016106a390611ff9565b61081261194c565b600054610100900460ff166108125760405162461bcd60e51b81526004016106a390611ff9565b6001600160a01b03821661145f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a3565b61146b6000838361197c565b806035600082825461147d9190611fcd565b90915550506001600160a01b0382166000818152603360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6114de611a76565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112e43390565b60008260000361152557506000610602565b60006115318385612044565b90508261153e858361205b565b146106275760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106a3565b600061062783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611abc565b600061062783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611af3565b6001600160a01b03831661167d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a3565b6001600160a01b0382166116df5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a3565b6116ea83838361197c565b6001600160a01b038316600090815260336020526040902054818110156117625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a3565b6001600160a01b0380851660008181526033602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906117c29086815260200190565b60405180910390a361100a565b6001600160a01b0381163b61183c5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016106a3565b6000805160206121b383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61187483611b24565b6000825111806118815750805b156110dd5761100a8383611b64565b60655460ff166108125760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106a3565b600054610100900460ff166119005760405162461bcd60e51b81526004016106a390611ff9565b603661190c83826120c3565b5060376110dd82826120c3565b600054610100900460ff166119405760405162461bcd60e51b81526004016106a390611ff9565b6065805460ff19169055565b600054610100900460ff166119735760405162461bcd60e51b81526004016106a390611ff9565b61081233611301565b611984611a76565b6001600160a01b0383166000908152610131602052604090205460ff16156119fe5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74207472616e736665722066726f6d20626c61636b6c6973746564604482015266081dd85b1b195d60ca1b60648201526084016106a3565b6001600160a01b0382166000908152610131602052604090205460ff16156110dd5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220746f20626c61636b6c69737465642077604482015264185b1b195d60da1b60648201526084016106a3565b60655460ff16156108125760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106a3565b60008183611add5760405162461bcd60e51b81526004016106a39190611cac565b506000611aea848661205b565b95945050505050565b60008184841115611b175760405162461bcd60e51b81526004016106a39190611cac565b506000611aea8486612183565b611b2d816117cf565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b611bcc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016106a3565b600080846001600160a01b031684604051611be79190612196565b600060405180830381855af49150503d8060008114611c22576040519150601f19603f3d011682016040523d82523d6000602084013e611c27565b606091505b5091509150611aea82826040518060600160405280602781526020016121d36027913960608315611c59575081610627565b6106278383815115611c6e5781518083602001fd5b8060405162461bcd60e51b81526004016106a39190611cac565b60005b83811015611ca3578181015183820152602001611c8b565b50506000910152565b6020815260008251806020840152611ccb816040850160208701611c88565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611cf657600080fd5b919050565b60008060408385031215611d0e57600080fd5b611d1783611cdf565b946020939093013593505050565b600060208284031215611d3757600080fd5b61062782611cdf565b600080600060608486031215611d5557600080fd5b611d5e84611cdf565b9250611d6c60208501611cdf565b9150604084013590509250925092565b60008060408385031215611d8f57600080fd5b611d9883611cdf565b915060208301358015158114611dad57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611de157600080fd5b611dea83611cdf565b9150602083013567ffffffffffffffff80821115611e0757600080fd5b818501915085601f830112611e1b57600080fd5b813581811115611e2d57611e2d611db8565b604051601f8201601f19908116603f01168101908382118183101715611e5557611e55611db8565b81604052828152886020848701011115611e6e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060408385031215611ea357600080fd5b611eac83611cdf565b9150611eba60208401611cdf565b90509250929050565b60008060408385031215611ed657600080fd5b50508035926020909101359150565b600181811c90821680611ef957607f821691505b602082108103611f1957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060257610602611fb7565b600060208284031215611ff257600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761060257610602611fb7565b60008261207857634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156110dd57600081815260208120601f850160051c810160208610156120a45750805b601f850160051c820191505b818110156110c8578281556001016120b0565b815167ffffffffffffffff8111156120dd576120dd611db8565b6120f1816120eb8454611ee5565b8461207d565b602080601f831160018114612126576000841561210e5750858301515b600019600386901b1c1916600185901b1785556110c8565b600085815260208120601f198616915b8281101561215557888601518255948401946001909101908401612136565b50858210156121735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561060257610602611fb7565b600082516121a8818460208701611c88565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201c71987d993525f4eada4ef109e410ba5410277ebb253fcb67d286ed54a440d664736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806352d1902d116100f75780638da5cb5b11610095578063dd62ed3e11610064578063dd62ed3e146104dc578063f2fde38b146104fc578063f639d5341461051c578063f828edbe1461053c57600080fd5b80638da5cb5b1461045f57806395d89b4114610487578063a457c2d71461049c578063a9059cbb146104bc57600080fd5b8063715018a6116100d1578063715018a6146103e65780637257032d146103fb5780638129fc1c146104355780638456cb591461044a57600080fd5b806352d1902d146103835780635c975abb1461039857806370a08231146103b057600080fd5b8063313ce56711610164578063395093511161013e57806339509351146103255780633f4ba83a146103455780634c0f38c21461035a5780634f1ef2861461037057600080fd5b8063313ce567146102d3578063331d19a9146102ef5780633659cfe61461030557600080fd5b80631356af02116101a05780631356af021461024257806318160ddd1461027c57806323b872dd146102915780632e0c2801146102b157600080fd5b806306fdde03146101c7578063095ea7b3146101f25780630ce9060714610222575b600080fd5b3480156101d357600080fd5b506101dc61055c565b6040516101e99190611cac565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611cfb565b6105ee565b60405190151581526020016101e9565b34801561022e57600080fd5b5061012e545b6040519081526020016101e9565b34801561024e57600080fd5b5061021261025d366004611d25565b6001600160a01b03166000908152610131602052604090205460ff1690565b34801561028857600080fd5b50603554610234565b34801561029d57600080fd5b506102126102ac366004611d40565b610608565b3480156102bd57600080fd5b506102d16102cc366004611d7c565b61062e565b005b3480156102df57600080fd5b50604051601281526020016101e9565b3480156102fb57600080fd5b5061012f54610234565b34801561031157600080fd5b506102d1610320366004611d25565b610701565b34801561033157600080fd5b50610212610340366004611cfb565b6107e0565b34801561035157600080fd5b506102d1610802565b34801561036657600080fd5b5061012d54610234565b6102d161037e366004611dce565b610814565b34801561038f57600080fd5b506102346108e4565b3480156103a457600080fd5b5060655460ff16610212565b3480156103bc57600080fd5b506102346103cb366004611d25565b6001600160a01b031660009081526033602052604090205490565b3480156103f257600080fd5b506102d1610997565b34801561040757600080fd5b50610212610416366004611d25565b6001600160a01b03166000908152610130602052604090205460ff1690565b34801561044157600080fd5b506102d16109a9565b34801561045657600080fd5b506102d1610bab565b34801561046b57600080fd5b506097546040516001600160a01b0390911681526020016101e9565b34801561049357600080fd5b506101dc610bbb565b3480156104a857600080fd5b506102126104b7366004611cfb565b610bca565b3480156104c857600080fd5b506102126104d7366004611cfb565b610c50565b3480156104e857600080fd5b506102346104f7366004611e90565b610c5e565b34801561050857600080fd5b506102d1610517366004611d25565b610c89565b34801561052857600080fd5b506102d1610537366004611ec3565b610cff565b34801561054857600080fd5b506102d1610557366004611d7c565b610da4565b60606036805461056b90611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461059790611ee5565b80156105e45780601f106105b9576101008083540402835291602001916105e4565b820191906000526020600020905b8154815290600101906020018083116105c757829003601f168201915b5050505050905090565b6000336105fc818585610e72565b60019150505b92915050565b600033610616858285610f96565b610621858585611010565b60019150505b9392505050565b6106366110e2565b6001600160a01b0382166000908152610131602052604090205481151560ff9091161515036106ac5760405162461bcd60e51b815260206004820152601f60248201527f57616c6c657420616c726561647920686176652073616d65207374617475730060448201526064015b60405180910390fd5b6001600160a01b03821660008181526101316020526040808220805460ff191685151590811790915590519092917f6e5e68466043e631629f40501adefa55dc080619353e9256cecbb1cc4997c18591a35050565b6001600160a01b037f00000000000000000000000079cae18fdacdcdf2eabc584c9e9eecb1c314e9dd1630036107495760405162461bcd60e51b81526004016106a390611f1f565b7f00000000000000000000000079cae18fdacdcdf2eabc584c9e9eecb1c314e9dd6001600160a01b03166107926000805160206121b3833981519152546001600160a01b031690565b6001600160a01b0316146107b85760405162461bcd60e51b81526004016106a390611f6b565b6107c18161113c565b604080516000808252602082019092526107dd91839190611144565b50565b6000336105fc8185856107f38383610c5e565b6107fd9190611fcd565b610e72565b61080a6110e2565b6108126112af565b565b6001600160a01b037f00000000000000000000000079cae18fdacdcdf2eabc584c9e9eecb1c314e9dd16300361085c5760405162461bcd60e51b81526004016106a390611f1f565b7f00000000000000000000000079cae18fdacdcdf2eabc584c9e9eecb1c314e9dd6001600160a01b03166108a56000805160206121b3833981519152546001600160a01b031690565b6001600160a01b0316146108cb5760405162461bcd60e51b81526004016106a390611f6b565b6108d48261113c565b6108e082826001611144565b5050565b6000306001600160a01b037f00000000000000000000000079cae18fdacdcdf2eabc584c9e9eecb1c314e9dd16146109845760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016106a3565b506000805160206121b383398151915290565b61099f6110e2565b6108126000611301565b600054610100900460ff16158080156109c95750600054600160ff909116105b806109e35750303b1580156109e3575060005460ff166001145b610a465760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016106a3565b6000805460ff191660011790558015610a69576000805461ff0019166101001790555b610ab1604051806040016040528060098152602001682934bd3d1021b7b4b760b91b81525060405180604001604052806005815260200164122924ad2d60d91b815250611353565b610ab9611384565b610ac16113b3565b610ac96113e2565b6c08b7bdf2d814a0cc3078c8000061012d819055610afc9073d22a909d1040af7667ccf56db2ac5af43e94a17e90611409565b610b1973d22a909d1040af7667ccf56db2ac5af43e94a17e611301565b73d22a909d1040af7667ccf56db2ac5af43e94a17e6000526101306020527f97019a649c42efc11b1ae4ec797ee80c203878eaae30d7a1eaf7e48ea00e0808805460ff1916600117905580156107dd576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b610bb36110e2565b6108126114d6565b60606037805461056b90611ee5565b60003381610bd88286610c5e565b905083811015610c385760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a3565b610c458286868403610e72565b506001949350505050565b6000336105fc818585611010565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b610c916110e2565b6001600160a01b038116610cf65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a3565b6107dd81611301565b610d076110e2565b81811015610d675760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220666565732063616e6e6f742065786365656420666565206044820152663234bb34b9b7b960c91b60648201526084016106a3565b61012e82905561012f819055604051819083907fe2aeabc3bc5a239852dbc489960a6b3025a7a3b26d684b4aaa3071ef449b947b90600090a35050565b610dac6110e2565b6001600160a01b0382166000908152610130602052604090205481151560ff909116151503610e1d5760405162461bcd60e51b815260206004820152601f60248201527f57616c6c657420616c726561647920686176652073616d65207374617475730060448201526064016106a3565b6001600160a01b03821660008181526101306020526040808220805460ff191685151590811790915590519092917f2a5f9b66922508fa25e17b3639538242a1a4fe74b92d315213dbfea82ca1230391a35050565b6001600160a01b038316610ed45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a3565b6001600160a01b038216610f355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a3565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fa28484610c5e565b9050600019811461100a5781811015610ffd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a3565b61100a8484848403610e72565b50505050565b61012e54156110d2576001600160a01b0383166000908152610130602052604090205460019060ff168061105d57506001600160a01b0383166000908152610130602052604090205460ff165b15611066575060005b80156110d057600061109161012f5461108b61012e548661151390919063ffffffff16565b90611595565b9050600061109f84836115d7565b90506110bd866110b76097546001600160a01b031690565b84611619565b6110c8868683611619565b505050505050565b505b6110dd838383611619565b505050565b6097546001600160a01b031633146108125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a3565b6107dd6110e2565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611177576110dd836117cf565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156111d1575060408051601f3d908101601f191682019092526111ce91810190611fe0565b60015b6112345760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016106a3565b6000805160206121b383398151915281146112a35760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016106a3565b506110dd83838361186b565b6112b7611890565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1661137a5760405162461bcd60e51b81526004016106a390611ff9565b6108e082826118d9565b600054610100900460ff166113ab5760405162461bcd60e51b81526004016106a390611ff9565b610812611919565b600054610100900460ff166113da5760405162461bcd60e51b81526004016106a390611ff9565b61081261194c565b600054610100900460ff166108125760405162461bcd60e51b81526004016106a390611ff9565b6001600160a01b03821661145f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a3565b61146b6000838361197c565b806035600082825461147d9190611fcd565b90915550506001600160a01b0382166000818152603360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6114de611a76565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112e43390565b60008260000361152557506000610602565b60006115318385612044565b90508261153e858361205b565b146106275760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106a3565b600061062783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611abc565b600061062783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611af3565b6001600160a01b03831661167d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a3565b6001600160a01b0382166116df5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a3565b6116ea83838361197c565b6001600160a01b038316600090815260336020526040902054818110156117625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a3565b6001600160a01b0380851660008181526033602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906117c29086815260200190565b60405180910390a361100a565b6001600160a01b0381163b61183c5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016106a3565b6000805160206121b383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61187483611b24565b6000825111806118815750805b156110dd5761100a8383611b64565b60655460ff166108125760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106a3565b600054610100900460ff166119005760405162461bcd60e51b81526004016106a390611ff9565b603661190c83826120c3565b5060376110dd82826120c3565b600054610100900460ff166119405760405162461bcd60e51b81526004016106a390611ff9565b6065805460ff19169055565b600054610100900460ff166119735760405162461bcd60e51b81526004016106a390611ff9565b61081233611301565b611984611a76565b6001600160a01b0383166000908152610131602052604090205460ff16156119fe5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74207472616e736665722066726f6d20626c61636b6c6973746564604482015266081dd85b1b195d60ca1b60648201526084016106a3565b6001600160a01b0382166000908152610131602052604090205460ff16156110dd5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220746f20626c61636b6c69737465642077604482015264185b1b195d60da1b60648201526084016106a3565b60655460ff16156108125760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106a3565b60008183611add5760405162461bcd60e51b81526004016106a39190611cac565b506000611aea848661205b565b95945050505050565b60008184841115611b175760405162461bcd60e51b81526004016106a39190611cac565b506000611aea8486612183565b611b2d816117cf565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b611bcc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016106a3565b600080846001600160a01b031684604051611be79190612196565b600060405180830381855af49150503d8060008114611c22576040519150601f19603f3d011682016040523d82523d6000602084013e611c27565b606091505b5091509150611aea82826040518060600160405280602781526020016121d36027913960608315611c59575081610627565b6106278383815115611c6e5781518083602001fd5b8060405162461bcd60e51b81526004016106a39190611cac565b60005b83811015611ca3578181015183820152602001611c8b565b50506000910152565b6020815260008251806020840152611ccb816040850160208701611c88565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611cf657600080fd5b919050565b60008060408385031215611d0e57600080fd5b611d1783611cdf565b946020939093013593505050565b600060208284031215611d3757600080fd5b61062782611cdf565b600080600060608486031215611d5557600080fd5b611d5e84611cdf565b9250611d6c60208501611cdf565b9150604084013590509250925092565b60008060408385031215611d8f57600080fd5b611d9883611cdf565b915060208301358015158114611dad57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611de157600080fd5b611dea83611cdf565b9150602083013567ffffffffffffffff80821115611e0757600080fd5b818501915085601f830112611e1b57600080fd5b813581811115611e2d57611e2d611db8565b604051601f8201601f19908116603f01168101908382118183101715611e5557611e55611db8565b81604052828152886020848701011115611e6e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060408385031215611ea357600080fd5b611eac83611cdf565b9150611eba60208401611cdf565b90509250929050565b60008060408385031215611ed657600080fd5b50508035926020909101359150565b600181811c90821680611ef957607f821691505b602082108103611f1957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060257610602611fb7565b600060208284031215611ff257600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761060257610602611fb7565b60008261207857634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156110dd57600081815260208120601f850160051c810160208610156120a45750805b601f850160051c820191505b818110156110c8578281556001016120b0565b815167ffffffffffffffff8111156120dd576120dd611db8565b6120f1816120eb8454611ee5565b8461207d565b602080601f831160018114612126576000841561210e5750858301515b600019600386901b1c1916600185901b1785556110c8565b600085815260208120601f198616915b8281101561215557888601518255948401946001909101908401612136565b50858210156121735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561060257610602611fb7565b600082516121a8818460208701611c88565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201c71987d993525f4eada4ef109e410ba5410277ebb253fcb67d286ed54a440d664736f6c63430008130033
Deployed Bytecode Sourcemap
62359:3819:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46379:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48730:201;;;;;;;;;;-1:-1:-1;48730:201:0;;;;;:::i;:::-;;:::i;:::-;;;1272:14:1;;1265:22;1247:41;;1235:2;1220:18;48730:201:0;1107:187:1;63748:95:0;;;;;;;;;;-1:-1:-1;63823:12:0;;63748:95;;;1445:25:1;;;1433:2;1418:18;63748:95:0;1299:177:1;64652:117:0;;;;;;;;;;-1:-1:-1;64652:117:0;;;;;:::i;:::-;-1:-1:-1;;;;;64742:19:0;64718:4;64742:19;;;:11;:19;;;;;;;;;64652:117;47499:108;;;;;;;;;;-1:-1:-1;47587:12:0;;47499:108;;49511:295;;;;;;;;;;-1:-1:-1;49511:295:0;;;;;:::i;:::-;;:::i;64777:251::-;;;;;;;;;;-1:-1:-1;64777:251:0;;;;;:::i;:::-;;:::i;:::-;;47341:93;;;;;;;;;;-1:-1:-1;47341:93:0;;47424:2;2499:36:1;;2487:2;2472:18;47341:93:0;2357:184:1;63851:91:0;;;;;;;;;;-1:-1:-1;63924:10:0;;63851:91;;31165:200;;;;;;;;;;-1:-1:-1;31165:200:0;;;;;:::i;:::-;;:::i;50215:238::-;;;;;;;;;;-1:-1:-1;50215:238:0;;;;;:::i;:::-;;:::i;63578:65::-;;;;;;;;;;;;;:::i;63651:89::-;;;;;;;;;;-1:-1:-1;63723:9:0;;63651:89;;31624:225;;;;;;:::i;:::-;;:::i;30843:133::-;;;;;;;;;;;;;:::i;39056:86::-;;;;;;;;;;-1:-1:-1;39127:7:0;;;;39056:86;;47670:127;;;;;;;;;;-1:-1:-1;47670:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;47771:18:0;47744:7;47771:18;;;:9;:18;;;;;;;47670:127;36077:103;;;;;;;;;;;;;:::i;64279:113::-;;;;;;;;;;-1:-1:-1;64279:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;64366:18:0;64342:4;64366:18;;;:10;:18;;;;;;;;;64279:113;63060:441;;;;;;;;;;;;;:::i;63509:61::-;;;;;;;;;;;;;:::i;35429:87::-;;;;;;;;;;-1:-1:-1;35502:6:0;;35429:87;;-1:-1:-1;;;;;35502:6:0;;;4006:51:1;;3994:2;3979:18;35429:87:0;3860:203:1;46598:104:0;;;;;;;;;;;;;:::i;50956:436::-;;;;;;;;;;-1:-1:-1;50956:436:0;;;;;:::i;:::-;;:::i;48003:193::-;;;;;;;;;;-1:-1:-1;48003:193:0;;;;;:::i;:::-;;:::i;48259:151::-;;;;;;;;;;-1:-1:-1;48259:151:0;;;;;:::i;:::-;;:::i;36335:201::-;;;;;;;;;;-1:-1:-1;36335:201:0;;;;;:::i;:::-;;:::i;63950:321::-;;;;;;;;;;-1:-1:-1;63950:321:0;;;;;:::i;:::-;;:::i;64400:244::-;;;;;;;;;;-1:-1:-1;64400:244:0;;;;;:::i;:::-;;:::i;46379:100::-;46433:13;46466:5;46459:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46379:100;:::o;48730:201::-;48813:4;33574:10;48869:32;33574:10;48885:7;48894:6;48869:8;:32::i;:::-;48919:4;48912:11;;;48730:201;;;;;:::o;49511:295::-;49642:4;33574:10;49700:38;49716:4;33574:10;49731:6;49700:15;:38::i;:::-;49749:27;49759:4;49765:2;49769:6;49749:9;:27::i;:::-;49794:4;49787:11;;;49511:295;;;;;;:::o;64777:251::-;35315:13;:11;:13::i;:::-;-1:-1:-1;;;;;64867:19:0;::::1;;::::0;;;:11:::1;:19;::::0;;;;;:29;::::1;;:19;::::0;;::::1;:29;;::::0;64859:73:::1;;;::::0;-1:-1:-1;;;64859:73:0;;5173:2:1;64859:73:0::1;::::0;::::1;5155:21:1::0;5212:2;5192:18;;;5185:30;5251:33;5231:18;;;5224:61;5302:18;;64859:73:0::1;;;;;;;;;-1:-1:-1::0;;;;;64943:19:0;::::1;;::::0;;;:11:::1;:19;::::0;;;;;:28;;-1:-1:-1;;64943:28:0::1;::::0;::::1;;::::0;;::::1;::::0;;;64987:33;;64943:28;;:19;64987:33:::1;::::0;::::1;64777:251:::0;;:::o;31165:200::-;-1:-1:-1;;;;;29713:6:0;29696:23;29704:4;29696:23;29688:80;;;;-1:-1:-1;;;29688:80:0;;;;;;;:::i;:::-;29811:6;-1:-1:-1;;;;;29787:30:0;:20;-1:-1:-1;;;;;;;;;;;21791:65:0;-1:-1:-1;;;;;21791:65:0;;21711:153;29787:20;-1:-1:-1;;;;;29787:30:0;;29779:87;;;;-1:-1:-1;;;29779:87:0;;;;;;;:::i;:::-;31249:36:::1;31267:17;31249;:36::i;:::-;31337:12;::::0;;31347:1:::1;31337:12:::0;;;::::1;::::0;::::1;::::0;;;31296:61:::1;::::0;31318:17;;31337:12;31296:21:::1;:61::i;:::-;31165:200:::0;:::o;50215:238::-;50303:4;33574:10;50359:64;33574:10;50375:7;50412:10;50384:25;33574:10;50375:7;50384:9;:25::i;:::-;:38;;;;:::i;:::-;50359:8;:64::i;63578:65::-;35315:13;:11;:13::i;:::-;63625:10:::1;:8;:10::i;:::-;63578:65::o:0;31624:225::-;-1:-1:-1;;;;;29713:6:0;29696:23;29704:4;29696:23;29688:80;;;;-1:-1:-1;;;29688:80:0;;;;;;;:::i;:::-;29811:6;-1:-1:-1;;;;;29787:30:0;:20;-1:-1:-1;;;;;;;;;;;21791:65:0;-1:-1:-1;;;;;21791:65:0;;21711:153;29787:20;-1:-1:-1;;;;;29787:30:0;;29779:87;;;;-1:-1:-1;;;29779:87:0;;;;;;;:::i;:::-;31742:36:::1;31760:17;31742;:36::i;:::-;31789:52;31811:17;31830:4;31836;31789:21;:52::i;:::-;31624:225:::0;;:::o;30843:133::-;30921:7;30149:4;-1:-1:-1;;;;;30158:6:0;30141:23;;30133:92;;;;-1:-1:-1;;;30133:92:0;;6621:2:1;30133:92:0;;;6603:21:1;6660:2;6640:18;;;6633:30;6699:34;6679:18;;;6672:62;6770:26;6750:18;;;6743:54;6814:19;;30133:92:0;6419:420:1;30133:92:0;-1:-1:-1;;;;;;;;;;;;30843:133:0;:::o;36077:103::-;35315:13;:11;:13::i;:::-;36142:30:::1;36169:1;36142:18;:30::i;63060:441::-:0;16935:19;16958:13;;;;;;16957:14;;17005:34;;;;-1:-1:-1;17023:12:0;;17038:1;17023:12;;;;:16;17005:34;17004:108;;;-1:-1:-1;17084:4:0;6596:19;:23;;;17045:66;;-1:-1:-1;17094:12:0;;;;;:17;17045:66;16982:204;;;;-1:-1:-1;;;16982:204:0;;7046:2:1;16982:204:0;;;7028:21:1;7085:2;7065:18;;;7058:30;7124:34;7104:18;;;7097:62;-1:-1:-1;;;7175:18:1;;;7168:44;7229:19;;16982:204:0;6844:410:1;16982:204:0;17197:12;:16;;-1:-1:-1;;17197:16:0;17212:1;17197:16;;;17224:67;;;;17259:13;:20;;-1:-1:-1;;17259:20:0;;;;;17224:67;63112:34:::1;;;;;;;;;;;;;;-1:-1:-1::0;;;63112:34:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;63112:34:0::1;;::::0;:12:::1;:34::i;:::-;63157:17;:15;:17::i;:::-;63185:16;:14;:16::i;:::-;63212:24;:22;:24::i;:::-;63259:18;63247:9;:30:::0;;;63288:60:::1;::::0;63294:42:::1;::::0;63288:5:::1;:60::i;:::-;63359:62;63378:42;63359:18;:62::i;:::-;63443:42;63432:54;::::0;:10:::1;:54;::::0;;:61;;-1:-1:-1;;63432:61:0::1;63489:4;63432:61;::::0;;17313:102;;;;17364:5;17348:21;;-1:-1:-1;;17348:21:0;;;17389:14;;-1:-1:-1;2499:36:1;;17389:14:0;;2487:2:1;2472:18;17389:14:0;;;;;;;16924:498;63060:441::o;63509:61::-;35315:13;:11;:13::i;:::-;63554:8:::1;:6;:8::i;46598:104::-:0;46654:13;46687:7;46680:14;;;;;:::i;50956:436::-;51049:4;33574:10;51049:4;51132:25;33574:10;51149:7;51132:9;:25::i;:::-;51105:52;;51196:15;51176:16;:35;;51168:85;;;;-1:-1:-1;;;51168:85:0;;7660:2:1;51168:85:0;;;7642:21:1;7699:2;7679:18;;;7672:30;7738:34;7718:18;;;7711:62;-1:-1:-1;;;7789:18:1;;;7782:35;7834:19;;51168:85:0;7458:401:1;51168:85:0;51289:60;51298:5;51305:7;51333:15;51314:16;:34;51289:8;:60::i;:::-;-1:-1:-1;51380:4:0;;50956:436;-1:-1:-1;;;;50956:436:0:o;48003:193::-;48082:4;33574:10;48138:28;33574:10;48155:2;48159:6;48138:9;:28::i;48259:151::-;-1:-1:-1;;;;;48375:18:0;;;48348:7;48375:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;48259:151::o;36335:201::-;35315:13;:11;:13::i;:::-;-1:-1:-1;;;;;36424:22:0;::::1;36416:73;;;::::0;-1:-1:-1;;;36416:73:0;;8066:2:1;36416:73:0::1;::::0;::::1;8048:21:1::0;8105:2;8085:18;;;8078:30;8144:34;8124:18;;;8117:62;-1:-1:-1;;;8195:18:1;;;8188:36;8241:19;;36416:73:0::1;7864:402:1::0;36416:73:0::1;36500:28;36519:8;36500:18;:28::i;63950:321::-:0;35315:13;:11;:13::i;:::-;64070::::1;64055:11;:28;;64047:80;;;::::0;-1:-1:-1;;;64047:80:0;;8473:2:1;64047:80:0::1;::::0;::::1;8455:21:1::0;8512:2;8492:18;;;8485:30;8551:34;8531:18;;;8524:62;-1:-1:-1;;;8602:18:1;;;8595:37;8649:19;;64047:80:0::1;8271:403:1::0;64047:80:0::1;64138:12;:28:::0;;;64177:10:::1;:24:::0;;;64217:46:::1;::::0;64190:11;;64153:13;;64217:46:::1;::::0;-1:-1:-1;;64217:46:0::1;63950:321:::0;;:::o;64400:244::-;35315:13;:11;:13::i;:::-;-1:-1:-1;;;;;64488:18:0;::::1;;::::0;;;:10:::1;:18;::::0;;;;;:28;::::1;;:18;::::0;;::::1;:28;;::::0;64480:72:::1;;;::::0;-1:-1:-1;;;64480:72:0;;5173:2:1;64480:72:0::1;::::0;::::1;5155:21:1::0;5212:2;5192:18;;;5185:30;5251:33;5231:18;;;5224:61;5302:18;;64480:72:0::1;4971:355:1::0;64480:72:0::1;-1:-1:-1::0;;;;;64563:18:0;::::1;;::::0;;;:10:::1;:18;::::0;;;;;:27;;-1:-1:-1;;64563:27:0::1;::::0;::::1;;::::0;;::::1;::::0;;;64606:30;;64563:27;;:18;64606:30:::1;::::0;::::1;64400:244:::0;;:::o;54983:380::-;-1:-1:-1;;;;;55119:19:0;;55111:68;;;;-1:-1:-1;;;55111:68:0;;8881:2:1;55111:68:0;;;8863:21:1;8920:2;8900:18;;;8893:30;8959:34;8939:18;;;8932:62;-1:-1:-1;;;9010:18:1;;;9003:34;9054:19;;55111:68:0;8679:400:1;55111:68:0;-1:-1:-1;;;;;55198:21:0;;55190:68;;;;-1:-1:-1;;;55190:68:0;;9286:2:1;55190:68:0;;;9268:21:1;9325:2;9305:18;;;9298:30;9364:34;9344:18;;;9337:62;-1:-1:-1;;;9415:18:1;;;9408:32;9457:19;;55190:68:0;9084:398:1;55190:68:0;-1:-1:-1;;;;;55271:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;55323:32;;1445:25:1;;;55323:32:0;;1418:18:1;55323:32:0;;;;;;;54983:380;;;:::o;55654:453::-;55789:24;55816:25;55826:5;55833:7;55816:9;:25::i;:::-;55789:52;;-1:-1:-1;;55856:16:0;:37;55852:248;;55938:6;55918:16;:26;;55910:68;;;;-1:-1:-1;;;55910:68:0;;9689:2:1;55910:68:0;;;9671:21:1;9728:2;9708:18;;;9701:30;9767:31;9747:18;;;9740:59;9816:18;;55910:68:0;9487:353:1;55910:68:0;56022:51;56031:5;56038:7;56066:6;56047:16;:25;56022:8;:51::i;:::-;55778:329;55654:453;;;:::o;65401:650::-;65495:12;;:16;65492:508;;-1:-1:-1;;;;;65565:16:0;;65528:12;65565:16;;;:10;:16;;;;;;65543:4;;65565:16;;;:34;;-1:-1:-1;;;;;;65585:14:0;;;;;;:10;:14;;;;;;;;65565:34;65562:89;;;-1:-1:-1;65630:5:0;65562:89;65669:7;65666:323;;;65697:17;65717:42;65748:10;;65718:24;65729:12;;65718:6;:10;;:24;;;;:::i;:::-;65717:30;;:42::i;:::-;65697:62;-1:-1:-1;65778:24:0;65805:21;:6;65697:62;65805:10;:21::i;:::-;65778:48;;65845:41;65861:4;65867:7;35502:6;;-1:-1:-1;;;;;35502:6:0;;35429:87;65867:7;65876:9;65845:15;:41::i;:::-;65905:43;65921:4;65927:2;65931:16;65905:15;:43::i;:::-;65967:7;;;65401:650;;;:::o;65666:323::-;65513:487;65492:508;66010:33;66026:4;66032:2;66036:6;66010:15;:33::i;:::-;65401:650;;;:::o;35594:132::-;35502:6;;-1:-1:-1;;;;;35502:6:0;33574:10;35658:23;35650:68;;;;-1:-1:-1;;;35650:68:0;;10047:2:1;35650:68:0;;;10029:21:1;;;10066:18;;;10059:30;10125:34;10105:18;;;10098:62;10177:18;;35650:68:0;9845:356:1;66059:116:0;35315:13;:11;:13::i;23129:992::-;21213:66;23583:59;;;23579:535;;;23659:37;23678:17;23659:18;:37::i;23579:535::-;23762:17;-1:-1:-1;;;;;23733:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23733:63:0;;;;;;;;-1:-1:-1;;23733:63:0;;;;;;;;;;;;:::i;:::-;;;23729:306;;23963:56;;-1:-1:-1;;;23963:56:0;;10597:2:1;23963:56:0;;;10579:21:1;10636:2;10616:18;;;10609:30;10675:34;10655:18;;;10648:62;-1:-1:-1;;;10726:18:1;;;10719:44;10780:19;;23963:56:0;10395:410:1;23729:306:0;-1:-1:-1;;;;;;;;;;;23847:28:0;;23839:82;;;;-1:-1:-1;;;23839:82:0;;11012:2:1;23839:82:0;;;10994:21:1;11051:2;11031:18;;;11024:30;11090:34;11070:18;;;11063:62;-1:-1:-1;;;11141:18:1;;;11134:39;11190:19;;23839:82:0;10810:405:1;23839:82:0;23797:140;24049:53;24067:17;24086:4;24092:9;24049:17;:53::i;39911:120::-;38920:16;:14;:16::i;:::-;39970:7:::1;:15:::0;;-1:-1:-1;;39970:15:0::1;::::0;;40001:22:::1;33574:10:::0;40010:12:::1;40001:22;::::0;-1:-1:-1;;;;;4024:32:1;;;4006:51;;3994:2;3979:18;40001:22:0::1;;;;;;;39911:120::o:0;36696:191::-;36789:6;;;-1:-1:-1;;;;;36806:17:0;;;-1:-1:-1;;;;;;36806:17:0;;;;;;;36839:40;;36789:6;;;36806:17;36789:6;;36839:40;;36770:16;;36839:40;36759:128;36696:191;:::o;45990:149::-;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;46093:38:::1;46116:5;46123:7;46093:22;:38::i;38226:99::-:0;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;38290:27:::1;:25;:27::i;34972:97::-:0;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;35035:26:::1;:24;:26::i;28841:68::-:0;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;52989:548::-;-1:-1:-1;;;;;53073:21:0;;53065:65;;;;-1:-1:-1;;;53065:65:0;;11834:2:1;53065:65:0;;;11816:21:1;11873:2;11853:18;;;11846:30;11912:33;11892:18;;;11885:61;11963:18;;53065:65:0;11632:355:1;53065:65:0;53143:49;53172:1;53176:7;53185:6;53143:20;:49::i;:::-;53221:6;53205:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;53376:18:0;;;;;;:9;:18;;;;;;;;:28;;;;;;53431:37;1445:25:1;;;53431:37:0;;1418:18:1;53431:37:0;;;;;;;31624:225;;:::o;39652:118::-;38661:19;:17;:19::i;:::-;39712:7:::1;:14:::0;;-1:-1:-1;;39712:14:0::1;39722:4;39712:14;::::0;;39742:20:::1;39749:12;33574:10:::0;;33494:98;59356:431;59414:7;59643:1;59648;59643:6;59639:37;;-1:-1:-1;59667:1:0;59660:8;;59639:37;59684:9;59696:5;59700:1;59696;:5;:::i;:::-;59684:17;-1:-1:-1;59725:1:0;59716:5;59720:1;59684:17;59716:5;:::i;:::-;:10;59708:56;;;;-1:-1:-1;;;59708:56:0;;12589:2:1;59708:56:0;;;12571:21:1;12628:2;12608:18;;;12601:30;12667:34;12647:18;;;12640:62;-1:-1:-1;;;12718:18:1;;;12711:31;12759:19;;59708:56:0;12387:397:1;60231:126:0;60289:7;60312:39;60316:1;60319;60312:39;;;;;;;;;;;;;;;;;:3;:39::i;58522:130::-;58580:7;58603:43;58607:1;58610;58603:43;;;;;;;;;;;;;;;;;:3;:43::i;51862:840::-;-1:-1:-1;;;;;51993:18:0;;51985:68;;;;-1:-1:-1;;;51985:68:0;;12991:2:1;51985:68:0;;;12973:21:1;13030:2;13010:18;;;13003:30;13069:34;13049:18;;;13042:62;-1:-1:-1;;;13120:18:1;;;13113:35;13165:19;;51985:68:0;12789:401:1;51985:68:0;-1:-1:-1;;;;;52072:16:0;;52064:64;;;;-1:-1:-1;;;52064:64:0;;13397:2:1;52064:64:0;;;13379:21:1;13436:2;13416:18;;;13409:30;13475:34;13455:18;;;13448:62;-1:-1:-1;;;13526:18:1;;;13519:33;13569:19;;52064:64:0;13195:399:1;52064:64:0;52141:38;52162:4;52168:2;52172:6;52141:20;:38::i;:::-;-1:-1:-1;;;;;52214:15:0;;52192:19;52214:15;;;:9;:15;;;;;;52248:21;;;;52240:72;;;;-1:-1:-1;;;52240:72:0;;13801:2:1;52240:72:0;;;13783:21:1;13840:2;13820:18;;;13813:30;13879:34;13859:18;;;13852:62;-1:-1:-1;;;13930:18:1;;;13923:36;13976:19;;52240:72:0;13599:402:1;52240:72:0;-1:-1:-1;;;;;52348:15:0;;;;;;;:9;:15;;;;;;52366:20;;;52348:38;;52566:13;;;;;;;;;;:23;;;;;;52618:26;;;;;;52380:6;1445:25:1;;1433:2;1418:18;;1299:177;52618:26:0;;;;;;;;52657:37;65401:650;21960:284;-1:-1:-1;;;;;6596:19:0;;;22034:106;;;;-1:-1:-1;;;22034:106:0;;14208:2:1;22034:106:0;;;14190:21:1;14247:2;14227:18;;;14220:30;14286:34;14266:18;;;14259:62;-1:-1:-1;;;14337:18:1;;;14330:43;14390:19;;22034:106:0;14006:409:1;22034:106:0;-1:-1:-1;;;;;;;;;;;22151:85:0;;-1:-1:-1;;;;;;22151:85:0;-1:-1:-1;;;;;22151:85:0;;;;;;;;;;21960:284::o;22653:297::-;22796:29;22807:17;22796:10;:29::i;:::-;22854:1;22840:4;:11;:15;:28;;;;22859:9;22840:28;22836:107;;;22885:46;22907:17;22926:4;22885:21;:46::i;39400:108::-;39127:7;;;;39459:41;;;;-1:-1:-1;;;39459:41:0;;14622:2:1;39459:41:0;;;14604:21:1;14661:2;14641:18;;;14634:30;-1:-1:-1;;;14680:18:1;;;14673:50;14740:18;;39459:41:0;14420:344:1;46147:162:0;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;46260:5:::1;:13;46268:5:::0;46260;:13:::1;:::i;:::-;-1:-1:-1::0;46284:7:0::1;:17;46294:7:::0;46284;:17:::1;:::i;38333:97::-:0;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;38407:7:::1;:15:::0;;-1:-1:-1;;38407:15:0::1;::::0;;38333:97::o;35077:113::-;19078:13;;;;;;;19070:69;;;;-1:-1:-1;;;19070:69:0;;;;;;;:::i;:::-;35150:32:::1;33574:10:::0;35150:18:::1;:32::i;65036:357::-:0;38661:19;:17;:19::i;:::-;-1:-1:-1;;;;;65192:17:0;::::1;;::::0;;;:11:::1;:17;::::0;;;;;::::1;;65191:18;65183:70;;;::::0;-1:-1:-1;;;65183:70:0;;17175:2:1;65183:70:0::1;::::0;::::1;17157:21:1::0;17214:2;17194:18;;;17187:30;17253:34;17233:18;;;17226:62;-1:-1:-1;;;17304:18:1;;;17297:37;17351:19;;65183:70:0::1;16973:403:1::0;65183:70:0::1;-1:-1:-1::0;;;;;65273:15:0;::::1;;::::0;;;:11:::1;:15;::::0;;;;;::::1;;65272:16;65264:66;;;::::0;-1:-1:-1;;;65264:66:0;;17583:2:1;65264:66:0::1;::::0;::::1;17565:21:1::0;17622:2;17602:18;;;17595:30;17661:34;17641:18;;;17634:62;-1:-1:-1;;;17712:18:1;;;17705:35;17757:19;;65264:66:0::1;17381:401:1::0;39215:108:0;39127:7;;;;39285:9;39277:38;;;;-1:-1:-1;;;39277:38:0;;17989:2:1;39277:38:0;;;17971:21:1;18028:2;18008:18;;;18001:30;-1:-1:-1;;;18047:18:1;;;18040:46;18103:18;;39277:38:0;17787:340:1;60821:343:0;60927:7;61021:12;61014:5;61006:28;;;;-1:-1:-1;;;61006:28:0;;;;;;;;:::i;:::-;-1:-1:-1;61041:9:0;61053:5;61057:1;61053;:5;:::i;:::-;61041:17;60821:343;-1:-1:-1;;;;;60821:343:0:o;58927:198::-;59033:7;59065:12;59057:6;;;;59049:29;;;;-1:-1:-1;;;59049:29:0;;;;;;;;:::i;:::-;-1:-1:-1;59085:9:0;59097:5;59101:1;59097;:5;:::i;22357:155::-;22424:37;22443:17;22424:18;:37::i;:::-;22477:27;;-1:-1:-1;;;;;22477:27:0;;;;;;;;22357:155;:::o;27126:461::-;27209:12;-1:-1:-1;;;;;6596:19:0;;;27234:88;;;;-1:-1:-1;;;27234:88:0;;18467:2:1;27234:88:0;;;18449:21:1;18506:2;18486:18;;;18479:30;18545:34;18525:18;;;18518:62;-1:-1:-1;;;18596:18:1;;;18589:36;18642:19;;27234:88:0;18265:402:1;27234:88:0;27396:12;27410:23;27437:6;-1:-1:-1;;;;;27437:19:0;27457:4;27437:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27395:67;;;;27480:99;27516:7;27525:10;27480:99;;;;;;;;;;;;;;;;;12861:12;12890:7;12886:123;;;-1:-1:-1;12921:10:0;12914:17;;12886:123;12964:33;12972:10;12984:12;13185:17;;:21;13181:388;;13417:10;13411:17;13474:15;13461:10;13457:2;13453:19;13446:44;13181:388;13544:12;13537:20;;-1:-1:-1;;;13537:20:0;;;;;;;;:::i;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:396::-;418:2;407:9;400:21;381:4;450:6;444:13;493:6;488:2;477:9;473:18;466:34;509:79;581:6;576:2;565:9;561:18;556:2;548:6;544:15;509:79;:::i;:::-;649:2;628:15;-1:-1:-1;;624:29:1;609:45;;;;656:2;605:54;;269:396;-1:-1:-1;;269:396:1:o;670:173::-;738:20;;-1:-1:-1;;;;;787:31:1;;777:42;;767:70;;833:1;830;823:12;767:70;670:173;;;:::o;848:254::-;916:6;924;977:2;965:9;956:7;952:23;948:32;945:52;;;993:1;990;983:12;945:52;1016:29;1035:9;1016:29;:::i;:::-;1006:39;1092:2;1077:18;;;;1064:32;;-1:-1:-1;;;848:254:1:o;1481:186::-;1540:6;1593:2;1581:9;1572:7;1568:23;1564:32;1561:52;;;1609:1;1606;1599:12;1561:52;1632:29;1651:9;1632:29;:::i;1672:328::-;1749:6;1757;1765;1818:2;1806:9;1797:7;1793:23;1789:32;1786:52;;;1834:1;1831;1824:12;1786:52;1857:29;1876:9;1857:29;:::i;:::-;1847:39;;1905:38;1939:2;1928:9;1924:18;1905:38;:::i;:::-;1895:48;;1990:2;1979:9;1975:18;1962:32;1952:42;;1672:328;;;;;:::o;2005:347::-;2070:6;2078;2131:2;2119:9;2110:7;2106:23;2102:32;2099:52;;;2147:1;2144;2137:12;2099:52;2170:29;2189:9;2170:29;:::i;:::-;2160:39;;2249:2;2238:9;2234:18;2221:32;2296:5;2289:13;2282:21;2275:5;2272:32;2262:60;;2318:1;2315;2308:12;2262:60;2341:5;2331:15;;;2005:347;;;;;:::o;2546:127::-;2607:10;2602:3;2598:20;2595:1;2588:31;2638:4;2635:1;2628:15;2662:4;2659:1;2652:15;2678:995;2755:6;2763;2816:2;2804:9;2795:7;2791:23;2787:32;2784:52;;;2832:1;2829;2822:12;2784:52;2855:29;2874:9;2855:29;:::i;:::-;2845:39;;2935:2;2924:9;2920:18;2907:32;2958:18;2999:2;2991:6;2988:14;2985:34;;;3015:1;3012;3005:12;2985:34;3053:6;3042:9;3038:22;3028:32;;3098:7;3091:4;3087:2;3083:13;3079:27;3069:55;;3120:1;3117;3110:12;3069:55;3156:2;3143:16;3178:2;3174;3171:10;3168:36;;;3184:18;;:::i;:::-;3259:2;3253:9;3227:2;3313:13;;-1:-1:-1;;3309:22:1;;;3333:2;3305:31;3301:40;3289:53;;;3357:18;;;3377:22;;;3354:46;3351:72;;;3403:18;;:::i;:::-;3443:10;3439:2;3432:22;3478:2;3470:6;3463:18;3518:7;3513:2;3508;3504;3500:11;3496:20;3493:33;3490:53;;;3539:1;3536;3529:12;3490:53;3595:2;3590;3586;3582:11;3577:2;3569:6;3565:15;3552:46;3640:1;3635:2;3630;3622:6;3618:15;3614:24;3607:35;3661:6;3651:16;;;;;;;2678:995;;;;;:::o;4068:260::-;4136:6;4144;4197:2;4185:9;4176:7;4172:23;4168:32;4165:52;;;4213:1;4210;4203:12;4165:52;4236:29;4255:9;4236:29;:::i;:::-;4226:39;;4284:38;4318:2;4307:9;4303:18;4284:38;:::i;:::-;4274:48;;4068:260;;;;;:::o;4333:248::-;4401:6;4409;4462:2;4450:9;4441:7;4437:23;4433:32;4430:52;;;4478:1;4475;4468:12;4430:52;-1:-1:-1;;4501:23:1;;;4571:2;4556:18;;;4543:32;;-1:-1:-1;4333:248:1:o;4586:380::-;4665:1;4661:12;;;;4708;;;4729:61;;4783:4;4775:6;4771:17;4761:27;;4729:61;4836:2;4828:6;4825:14;4805:18;4802:38;4799:161;;4882:10;4877:3;4873:20;4870:1;4863:31;4917:4;4914:1;4907:15;4945:4;4942:1;4935:15;4799:161;;4586:380;;;:::o;5331:408::-;5533:2;5515:21;;;5572:2;5552:18;;;5545:30;5611:34;5606:2;5591:18;;5584:62;-1:-1:-1;;;5677:2:1;5662:18;;5655:42;5729:3;5714:19;;5331:408::o;5744:::-;5946:2;5928:21;;;5985:2;5965:18;;;5958:30;6024:34;6019:2;6004:18;;5997:62;-1:-1:-1;;;6090:2:1;6075:18;;6068:42;6142:3;6127:19;;5744:408::o;6157:127::-;6218:10;6213:3;6209:20;6206:1;6199:31;6249:4;6246:1;6239:15;6273:4;6270:1;6263:15;6289:125;6354:9;;;6375:10;;;6372:36;;;6388:18;;:::i;10206:184::-;10276:6;10329:2;10317:9;10308:7;10304:23;10300:32;10297:52;;;10345:1;10342;10335:12;10297:52;-1:-1:-1;10368:16:1;;10206:184;-1:-1:-1;10206:184:1:o;11220:407::-;11422:2;11404:21;;;11461:2;11441:18;;;11434:30;11500:34;11495:2;11480:18;;11473:62;-1:-1:-1;;;11566:2:1;11551:18;;11544:41;11617:3;11602:19;;11220:407::o;11992:168::-;12065:9;;;12096;;12113:15;;;12107:22;;12093:37;12083:71;;12134:18;;:::i;12165:217::-;12205:1;12231;12221:132;;12275:10;12270:3;12266:20;12263:1;12256:31;12310:4;12307:1;12300:15;12338:4;12335:1;12328:15;12221:132;-1:-1:-1;12367:9:1;;12165:217::o;14895:545::-;14997:2;14992:3;14989:11;14986:448;;;15033:1;15058:5;15054:2;15047:17;15103:4;15099:2;15089:19;15173:2;15161:10;15157:19;15154:1;15150:27;15144:4;15140:38;15209:4;15197:10;15194:20;15191:47;;;-1:-1:-1;15232:4:1;15191:47;15287:2;15282:3;15278:12;15275:1;15271:20;15265:4;15261:31;15251:41;;15342:82;15360:2;15353:5;15350:13;15342:82;;;15405:17;;;15386:1;15375:13;15342:82;;15616:1352;15742:3;15736:10;15769:18;15761:6;15758:30;15755:56;;;15791:18;;:::i;:::-;15820:97;15910:6;15870:38;15902:4;15896:11;15870:38;:::i;:::-;15864:4;15820:97;:::i;:::-;15972:4;;16036:2;16025:14;;16053:1;16048:663;;;;16755:1;16772:6;16769:89;;;-1:-1:-1;16824:19:1;;;16818:26;16769:89;-1:-1:-1;;15573:1:1;15569:11;;;15565:24;15561:29;15551:40;15597:1;15593:11;;;15548:57;16871:81;;16018:944;;16048:663;14842:1;14835:14;;;14879:4;14866:18;;-1:-1:-1;;16084:20:1;;;16202:236;16216:7;16213:1;16210:14;16202:236;;;16305:19;;;16299:26;16284:42;;16397:27;;;;16365:1;16353:14;;;;16232:19;;16202:236;;;16206:3;16466:6;16457:7;16454:19;16451:201;;;16527:19;;;16521:26;-1:-1:-1;;16610:1:1;16606:14;;;16622:3;16602:24;16598:37;16594:42;16579:58;16564:74;;16451:201;-1:-1:-1;;;;;16698:1:1;16682:14;;;16678:22;16665:36;;-1:-1:-1;15616:1352:1:o;18132:128::-;18199:9;;;18220:11;;;18217:37;;;18234:18;;:::i;18672:287::-;18801:3;18839:6;18833:13;18855:66;18914:6;18909:3;18902:4;18894:6;18890:17;18855:66;:::i;:::-;18937:16;;;;;18672:287;-1:-1:-1;;18672:287:1:o
Swarm Source
ipfs://1c71987d993525f4eada4ef109e410ba5410277ebb253fcb67d286ed54a440d6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.