Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levanthang2332001/6b2762ff1357df4a60a75dc060148a31 to your computer and use it in GitHub Desktop.
Save levanthang2332001/6b2762ff1357df4a60a75dc060148a31 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)
pragma solidity ^0.8.0;
/**
* @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
*
* _Available since v4.8.3._
*/
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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)
pragma solidity ^0.8.2;
import "../beacon/IBeaconUpgradeable.sol";
import "../../interfaces/IERC1967Upgradeable.sol";
import "../../interfaces/draft-IERC1822Upgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/StorageSlotUpgradeable.sol";
import "../utils/Initializable.sol";
/**
* @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._
*/
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) {
AddressUpgradeable.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) {
AddressUpgradeable.functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), 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;
}
{
"id": "5b12cf38e6108f811dd440b21b89969e",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.18",
"solcLongVersion": "0.8.18+commit.87f61d96",
"input": {
"language": "Solidity",
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../interfaces/draft-IERC1822Upgradeable.sol\";\nimport \"../ERC1967/ERC1967UpgradeUpgradeable.sol\";\nimport \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n *\n * _Available since v4.1._\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {\n function __UUPSUpgradeable_init() internal onlyInitializing {\n }\n\n function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n }\n /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\n address private immutable __self = address(this);\n\n /**\n * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n * fail.\n */\n modifier onlyProxy() {\n require(address(this) != __self, \"Function must be called through delegatecall\");\n require(_getImplementation() == __self, \"Function must be called through active proxy\");\n _;\n }\n\n /**\n * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n * callable on the implementing contract but not through proxies.\n */\n modifier notDelegated() {\n require(address(this) == __self, \"UUPSUpgradeable: must not be called through delegatecall\");\n _;\n }\n\n /**\n * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n *\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n */\n function proxiableUUID() external view virtual override notDelegated returns (bytes32) {\n return _IMPLEMENTATION_SLOT;\n }\n\n /**\n * @dev Upgrade the implementation of the proxy to `newImplementation`.\n *\n * Calls {_authorizeUpgrade}.\n *\n * Emits an {Upgraded} event.\n *\n * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n */\n function upgradeTo(address newImplementation) public virtual onlyProxy {\n _authorizeUpgrade(newImplementation);\n _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);\n }\n\n /**\n * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n * encoded in `data`.\n *\n * Calls {_authorizeUpgrade}.\n *\n * Emits an {Upgraded} event.\n *\n * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n */\n function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n _authorizeUpgrade(newImplementation);\n _upgradeToAndCallUUPS(newImplementation, data, true);\n }\n\n /**\n * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n * {upgradeTo} and {upgradeToAndCall}.\n *\n * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n *\n * ```solidity\n * function _authorizeUpgrade(address) internal override onlyOwner {}\n * ```\n */\n function _authorizeUpgrade(address newImplementation) internal virtual;\n\n /**\n * @dev This empty reserved space is put in place to allow future versions to add new\n * variables without shifting down storage in the inheritance chain.\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n */\n uint256[50] private __gap;\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../../utils/AddressUpgradeable.sol\";\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n * function initialize() initializer public {\n * __ERC20_init(\"MyToken\", \"MTK\");\n * }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n * function initializeV2() reinitializer(2) public {\n * __ERC20Permit_init(\"MyToken\");\n * }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n * _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n /**\n * @dev Indicates that the contract has been initialized.\n * @custom:oz-retyped-from bool\n */\n uint8 private _initialized;\n\n /**\n * @dev Indicates that the contract is in the process of being initialized.\n */\n bool private _initializing;\n\n /**\n * @dev Triggered when the contract has been initialized or reinitialized.\n */\n event Initialized(uint8 version);\n\n /**\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n * `onlyInitializing` functions can be used to initialize parent contracts.\n *\n * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n * constructor.\n *\n * Emits an {Initialized} event.\n */\n modifier initializer() {\n bool isTopLevelCall = !_initializing;\n require(\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\n \"Initializable: contract is already initialized\"\n );\n _initialized = 1;\n if (isTopLevelCall) {\n _initializing = true;\n }\n _;\n if (isTopLevelCall) {\n _initializing = false;\n emit Initialized(1);\n }\n }\n\n /**\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n * used to initialize parent contracts.\n *\n * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n * are added through upgrades and that require initialization.\n *\n * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n * cannot be nested. If one is invoked in the context of another, execution will revert.\n *\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n * a contract, executing them in the right order is up to the developer or operator.\n *\n * WARNING: setting the version to 255 will prevent any future reinitialization.\n *\n * Emits an {Initialized} event.\n */\n modifier reinitializer(uint8 version) {\n require(!_initializing && _initialized < version, \"Initializable: contract is already initialized\");\n _initialized = version;\n _initializing = true;\n _;\n _initializing = false;\n emit Initialized(version);\n }\n\n /**\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\n */\n modifier onlyInitializing() {\n require(_initializing, \"Initializable: contract is not initializing\");\n _;\n }\n\n /**\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n * through proxies.\n *\n * Emits an {Initialized} event the first time it is successfully executed.\n */\n function _disableInitializers() internal virtual {\n require(!_initializing, \"Initializable: contract is initializing\");\n if (_initialized != type(uint8).max) {\n _initialized = type(uint8).max;\n emit Initialized(type(uint8).max);\n }\n }\n\n /**\n * @dev Returns the highest version that has been initialized. See {reinitializer}.\n */\n function _getInitializedVersion() internal view returns (uint8) {\n return _initialized;\n }\n\n /**\n * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n */\n function _isInitializing() internal view returns (bool) {\n return _initializing;\n }\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../beacon/IBeaconUpgradeable.sol\";\nimport \"../../interfaces/IERC1967Upgradeable.sol\";\nimport \"../../interfaces/draft-IERC1822Upgradeable.sol\";\nimport \"../../utils/AddressUpgradeable.sol\";\nimport \"../../utils/StorageSlotUpgradeable.sol\";\nimport \"../utils/Initializable.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n *\n * _Available since v4.1._\n */\nabstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable {\n function __ERC1967Upgrade_init() internal onlyInitializing {\n }\n\n function __ERC1967Upgrade_init_unchained() internal onlyInitializing {\n }\n // This is the keccak-256 hash of \"eip1967.proxy.rollback\" subtracted by 1\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\n\n /**\n * @dev Storage slot with the address of the current implementation.\n * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n * validated in the constructor.\n */\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n /**\n * @dev Returns the current implementation address.\n */\n function _getImplementation() internal view returns (address) {\n return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n }\n\n /**\n * @dev Stores a new address in the EIP1967 implementation slot.\n */\n function _setImplementation(address newImplementation) private {\n require(AddressUpgradeable.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n }\n\n /**\n * @dev Perform implementation upgrade\n *\n * Emits an {Upgraded} event.\n */\n function _upgradeTo(address newImplementation) internal {\n _setImplementation(newImplementation);\n emit Upgraded(newImplementation);\n }\n\n /**\n * @dev Perform implementation upgrade with additional setup call.\n *\n * Emits an {Upgraded} event.\n */\n function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {\n _upgradeTo(newImplementation);\n if (data.length > 0 || forceCall) {\n AddressUpgradeable.functionDelegateCall(newImplementation, data);\n }\n }\n\n /**\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\n *\n * Emits an {Upgraded} event.\n */\n function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {\n // Upgrades from old implementations will perform a rollback test. This test requires the new\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\n // this special case will break upgrade paths from old UUPS implementation to new ones.\n if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {\n _setImplementation(newImplementation);\n } else {\n try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n require(slot == _IMPLEMENTATION_SLOT, \"ERC1967Upgrade: unsupported proxiableUUID\");\n } catch {\n revert(\"ERC1967Upgrade: new implementation is not UUPS\");\n }\n _upgradeToAndCall(newImplementation, data, forceCall);\n }\n }\n\n /**\n * @dev Storage slot with the admin of the contract.\n * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\n * validated in the constructor.\n */\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n /**\n * @dev Returns the current admin.\n */\n function _getAdmin() internal view returns (address) {\n return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;\n }\n\n /**\n * @dev Stores a new address in the EIP1967 admin slot.\n */\n function _setAdmin(address newAdmin) private {\n require(newAdmin != address(0), \"ERC1967: new admin is the zero address\");\n StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\n }\n\n /**\n * @dev Changes the admin of the proxy.\n *\n * Emits an {AdminChanged} event.\n */\n function _changeAdmin(address newAdmin) internal {\n emit AdminChanged(_getAdmin(), newAdmin);\n _setAdmin(newAdmin);\n }\n\n /**\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\n */\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n /**\n * @dev Returns the current beacon.\n */\n function _getBeacon() internal view returns (address) {\n return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;\n }\n\n /**\n * @dev Stores a new beacon in the EIP1967 beacon slot.\n */\n function _setBeacon(address newBeacon) private {\n require(AddressUpgradeable.isContract(newBeacon), \"ERC1967: new beacon is not a contract\");\n require(\n AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),\n \"ERC1967: beacon implementation is not a contract\"\n );\n StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;\n }\n\n /**\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\n *\n * Emits a {BeaconUpgraded} event.\n */\n function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {\n _setBeacon(newBeacon);\n emit BeaconUpgraded(newBeacon);\n if (data.length > 0 || forceCall) {\n AddressUpgradeable.functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);\n }\n }\n\n /**\n * @dev This empty reserved space is put in place to allow future versions to add new\n * variables without shifting down storage in the inheritance chain.\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n */\n uint256[50] private __gap;\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822ProxiableUpgradeable {\n /**\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n * address.\n *\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n * function revert if invoked through a proxy.\n */\n function proxiableUUID() external view returns (bytes32);\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n *\n * Furthermore, `isContract` will also return true if the target contract within\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n * which only has an effect at the end of a transaction.\n * ====\n *\n * [IMPORTANT]\n * ====\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\n *\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n * constructor.\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize/address.code.length, which returns 0\n // for contracts in construction, since the code is only stored at the end\n // of the constructor execution.\n\n return account.code.length > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n *\n * _Available since v4.8._\n */\n function verifyCallResultFromTarget(\n address target,\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n if (success) {\n if (returndata.length == 0) {\n // only check isContract if the call was successful and the return data is empty\n // otherwise we already know that it was a contract\n require(isContract(target), \"Address: call to non-contract\");\n }\n return returndata;\n } else {\n _revert(returndata, errorMessage);\n }\n }\n\n /**\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason or using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n _revert(returndata, errorMessage);\n }\n }\n\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n /// @solidity memory-safe-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n * function _getImplementation() internal view returns (address) {\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n * }\n *\n * function _setImplementation(address newImplementation) internal {\n * require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n * }\n * }\n * ```\n *\n * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\n * _Available since v4.9 for `string`, `bytes`._\n */\nlibrary StorageSlotUpgradeable {\n struct AddressSlot {\n address value;\n }\n\n struct BooleanSlot {\n bool value;\n }\n\n struct Bytes32Slot {\n bytes32 value;\n }\n\n struct Uint256Slot {\n uint256 value;\n }\n\n struct StringSlot {\n string value;\n }\n\n struct BytesSlot {\n bytes value;\n }\n\n /**\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n */\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n */\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n */\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n */\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\n */\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n */\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := store.slot\n }\n }\n\n /**\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n */\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n */\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := store.slot\n }\n }\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n *\n * _Available since v4.8.3._\n */\ninterface IERC1967Upgradeable {\n /**\n * @dev Emitted when the implementation is upgraded.\n */\n event Upgraded(address indexed implementation);\n\n /**\n * @dev Emitted when the admin account has changed.\n */\n event AdminChanged(address previousAdmin, address newAdmin);\n\n /**\n * @dev Emitted when the beacon is changed.\n */\n event BeaconUpgraded(address indexed beacon);\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeaconUpgradeable {\n /**\n * @dev Must return an address that can be used as a delegate call target.\n *\n * {BeaconProxy} will check that this address is a contract.\n */\n function implementation() external view returns (address);\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol": {
"IERC1967Upgradeable": {
"abi": [
{
"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": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
}
],
"devdoc": {
"details": "ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. _Available since v4.8.3._",
"events": {
"AdminChanged(address,address)": {
"details": "Emitted when the admin account has changed."
},
"BeaconUpgraded(address)": {
"details": "Emitted when the beacon is changed."
},
"Upgraded(address)": {
"details": "Emitted when the implementation is upgraded."
}
},
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. _Available since v4.8.3._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol\":\"IERC1967Upgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol\":{\"keccak256\":\"0x47d6e06872b12e72c79d1b5eb55842f860b5fb1207b2317c2358d2766b950a7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac55bf6f92fc7b90c6d79d346163a0a02bd5c648c7fede08b20e5da96d4ae2a0\",\"dweb:/ipfs/QmQoSrHhka35iKDK5iyNt8cuXXS5ANXVPjLhfsJjktB8V9\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol": {
"IERC1822ProxiableUpgradeable": {
"abi": [
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified proxy whose upgrades are fully controlled by the current implementation.",
"kind": "dev",
"methods": {
"proxiableUUID()": {
"details": "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."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"proxiableUUID()": "52d1902d"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified proxy whose upgrades are fully controlled by the current implementation.\",\"kind\":\"dev\",\"methods\":{\"proxiableUUID()\":{\"details\":\"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.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol\":\"IERC1822ProxiableUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol\":{\"keccak256\":\"0x77c89f893e403efc6929ba842b7ccf6534d4ffe03afe31670b4a528c0ad78c0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://496bd9b3df2455d571018c09f0c6badd29713fdeb907c6aa09d8d28cb603f053\",\"dweb:/ipfs/QmXdJDyYs6WMwMh21dez2BYPxhSUaUYFMDtVNcn2cgFR79\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol": {
"ERC1967UpgradeUpgradeable": {
"abi": [
{
"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": "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": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
}
],
"devdoc": {
"details": "This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. _Available since v4.1._",
"events": {
"AdminChanged(address,address)": {
"details": "Emitted when the admin account has changed."
},
"BeaconUpgraded(address)": {
"details": "Emitted when the beacon is changed."
},
"Initialized(uint8)": {
"details": "Triggered when the contract has been initialized or reinitialized."
},
"Upgraded(address)": {
"details": "Emitted when the implementation is upgraded."
}
},
"kind": "dev",
"methods": {},
"stateVariables": {
"_ADMIN_SLOT": {
"details": "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."
},
"_BEACON_SLOT": {
"details": "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."
},
"_IMPLEMENTATION_SLOT": {
"details": "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."
},
"__gap": {
"details": "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"
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"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\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. _Available since v4.1._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_ADMIN_SLOT\":{\"details\":\"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.\"},\"_BEACON_SLOT\":{\"details\":\"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.\"},\"_IMPLEMENTATION_SLOT\":{\"details\":\"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.\"},\"__gap\":{\"details\":\"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\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol\":\"ERC1967UpgradeUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol\":{\"keccak256\":\"0x47d6e06872b12e72c79d1b5eb55842f860b5fb1207b2317c2358d2766b950a7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac55bf6f92fc7b90c6d79d346163a0a02bd5c648c7fede08b20e5da96d4ae2a0\",\"dweb:/ipfs/QmQoSrHhka35iKDK5iyNt8cuXXS5ANXVPjLhfsJjktB8V9\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol\":{\"keccak256\":\"0x77c89f893e403efc6929ba842b7ccf6534d4ffe03afe31670b4a528c0ad78c0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://496bd9b3df2455d571018c09f0c6badd29713fdeb907c6aa09d8d28cb603f053\",\"dweb:/ipfs/QmXdJDyYs6WMwMh21dez2BYPxhSUaUYFMDtVNcn2cgFR79\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol\":{\"keccak256\":\"0x584ebdf9c1118a7c773f98788e3f3ede01982bdf8932aa06f5acc7d54876e161\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9826c7edf276ff48b99ee217358393097c30448a71d345d287c2f6961bb1f159\",\"dweb:/ipfs/QmYXBTY9wDvffGU47yMRFJ1NFyKwpbj94VHzRzhsm6R7Gz\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol\":{\"keccak256\":\"0x24b86ac8c005b8c654fbf6ac34a5a4f61580d7273541e83e013e89d66fbf0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4dbfe1a3b3b3fb64294ce41fd2ad362e7b7012208117864f42c1a67620a6d5c1\",\"dweb:/ipfs/QmVMU5tWt7zBQMmf5cpMX8UMHV86T3kFeTxBTBjFqVWfoJ\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":{\"keccak256\":\"0x07ac95acad040f1fb1f6120dd0aa5f702db69446e95f82613721879d30de0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9df9de7b5da1d1bd3d4b6c073d0174bc4211db60e794a321c8cb5d4eae34685\",\"dweb:/ipfs/QmWe49zj65jayrCe9jZpoWhYUZ1RiwSxyU2s7SBZnMztVy\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 371,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:ERC1967UpgradeUpgradeable",
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8"
},
{
"astId": 374,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:ERC1967UpgradeUpgradeable",
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool"
},
{
"astId": 353,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:ERC1967UpgradeUpgradeable",
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage"
}
],
"types": {
"t_array(t_uint256)50_storage": {
"base": "t_uint256",
"encoding": "inplace",
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"encoding": "inplace",
"label": "bool",
"numberOfBytes": "1"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"encoding": "inplace",
"label": "uint8",
"numberOfBytes": "1"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol": {
"IBeaconUpgradeable": {
"abi": [
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "This is the interface that {BeaconProxy} expects of its beacon.",
"kind": "dev",
"methods": {
"implementation()": {
"details": "Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"implementation()": "5c60da1b"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is the interface that {BeaconProxy} expects of its beacon.\",\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol\":\"IBeaconUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol\":{\"keccak256\":\"0x24b86ac8c005b8c654fbf6ac34a5a4f61580d7273541e83e013e89d66fbf0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4dbfe1a3b3b3fb64294ce41fd2ad362e7b7012208117864f42c1a67620a6d5c1\",\"dweb:/ipfs/QmVMU5tWt7zBQMmf5cpMX8UMHV86T3kFeTxBTBjFqVWfoJ\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol": {
"Initializable": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
}
],
"devdoc": {
"custom:oz-upgrades-unsafe-allow": "constructor constructor() { _disableInitializers(); } ``` ====",
"details": "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] ```solidity 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] ```",
"events": {
"Initialized(uint8)": {
"details": "Triggered when the contract has been initialized or reinitialized."
}
},
"kind": "dev",
"methods": {},
"stateVariables": {
"_initialized": {
"custom:oz-retyped-from": "bool",
"details": "Indicates that the contract has been initialized."
},
"_initializing": {
"details": "Indicates that the contract is in the process of being initialized."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}],\"devdoc\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor constructor() { _disableInitializers(); } ``` ====\",\"details\":\"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] ```solidity 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] ```\",\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_initialized\":{\"custom:oz-retyped-from\":\"bool\",\"details\":\"Indicates that the contract has been initialized.\"},\"_initializing\":{\"details\":\"Indicates that the contract is in the process of being initialized.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":\"Initializable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 371,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:Initializable",
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8"
},
{
"astId": 374,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:Initializable",
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool"
}
],
"types": {
"t_bool": {
"encoding": "inplace",
"label": "bool",
"numberOfBytes": "1"
},
"t_uint8": {
"encoding": "inplace",
"label": "uint8",
"numberOfBytes": "1"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol": {
"UUPSUpgradeable": {
"abi": [
{
"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": "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": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"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"
}
],
"devdoc": {
"details": "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._",
"events": {
"AdminChanged(address,address)": {
"details": "Emitted when the admin account has changed."
},
"BeaconUpgraded(address)": {
"details": "Emitted when the beacon is changed."
},
"Initialized(uint8)": {
"details": "Triggered when the contract has been initialized or reinitialized."
},
"Upgraded(address)": {
"details": "Emitted when the implementation is upgraded."
}
},
"kind": "dev",
"methods": {
"proxiableUUID()": {
"details": "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."
},
"upgradeTo(address)": {
"custom:oz-upgrades-unsafe-allow-reachable": "delegatecall",
"details": "Upgrade the implementation of the proxy to `newImplementation`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
},
"upgradeToAndCall(address,bytes)": {
"custom:oz-upgrades-unsafe-allow-reachable": "delegatecall",
"details": "Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
}
},
"stateVariables": {
"__gap": {
"details": "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"
},
"__self": {
"custom:oz-upgrades-unsafe-allow": "state-variable-immutable state-variable-assignment"
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"proxiableUUID()": "52d1902d",
"upgradeTo(address)": "3659cfe6",
"upgradeToAndCall(address,bytes)": "4f1ef286"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"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\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\"}],\"devdoc\":{\"details\":\"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._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"proxiableUUID()\":{\"details\":\"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.\"},\"upgradeTo(address)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"},\"upgradeToAndCall(address,bytes)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"}},\"stateVariables\":{\"__gap\":{\"details\":\"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\"},\"__self\":{\"custom:oz-upgrades-unsafe-allow\":\"state-variable-immutable state-variable-assignment\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\":\"UUPSUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol\":{\"keccak256\":\"0x47d6e06872b12e72c79d1b5eb55842f860b5fb1207b2317c2358d2766b950a7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac55bf6f92fc7b90c6d79d346163a0a02bd5c648c7fede08b20e5da96d4ae2a0\",\"dweb:/ipfs/QmQoSrHhka35iKDK5iyNt8cuXXS5ANXVPjLhfsJjktB8V9\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol\":{\"keccak256\":\"0x77c89f893e403efc6929ba842b7ccf6534d4ffe03afe31670b4a528c0ad78c0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://496bd9b3df2455d571018c09f0c6badd29713fdeb907c6aa09d8d28cb603f053\",\"dweb:/ipfs/QmXdJDyYs6WMwMh21dez2BYPxhSUaUYFMDtVNcn2cgFR79\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol\":{\"keccak256\":\"0x584ebdf9c1118a7c773f98788e3f3ede01982bdf8932aa06f5acc7d54876e161\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9826c7edf276ff48b99ee217358393097c30448a71d345d287c2f6961bb1f159\",\"dweb:/ipfs/QmYXBTY9wDvffGU47yMRFJ1NFyKwpbj94VHzRzhsm6R7Gz\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol\":{\"keccak256\":\"0x24b86ac8c005b8c654fbf6ac34a5a4f61580d7273541e83e013e89d66fbf0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4dbfe1a3b3b3fb64294ce41fd2ad362e7b7012208117864f42c1a67620a6d5c1\",\"dweb:/ipfs/QmVMU5tWt7zBQMmf5cpMX8UMHV86T3kFeTxBTBjFqVWfoJ\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0xb607cb94c27e89750f5ae2ccebcb94e654e926f6125f4fd4c6262c89875118ad\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33e8f8d863c6943ea046fcf4972b4e815c04ab06bad195dba1d93f8ebeb8420d\",\"dweb:/ipfs/QmTQzxQTuuzPDk3eqVmYy7hv2RCXM1yt1NtubXpRbzYjaj\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":{\"keccak256\":\"0x07ac95acad040f1fb1f6120dd0aa5f702db69446e95f82613721879d30de0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9df9de7b5da1d1bd3d4b6c073d0174bc4211db60e794a321c8cb5d4eae34685\",\"dweb:/ipfs/QmWe49zj65jayrCe9jZpoWhYUZ1RiwSxyU2s7SBZnMztVy\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 371,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:UUPSUpgradeable",
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8"
},
{
"astId": 374,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:UUPSUpgradeable",
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool"
},
{
"astId": 353,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:UUPSUpgradeable",
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage"
},
{
"astId": 668,
"contract": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:UUPSUpgradeable",
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage"
}
],
"types": {
"t_array(t_uint256)50_storage": {
"base": "t_uint256",
"encoding": "inplace",
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"encoding": "inplace",
"label": "bool",
"numberOfBytes": "1"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"encoding": "inplace",
"label": "uint8",
"numberOfBytes": "1"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol": {
"AddressUpgradeable": {
"abi": [],
"devdoc": {
"details": "Collection of functions related to the address type",
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":194:9374 library AddressUpgradeable {... */\n dataSize(sub_0)\n dataOffset(sub_0)\n 0x0b\n dup3\n dup3\n dup3\n codecopy\n dup1\n mload\n 0x00\n byte\n 0x73\n eq\n tag_1\n jumpi\n mstore(0x00, 0x4e487b7100000000000000000000000000000000000000000000000000000000)\n mstore(0x04, 0x00)\n revert(0x00, 0x24)\ntag_1:\n mstore(0x00, address)\n 0x73\n dup2\n mstore8\n dup3\n dup2\n return\nstop\n\nsub_0: assembly {\n /* \".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":194:9374 library AddressUpgradeable {... */\n eq(address, deployTimeAddress())\n mstore(0x40, 0x80)\n 0x00\n dup1\n revert\n\n auxdata: 0xa264697066735822122032c818ee150d77e08ba4a0bb11db946572f0638a067cb0f49dc710a41786ec9764736f6c63430008120033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122032c818ee150d77e08ba4a0bb11db946572f0638a067cb0f49dc710a41786ec9764736f6c63430008120033",
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ORIGIN 0xC8 XOR 0xEE ISZERO 0xD PUSH24 0xE08BA4A0BB11DB946572F0638A067CB0F49DC710A41786EC SWAP8 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "194:9180:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122032c818ee150d77e08ba4a0bb11db946572f0638a067cb0f49dc710a41786ec9764736f6c63430008120033",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ORIGIN 0xC8 XOR 0xEE ISZERO 0xD PUSH24 0xE08BA4A0BB11DB946572F0638A067CB0F49DC710A41786EC SWAP8 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "194:9180:6:-:0;;;;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "17200",
"executionCost": "97",
"totalCost": "17297"
},
"internal": {
"_revert(bytes memory,string memory)": "infinite",
"functionCall(address,bytes memory)": "infinite",
"functionCall(address,bytes memory,string memory)": "infinite",
"functionCallWithValue(address,bytes memory,uint256)": "infinite",
"functionCallWithValue(address,bytes memory,uint256,string memory)": "infinite",
"functionDelegateCall(address,bytes memory)": "infinite",
"functionDelegateCall(address,bytes memory,string memory)": "infinite",
"functionStaticCall(address,bytes memory)": "infinite",
"functionStaticCall(address,bytes memory,string memory)": "infinite",
"isContract(address)": "infinite",
"sendValue(address payable,uint256)": "infinite",
"verifyCallResult(bool,bytes memory,string memory)": "infinite",
"verifyCallResultFromTarget(address,bool,bytes memory,string memory)": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 194,
"end": 9374,
"name": "PUSH #[$]",
"source": 6,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH [$]",
"source": 6,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "B"
},
{
"begin": 194,
"end": 9374,
"name": "DUP3",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "DUP3",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "DUP3",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "CODECOPY",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "DUP1",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "MLOAD",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "BYTE",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "73"
},
{
"begin": 194,
"end": 9374,
"name": "EQ",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH [tag]",
"source": 6,
"value": "1"
},
{
"begin": 194,
"end": 9374,
"name": "JUMPI",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "MSTORE",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "4"
},
{
"begin": 194,
"end": 9374,
"name": "MSTORE",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "24"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "REVERT",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "tag",
"source": 6,
"value": "1"
},
{
"begin": 194,
"end": 9374,
"name": "JUMPDEST",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "ADDRESS",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "MSTORE",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "73"
},
{
"begin": 194,
"end": 9374,
"name": "DUP2",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "MSTORE8",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "DUP3",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "DUP2",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "RETURN",
"source": 6
}
],
".data": {
"0": {
".auxdata": "a264697066735822122032c818ee150d77e08ba4a0bb11db946572f0638a067cb0f49dc710a41786ec9764736f6c63430008120033",
".code": [
{
"begin": 194,
"end": 9374,
"name": "PUSHDEPLOYADDRESS",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "ADDRESS",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "EQ",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "80"
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "40"
},
{
"begin": 194,
"end": 9374,
"name": "MSTORE",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "PUSH",
"source": 6,
"value": "0"
},
{
"begin": 194,
"end": 9374,
"name": "DUP1",
"source": 6
},
{
"begin": 194,
"end": 9374,
"name": "REVERT",
"source": 6
}
]
}
},
"sourceList": [
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol",
"#utility.yul"
]
},
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":\"AddressUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol": {
"StorageSlotUpgradeable": {
"abi": [],
"devdoc": {
"details": "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: ```solidity 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`, `uint256`._ _Available since v4.9 for `string`, `bytes`._",
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":1420:4116 library StorageSlotUpgradeable {... */\n dataSize(sub_0)\n dataOffset(sub_0)\n 0x0b\n dup3\n dup3\n dup3\n codecopy\n dup1\n mload\n 0x00\n byte\n 0x73\n eq\n tag_1\n jumpi\n mstore(0x00, 0x4e487b7100000000000000000000000000000000000000000000000000000000)\n mstore(0x04, 0x00)\n revert(0x00, 0x24)\ntag_1:\n mstore(0x00, address)\n 0x73\n dup2\n mstore8\n dup3\n dup2\n return\nstop\n\nsub_0: assembly {\n /* \".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":1420:4116 library StorageSlotUpgradeable {... */\n eq(address, deployTimeAddress())\n mstore(0x40, 0x80)\n 0x00\n dup1\n revert\n\n auxdata: 0xa2646970667358221220c0d32c67ecfa6cb7837958130a3a377de74f2fa5435bb1f6d189602fb07dce1564736f6c63430008120033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c0d32c67ecfa6cb7837958130a3a377de74f2fa5435bb1f6d189602fb07dce1564736f6c63430008120033",
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC0 0xD3 0x2C PUSH8 0xECFA6CB783795813 EXP GASPRICE CALLDATACOPY PUSH30 0xE74F2FA5435BB1F6D189602FB07DCE1564736F6C63430008120033000000 ",
"sourceMap": "1420:2696:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c0d32c67ecfa6cb7837958130a3a377de74f2fa5435bb1f6d189602fb07dce1564736f6c63430008120033",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC0 0xD3 0x2C PUSH8 0xECFA6CB783795813 EXP GASPRICE CALLDATACOPY PUSH30 0xE74F2FA5435BB1F6D189602FB07DCE1564736F6C63430008120033000000 ",
"sourceMap": "1420:2696:7:-:0;;;;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "17200",
"executionCost": "97",
"totalCost": "17297"
},
"internal": {
"getAddressSlot(bytes32)": "infinite",
"getBooleanSlot(bytes32)": "infinite",
"getBytes32Slot(bytes32)": "infinite",
"getBytesSlot(bytes storage pointer)": "infinite",
"getBytesSlot(bytes32)": "infinite",
"getStringSlot(bytes32)": "infinite",
"getStringSlot(string storage pointer)": "infinite",
"getUint256Slot(bytes32)": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 1420,
"end": 4116,
"name": "PUSH #[$]",
"source": 7,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH [$]",
"source": 7,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "B"
},
{
"begin": 1420,
"end": 4116,
"name": "DUP3",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "DUP3",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "DUP3",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "CODECOPY",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "DUP1",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "MLOAD",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "BYTE",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "73"
},
{
"begin": 1420,
"end": 4116,
"name": "EQ",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH [tag]",
"source": 7,
"value": "1"
},
{
"begin": 1420,
"end": 4116,
"name": "JUMPI",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "MSTORE",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "4"
},
{
"begin": 1420,
"end": 4116,
"name": "MSTORE",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "24"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "REVERT",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "tag",
"source": 7,
"value": "1"
},
{
"begin": 1420,
"end": 4116,
"name": "JUMPDEST",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "ADDRESS",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "MSTORE",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "73"
},
{
"begin": 1420,
"end": 4116,
"name": "DUP2",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "MSTORE8",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "DUP3",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "DUP2",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "RETURN",
"source": 7
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220c0d32c67ecfa6cb7837958130a3a377de74f2fa5435bb1f6d189602fb07dce1564736f6c63430008120033",
".code": [
{
"begin": 1420,
"end": 4116,
"name": "PUSHDEPLOYADDRESS",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "ADDRESS",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "EQ",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "80"
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "40"
},
{
"begin": 1420,
"end": 4116,
"name": "MSTORE",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "PUSH",
"source": 7,
"value": "0"
},
{
"begin": 1420,
"end": 4116,
"name": "DUP1",
"source": 7
},
{
"begin": 1420,
"end": 4116,
"name": "REVERT",
"source": 7
}
]
}
},
"sourceList": [
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol",
"#utility.yul"
]
},
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"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: ```solidity 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`, `uint256`._ _Available since v4.9 for `string`, `bytes`._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":\"StorageSlotUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol\":{\"keccak256\":\"0x07ac95acad040f1fb1f6120dd0aa5f702db69446e95f82613721879d30de0908\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9df9de7b5da1d1bd3d4b6c073d0174bc4211db60e794a321c8cb5d4eae34685\",\"dweb:/ipfs/QmWe49zj65jayrCe9jZpoWhYUZ1RiwSxyU2s7SBZnMztVy\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol",
"exportedSymbols": {
"IERC1967Upgradeable": [
20
]
},
"id": 21,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "107:23:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IERC1967Upgradeable",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 2,
"nodeType": "StructuredDocumentation",
"src": "132:133:0",
"text": " @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n _Available since v4.8.3._"
},
"fullyImplemented": true,
"id": 20,
"linearizedBaseContracts": [
20
],
"name": "IERC1967Upgradeable",
"nameLocation": "276:19:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": {
"id": 3,
"nodeType": "StructuredDocumentation",
"src": "302:68:0",
"text": " @dev Emitted when the implementation is upgraded."
},
"eventSelector": "bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"id": 7,
"name": "Upgraded",
"nameLocation": "381:8:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 6,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5,
"indexed": true,
"mutability": "mutable",
"name": "implementation",
"nameLocation": "406:14:0",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "390:30:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 4,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "390:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "389:32:0"
},
"src": "375:47:0"
},
{
"anonymous": false,
"documentation": {
"id": 8,
"nodeType": "StructuredDocumentation",
"src": "428:67:0",
"text": " @dev Emitted when the admin account has changed."
},
"eventSelector": "7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f",
"id": 14,
"name": "AdminChanged",
"nameLocation": "506:12:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 13,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 10,
"indexed": false,
"mutability": "mutable",
"name": "previousAdmin",
"nameLocation": "527:13:0",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "519:21:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "519:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 12,
"indexed": false,
"mutability": "mutable",
"name": "newAdmin",
"nameLocation": "550:8:0",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "542:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 11,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "542:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "518:41:0"
},
"src": "500:60:0"
},
{
"anonymous": false,
"documentation": {
"id": 15,
"nodeType": "StructuredDocumentation",
"src": "566:59:0",
"text": " @dev Emitted when the beacon is changed."
},
"eventSelector": "1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e",
"id": 19,
"name": "BeaconUpgraded",
"nameLocation": "636:14:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 18,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 17,
"indexed": true,
"mutability": "mutable",
"name": "beacon",
"nameLocation": "667:6:0",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "651:22:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 16,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "651:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "650:24:0"
},
"src": "630:45:0"
}
],
"scope": 21,
"src": "266:411:0",
"usedErrors": []
}
],
"src": "107:571:0"
},
"id": 0
},
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol",
"exportedSymbols": {
"IERC1822ProxiableUpgradeable": [
30
]
},
"id": 31,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 22,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "113:23:1"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IERC1822ProxiableUpgradeable",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 23,
"nodeType": "StructuredDocumentation",
"src": "138:203:1",
"text": " @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n proxy whose upgrades are fully controlled by the current implementation."
},
"fullyImplemented": false,
"id": 30,
"linearizedBaseContracts": [
30
],
"name": "IERC1822ProxiableUpgradeable",
"nameLocation": "352:28:1",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 24,
"nodeType": "StructuredDocumentation",
"src": "387:438:1",
"text": " @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n address.\n IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n function revert if invoked through a proxy."
},
"functionSelector": "52d1902d",
"id": 29,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "proxiableUUID",
"nameLocation": "839:13:1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25,
"nodeType": "ParameterList",
"parameters": [],
"src": "852:2:1"
},
"returnParameters": {
"id": 28,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 29,
"src": "878:7:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 26,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "878:7:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "877:9:1"
},
"scope": 30,
"src": "830:57:1",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 31,
"src": "342:547:1",
"usedErrors": []
}
],
"src": "113:777:1"
},
"id": 1
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol",
"exportedSymbols": {
"AddressUpgradeable": [
999
],
"ERC1967UpgradeUpgradeable": [
354
],
"IBeaconUpgradeable": [
364
],
"IERC1822ProxiableUpgradeable": [
30
],
"IERC1967Upgradeable": [
20
],
"Initializable": [
533
],
"StorageSlotUpgradeable": [
1109
]
},
"id": 355,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 32,
"literals": [
"solidity",
"^",
"0.8",
".2"
],
"nodeType": "PragmaDirective",
"src": "116:23:2"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol",
"file": "../beacon/IBeaconUpgradeable.sol",
"id": 33,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 365,
"src": "141:42:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol",
"file": "../../interfaces/IERC1967Upgradeable.sol",
"id": 34,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 21,
"src": "184:50:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol",
"file": "../../interfaces/draft-IERC1822Upgradeable.sol",
"id": 35,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 31,
"src": "235:56:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
"file": "../../utils/AddressUpgradeable.sol",
"id": 36,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 1000,
"src": "292:44:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol",
"file": "../../utils/StorageSlotUpgradeable.sol",
"id": 37,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 1110,
"src": "337:48:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
"file": "../utils/Initializable.sol",
"id": 38,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 355,
"sourceUnit": 534,
"src": "386:36:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 40,
"name": "Initializable",
"nameLocations": [
"656:13:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 533,
"src": "656:13:2"
},
"id": 41,
"nodeType": "InheritanceSpecifier",
"src": "656:13:2"
},
{
"baseName": {
"id": 42,
"name": "IERC1967Upgradeable",
"nameLocations": [
"671:19:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 20,
"src": "671:19:2"
},
"id": 43,
"nodeType": "InheritanceSpecifier",
"src": "671:19:2"
}
],
"canonicalName": "ERC1967UpgradeUpgradeable",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 39,
"nodeType": "StructuredDocumentation",
"src": "424:184:2",
"text": " @dev This abstract contract provides getters and event emitting update functions for\n https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n _Available since v4.1._"
},
"fullyImplemented": true,
"id": 354,
"linearizedBaseContracts": [
354,
20,
533
],
"name": "ERC1967UpgradeUpgradeable",
"nameLocation": "627:25:2",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 48,
"nodeType": "Block",
"src": "756:7:2",
"statements": []
},
"id": 49,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 46,
"kind": "modifierInvocation",
"modifierName": {
"id": 45,
"name": "onlyInitializing",
"nameLocations": [
"739:16:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 478,
"src": "739:16:2"
},
"nodeType": "ModifierInvocation",
"src": "739:16:2"
}
],
"name": "__ERC1967Upgrade_init",
"nameLocation": "706:21:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 44,
"nodeType": "ParameterList",
"parameters": [],
"src": "727:2:2"
},
"returnParameters": {
"id": 47,
"nodeType": "ParameterList",
"parameters": [],
"src": "756:0:2"
},
"scope": 354,
"src": "697:66:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 54,
"nodeType": "Block",
"src": "838:7:2",
"statements": []
},
"id": 55,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 52,
"kind": "modifierInvocation",
"modifierName": {
"id": 51,
"name": "onlyInitializing",
"nameLocations": [
"821:16:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 478,
"src": "821:16:2"
},
"nodeType": "ModifierInvocation",
"src": "821:16:2"
}
],
"name": "__ERC1967Upgrade_init_unchained",
"nameLocation": "778:31:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 50,
"nodeType": "ParameterList",
"parameters": [],
"src": "809:2:2"
},
"returnParameters": {
"id": 53,
"nodeType": "ParameterList",
"parameters": [],
"src": "838:0:2"
},
"scope": 354,
"src": "769:76:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"constant": true,
"id": 58,
"mutability": "constant",
"name": "_ROLLBACK_SLOT",
"nameLocation": "954:14:2",
"nodeType": "VariableDeclaration",
"scope": 354,
"src": "929:108:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 56,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "929:7:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": {
"hexValue": "307834393130666466613136666564333236306564306537313437663763633664613131613630323038623562393430366431326136333536313466666439313433",
"id": 57,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "971:66:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_33048860383849004559742813297059419343339852917517107368639918720169455489347_by_1",
"typeString": "int_const 3304...(69 digits omitted)...9347"
},
"value": "0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143"
},
"visibility": "private"
},
{
"constant": true,
"documentation": {
"id": 59,
"nodeType": "StructuredDocumentation",
"src": "1044:214:2",
"text": " @dev Storage slot with the address of the current implementation.\n This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n validated in the constructor."
},
"id": 62,
"mutability": "constant",
"name": "_IMPLEMENTATION_SLOT",
"nameLocation": "1289:20:2",
"nodeType": "VariableDeclaration",
"scope": 354,
"src": "1263:115:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 60,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1263:7:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": {
"hexValue": "307833363038393461313362613161333231303636376338323834393264623938646361336532303736636333373335613932306133636135303564333832626263",
"id": 61,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1312:66:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_24440054405305269366569402256811496959409073762505157381672968839269610695612_by_1",
"typeString": "int_const 2444...(69 digits omitted)...5612"
},
"value": "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc"
},
"visibility": "internal"
},
{
"body": {
"id": 74,
"nodeType": "Block",
"src": "1519:89:2",
"statements": [
{
"expression": {
"expression": {
"arguments": [
{
"id": 70,
"name": "_IMPLEMENTATION_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 62,
"src": "1574:20:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 68,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "1536:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 69,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1559:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "1536:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 71,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1536:59:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 72,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1596:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "1536:65:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 67,
"id": 73,
"nodeType": "Return",
"src": "1529:72:2"
}
]
},
"documentation": {
"id": 63,
"nodeType": "StructuredDocumentation",
"src": "1385:67:2",
"text": " @dev Returns the current implementation address."
},
"id": 75,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_getImplementation",
"nameLocation": "1466:18:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 64,
"nodeType": "ParameterList",
"parameters": [],
"src": "1484:2:2"
},
"returnParameters": {
"id": 67,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 66,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 75,
"src": "1510:7:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 65,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1510:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1509:9:2"
},
"scope": 354,
"src": "1457:151:2",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 98,
"nodeType": "Block",
"src": "1762:218:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"id": 84,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 78,
"src": "1810:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"expression": {
"id": 82,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "1780:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 83,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1799:10:2",
"memberName": "isContract",
"nodeType": "MemberAccess",
"referencedDeclaration": 687,
"src": "1780:29:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
"typeString": "function (address) view returns (bool)"
}
},
"id": 85,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1780:48:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "455243313936373a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374",
"id": 86,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1830:47:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65",
"typeString": "literal_string \"ERC1967: new implementation is not a contract\""
},
"value": "ERC1967: new implementation is not a contract"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65",
"typeString": "literal_string \"ERC1967: new implementation is not a contract\""
}
],
"id": 81,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1772:7:2",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 87,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1772:106:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 88,
"nodeType": "ExpressionStatement",
"src": "1772:106:2"
},
{
"expression": {
"id": 96,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"expression": {
"arguments": [
{
"id": 92,
"name": "_IMPLEMENTATION_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 62,
"src": "1926:20:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 89,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "1888:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 91,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1911:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "1888:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 93,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1888:59:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 94,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"memberLocation": "1948:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "1888:65:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 95,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 78,
"src": "1956:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1888:85:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 97,
"nodeType": "ExpressionStatement",
"src": "1888:85:2"
}
]
},
"documentation": {
"id": 76,
"nodeType": "StructuredDocumentation",
"src": "1614:80:2",
"text": " @dev Stores a new address in the EIP1967 implementation slot."
},
"id": 99,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_setImplementation",
"nameLocation": "1708:18:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 79,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 78,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "1735:17:2",
"nodeType": "VariableDeclaration",
"scope": 99,
"src": "1727:25:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 77,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1727:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1726:27:2"
},
"returnParameters": {
"id": 80,
"nodeType": "ParameterList",
"parameters": [],
"src": "1762:0:2"
},
"scope": 354,
"src": "1699:281:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "private"
},
{
"body": {
"id": 113,
"nodeType": "Block",
"src": "2142:96:2",
"statements": [
{
"expression": {
"arguments": [
{
"id": 106,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 102,
"src": "2171:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 105,
"name": "_setImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 99,
"src": "2152:18:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 107,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2152:37:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 108,
"nodeType": "ExpressionStatement",
"src": "2152:37:2"
},
{
"eventCall": {
"arguments": [
{
"id": 110,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 102,
"src": "2213:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 109,
"name": "Upgraded",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "2204:8:2",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 111,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2204:27:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 112,
"nodeType": "EmitStatement",
"src": "2199:32:2"
}
]
},
"documentation": {
"id": 100,
"nodeType": "StructuredDocumentation",
"src": "1986:95:2",
"text": " @dev Perform implementation upgrade\n Emits an {Upgraded} event."
},
"id": 114,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_upgradeTo",
"nameLocation": "2095:10:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 103,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 102,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "2114:17:2",
"nodeType": "VariableDeclaration",
"scope": 114,
"src": "2106:25:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 101,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2106:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2105:27:2"
},
"returnParameters": {
"id": 104,
"nodeType": "ParameterList",
"parameters": [],
"src": "2142:0:2"
},
"scope": 354,
"src": "2086:152:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 143,
"nodeType": "Block",
"src": "2470:178:2",
"statements": [
{
"expression": {
"arguments": [
{
"id": 125,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 117,
"src": "2491:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 124,
"name": "_upgradeTo",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 114,
"src": "2480:10:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 126,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2480:29:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 127,
"nodeType": "ExpressionStatement",
"src": "2480:29:2"
},
{
"condition": {
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 133,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 131,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 128,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 119,
"src": "2523:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 129,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "2528:6:2",
"memberName": "length",
"nodeType": "MemberAccess",
"src": "2523:11:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">",
"rightExpression": {
"hexValue": "30",
"id": 130,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2537:1:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "2523:15:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "||",
"rightExpression": {
"id": 132,
"name": "forceCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 121,
"src": "2542:9:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "2523:28:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 142,
"nodeType": "IfStatement",
"src": "2519:123:2",
"trueBody": {
"id": 141,
"nodeType": "Block",
"src": "2553:89:2",
"statements": [
{
"expression": {
"arguments": [
{
"id": 137,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 117,
"src": "2607:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 138,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 119,
"src": "2626:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"id": 134,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "2567:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 136,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "2586:20:2",
"memberName": "functionDelegateCall",
"nodeType": "MemberAccess",
"referencedDeclaration": 886,
"src": "2567:39:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory) returns (bytes memory)"
}
},
"id": 139,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2567:64:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 140,
"nodeType": "ExpressionStatement",
"src": "2567:64:2"
}
]
}
}
]
},
"documentation": {
"id": 115,
"nodeType": "StructuredDocumentation",
"src": "2244:123:2",
"text": " @dev Perform implementation upgrade with additional setup call.\n Emits an {Upgraded} event."
},
"id": 144,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_upgradeToAndCall",
"nameLocation": "2381:17:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 122,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 117,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "2407:17:2",
"nodeType": "VariableDeclaration",
"scope": 144,
"src": "2399:25:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 116,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2399:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 119,
"mutability": "mutable",
"name": "data",
"nameLocation": "2439:4:2",
"nodeType": "VariableDeclaration",
"scope": 144,
"src": "2426:17:2",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 118,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2426:5:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 121,
"mutability": "mutable",
"name": "forceCall",
"nameLocation": "2450:9:2",
"nodeType": "VariableDeclaration",
"scope": 144,
"src": "2445:14:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 120,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2445:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "2398:62:2"
},
"returnParameters": {
"id": 123,
"nodeType": "ParameterList",
"parameters": [],
"src": "2470:0:2"
},
"scope": 354,
"src": "2372:276:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 196,
"nodeType": "Block",
"src": "2922:842:2",
"statements": [
{
"condition": {
"expression": {
"arguments": [
{
"id": 156,
"name": "_ROLLBACK_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 58,
"src": "3274:14:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 154,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "3236:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 155,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "3259:14:2",
"memberName": "getBooleanSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1042,
"src": "3236:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_BooleanSlot_$1008_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.BooleanSlot storage pointer)"
}
},
"id": 157,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3236:53:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_BooleanSlot_$1008_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BooleanSlot storage pointer"
}
},
"id": 158,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"memberLocation": "3290:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1007,
"src": "3236:59:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": {
"id": 194,
"nodeType": "Block",
"src": "3365:393:2",
"statements": [
{
"clauses": [
{
"block": {
"id": 179,
"nodeType": "Block",
"src": "3470:115:2",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"id": 175,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 173,
"name": "slot",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 170,
"src": "3496:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"id": 174,
"name": "_IMPLEMENTATION_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 62,
"src": "3504:20:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"src": "3496:28:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "45524331393637557067726164653a20756e737570706f727465642070726f786961626c6555554944",
"id": 176,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3526:43:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c",
"typeString": "literal_string \"ERC1967Upgrade: unsupported proxiableUUID\""
},
"value": "ERC1967Upgrade: unsupported proxiableUUID"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c",
"typeString": "literal_string \"ERC1967Upgrade: unsupported proxiableUUID\""
}
],
"id": 172,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "3488:7:2",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 177,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3488:82:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 178,
"nodeType": "ExpressionStatement",
"src": "3488:82:2"
}
]
},
"errorName": "",
"id": 180,
"nodeType": "TryCatchClause",
"parameters": {
"id": 171,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 170,
"mutability": "mutable",
"name": "slot",
"nameLocation": "3464:4:2",
"nodeType": "VariableDeclaration",
"scope": 180,
"src": "3456:12:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 169,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3456:7:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "3455:14:2"
},
"src": "3447:138:2"
},
{
"block": {
"id": 185,
"nodeType": "Block",
"src": "3592:89:2",
"statements": [
{
"expression": {
"arguments": [
{
"hexValue": "45524331393637557067726164653a206e657720696d706c656d656e746174696f6e206973206e6f742055555053",
"id": 182,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3617:48:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24",
"typeString": "literal_string \"ERC1967Upgrade: new implementation is not UUPS\""
},
"value": "ERC1967Upgrade: new implementation is not UUPS"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24",
"typeString": "literal_string \"ERC1967Upgrade: new implementation is not UUPS\""
}
],
"id": 181,
"name": "revert",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967277,
4294967277
],
"referencedDeclaration": 4294967277,
"src": "3610:6:2",
"typeDescriptions": {
"typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory) pure"
}
},
"id": 183,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3610:56:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 184,
"nodeType": "ExpressionStatement",
"src": "3610:56:2"
}
]
},
"errorName": "",
"id": 186,
"nodeType": "TryCatchClause",
"src": "3586:95:2"
}
],
"externalCall": {
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"arguments": [
{
"id": 165,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 147,
"src": "3412:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 164,
"name": "IERC1822ProxiableUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 30,
"src": "3383:28:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_IERC1822ProxiableUpgradeable_$30_$",
"typeString": "type(contract IERC1822ProxiableUpgradeable)"
}
},
"id": 166,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3383:47:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_IERC1822ProxiableUpgradeable_$30",
"typeString": "contract IERC1822ProxiableUpgradeable"
}
},
"id": 167,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "3431:13:2",
"memberName": "proxiableUUID",
"nodeType": "MemberAccess",
"referencedDeclaration": 29,
"src": "3383:61:2",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
"typeString": "function () view external returns (bytes32)"
}
},
"id": 168,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3383:63:2",
"tryCall": true,
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"id": 187,
"nodeType": "TryStatement",
"src": "3379:302:2"
},
{
"expression": {
"arguments": [
{
"id": 189,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 147,
"src": "3712:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 190,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 149,
"src": "3731:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 191,
"name": "forceCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 151,
"src": "3737:9:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
}
],
"id": 188,
"name": "_upgradeToAndCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 144,
"src": "3694:17:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$",
"typeString": "function (address,bytes memory,bool)"
}
},
"id": 192,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3694:53:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 193,
"nodeType": "ExpressionStatement",
"src": "3694:53:2"
}
]
},
"id": 195,
"nodeType": "IfStatement",
"src": "3232:526:2",
"trueBody": {
"id": 163,
"nodeType": "Block",
"src": "3297:62:2",
"statements": [
{
"expression": {
"arguments": [
{
"id": 160,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 147,
"src": "3330:17:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 159,
"name": "_setImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 99,
"src": "3311:18:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 161,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3311:37:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 162,
"nodeType": "ExpressionStatement",
"src": "3311:37:2"
}
]
}
}
]
},
"documentation": {
"id": 145,
"nodeType": "StructuredDocumentation",
"src": "2654:161:2",
"text": " @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\n Emits an {Upgraded} event."
},
"id": 197,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_upgradeToAndCallUUPS",
"nameLocation": "2829:21:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 152,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 147,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "2859:17:2",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "2851:25:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 146,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2851:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 149,
"mutability": "mutable",
"name": "data",
"nameLocation": "2891:4:2",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "2878:17:2",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 148,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2878:5:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 151,
"mutability": "mutable",
"name": "forceCall",
"nameLocation": "2902:9:2",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "2897:14:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 150,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2897:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "2850:62:2"
},
"returnParameters": {
"id": 153,
"nodeType": "ParameterList",
"parameters": [],
"src": "2922:0:2"
},
"scope": 354,
"src": "2820:944:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"constant": true,
"documentation": {
"id": 198,
"nodeType": "StructuredDocumentation",
"src": "3770:189:2",
"text": " @dev Storage slot with the admin of the contract.\n This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\n validated in the constructor."
},
"id": 201,
"mutability": "constant",
"name": "_ADMIN_SLOT",
"nameLocation": "3990:11:2",
"nodeType": "VariableDeclaration",
"scope": 354,
"src": "3964:106:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 199,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3964:7:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": {
"hexValue": "307862353331323736383461353638623331373361653133623966386136303136653234336536336236653865653131373864366137313738353062356436313033",
"id": 200,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4004:66:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_81955473079516046949633743016697847541294818689821282749996681496272635257091_by_1",
"typeString": "int_const 8195...(69 digits omitted)...7091"
},
"value": "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103"
},
"visibility": "internal"
},
{
"body": {
"id": 213,
"nodeType": "Block",
"src": "4185:80:2",
"statements": [
{
"expression": {
"expression": {
"arguments": [
{
"id": 209,
"name": "_ADMIN_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 201,
"src": "4240:11:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 207,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "4202:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 208,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "4225:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "4202:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 210,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4202:50:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 211,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"memberLocation": "4253:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "4202:56:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 206,
"id": 212,
"nodeType": "Return",
"src": "4195:63:2"
}
]
},
"documentation": {
"id": 202,
"nodeType": "StructuredDocumentation",
"src": "4077:50:2",
"text": " @dev Returns the current admin."
},
"id": 214,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_getAdmin",
"nameLocation": "4141:9:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 203,
"nodeType": "ParameterList",
"parameters": [],
"src": "4150:2:2"
},
"returnParameters": {
"id": 206,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 205,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 214,
"src": "4176:7:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 204,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4176:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4175:9:2"
},
"scope": 354,
"src": "4132:133:2",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 239,
"nodeType": "Block",
"src": "4392:167:2",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 226,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 221,
"name": "newAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 217,
"src": "4410:8:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"arguments": [
{
"hexValue": "30",
"id": 224,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4430:1:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
}
],
"id": 223,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "4422:7:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 222,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4422:7:2",
"typeDescriptions": {}
}
},
"id": 225,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4422:10:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "4410:22:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "455243313936373a206e65772061646d696e20697320746865207a65726f2061646472657373",
"id": 227,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4434:40:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_3820e16891102c1360a787e6e648431097d92537f969d458f5c94b56f8318be5",
"typeString": "literal_string \"ERC1967: new admin is the zero address\""
},
"value": "ERC1967: new admin is the zero address"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_3820e16891102c1360a787e6e648431097d92537f969d458f5c94b56f8318be5",
"typeString": "literal_string \"ERC1967: new admin is the zero address\""
}
],
"id": 220,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "4402:7:2",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 228,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4402:73:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 229,
"nodeType": "ExpressionStatement",
"src": "4402:73:2"
},
{
"expression": {
"id": 237,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"expression": {
"arguments": [
{
"id": 233,
"name": "_ADMIN_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 201,
"src": "4523:11:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 230,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "4485:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 232,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "4508:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "4485:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 234,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4485:50:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 235,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"memberLocation": "4536:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "4485:56:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 236,
"name": "newAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 217,
"src": "4544:8:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "4485:67:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 238,
"nodeType": "ExpressionStatement",
"src": "4485:67:2"
}
]
},
"documentation": {
"id": 215,
"nodeType": "StructuredDocumentation",
"src": "4271:71:2",
"text": " @dev Stores a new address in the EIP1967 admin slot."
},
"id": 240,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_setAdmin",
"nameLocation": "4356:9:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 218,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 217,
"mutability": "mutable",
"name": "newAdmin",
"nameLocation": "4374:8:2",
"nodeType": "VariableDeclaration",
"scope": 240,
"src": "4366:16:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 216,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4366:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4365:18:2"
},
"returnParameters": {
"id": 219,
"nodeType": "ParameterList",
"parameters": [],
"src": "4392:0:2"
},
"scope": 354,
"src": "4347:212:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "private"
},
{
"body": {
"id": 256,
"nodeType": "Block",
"src": "4719:86:2",
"statements": [
{
"eventCall": {
"arguments": [
{
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 247,
"name": "_getAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 214,
"src": "4747:9:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
"typeString": "function () view returns (address)"
}
},
"id": 248,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4747:11:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 249,
"name": "newAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 243,
"src": "4760:8:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 246,
"name": "AdminChanged",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 14,
"src": "4734:12:2",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$",
"typeString": "function (address,address)"
}
},
"id": 250,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4734:35:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 251,
"nodeType": "EmitStatement",
"src": "4729:40:2"
},
{
"expression": {
"arguments": [
{
"id": 253,
"name": "newAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 243,
"src": "4789:8:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 252,
"name": "_setAdmin",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 240,
"src": "4779:9:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 254,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4779:19:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 255,
"nodeType": "ExpressionStatement",
"src": "4779:19:2"
}
]
},
"documentation": {
"id": 241,
"nodeType": "StructuredDocumentation",
"src": "4565:100:2",
"text": " @dev Changes the admin of the proxy.\n Emits an {AdminChanged} event."
},
"id": 257,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_changeAdmin",
"nameLocation": "4679:12:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 244,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 243,
"mutability": "mutable",
"name": "newAdmin",
"nameLocation": "4700:8:2",
"nodeType": "VariableDeclaration",
"scope": 257,
"src": "4692:16:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 242,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4692:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4691:18:2"
},
"returnParameters": {
"id": 245,
"nodeType": "ParameterList",
"parameters": [],
"src": "4719:0:2"
},
"scope": 354,
"src": "4670:135:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"constant": true,
"documentation": {
"id": 258,
"nodeType": "StructuredDocumentation",
"src": "4811:232:2",
"text": " @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor."
},
"id": 261,
"mutability": "constant",
"name": "_BEACON_SLOT",
"nameLocation": "5074:12:2",
"nodeType": "VariableDeclaration",
"scope": 354,
"src": "5048:107:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 259,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "5048:7:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": {
"hexValue": "307861336630616437346535343233616562666438306433656634333436353738333335613961373261656165653539666636636233353832623335313333643530",
"id": 260,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5089:66:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_74152234768234802001998023604048924213078445070507226371336425913862612794704_by_1",
"typeString": "int_const 7415...(69 digits omitted)...4704"
},
"value": "0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50"
},
"visibility": "internal"
},
{
"body": {
"id": 273,
"nodeType": "Block",
"src": "5272:81:2",
"statements": [
{
"expression": {
"expression": {
"arguments": [
{
"id": 269,
"name": "_BEACON_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 261,
"src": "5327:12:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 267,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "5289:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 268,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5312:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "5289:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 270,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5289:51:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 271,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5341:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "5289:57:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 266,
"id": 272,
"nodeType": "Return",
"src": "5282:64:2"
}
]
},
"documentation": {
"id": 262,
"nodeType": "StructuredDocumentation",
"src": "5162:51:2",
"text": " @dev Returns the current beacon."
},
"id": 274,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_getBeacon",
"nameLocation": "5227:10:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 263,
"nodeType": "ParameterList",
"parameters": [],
"src": "5237:2:2"
},
"returnParameters": {
"id": 266,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 265,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 274,
"src": "5263:7:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 264,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "5263:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "5262:9:2"
},
"scope": 354,
"src": "5218:135:2",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 309,
"nodeType": "Block",
"src": "5482:368:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"id": 283,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 277,
"src": "5530:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"expression": {
"id": 281,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "5500:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 282,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5519:10:2",
"memberName": "isContract",
"nodeType": "MemberAccess",
"referencedDeclaration": 687,
"src": "5500:29:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
"typeString": "function (address) view returns (bool)"
}
},
"id": 284,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5500:40:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "455243313936373a206e657720626561636f6e206973206e6f74206120636f6e7472616374",
"id": 285,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5542:39:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470",
"typeString": "literal_string \"ERC1967: new beacon is not a contract\""
},
"value": "ERC1967: new beacon is not a contract"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470",
"typeString": "literal_string \"ERC1967: new beacon is not a contract\""
}
],
"id": 280,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "5492:7:2",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 286,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5492:90:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 287,
"nodeType": "ExpressionStatement",
"src": "5492:90:2"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"arguments": [
{
"id": 292,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 277,
"src": "5662:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 291,
"name": "IBeaconUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 364,
"src": "5643:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_IBeaconUpgradeable_$364_$",
"typeString": "type(contract IBeaconUpgradeable)"
}
},
"id": 293,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5643:29:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_IBeaconUpgradeable_$364",
"typeString": "contract IBeaconUpgradeable"
}
},
"id": 294,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5673:14:2",
"memberName": "implementation",
"nodeType": "MemberAccess",
"referencedDeclaration": 363,
"src": "5643:44:2",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
"typeString": "function () view external returns (address)"
}
},
"id": 295,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5643:46:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"expression": {
"id": 289,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "5613:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 290,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5632:10:2",
"memberName": "isContract",
"nodeType": "MemberAccess",
"referencedDeclaration": 687,
"src": "5613:29:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
"typeString": "function (address) view returns (bool)"
}
},
"id": 296,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5613:77:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "455243313936373a20626561636f6e20696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374",
"id": 297,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5704:50:2",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8",
"typeString": "literal_string \"ERC1967: beacon implementation is not a contract\""
},
"value": "ERC1967: beacon implementation is not a contract"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8",
"typeString": "literal_string \"ERC1967: beacon implementation is not a contract\""
}
],
"id": 288,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "5592:7:2",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 298,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5592:172:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 299,
"nodeType": "ExpressionStatement",
"src": "5592:172:2"
},
{
"expression": {
"id": 307,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"expression": {
"arguments": [
{
"id": 303,
"name": "_BEACON_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 261,
"src": "5812:12:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
],
"expression": {
"id": 300,
"name": "StorageSlotUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1109,
"src": "5774:22:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_StorageSlotUpgradeable_$1109_$",
"typeString": "type(library StorageSlotUpgradeable)"
}
},
"id": 302,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5797:14:2",
"memberName": "getAddressSlot",
"nodeType": "MemberAccess",
"referencedDeclaration": 1031,
"src": "5774:37:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1005_storage_ptr_$",
"typeString": "function (bytes32) pure returns (struct StorageSlotUpgradeable.AddressSlot storage pointer)"
}
},
"id": 304,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5774:51:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot storage pointer"
}
},
"id": 305,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"memberLocation": "5826:5:2",
"memberName": "value",
"nodeType": "MemberAccess",
"referencedDeclaration": 1004,
"src": "5774:57:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 306,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 277,
"src": "5834:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "5774:69:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 308,
"nodeType": "ExpressionStatement",
"src": "5774:69:2"
}
]
},
"documentation": {
"id": 275,
"nodeType": "StructuredDocumentation",
"src": "5359:71:2",
"text": " @dev Stores a new beacon in the EIP1967 beacon slot."
},
"id": 310,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_setBeacon",
"nameLocation": "5444:10:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 278,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 277,
"mutability": "mutable",
"name": "newBeacon",
"nameLocation": "5463:9:2",
"nodeType": "VariableDeclaration",
"scope": 310,
"src": "5455:17:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 276,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "5455:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "5454:19:2"
},
"returnParameters": {
"id": 279,
"nodeType": "ParameterList",
"parameters": [],
"src": "5482:0:2"
},
"scope": 354,
"src": "5435:415:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "private"
},
{
"body": {
"id": 347,
"nodeType": "Block",
"src": "6249:239:2",
"statements": [
{
"expression": {
"arguments": [
{
"id": 321,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 313,
"src": "6270:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 320,
"name": "_setBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 310,
"src": "6259:10:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 322,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6259:21:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 323,
"nodeType": "ExpressionStatement",
"src": "6259:21:2"
},
{
"eventCall": {
"arguments": [
{
"id": 325,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 313,
"src": "6310:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 324,
"name": "BeaconUpgraded",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 19,
"src": "6295:14:2",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 326,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6295:25:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 327,
"nodeType": "EmitStatement",
"src": "6290:30:2"
},
{
"condition": {
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 333,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 331,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 328,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 315,
"src": "6334:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 329,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "6339:6:2",
"memberName": "length",
"nodeType": "MemberAccess",
"src": "6334:11:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">",
"rightExpression": {
"hexValue": "30",
"id": 330,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "6348:1:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "6334:15:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "||",
"rightExpression": {
"id": 332,
"name": "forceCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 317,
"src": "6353:9:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "6334:28:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 346,
"nodeType": "IfStatement",
"src": "6330:152:2",
"trueBody": {
"id": 345,
"nodeType": "Block",
"src": "6364:118:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"arguments": [
{
"id": 338,
"name": "newBeacon",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 313,
"src": "6437:9:2",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 337,
"name": "IBeaconUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 364,
"src": "6418:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_IBeaconUpgradeable_$364_$",
"typeString": "type(contract IBeaconUpgradeable)"
}
},
"id": 339,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6418:29:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_IBeaconUpgradeable_$364",
"typeString": "contract IBeaconUpgradeable"
}
},
"id": 340,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "6448:14:2",
"memberName": "implementation",
"nodeType": "MemberAccess",
"referencedDeclaration": 363,
"src": "6418:44:2",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
"typeString": "function () view external returns (address)"
}
},
"id": 341,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6418:46:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 342,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 315,
"src": "6466:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"id": 334,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "6378:18:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 336,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "6397:20:2",
"memberName": "functionDelegateCall",
"nodeType": "MemberAccess",
"referencedDeclaration": 886,
"src": "6378:39:2",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory) returns (bytes memory)"
}
},
"id": 343,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6378:93:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 344,
"nodeType": "ExpressionStatement",
"src": "6378:93:2"
}
]
}
}
]
},
"documentation": {
"id": 311,
"nodeType": "StructuredDocumentation",
"src": "5856:292:2",
"text": " @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\n not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\n Emits a {BeaconUpgraded} event."
},
"id": 348,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_upgradeBeaconToAndCall",
"nameLocation": "6162:23:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 318,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 313,
"mutability": "mutable",
"name": "newBeacon",
"nameLocation": "6194:9:2",
"nodeType": "VariableDeclaration",
"scope": 348,
"src": "6186:17:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 312,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "6186:7:2",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 315,
"mutability": "mutable",
"name": "data",
"nameLocation": "6218:4:2",
"nodeType": "VariableDeclaration",
"scope": 348,
"src": "6205:17:2",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 314,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6205:5:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 317,
"mutability": "mutable",
"name": "forceCall",
"nameLocation": "6229:9:2",
"nodeType": "VariableDeclaration",
"scope": 348,
"src": "6224:14:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 316,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "6224:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "6185:54:2"
},
"returnParameters": {
"id": 319,
"nodeType": "ParameterList",
"parameters": [],
"src": "6249:0:2"
},
"scope": 354,
"src": "6153:335:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"constant": false,
"documentation": {
"id": 349,
"nodeType": "StructuredDocumentation",
"src": "6494:254:2",
"text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"
},
"id": 353,
"mutability": "mutable",
"name": "__gap",
"nameLocation": "6773:5:2",
"nodeType": "VariableDeclaration",
"scope": 354,
"src": "6753:25:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$50_storage",
"typeString": "uint256[50]"
},
"typeName": {
"baseType": {
"id": 350,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "6753:7:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 352,
"length": {
"hexValue": "3530",
"id": 351,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "6761:2:2",
"typeDescriptions": {
"typeIdentifier": "t_rational_50_by_1",
"typeString": "int_const 50"
},
"value": "50"
},
"nodeType": "ArrayTypeName",
"src": "6753:11:2",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$50_storage_ptr",
"typeString": "uint256[50]"
}
},
"visibility": "private"
}
],
"scope": 355,
"src": "609:6172:2",
"usedErrors": []
}
],
"src": "116:6666:2"
},
"id": 2
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol",
"exportedSymbols": {
"IBeaconUpgradeable": [
364
]
},
"id": 365,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 356,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "93:23:3"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IBeaconUpgradeable",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 357,
"nodeType": "StructuredDocumentation",
"src": "118:79:3",
"text": " @dev This is the interface that {BeaconProxy} expects of its beacon."
},
"fullyImplemented": false,
"id": 364,
"linearizedBaseContracts": [
364
],
"name": "IBeaconUpgradeable",
"nameLocation": "208:18:3",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 358,
"nodeType": "StructuredDocumentation",
"src": "233:162:3",
"text": " @dev Must return an address that can be used as a delegate call target.\n {BeaconProxy} will check that this address is a contract."
},
"functionSelector": "5c60da1b",
"id": 363,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "implementation",
"nameLocation": "409:14:3",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 359,
"nodeType": "ParameterList",
"parameters": [],
"src": "423:2:3"
},
"returnParameters": {
"id": 362,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 361,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 363,
"src": "449:7:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 360,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "449:7:3",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "448:9:3"
},
"scope": 364,
"src": "400:58:3",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 365,
"src": "198:262:3",
"usedErrors": []
}
],
"src": "93:368:3"
},
"id": 3
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
"exportedSymbols": {
"AddressUpgradeable": [
999
],
"Initializable": [
533
]
},
"id": 534,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 366,
"literals": [
"solidity",
"^",
"0.8",
".2"
],
"nodeType": "PragmaDirective",
"src": "113:23:4"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
"file": "../../utils/AddressUpgradeable.sol",
"id": 367,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 534,
"sourceUnit": 1000,
"src": "138:44:4",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [],
"canonicalName": "Initializable",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 368,
"nodeType": "StructuredDocumentation",
"src": "184:2209:4",
"text": " @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n case an upgrade adds a module that needs to be initialized.\n For example:\n [.hljs-theme-light.nopadding]\n ```solidity\n contract MyToken is ERC20Upgradeable {\n function initialize() initializer public {\n __ERC20_init(\"MyToken\", \"MTK\");\n }\n }\n contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n function initializeV2() reinitializer(2) public {\n __ERC20Permit_init(\"MyToken\");\n }\n }\n ```\n TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n [CAUTION]\n ====\n Avoid leaving a contract uninitialized.\n An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n [.hljs-theme-light.nopadding]\n ```\n /// @custom:oz-upgrades-unsafe-allow constructor\n constructor() {\n _disableInitializers();\n }\n ```\n ===="
},
"fullyImplemented": true,
"id": 533,
"linearizedBaseContracts": [
533
],
"name": "Initializable",
"nameLocation": "2412:13:4",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"documentation": {
"id": 369,
"nodeType": "StructuredDocumentation",
"src": "2432:109:4",
"text": " @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool"
},
"id": 371,
"mutability": "mutable",
"name": "_initialized",
"nameLocation": "2560:12:4",
"nodeType": "VariableDeclaration",
"scope": 533,
"src": "2546:26:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 370,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "2546:5:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "private"
},
{
"constant": false,
"documentation": {
"id": 372,
"nodeType": "StructuredDocumentation",
"src": "2579:91:4",
"text": " @dev Indicates that the contract is in the process of being initialized."
},
"id": 374,
"mutability": "mutable",
"name": "_initializing",
"nameLocation": "2688:13:4",
"nodeType": "VariableDeclaration",
"scope": 533,
"src": "2675:26:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 373,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2675:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "private"
},
{
"anonymous": false,
"documentation": {
"id": 375,
"nodeType": "StructuredDocumentation",
"src": "2708:90:4",
"text": " @dev Triggered when the contract has been initialized or reinitialized."
},
"eventSelector": "7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498",
"id": 379,
"name": "Initialized",
"nameLocation": "2809:11:4",
"nodeType": "EventDefinition",
"parameters": {
"id": 378,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 377,
"indexed": false,
"mutability": "mutable",
"name": "version",
"nameLocation": "2827:7:4",
"nodeType": "VariableDeclaration",
"scope": 379,
"src": "2821:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 376,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "2821:5:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"src": "2820:15:4"
},
"src": "2803:33:4"
},
{
"body": {
"id": 434,
"nodeType": "Block",
"src": "3269:483:4",
"statements": [
{
"assignments": [
383
],
"declarations": [
{
"constant": false,
"id": 383,
"mutability": "mutable",
"name": "isTopLevelCall",
"nameLocation": "3284:14:4",
"nodeType": "VariableDeclaration",
"scope": 434,
"src": "3279:19:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 382,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "3279:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"id": 386,
"initialValue": {
"id": 385,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "!",
"prefix": true,
"src": "3301:14:4",
"subExpression": {
"id": 384,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "3302:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "3279:36:4"
},
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 407,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"components": [
{
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 392,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 388,
"name": "isTopLevelCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 383,
"src": "3347:14:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "&&",
"rightExpression": {
"commonType": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"id": 391,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 389,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "3365:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"hexValue": "31",
"id": 390,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3380:1:4",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "3365:16:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "3347:34:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
}
],
"id": 393,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "3346:36:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "||",
"rightExpression": {
"components": [
{
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 405,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 401,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "!",
"prefix": true,
"src": "3387:45:4",
"subExpression": {
"arguments": [
{
"arguments": [
{
"id": 398,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "3426:4:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Initializable_$533",
"typeString": "contract Initializable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_Initializable_$533",
"typeString": "contract Initializable"
}
],
"id": 397,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "3418:7:4",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 396,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3418:7:4",
"typeDescriptions": {}
}
},
"id": 399,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3418:13:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"expression": {
"id": 394,
"name": "AddressUpgradeable",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 999,
"src": "3388:18:4",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$999_$",
"typeString": "type(library AddressUpgradeable)"
}
},
"id": 395,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "3407:10:4",
"memberName": "isContract",
"nodeType": "MemberAccess",
"referencedDeclaration": 687,
"src": "3388:29:4",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
"typeString": "function (address) view returns (bool)"
}
},
"id": 400,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3388:44:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "&&",
"rightExpression": {
"commonType": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"id": 404,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 402,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "3436:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"hexValue": "31",
"id": 403,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3452:1:4",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "3436:17:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "3387:66:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
}
],
"id": 406,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "3386:68:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "3346:108:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564",
"id": 408,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3468:48:4",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759",
"typeString": "literal_string \"Initializable: contract is already initialized\""
},
"value": "Initializable: contract is already initialized"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759",
"typeString": "literal_string \"Initializable: contract is already initialized\""
}
],
"id": 387,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "3325:7:4",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 409,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3325:201:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 410,
"nodeType": "ExpressionStatement",
"src": "3325:201:4"
},
{
"expression": {
"id": 413,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 411,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "3536:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "31",
"id": 412,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3551:1:4",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "3536:16:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"id": 414,
"nodeType": "ExpressionStatement",
"src": "3536:16:4"
},
{
"condition": {
"id": 415,
"name": "isTopLevelCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 383,
"src": "3566:14:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 421,
"nodeType": "IfStatement",
"src": "3562:65:4",
"trueBody": {
"id": 420,
"nodeType": "Block",
"src": "3582:45:4",
"statements": [
{
"expression": {
"id": 418,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 416,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "3596:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "74727565",
"id": 417,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3612:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "3596:20:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 419,
"nodeType": "ExpressionStatement",
"src": "3596:20:4"
}
]
}
},
{
"id": 422,
"nodeType": "PlaceholderStatement",
"src": "3636:1:4"
},
{
"condition": {
"id": 423,
"name": "isTopLevelCall",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 383,
"src": "3651:14:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 433,
"nodeType": "IfStatement",
"src": "3647:99:4",
"trueBody": {
"id": 432,
"nodeType": "Block",
"src": "3667:79:4",
"statements": [
{
"expression": {
"id": 426,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 424,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "3681:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "66616c7365",
"id": 425,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3697:5:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "3681:21:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 427,
"nodeType": "ExpressionStatement",
"src": "3681:21:4"
},
{
"eventCall": {
"arguments": [
{
"hexValue": "31",
"id": 429,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3733:1:4",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
}
],
"id": 428,
"name": "Initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 379,
"src": "3721:11:4",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$",
"typeString": "function (uint8)"
}
},
"id": 430,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3721:14:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 431,
"nodeType": "EmitStatement",
"src": "3716:19:4"
}
]
}
}
]
},
"documentation": {
"id": 380,
"nodeType": "StructuredDocumentation",
"src": "2842:399:4",
"text": " @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n `onlyInitializing` functions can be used to initialize parent contracts.\n Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n constructor.\n Emits an {Initialized} event."
},
"id": 435,
"name": "initializer",
"nameLocation": "3255:11:4",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 381,
"nodeType": "ParameterList",
"parameters": [],
"src": "3266:2:4"
},
"src": "3246:506:4",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 467,
"nodeType": "Block",
"src": "4863:255:4",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 446,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 442,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "!",
"prefix": true,
"src": "4881:14:4",
"subExpression": {
"id": 441,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "4882:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "&&",
"rightExpression": {
"commonType": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"id": 445,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 443,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "4899:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"id": 444,
"name": "version",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 438,
"src": "4914:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"src": "4899:22:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "4881:40:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564",
"id": 447,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4923:48:4",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759",
"typeString": "literal_string \"Initializable: contract is already initialized\""
},
"value": "Initializable: contract is already initialized"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759",
"typeString": "literal_string \"Initializable: contract is already initialized\""
}
],
"id": 440,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "4873:7:4",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 448,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4873:99:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 449,
"nodeType": "ExpressionStatement",
"src": "4873:99:4"
},
{
"expression": {
"id": 452,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 450,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "4982:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 451,
"name": "version",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 438,
"src": "4997:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"src": "4982:22:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"id": 453,
"nodeType": "ExpressionStatement",
"src": "4982:22:4"
},
{
"expression": {
"id": 456,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 454,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "5014:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "74727565",
"id": 455,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5030:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "5014:20:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 457,
"nodeType": "ExpressionStatement",
"src": "5014:20:4"
},
{
"id": 458,
"nodeType": "PlaceholderStatement",
"src": "5044:1:4"
},
{
"expression": {
"id": 461,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 459,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "5055:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "66616c7365",
"id": 460,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5071:5:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "5055:21:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 462,
"nodeType": "ExpressionStatement",
"src": "5055:21:4"
},
{
"eventCall": {
"arguments": [
{
"id": 464,
"name": "version",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 438,
"src": "5103:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
],
"id": 463,
"name": "Initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 379,
"src": "5091:11:4",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$",
"typeString": "function (uint8)"
}
},
"id": 465,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5091:20:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 466,
"nodeType": "EmitStatement",
"src": "5086:25:4"
}
]
},
"documentation": {
"id": 436,
"nodeType": "StructuredDocumentation",
"src": "3758:1062:4",
"text": " @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n used to initialize parent contracts.\n A reinitializer may be used after the original initialization step. This is essential to configure modules that\n are added through upgrades and that require initialization.\n When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n cannot be nested. If one is invoked in the context of another, execution will revert.\n Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n a contract, executing them in the right order is up to the developer or operator.\n WARNING: setting the version to 255 will prevent any future reinitialization.\n Emits an {Initialized} event."
},
"id": 468,
"name": "reinitializer",
"nameLocation": "4834:13:4",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 439,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 438,
"mutability": "mutable",
"name": "version",
"nameLocation": "4854:7:4",
"nodeType": "VariableDeclaration",
"scope": 468,
"src": "4848:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 437,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "4848:5:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"src": "4847:15:4"
},
"src": "4825:293:4",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 477,
"nodeType": "Block",
"src": "5356:97:4",
"statements": [
{
"expression": {
"arguments": [
{
"id": 472,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "5374:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67",
"id": 473,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5389:45:4",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b",
"typeString": "literal_string \"Initializable: contract is not initializing\""
},
"value": "Initializable: contract is not initializing"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b",
"typeString": "literal_string \"Initializable: contract is not initializing\""
}
],
"id": 471,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "5366:7:4",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 474,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5366:69:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 475,
"nodeType": "ExpressionStatement",
"src": "5366:69:4"
},
{
"id": 476,
"nodeType": "PlaceholderStatement",
"src": "5445:1:4"
}
]
},
"documentation": {
"id": 469,
"nodeType": "StructuredDocumentation",
"src": "5124:199:4",
"text": " @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n {initializer} and {reinitializer} modifiers, directly or indirectly."
},
"id": 478,
"name": "onlyInitializing",
"nameLocation": "5337:16:4",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 470,
"nodeType": "ParameterList",
"parameters": [],
"src": "5353:2:4"
},
"src": "5328:125:4",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 513,
"nodeType": "Block",
"src": "5988:231:4",
"statements": [
{
"expression": {
"arguments": [
{
"id": 484,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "!",
"prefix": true,
"src": "6006:14:4",
"subExpression": {
"id": 483,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "6007:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67",
"id": 485,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "6022:41:4",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a",
"typeString": "literal_string \"Initializable: contract is initializing\""
},
"value": "Initializable: contract is initializing"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a",
"typeString": "literal_string \"Initializable: contract is initializing\""
}
],
"id": 482,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "5998:7:4",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 486,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5998:66:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 487,
"nodeType": "ExpressionStatement",
"src": "5998:66:4"
},
{
"condition": {
"commonType": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"id": 494,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 488,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "6078:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"expression": {
"arguments": [
{
"id": 491,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "6099:5:4",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
},
"typeName": {
"id": 490,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "6099:5:4",
"typeDescriptions": {}
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
}
],
"id": 489,
"name": "type",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967269,
"src": "6094:4:4",
"typeDescriptions": {
"typeIdentifier": "t_function_metatype_pure$__$returns$__$",
"typeString": "function () pure"
}
},
"id": 492,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6094:11:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_magic_meta_type_t_uint8",
"typeString": "type(uint8)"
}
},
"id": 493,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"memberLocation": "6106:3:4",
"memberName": "max",
"nodeType": "MemberAccess",
"src": "6094:15:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"src": "6078:31:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 512,
"nodeType": "IfStatement",
"src": "6074:139:4",
"trueBody": {
"id": 511,
"nodeType": "Block",
"src": "6111:102:4",
"statements": [
{
"expression": {
"id": 501,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 495,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "6125:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"expression": {
"arguments": [
{
"id": 498,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "6145:5:4",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
},
"typeName": {
"id": 497,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "6145:5:4",
"typeDescriptions": {}
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
}
],
"id": 496,
"name": "type",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967269,
"src": "6140:4:4",
"typeDescriptions": {
"typeIdentifier": "t_function_metatype_pure$__$returns$__$",
"typeString": "function () pure"
}
},
"id": 499,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6140:11:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_magic_meta_type_t_uint8",
"typeString": "type(uint8)"
}
},
"id": 500,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"memberLocation": "6152:3:4",
"memberName": "max",
"nodeType": "MemberAccess",
"src": "6140:15:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"src": "6125:30:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"id": 502,
"nodeType": "ExpressionStatement",
"src": "6125:30:4"
},
{
"eventCall": {
"arguments": [
{
"expression": {
"arguments": [
{
"id": 506,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "6191:5:4",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
},
"typeName": {
"id": 505,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "6191:5:4",
"typeDescriptions": {}
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_type$_t_uint8_$",
"typeString": "type(uint8)"
}
],
"id": 504,
"name": "type",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967269,
"src": "6186:4:4",
"typeDescriptions": {
"typeIdentifier": "t_function_metatype_pure$__$returns$__$",
"typeString": "function () pure"
}
},
"id": 507,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6186:11:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_magic_meta_type_t_uint8",
"typeString": "type(uint8)"
}
},
"id": 508,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"memberLocation": "6198:3:4",
"memberName": "max",
"nodeType": "MemberAccess",
"src": "6186:15:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
],
"id": 503,
"name": "Initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 379,
"src": "6174:11:4",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$",
"typeString": "function (uint8)"
}
},
"id": 509,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6174:28:4",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 510,
"nodeType": "EmitStatement",
"src": "6169:33:4"
}
]
}
}
]
},
"documentation": {
"id": 479,
"nodeType": "StructuredDocumentation",
"src": "5459:475:4",
"text": " @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n through proxies.\n Emits an {Initialized} event the first time it is successfully executed."
},
"id": 514,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_disableInitializers",
"nameLocation": "5948:20:4",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 480,
"nodeType": "ParameterList",
"parameters": [],
"src": "5968:2:4"
},
"returnParameters": {
"id": 481,
"nodeType": "ParameterList",
"parameters": [],
"src": "5988:0:4"
},
"scope": 533,
"src": "5939:280:4",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "internal"
},
{
"body": {
"id": 522,
"nodeType": "Block",
"src": "6393:36:4",
"statements": [
{
"expression": {
"id": 520,
"name": "_initialized",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 371,
"src": "6410:12:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"functionReturnParameters": 519,
"id": 521,
"nodeType": "Return",
"src": "6403:19:4"
}
]
},
"documentation": {
"id": 515,
"nodeType": "StructuredDocumentation",
"src": "6225:99:4",
"text": " @dev Returns the highest version that has been initialized. See {reinitializer}."
},
"id": 523,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_getInitializedVersion",
"nameLocation": "6338:22:4",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 516,
"nodeType": "ParameterList",
"parameters": [],
"src": "6360:2:4"
},
"returnParameters": {
"id": 519,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 518,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 523,
"src": "6386:5:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 517,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "6386:5:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"src": "6385:7:4"
},
"scope": 533,
"src": "6329:100:4",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 531,
"nodeType": "Block",
"src": "6601:37:4",
"statements": [
{
"expression": {
"id": 529,
"name": "_initializing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 374,
"src": "6618:13:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"functionReturnParameters": 528,
"id": 530,
"nodeType": "Return",
"src": "6611:20:4"
}
]
},
"documentation": {
"id": 524,
"nodeType": "StructuredDocumentation",
"src": "6435:105:4",
"text": " @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}."
},
"id": 532,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_isInitializing",
"nameLocation": "6554:15:4",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 525,
"nodeType": "ParameterList",
"parameters": [],
"src": "6569:2:4"
},
"returnParameters": {
"id": 528,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 527,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 532,
"src": "6595:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 526,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "6595:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "6594:6:4"
},
"scope": 533,
"src": "6545:93:4",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
}
],
"scope": 534,
"src": "2394:4246:4",
"usedErrors": []
}
],
"src": "113:6528:4"
},
"id": 4
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol",
"exportedSymbols": {
"AddressUpgradeable": [
999
],
"ERC1967UpgradeUpgradeable": [
354
],
"IBeaconUpgradeable": [
364
],
"IERC1822ProxiableUpgradeable": [
30
],
"IERC1967Upgradeable": [
20
],
"Initializable": [
533
],
"StorageSlotUpgradeable": [
1109
],
"UUPSUpgradeable": [
669
]
},
"id": 670,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 535,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "115:23:5"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol",
"file": "../../interfaces/draft-IERC1822Upgradeable.sol",
"id": 536,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 670,
"sourceUnit": 31,
"src": "140:56:5",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol",
"file": "../ERC1967/ERC1967UpgradeUpgradeable.sol",
"id": 537,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 670,
"sourceUnit": 355,
"src": "197:50:5",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
"file": "./Initializable.sol",
"id": 538,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 670,
"sourceUnit": 534,
"src": "248:29:5",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 540,
"name": "Initializable",
"nameLocations": [
"965:13:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 533,
"src": "965:13:5"
},
"id": 541,
"nodeType": "InheritanceSpecifier",
"src": "965:13:5"
},
{
"baseName": {
"id": 542,
"name": "IERC1822ProxiableUpgradeable",
"nameLocations": [
"980:28:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 30,
"src": "980:28:5"
},
"id": 543,
"nodeType": "InheritanceSpecifier",
"src": "980:28:5"
},
{
"baseName": {
"id": 544,
"name": "ERC1967UpgradeUpgradeable",
"nameLocations": [
"1010:25:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 354,
"src": "1010:25:5"
},
"id": 545,
"nodeType": "InheritanceSpecifier",
"src": "1010:25:5"
}
],
"canonicalName": "UUPSUpgradeable",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 539,
"nodeType": "StructuredDocumentation",
"src": "279:648:5",
"text": " @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n `UUPSUpgradeable` with a custom implementation of upgrades.\n The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n _Available since v4.1._"
},
"fullyImplemented": false,
"id": 669,
"linearizedBaseContracts": [
669,
354,
20,
30,
533
],
"name": "UUPSUpgradeable",
"nameLocation": "946:15:5",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 550,
"nodeType": "Block",
"src": "1102:7:5",
"statements": []
},
"id": 551,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 548,
"kind": "modifierInvocation",
"modifierName": {
"id": 547,
"name": "onlyInitializing",
"nameLocations": [
"1085:16:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 478,
"src": "1085:16:5"
},
"nodeType": "ModifierInvocation",
"src": "1085:16:5"
}
],
"name": "__UUPSUpgradeable_init",
"nameLocation": "1051:22:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 546,
"nodeType": "ParameterList",
"parameters": [],
"src": "1073:2:5"
},
"returnParameters": {
"id": 549,
"nodeType": "ParameterList",
"parameters": [],
"src": "1102:0:5"
},
"scope": 669,
"src": "1042:67:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 556,
"nodeType": "Block",
"src": "1185:7:5",
"statements": []
},
"id": 557,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 554,
"kind": "modifierInvocation",
"modifierName": {
"id": 553,
"name": "onlyInitializing",
"nameLocations": [
"1168:16:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 478,
"src": "1168:16:5"
},
"nodeType": "ModifierInvocation",
"src": "1168:16:5"
}
],
"name": "__UUPSUpgradeable_init_unchained",
"nameLocation": "1124:32:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 552,
"nodeType": "ParameterList",
"parameters": [],
"src": "1156:2:5"
},
"returnParameters": {
"id": 555,
"nodeType": "ParameterList",
"parameters": [],
"src": "1185:0:5"
},
"scope": 669,
"src": "1115:77:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"constant": false,
"documentation": {
"id": 558,
"nodeType": "StructuredDocumentation",
"src": "1197:87:5",
"text": "@custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment"
},
"id": 564,
"mutability": "immutable",
"name": "__self",
"nameLocation": "1315:6:5",
"nodeType": "VariableDeclaration",
"scope": 669,
"src": "1289:48:5",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 559,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1289:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": {
"arguments": [
{
"id": 562,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "1332:4:5",
"typeDescriptions": {
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
],
"id": 561,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1324:7:5",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 560,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1324:7:5",
"typeDescriptions": {}
}
},
"id": 563,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1324:13:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "private"
},
{
"body": {
"id": 586,
"nodeType": "Block",
"src": "1863:205:5",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 573,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"arguments": [
{
"id": 570,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "1889:4:5",
"typeDescriptions": {
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
],
"id": 569,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1881:7:5",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 568,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1881:7:5",
"typeDescriptions": {}
}
},
"id": 571,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1881:13:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"id": 572,
"name": "__self",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 564,
"src": "1898:6:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1881:23:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682064656c656761746563616c6c",
"id": 574,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1906:46:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_36e108fa7a809b52ab1951dd91c117a7bc9ac5250bdf1aa162d4e104f7edf9eb",
"typeString": "literal_string \"Function must be called through delegatecall\""
},
"value": "Function must be called through delegatecall"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_36e108fa7a809b52ab1951dd91c117a7bc9ac5250bdf1aa162d4e104f7edf9eb",
"typeString": "literal_string \"Function must be called through delegatecall\""
}
],
"id": 567,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1873:7:5",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 575,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1873:80:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 576,
"nodeType": "ExpressionStatement",
"src": "1873:80:5"
},
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 581,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 578,
"name": "_getImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 75,
"src": "1971:18:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
"typeString": "function () view returns (address)"
}
},
"id": 579,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1971:20:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"id": 580,
"name": "__self",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 564,
"src": "1995:6:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1971:30:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "46756e6374696f6e206d7573742062652063616c6c6564207468726f756768206163746976652070726f7879",
"id": 582,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2003:46:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_52f1ead4d9653e13afbd2e90ef2587c30187cd50b2e97d784e3f7a7541247434",
"typeString": "literal_string \"Function must be called through active proxy\""
},
"value": "Function must be called through active proxy"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_52f1ead4d9653e13afbd2e90ef2587c30187cd50b2e97d784e3f7a7541247434",
"typeString": "literal_string \"Function must be called through active proxy\""
}
],
"id": 577,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1963:7:5",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 583,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1963:87:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 584,
"nodeType": "ExpressionStatement",
"src": "1963:87:5"
},
{
"id": 585,
"nodeType": "PlaceholderStatement",
"src": "2060:1:5"
}
]
},
"documentation": {
"id": 565,
"nodeType": "StructuredDocumentation",
"src": "1344:493:5",
"text": " @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n fail."
},
"id": 587,
"name": "onlyProxy",
"nameLocation": "1851:9:5",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 566,
"nodeType": "ParameterList",
"parameters": [],
"src": "1860:2:5"
},
"src": "1842:226:5",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 601,
"nodeType": "Block",
"src": "2298:120:5",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 596,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"arguments": [
{
"id": 593,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "2324:4:5",
"typeDescriptions": {
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_UUPSUpgradeable_$669",
"typeString": "contract UUPSUpgradeable"
}
],
"id": 592,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2316:7:5",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 591,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2316:7:5",
"typeDescriptions": {}
}
},
"id": 594,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2316:13:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"id": 595,
"name": "__self",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 564,
"src": "2333:6:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "2316:23:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "555550535570677261646561626c653a206d757374206e6f742062652063616c6c6564207468726f7567682064656c656761746563616c6c",
"id": 597,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2341:58:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_67f0151b4ad1dcfa0e3302a0cd6019f51582ef1807b37dceb00bd852a514f7f4",
"typeString": "literal_string \"UUPSUpgradeable: must not be called through delegatecall\""
},
"value": "UUPSUpgradeable: must not be called through delegatecall"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_67f0151b4ad1dcfa0e3302a0cd6019f51582ef1807b37dceb00bd852a514f7f4",
"typeString": "literal_string \"UUPSUpgradeable: must not be called through delegatecall\""
}
],
"id": 590,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "2308:7:5",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 598,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2308:92:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 599,
"nodeType": "ExpressionStatement",
"src": "2308:92:5"
},
{
"id": 600,
"nodeType": "PlaceholderStatement",
"src": "2410:1:5"
}
]
},
"documentation": {
"id": 588,
"nodeType": "StructuredDocumentation",
"src": "2074:195:5",
"text": " @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n callable on the implementing contract but not through proxies."
},
"id": 602,
"name": "notDelegated",
"nameLocation": "2283:12:5",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 589,
"nodeType": "ParameterList",
"parameters": [],
"src": "2295:2:5"
},
"src": "2274:144:5",
"virtual": false,
"visibility": "internal"
},
{
"baseFunctions": [
29
],
"body": {
"id": 613,
"nodeType": "Block",
"src": "3093:44:5",
"statements": [
{
"expression": {
"id": 611,
"name": "_IMPLEMENTATION_SLOT",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 62,
"src": "3110:20:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"functionReturnParameters": 610,
"id": 612,
"nodeType": "Return",
"src": "3103:27:5"
}
]
},
"documentation": {
"id": 603,
"nodeType": "StructuredDocumentation",
"src": "2424:577:5",
"text": " @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."
},
"functionSelector": "52d1902d",
"id": 614,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 607,
"kind": "modifierInvocation",
"modifierName": {
"id": 606,
"name": "notDelegated",
"nameLocations": [
"3062:12:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 602,
"src": "3062:12:5"
},
"nodeType": "ModifierInvocation",
"src": "3062:12:5"
}
],
"name": "proxiableUUID",
"nameLocation": "3015:13:5",
"nodeType": "FunctionDefinition",
"overrides": {
"id": 605,
"nodeType": "OverrideSpecifier",
"overrides": [],
"src": "3053:8:5"
},
"parameters": {
"id": 604,
"nodeType": "ParameterList",
"parameters": [],
"src": "3028:2:5"
},
"returnParameters": {
"id": 610,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 609,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 614,
"src": "3084:7:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 608,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3084:7:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "3083:9:5"
},
"scope": 669,
"src": "3006:131:5",
"stateMutability": "view",
"virtual": true,
"visibility": "external"
},
{
"body": {
"id": 635,
"nodeType": "Block",
"src": "3458:124:5",
"statements": [
{
"expression": {
"arguments": [
{
"id": 623,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 617,
"src": "3486:17:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 622,
"name": "_authorizeUpgrade",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 663,
"src": "3468:17:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 624,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3468:36:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 625,
"nodeType": "ExpressionStatement",
"src": "3468:36:5"
},
{
"expression": {
"arguments": [
{
"id": 627,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 617,
"src": "3536:17:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"arguments": [
{
"hexValue": "30",
"id": 630,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3565:1:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
}
],
"id": 629,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "NewExpression",
"src": "3555:9:5",
"typeDescriptions": {
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (uint256) pure returns (bytes memory)"
},
"typeName": {
"id": 628,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3559:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
}
},
"id": 631,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3555:12:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "66616c7365",
"id": 632,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3569:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
}
],
"id": 626,
"name": "_upgradeToAndCallUUPS",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 197,
"src": "3514:21:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$",
"typeString": "function (address,bytes memory,bool)"
}
},
"id": 633,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3514:61:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 634,
"nodeType": "ExpressionStatement",
"src": "3514:61:5"
}
]
},
"documentation": {
"id": 615,
"nodeType": "StructuredDocumentation",
"src": "3143:239:5",
"text": " @dev Upgrade the implementation of the proxy to `newImplementation`.\n Calls {_authorizeUpgrade}.\n Emits an {Upgraded} event.\n @custom:oz-upgrades-unsafe-allow-reachable delegatecall"
},
"functionSelector": "3659cfe6",
"id": 636,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 620,
"kind": "modifierInvocation",
"modifierName": {
"id": 619,
"name": "onlyProxy",
"nameLocations": [
"3448:9:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 587,
"src": "3448:9:5"
},
"nodeType": "ModifierInvocation",
"src": "3448:9:5"
}
],
"name": "upgradeTo",
"nameLocation": "3396:9:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 618,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 617,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "3414:17:5",
"nodeType": "VariableDeclaration",
"scope": 636,
"src": "3406:25:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 616,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3406:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "3405:27:5"
},
"returnParameters": {
"id": 621,
"nodeType": "ParameterList",
"parameters": [],
"src": "3458:0:5"
},
"scope": 669,
"src": "3387:195:5",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "public"
},
{
"body": {
"id": 656,
"nodeType": "Block",
"src": "4006:115:5",
"statements": [
{
"expression": {
"arguments": [
{
"id": 647,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 639,
"src": "4034:17:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 646,
"name": "_authorizeUpgrade",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 663,
"src": "4016:17:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 648,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4016:36:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 649,
"nodeType": "ExpressionStatement",
"src": "4016:36:5"
},
{
"expression": {
"arguments": [
{
"id": 651,
"name": "newImplementation",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 639,
"src": "4084:17:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 652,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 641,
"src": "4103:4:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "74727565",
"id": 653,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4109:4:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
}
],
"id": 650,
"name": "_upgradeToAndCallUUPS",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 197,
"src": "4062:21:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$",
"typeString": "function (address,bytes memory,bool)"
}
},
"id": 654,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4062:52:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 655,
"nodeType": "ExpressionStatement",
"src": "4062:52:5"
}
]
},
"documentation": {
"id": 637,
"nodeType": "StructuredDocumentation",
"src": "3588:308:5",
"text": " @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n encoded in `data`.\n Calls {_authorizeUpgrade}.\n Emits an {Upgraded} event.\n @custom:oz-upgrades-unsafe-allow-reachable delegatecall"
},
"functionSelector": "4f1ef286",
"id": 657,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 644,
"kind": "modifierInvocation",
"modifierName": {
"id": 643,
"name": "onlyProxy",
"nameLocations": [
"3996:9:5"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 587,
"src": "3996:9:5"
},
"nodeType": "ModifierInvocation",
"src": "3996:9:5"
}
],
"name": "upgradeToAndCall",
"nameLocation": "3910:16:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 642,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 639,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "3935:17:5",
"nodeType": "VariableDeclaration",
"scope": 657,
"src": "3927:25:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 638,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3927:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 641,
"mutability": "mutable",
"name": "data",
"nameLocation": "3967:4:5",
"nodeType": "VariableDeclaration",
"scope": 657,
"src": "3954:17:5",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 640,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3954:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3926:46:5"
},
"returnParameters": {
"id": 645,
"nodeType": "ParameterList",
"parameters": [],
"src": "4006:0:5"
},
"scope": 669,
"src": "3901:220:5",
"stateMutability": "payable",
"virtual": true,
"visibility": "public"
},
{
"documentation": {
"id": 658,
"nodeType": "StructuredDocumentation",
"src": "4127:397:5",
"text": " @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n {upgradeTo} and {upgradeToAndCall}.\n Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n ```solidity\n function _authorizeUpgrade(address) internal override onlyOwner {}\n ```"
},
"id": 663,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "_authorizeUpgrade",
"nameLocation": "4538:17:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 661,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 660,
"mutability": "mutable",
"name": "newImplementation",
"nameLocation": "4564:17:5",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "4556:25:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 659,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4556:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4555:27:5"
},
"returnParameters": {
"id": 662,
"nodeType": "ParameterList",
"parameters": [],
"src": "4599:0:5"
},
"scope": 669,
"src": "4529:71:5",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "internal"
},
{
"constant": false,
"documentation": {
"id": 664,
"nodeType": "StructuredDocumentation",
"src": "4606:254:5",
"text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"
},
"id": 668,
"mutability": "mutable",
"name": "__gap",
"nameLocation": "4885:5:5",
"nodeType": "VariableDeclaration",
"scope": 669,
"src": "4865:25:5",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$50_storage",
"typeString": "uint256[50]"
},
"typeName": {
"baseType": {
"id": 665,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "4865:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 667,
"length": {
"hexValue": "3530",
"id": 666,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4873:2:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_50_by_1",
"typeString": "int_const 50"
},
"value": "50"
},
"nodeType": "ArrayTypeName",
"src": "4865:11:5",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$50_storage_ptr",
"typeString": "uint256[50]"
}
},
"visibility": "private"
}
],
"scope": 670,
"src": "928:3965:5",
"usedErrors": []
}
],
"src": "115:4779:5"
},
"id": 5
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
"exportedSymbols": {
"AddressUpgradeable": [
999
]
},
"id": 1000,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 671,
"literals": [
"solidity",
"^",
"0.8",
".1"
],
"nodeType": "PragmaDirective",
"src": "101:23:6"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "AddressUpgradeable",
"contractDependencies": [],
"contractKind": "library",
"documentation": {
"id": 672,
"nodeType": "StructuredDocumentation",
"src": "126:67:6",
"text": " @dev Collection of functions related to the address type"
},
"fullyImplemented": true,
"id": 999,
"linearizedBaseContracts": [
999
],
"name": "AddressUpgradeable",
"nameLocation": "202:18:6",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 686,
"nodeType": "Block",
"src": "1489:254:6",
"statements": [
{
"expression": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 684,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"expression": {
"id": 680,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 675,
"src": "1713:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 681,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1721:4:6",
"memberName": "code",
"nodeType": "MemberAccess",
"src": "1713:12:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 682,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "1726:6:6",
"memberName": "length",
"nodeType": "MemberAccess",
"src": "1713:19:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">",
"rightExpression": {
"hexValue": "30",
"id": 683,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1735:1:6",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "1713:23:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"functionReturnParameters": 679,
"id": 685,
"nodeType": "Return",
"src": "1706:30:6"
}
]
},
"documentation": {
"id": 673,
"nodeType": "StructuredDocumentation",
"src": "227:1191:6",
"text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n Furthermore, `isContract` will also return true if the target contract within\n the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n which only has an effect at the end of a transaction.\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ===="
},
"id": 687,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "isContract",
"nameLocation": "1432:10:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 676,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 675,
"mutability": "mutable",
"name": "account",
"nameLocation": "1451:7:6",
"nodeType": "VariableDeclaration",
"scope": 687,
"src": "1443:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 674,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1443:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1442:17:6"
},
"returnParameters": {
"id": 679,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 678,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 687,
"src": "1483:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 677,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1483:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1482:6:6"
},
"scope": 999,
"src": "1423:320:6",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 720,
"nodeType": "Block",
"src": "2729:241:6",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 702,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"arguments": [
{
"id": 698,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "2755:4:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_AddressUpgradeable_$999",
"typeString": "library AddressUpgradeable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_AddressUpgradeable_$999",
"typeString": "library AddressUpgradeable"
}
],
"id": 697,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2747:7:6",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 696,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2747:7:6",
"typeDescriptions": {}
}
},
"id": 699,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2747:13:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 700,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "2761:7:6",
"memberName": "balance",
"nodeType": "MemberAccess",
"src": "2747:21:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">=",
"rightExpression": {
"id": 701,
"name": "amount",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 692,
"src": "2772:6:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "2747:31:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365",
"id": 703,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2780:31:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9",
"typeString": "literal_string \"Address: insufficient balance\""
},
"value": "Address: insufficient balance"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9",
"typeString": "literal_string \"Address: insufficient balance\""
}
],
"id": 695,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "2739:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 704,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2739:73:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 705,
"nodeType": "ExpressionStatement",
"src": "2739:73:6"
},
{
"assignments": [
707,
null
],
"declarations": [
{
"constant": false,
"id": 707,
"mutability": "mutable",
"name": "success",
"nameLocation": "2829:7:6",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "2824:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 706,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2824:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
null
],
"id": 714,
"initialValue": {
"arguments": [
{
"hexValue": "",
"id": 712,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2872:2:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
},
"value": ""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"id": 708,
"name": "recipient",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 690,
"src": "2842:9:6",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"id": 709,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "2852:4:6",
"memberName": "call",
"nodeType": "MemberAccess",
"src": "2842:14:6",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 711,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"names": [
"value"
],
"nodeType": "FunctionCallOptions",
"options": [
{
"id": 710,
"name": "amount",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 692,
"src": "2864:6:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"src": "2842:29:6",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 713,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2842:33:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2823:52:6"
},
{
"expression": {
"arguments": [
{
"id": 716,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 707,
"src": "2893:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564",
"id": 717,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2902:60:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae",
"typeString": "literal_string \"Address: unable to send value, recipient may have reverted\""
},
"value": "Address: unable to send value, recipient may have reverted"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae",
"typeString": "literal_string \"Address: unable to send value, recipient may have reverted\""
}
],
"id": 715,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "2885:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 718,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2885:78:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 719,
"nodeType": "ExpressionStatement",
"src": "2885:78:6"
}
]
},
"documentation": {
"id": 688,
"nodeType": "StructuredDocumentation",
"src": "1749:904:6",
"text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."
},
"id": 721,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "sendValue",
"nameLocation": "2667:9:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 693,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 690,
"mutability": "mutable",
"name": "recipient",
"nameLocation": "2693:9:6",
"nodeType": "VariableDeclaration",
"scope": 721,
"src": "2677:25:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
},
"typeName": {
"id": 689,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2677:15:6",
"stateMutability": "payable",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 692,
"mutability": "mutable",
"name": "amount",
"nameLocation": "2712:6:6",
"nodeType": "VariableDeclaration",
"scope": 721,
"src": "2704:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 691,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2704:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "2676:43:6"
},
"returnParameters": {
"id": 694,
"nodeType": "ParameterList",
"parameters": [],
"src": "2729:0:6"
},
"scope": 999,
"src": "2658:312:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 738,
"nodeType": "Block",
"src": "3801:96:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 732,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 724,
"src": "3840:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 733,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 726,
"src": "3848:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "30",
"id": 734,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3854:1:6",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
{
"hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564",
"id": 735,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3857:32:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df",
"typeString": "literal_string \"Address: low-level call failed\""
},
"value": "Address: low-level call failed"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
{
"typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df",
"typeString": "literal_string \"Address: low-level call failed\""
}
],
"id": 731,
"name": "functionCallWithValue",
"nodeType": "Identifier",
"overloadedDeclarations": [
779,
823
],
"referencedDeclaration": 823,
"src": "3818:21:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)"
}
},
"id": 736,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "3818:72:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 730,
"id": 737,
"nodeType": "Return",
"src": "3811:79:6"
}
]
},
"documentation": {
"id": 722,
"nodeType": "StructuredDocumentation",
"src": "2976:731:6",
"text": " @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._"
},
"id": 739,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionCall",
"nameLocation": "3721:12:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 727,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 724,
"mutability": "mutable",
"name": "target",
"nameLocation": "3742:6:6",
"nodeType": "VariableDeclaration",
"scope": 739,
"src": "3734:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 723,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3734:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 726,
"mutability": "mutable",
"name": "data",
"nameLocation": "3763:4:6",
"nodeType": "VariableDeclaration",
"scope": 739,
"src": "3750:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 725,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3750:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3733:35:6"
},
"returnParameters": {
"id": 730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 729,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 739,
"src": "3787:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 728,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3787:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3786:14:6"
},
"scope": 999,
"src": "3712:185:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 758,
"nodeType": "Block",
"src": "4266:76:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 752,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 742,
"src": "4305:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 753,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 744,
"src": "4313:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "30",
"id": 754,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4319:1:6",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
{
"id": 755,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 746,
"src": "4322:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 751,
"name": "functionCallWithValue",
"nodeType": "Identifier",
"overloadedDeclarations": [
779,
823
],
"referencedDeclaration": 823,
"src": "4283:21:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)"
}
},
"id": 756,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4283:52:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 750,
"id": 757,
"nodeType": "Return",
"src": "4276:59:6"
}
]
},
"documentation": {
"id": 740,
"nodeType": "StructuredDocumentation",
"src": "3903:211:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"
},
"id": 759,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionCall",
"nameLocation": "4128:12:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 747,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 742,
"mutability": "mutable",
"name": "target",
"nameLocation": "4158:6:6",
"nodeType": "VariableDeclaration",
"scope": 759,
"src": "4150:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 741,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4150:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 744,
"mutability": "mutable",
"name": "data",
"nameLocation": "4187:4:6",
"nodeType": "VariableDeclaration",
"scope": 759,
"src": "4174:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 743,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "4174:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 746,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "4215:12:6",
"nodeType": "VariableDeclaration",
"scope": 759,
"src": "4201:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 745,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "4201:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "4140:93:6"
},
"returnParameters": {
"id": 750,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 749,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 759,
"src": "4252:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 748,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "4252:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "4251:14:6"
},
"scope": 999,
"src": "4119:223:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 778,
"nodeType": "Block",
"src": "4817:111:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 772,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 762,
"src": "4856:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 773,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 764,
"src": "4864:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 774,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 766,
"src": "4870:5:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564",
"id": 775,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "4877:43:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc",
"typeString": "literal_string \"Address: low-level call with value failed\""
},
"value": "Address: low-level call with value failed"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc",
"typeString": "literal_string \"Address: low-level call with value failed\""
}
],
"id": 771,
"name": "functionCallWithValue",
"nodeType": "Identifier",
"overloadedDeclarations": [
779,
823
],
"referencedDeclaration": 823,
"src": "4834:21:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)"
}
},
"id": 776,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "4834:87:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 770,
"id": 777,
"nodeType": "Return",
"src": "4827:94:6"
}
]
},
"documentation": {
"id": 760,
"nodeType": "StructuredDocumentation",
"src": "4348:351:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._"
},
"id": 779,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionCallWithValue",
"nameLocation": "4713:21:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 767,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 762,
"mutability": "mutable",
"name": "target",
"nameLocation": "4743:6:6",
"nodeType": "VariableDeclaration",
"scope": 779,
"src": "4735:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 761,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4735:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 764,
"mutability": "mutable",
"name": "data",
"nameLocation": "4764:4:6",
"nodeType": "VariableDeclaration",
"scope": 779,
"src": "4751:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 763,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "4751:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 766,
"mutability": "mutable",
"name": "value",
"nameLocation": "4778:5:6",
"nodeType": "VariableDeclaration",
"scope": 779,
"src": "4770:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 765,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "4770:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "4734:50:6"
},
"returnParameters": {
"id": 770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 769,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 779,
"src": "4803:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 768,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "4803:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "4802:14:6"
},
"scope": 999,
"src": "4704:224:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 822,
"nodeType": "Block",
"src": "5355:267:6",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 800,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"arguments": [
{
"id": 796,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "5381:4:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_AddressUpgradeable_$999",
"typeString": "library AddressUpgradeable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_AddressUpgradeable_$999",
"typeString": "library AddressUpgradeable"
}
],
"id": 795,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "5373:7:6",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 794,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "5373:7:6",
"typeDescriptions": {}
}
},
"id": 797,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5373:13:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 798,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5387:7:6",
"memberName": "balance",
"nodeType": "MemberAccess",
"src": "5373:21:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">=",
"rightExpression": {
"id": 799,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 786,
"src": "5398:5:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "5373:30:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c",
"id": 801,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5405:40:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c",
"typeString": "literal_string \"Address: insufficient balance for call\""
},
"value": "Address: insufficient balance for call"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c",
"typeString": "literal_string \"Address: insufficient balance for call\""
}
],
"id": 793,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "5365:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 802,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5365:81:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 803,
"nodeType": "ExpressionStatement",
"src": "5365:81:6"
},
{
"assignments": [
805,
807
],
"declarations": [
{
"constant": false,
"id": 805,
"mutability": "mutable",
"name": "success",
"nameLocation": "5462:7:6",
"nodeType": "VariableDeclaration",
"scope": 822,
"src": "5457:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 804,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "5457:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 807,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "5484:10:6",
"nodeType": "VariableDeclaration",
"scope": 822,
"src": "5471:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 806,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "5471:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"id": 814,
"initialValue": {
"arguments": [
{
"id": 812,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 784,
"src": "5524:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"id": 808,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 782,
"src": "5498:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 809,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "5505:4:6",
"memberName": "call",
"nodeType": "MemberAccess",
"src": "5498:11:6",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 811,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"names": [
"value"
],
"nodeType": "FunctionCallOptions",
"options": [
{
"id": 810,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 786,
"src": "5517:5:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"src": "5498:25:6",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 813,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5498:31:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "5456:73:6"
},
{
"expression": {
"arguments": [
{
"id": 816,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 782,
"src": "5573:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 817,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 805,
"src": "5581:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"id": 818,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 807,
"src": "5590:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 819,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 788,
"src": "5602:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 815,
"name": "verifyCallResultFromTarget",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 954,
"src": "5546:26:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)"
}
},
"id": 820,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5546:69:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 792,
"id": 821,
"nodeType": "Return",
"src": "5539:76:6"
}
]
},
"documentation": {
"id": 780,
"nodeType": "StructuredDocumentation",
"src": "4934:237:6",
"text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"
},
"id": 823,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionCallWithValue",
"nameLocation": "5185:21:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 789,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 782,
"mutability": "mutable",
"name": "target",
"nameLocation": "5224:6:6",
"nodeType": "VariableDeclaration",
"scope": 823,
"src": "5216:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 781,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "5216:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 784,
"mutability": "mutable",
"name": "data",
"nameLocation": "5253:4:6",
"nodeType": "VariableDeclaration",
"scope": 823,
"src": "5240:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 783,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "5240:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 786,
"mutability": "mutable",
"name": "value",
"nameLocation": "5275:5:6",
"nodeType": "VariableDeclaration",
"scope": 823,
"src": "5267:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 785,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "5267:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 788,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "5304:12:6",
"nodeType": "VariableDeclaration",
"scope": 823,
"src": "5290:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 787,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "5290:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "5206:116:6"
},
"returnParameters": {
"id": 792,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 791,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 823,
"src": "5341:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 790,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "5341:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "5340:14:6"
},
"scope": 999,
"src": "5176:446:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 839,
"nodeType": "Block",
"src": "5899:97:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 834,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 826,
"src": "5935:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 835,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 828,
"src": "5943:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564",
"id": 836,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "5949:39:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0",
"typeString": "literal_string \"Address: low-level static call failed\""
},
"value": "Address: low-level static call failed"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0",
"typeString": "literal_string \"Address: low-level static call failed\""
}
],
"id": 833,
"name": "functionStaticCall",
"nodeType": "Identifier",
"overloadedDeclarations": [
840,
869
],
"referencedDeclaration": 869,
"src": "5916:18:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory,string memory) view returns (bytes memory)"
}
},
"id": 837,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "5916:73:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 832,
"id": 838,
"nodeType": "Return",
"src": "5909:80:6"
}
]
},
"documentation": {
"id": 824,
"nodeType": "StructuredDocumentation",
"src": "5628:166:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"
},
"id": 840,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionStaticCall",
"nameLocation": "5808:18:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 829,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 826,
"mutability": "mutable",
"name": "target",
"nameLocation": "5835:6:6",
"nodeType": "VariableDeclaration",
"scope": 840,
"src": "5827:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 825,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "5827:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 828,
"mutability": "mutable",
"name": "data",
"nameLocation": "5856:4:6",
"nodeType": "VariableDeclaration",
"scope": 840,
"src": "5843:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 827,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "5843:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "5826:35:6"
},
"returnParameters": {
"id": 832,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 831,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 840,
"src": "5885:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 830,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "5885:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "5884:14:6"
},
"scope": 999,
"src": "5799:197:6",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 868,
"nodeType": "Block",
"src": "6338:168:6",
"statements": [
{
"assignments": [
853,
855
],
"declarations": [
{
"constant": false,
"id": 853,
"mutability": "mutable",
"name": "success",
"nameLocation": "6354:7:6",
"nodeType": "VariableDeclaration",
"scope": 868,
"src": "6349:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 852,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "6349:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 855,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "6376:10:6",
"nodeType": "VariableDeclaration",
"scope": 868,
"src": "6363:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 854,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6363:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"id": 860,
"initialValue": {
"arguments": [
{
"id": 858,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 845,
"src": "6408:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"id": 856,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 843,
"src": "6390:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 857,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "6397:10:6",
"memberName": "staticcall",
"nodeType": "MemberAccess",
"src": "6390:17:6",
"typeDescriptions": {
"typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) view returns (bool,bytes memory)"
}
},
"id": 859,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6390:23:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "6348:65:6"
},
{
"expression": {
"arguments": [
{
"id": 862,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 843,
"src": "6457:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 863,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 853,
"src": "6465:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"id": 864,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 855,
"src": "6474:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 865,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 847,
"src": "6486:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 861,
"name": "verifyCallResultFromTarget",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 954,
"src": "6430:26:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)"
}
},
"id": 866,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6430:69:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 851,
"id": 867,
"nodeType": "Return",
"src": "6423:76:6"
}
]
},
"documentation": {
"id": 841,
"nodeType": "StructuredDocumentation",
"src": "6002:173:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"
},
"id": 869,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionStaticCall",
"nameLocation": "6189:18:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 848,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 843,
"mutability": "mutable",
"name": "target",
"nameLocation": "6225:6:6",
"nodeType": "VariableDeclaration",
"scope": 869,
"src": "6217:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 842,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "6217:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 845,
"mutability": "mutable",
"name": "data",
"nameLocation": "6254:4:6",
"nodeType": "VariableDeclaration",
"scope": 869,
"src": "6241:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 844,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6241:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 847,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "6282:12:6",
"nodeType": "VariableDeclaration",
"scope": 869,
"src": "6268:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 846,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "6268:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "6207:93:6"
},
"returnParameters": {
"id": 851,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 850,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 869,
"src": "6324:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 849,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6324:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "6323:14:6"
},
"scope": 999,
"src": "6180:326:6",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 885,
"nodeType": "Block",
"src": "6782:101:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 880,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 872,
"src": "6820:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 881,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 874,
"src": "6828:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
"id": 882,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "6834:41:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398",
"typeString": "literal_string \"Address: low-level delegate call failed\""
},
"value": "Address: low-level delegate call failed"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398",
"typeString": "literal_string \"Address: low-level delegate call failed\""
}
],
"id": 879,
"name": "functionDelegateCall",
"nodeType": "Identifier",
"overloadedDeclarations": [
886,
915
],
"referencedDeclaration": 915,
"src": "6799:20:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bytes memory,string memory) returns (bytes memory)"
}
},
"id": 883,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "6799:77:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 878,
"id": 884,
"nodeType": "Return",
"src": "6792:84:6"
}
]
},
"documentation": {
"id": 870,
"nodeType": "StructuredDocumentation",
"src": "6512:168:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"
},
"id": 886,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionDelegateCall",
"nameLocation": "6694:20:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 875,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 872,
"mutability": "mutable",
"name": "target",
"nameLocation": "6723:6:6",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "6715:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 871,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "6715:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 874,
"mutability": "mutable",
"name": "data",
"nameLocation": "6744:4:6",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "6731:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 873,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6731:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "6714:35:6"
},
"returnParameters": {
"id": 878,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 877,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "6768:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 876,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "6768:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "6767:14:6"
},
"scope": 999,
"src": "6685:198:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 914,
"nodeType": "Block",
"src": "7224:170:6",
"statements": [
{
"assignments": [
899,
901
],
"declarations": [
{
"constant": false,
"id": 899,
"mutability": "mutable",
"name": "success",
"nameLocation": "7240:7:6",
"nodeType": "VariableDeclaration",
"scope": 914,
"src": "7235:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 898,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "7235:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 901,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "7262:10:6",
"nodeType": "VariableDeclaration",
"scope": 914,
"src": "7249:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 900,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "7249:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"id": 906,
"initialValue": {
"arguments": [
{
"id": 904,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 891,
"src": "7296:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
],
"expression": {
"id": 902,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 889,
"src": "7276:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 903,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "7283:12:6",
"memberName": "delegatecall",
"nodeType": "MemberAccess",
"src": "7276:19:6",
"typeDescriptions": {
"typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) returns (bool,bytes memory)"
}
},
"id": 905,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "7276:25:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "7234:67:6"
},
{
"expression": {
"arguments": [
{
"id": 908,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 889,
"src": "7345:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 909,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 899,
"src": "7353:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"id": 910,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 901,
"src": "7362:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 911,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 893,
"src": "7374:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 907,
"name": "verifyCallResultFromTarget",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 954,
"src": "7318:26:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
"typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)"
}
},
"id": 912,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "7318:69:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 897,
"id": 913,
"nodeType": "Return",
"src": "7311:76:6"
}
]
},
"documentation": {
"id": 887,
"nodeType": "StructuredDocumentation",
"src": "6889:175:6",
"text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"
},
"id": 915,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "functionDelegateCall",
"nameLocation": "7078:20:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 894,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 889,
"mutability": "mutable",
"name": "target",
"nameLocation": "7116:6:6",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "7108:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 888,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "7108:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 891,
"mutability": "mutable",
"name": "data",
"nameLocation": "7145:4:6",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "7132:17:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 890,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "7132:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 893,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "7173:12:6",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "7159:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 892,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "7159:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "7098:93:6"
},
"returnParameters": {
"id": 897,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 896,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "7210:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 895,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "7210:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "7209:14:6"
},
"scope": 999,
"src": "7069:325:6",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 953,
"nodeType": "Block",
"src": "7876:434:6",
"statements": [
{
"condition": {
"id": 929,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 920,
"src": "7890:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": {
"id": 951,
"nodeType": "Block",
"src": "8246:58:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 947,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 922,
"src": "8268:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 948,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 924,
"src": "8280:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 946,
"name": "_revert",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 998,
"src": "8260:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bytes memory,string memory) pure"
}
},
"id": 949,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "8260:33:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 950,
"nodeType": "ExpressionStatement",
"src": "8260:33:6"
}
]
},
"id": 952,
"nodeType": "IfStatement",
"src": "7886:418:6",
"trueBody": {
"id": 945,
"nodeType": "Block",
"src": "7899:341:6",
"statements": [
{
"condition": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 933,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 930,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 922,
"src": "7917:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 931,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "7928:6:6",
"memberName": "length",
"nodeType": "MemberAccess",
"src": "7917:17:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"hexValue": "30",
"id": 932,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "7938:1:6",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "7917:22:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 942,
"nodeType": "IfStatement",
"src": "7913:286:6",
"trueBody": {
"id": 941,
"nodeType": "Block",
"src": "7941:258:6",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"id": 936,
"name": "target",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 918,
"src": "8143:6:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 935,
"name": "isContract",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 687,
"src": "8132:10:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
"typeString": "function (address) view returns (bool)"
}
},
"id": 937,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "8132:18:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374",
"id": 938,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "8152:31:6",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad",
"typeString": "literal_string \"Address: call to non-contract\""
},
"value": "Address: call to non-contract"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad",
"typeString": "literal_string \"Address: call to non-contract\""
}
],
"id": 934,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "8124:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 939,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "8124:60:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 940,
"nodeType": "ExpressionStatement",
"src": "8124:60:6"
}
]
}
},
{
"expression": {
"id": 943,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 922,
"src": "8219:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 928,
"id": 944,
"nodeType": "Return",
"src": "8212:17:6"
}
]
}
}
]
},
"documentation": {
"id": 916,
"nodeType": "StructuredDocumentation",
"src": "7400:277:6",
"text": " @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._"
},
"id": 954,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "verifyCallResultFromTarget",
"nameLocation": "7691:26:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 925,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 918,
"mutability": "mutable",
"name": "target",
"nameLocation": "7735:6:6",
"nodeType": "VariableDeclaration",
"scope": 954,
"src": "7727:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 917,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "7727:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 920,
"mutability": "mutable",
"name": "success",
"nameLocation": "7756:7:6",
"nodeType": "VariableDeclaration",
"scope": 954,
"src": "7751:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 919,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "7751:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 922,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "7786:10:6",
"nodeType": "VariableDeclaration",
"scope": 954,
"src": "7773:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 921,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "7773:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 924,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "7820:12:6",
"nodeType": "VariableDeclaration",
"scope": 954,
"src": "7806:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 923,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "7806:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "7717:121:6"
},
"returnParameters": {
"id": 928,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 927,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 954,
"src": "7862:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 926,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "7862:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "7861:14:6"
},
"scope": 999,
"src": "7682:628:6",
"stateMutability": "view",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 977,
"nodeType": "Block",
"src": "8691:135:6",
"statements": [
{
"condition": {
"id": 966,
"name": "success",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 957,
"src": "8705:7:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": {
"id": 975,
"nodeType": "Block",
"src": "8762:58:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 971,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 959,
"src": "8784:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
{
"id": 972,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 961,
"src": "8796:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 970,
"name": "_revert",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 998,
"src": "8776:7:6",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bytes memory,string memory) pure"
}
},
"id": 973,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "8776:33:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 974,
"nodeType": "ExpressionStatement",
"src": "8776:33:6"
}
]
},
"id": 976,
"nodeType": "IfStatement",
"src": "8701:119:6",
"trueBody": {
"id": 969,
"nodeType": "Block",
"src": "8714:42:6",
"statements": [
{
"expression": {
"id": 967,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 959,
"src": "8735:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"functionReturnParameters": 965,
"id": 968,
"nodeType": "Return",
"src": "8728:17:6"
}
]
}
}
]
},
"documentation": {
"id": 955,
"nodeType": "StructuredDocumentation",
"src": "8316:210:6",
"text": " @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._"
},
"id": 978,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "verifyCallResult",
"nameLocation": "8540:16:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 962,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 957,
"mutability": "mutable",
"name": "success",
"nameLocation": "8571:7:6",
"nodeType": "VariableDeclaration",
"scope": 978,
"src": "8566:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 956,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "8566:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 959,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "8601:10:6",
"nodeType": "VariableDeclaration",
"scope": 978,
"src": "8588:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 958,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "8588:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 961,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "8635:12:6",
"nodeType": "VariableDeclaration",
"scope": 978,
"src": "8621:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 960,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "8621:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "8556:97:6"
},
"returnParameters": {
"id": 965,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 964,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 978,
"src": "8677:12:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 963,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "8677:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "8676:14:6"
},
"scope": 999,
"src": "8531:295:6",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 997,
"nodeType": "Block",
"src": "8915:457:6",
"statements": [
{
"condition": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 988,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 985,
"name": "returndata",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 980,
"src": "8991:10:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes memory"
}
},
"id": 986,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "9002:6:6",
"memberName": "length",
"nodeType": "MemberAccess",
"src": "8991:17:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": ">",
"rightExpression": {
"hexValue": "30",
"id": 987,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "9011:1:6",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "8991:21:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": {
"id": 995,
"nodeType": "Block",
"src": "9321:45:6",
"statements": [
{
"expression": {
"arguments": [
{
"id": 992,
"name": "errorMessage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 982,
"src": "9342:12:6",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 991,
"name": "revert",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967277,
4294967277
],
"referencedDeclaration": 4294967277,
"src": "9335:6:6",
"typeDescriptions": {
"typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory) pure"
}
},
"id": 993,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "9335:20:6",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 994,
"nodeType": "ExpressionStatement",
"src": "9335:20:6"
}
]
},
"id": 996,
"nodeType": "IfStatement",
"src": "8987:379:6",
"trueBody": {
"id": 990,
"nodeType": "Block",
"src": "9014:301:6",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "9172:133:6",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9190:40:6",
"value": {
"arguments": [
{
"name": "returndata",
"nodeType": "YulIdentifier",
"src": "9219:10:6"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9213:5:6"
},
"nodeType": "YulFunctionCall",
"src": "9213:17:6"
},
"variables": [
{
"name": "returndata_size",
"nodeType": "YulTypedName",
"src": "9194:15:6",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9258:2:6",
"type": "",
"value": "32"
},
{
"name": "returndata",
"nodeType": "YulIdentifier",
"src": "9262:10:6"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9254:3:6"
},
"nodeType": "YulFunctionCall",
"src": "9254:19:6"
},
{
"name": "returndata_size",
"nodeType": "YulIdentifier",
"src": "9275:15:6"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9247:6:6"
},
"nodeType": "YulFunctionCall",
"src": "9247:44:6"
},
"nodeType": "YulExpressionStatement",
"src": "9247:44:6"
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 980,
"isOffset": false,
"isSlot": false,
"src": "9219:10:6",
"valueSize": 1
},
{
"declaration": 980,
"isOffset": false,
"isSlot": false,
"src": "9262:10:6",
"valueSize": 1
}
],
"id": 989,
"nodeType": "InlineAssembly",
"src": "9163:142:6"
}
]
}
}
]
},
"id": 998,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_revert",
"nameLocation": "8841:7:6",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 983,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 980,
"mutability": "mutable",
"name": "returndata",
"nameLocation": "8862:10:6",
"nodeType": "VariableDeclaration",
"scope": 998,
"src": "8849:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 979,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "8849:5:6",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 982,
"mutability": "mutable",
"name": "errorMessage",
"nameLocation": "8888:12:6",
"nodeType": "VariableDeclaration",
"scope": 998,
"src": "8874:26:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 981,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "8874:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "8848:53:6"
},
"returnParameters": {
"id": 984,
"nodeType": "ParameterList",
"parameters": [],
"src": "8915:0:6"
},
"scope": 999,
"src": "8832:540:6",
"stateMutability": "pure",
"virtual": false,
"visibility": "private"
}
],
"scope": 1000,
"src": "194:9180:6",
"usedErrors": []
}
],
"src": "101:9274:6"
},
"id": 6
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol",
"exportedSymbols": {
"StorageSlotUpgradeable": [
1109
]
},
"id": 1110,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1001,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "193:23:7"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "StorageSlotUpgradeable",
"contractDependencies": [],
"contractKind": "library",
"documentation": {
"id": 1002,
"nodeType": "StructuredDocumentation",
"src": "218:1201:7",
"text": " @dev Library for reading and writing primitive types to specific storage slots.\n Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n This library helps with reading and writing to such slots without the need for inline assembly.\n The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n Example usage to set ERC1967 implementation slot:\n ```solidity\n contract ERC1967 {\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n function _getImplementation() internal view returns (address) {\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n }\n function _setImplementation(address newImplementation) internal {\n require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n }\n }\n ```\n _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\n _Available since v4.9 for `string`, `bytes`._"
},
"fullyImplemented": true,
"id": 1109,
"linearizedBaseContracts": [
1109
],
"name": "StorageSlotUpgradeable",
"nameLocation": "1428:22:7",
"nodeType": "ContractDefinition",
"nodes": [
{
"canonicalName": "StorageSlotUpgradeable.AddressSlot",
"id": 1005,
"members": [
{
"constant": false,
"id": 1004,
"mutability": "mutable",
"name": "value",
"nameLocation": "1494:5:7",
"nodeType": "VariableDeclaration",
"scope": 1005,
"src": "1486:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1003,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1486:7:7",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"name": "AddressSlot",
"nameLocation": "1464:11:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1457:49:7",
"visibility": "public"
},
{
"canonicalName": "StorageSlotUpgradeable.BooleanSlot",
"id": 1008,
"members": [
{
"constant": false,
"id": 1007,
"mutability": "mutable",
"name": "value",
"nameLocation": "1546:5:7",
"nodeType": "VariableDeclaration",
"scope": 1008,
"src": "1541:10:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1006,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1541:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"name": "BooleanSlot",
"nameLocation": "1519:11:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1512:46:7",
"visibility": "public"
},
{
"canonicalName": "StorageSlotUpgradeable.Bytes32Slot",
"id": 1011,
"members": [
{
"constant": false,
"id": 1010,
"mutability": "mutable",
"name": "value",
"nameLocation": "1601:5:7",
"nodeType": "VariableDeclaration",
"scope": 1011,
"src": "1593:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1009,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1593:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"name": "Bytes32Slot",
"nameLocation": "1571:11:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1564:49:7",
"visibility": "public"
},
{
"canonicalName": "StorageSlotUpgradeable.Uint256Slot",
"id": 1014,
"members": [
{
"constant": false,
"id": 1013,
"mutability": "mutable",
"name": "value",
"nameLocation": "1656:5:7",
"nodeType": "VariableDeclaration",
"scope": 1014,
"src": "1648:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1012,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1648:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"name": "Uint256Slot",
"nameLocation": "1626:11:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1619:49:7",
"visibility": "public"
},
{
"canonicalName": "StorageSlotUpgradeable.StringSlot",
"id": 1017,
"members": [
{
"constant": false,
"id": 1016,
"mutability": "mutable",
"name": "value",
"nameLocation": "1709:5:7",
"nodeType": "VariableDeclaration",
"scope": 1017,
"src": "1702:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
},
"typeName": {
"id": 1015,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1702:6:7",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"name": "StringSlot",
"nameLocation": "1681:10:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1674:47:7",
"visibility": "public"
},
{
"canonicalName": "StorageSlotUpgradeable.BytesSlot",
"id": 1020,
"members": [
{
"constant": false,
"id": 1019,
"mutability": "mutable",
"name": "value",
"nameLocation": "1760:5:7",
"nodeType": "VariableDeclaration",
"scope": 1020,
"src": "1754:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1018,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1754:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"name": "BytesSlot",
"nameLocation": "1734:9:7",
"nodeType": "StructDefinition",
"scope": 1109,
"src": "1727:45:7",
"visibility": "public"
},
{
"body": {
"id": 1030,
"nodeType": "Block",
"src": "1954:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "2016:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2030:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2040:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "2030:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1027,
"isOffset": false,
"isSlot": true,
"src": "2030:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1023,
"isOffset": false,
"isSlot": false,
"src": "2040:4:7",
"valueSize": 1
}
],
"id": 1029,
"nodeType": "InlineAssembly",
"src": "2007:47:7"
}
]
},
"documentation": {
"id": 1021,
"nodeType": "StructuredDocumentation",
"src": "1778:87:7",
"text": " @dev Returns an `AddressSlot` with member `value` located at `slot`."
},
"id": 1031,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getAddressSlot",
"nameLocation": "1879:14:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1024,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1023,
"mutability": "mutable",
"name": "slot",
"nameLocation": "1902:4:7",
"nodeType": "VariableDeclaration",
"scope": 1031,
"src": "1894:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1022,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1894:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1893:14:7"
},
"returnParameters": {
"id": 1028,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1027,
"mutability": "mutable",
"name": "r",
"nameLocation": "1951:1:7",
"nodeType": "VariableDeclaration",
"scope": 1031,
"src": "1931:21:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot"
},
"typeName": {
"id": 1026,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1025,
"name": "AddressSlot",
"nameLocations": [
"1931:11:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1005,
"src": "1931:11:7"
},
"referencedDeclaration": 1005,
"src": "1931:11:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_AddressSlot_$1005_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.AddressSlot"
}
},
"visibility": "internal"
}
],
"src": "1930:23:7"
},
"scope": 1109,
"src": "1870:190:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1041,
"nodeType": "Block",
"src": "2242:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "2304:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2318:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2328:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "2318:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1038,
"isOffset": false,
"isSlot": true,
"src": "2318:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1034,
"isOffset": false,
"isSlot": false,
"src": "2328:4:7",
"valueSize": 1
}
],
"id": 1040,
"nodeType": "InlineAssembly",
"src": "2295:47:7"
}
]
},
"documentation": {
"id": 1032,
"nodeType": "StructuredDocumentation",
"src": "2066:87:7",
"text": " @dev Returns an `BooleanSlot` with member `value` located at `slot`."
},
"id": 1042,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getBooleanSlot",
"nameLocation": "2167:14:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1035,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1034,
"mutability": "mutable",
"name": "slot",
"nameLocation": "2190:4:7",
"nodeType": "VariableDeclaration",
"scope": 1042,
"src": "2182:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1033,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2182:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "2181:14:7"
},
"returnParameters": {
"id": 1039,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1038,
"mutability": "mutable",
"name": "r",
"nameLocation": "2239:1:7",
"nodeType": "VariableDeclaration",
"scope": 1042,
"src": "2219:21:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BooleanSlot_$1008_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BooleanSlot"
},
"typeName": {
"id": 1037,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1036,
"name": "BooleanSlot",
"nameLocations": [
"2219:11:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1008,
"src": "2219:11:7"
},
"referencedDeclaration": 1008,
"src": "2219:11:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BooleanSlot_$1008_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BooleanSlot"
}
},
"visibility": "internal"
}
],
"src": "2218:23:7"
},
"scope": 1109,
"src": "2158:190:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1052,
"nodeType": "Block",
"src": "2530:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "2592:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2606:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2616:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "2606:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1049,
"isOffset": false,
"isSlot": true,
"src": "2606:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1045,
"isOffset": false,
"isSlot": false,
"src": "2616:4:7",
"valueSize": 1
}
],
"id": 1051,
"nodeType": "InlineAssembly",
"src": "2583:47:7"
}
]
},
"documentation": {
"id": 1043,
"nodeType": "StructuredDocumentation",
"src": "2354:87:7",
"text": " @dev Returns an `Bytes32Slot` with member `value` located at `slot`."
},
"id": 1053,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getBytes32Slot",
"nameLocation": "2455:14:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1046,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1045,
"mutability": "mutable",
"name": "slot",
"nameLocation": "2478:4:7",
"nodeType": "VariableDeclaration",
"scope": 1053,
"src": "2470:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1044,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2470:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "2469:14:7"
},
"returnParameters": {
"id": 1050,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1049,
"mutability": "mutable",
"name": "r",
"nameLocation": "2527:1:7",
"nodeType": "VariableDeclaration",
"scope": 1053,
"src": "2507:21:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Bytes32Slot_$1011_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.Bytes32Slot"
},
"typeName": {
"id": 1048,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1047,
"name": "Bytes32Slot",
"nameLocations": [
"2507:11:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1011,
"src": "2507:11:7"
},
"referencedDeclaration": 1011,
"src": "2507:11:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Bytes32Slot_$1011_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.Bytes32Slot"
}
},
"visibility": "internal"
}
],
"src": "2506:23:7"
},
"scope": 1109,
"src": "2446:190:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1063,
"nodeType": "Block",
"src": "2818:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "2880:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2894:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2904:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "2894:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1060,
"isOffset": false,
"isSlot": true,
"src": "2894:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1056,
"isOffset": false,
"isSlot": false,
"src": "2904:4:7",
"valueSize": 1
}
],
"id": 1062,
"nodeType": "InlineAssembly",
"src": "2871:47:7"
}
]
},
"documentation": {
"id": 1054,
"nodeType": "StructuredDocumentation",
"src": "2642:87:7",
"text": " @dev Returns an `Uint256Slot` with member `value` located at `slot`."
},
"id": 1064,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getUint256Slot",
"nameLocation": "2743:14:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1057,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1056,
"mutability": "mutable",
"name": "slot",
"nameLocation": "2766:4:7",
"nodeType": "VariableDeclaration",
"scope": 1064,
"src": "2758:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1055,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2758:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "2757:14:7"
},
"returnParameters": {
"id": 1061,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1060,
"mutability": "mutable",
"name": "r",
"nameLocation": "2815:1:7",
"nodeType": "VariableDeclaration",
"scope": 1064,
"src": "2795:21:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Uint256Slot_$1014_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.Uint256Slot"
},
"typeName": {
"id": 1059,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1058,
"name": "Uint256Slot",
"nameLocations": [
"2795:11:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1014,
"src": "2795:11:7"
},
"referencedDeclaration": 1014,
"src": "2795:11:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Uint256Slot_$1014_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.Uint256Slot"
}
},
"visibility": "internal"
}
],
"src": "2794:23:7"
},
"scope": 1109,
"src": "2734:190:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1074,
"nodeType": "Block",
"src": "3103:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "3165:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3179:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "3189:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "3179:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1071,
"isOffset": false,
"isSlot": true,
"src": "3179:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1067,
"isOffset": false,
"isSlot": false,
"src": "3189:4:7",
"valueSize": 1
}
],
"id": 1073,
"nodeType": "InlineAssembly",
"src": "3156:47:7"
}
]
},
"documentation": {
"id": 1065,
"nodeType": "StructuredDocumentation",
"src": "2930:86:7",
"text": " @dev Returns an `StringSlot` with member `value` located at `slot`."
},
"id": 1075,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getStringSlot",
"nameLocation": "3030:13:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1068,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1067,
"mutability": "mutable",
"name": "slot",
"nameLocation": "3052:4:7",
"nodeType": "VariableDeclaration",
"scope": 1075,
"src": "3044:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1066,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3044:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "3043:14:7"
},
"returnParameters": {
"id": 1072,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1071,
"mutability": "mutable",
"name": "r",
"nameLocation": "3100:1:7",
"nodeType": "VariableDeclaration",
"scope": 1075,
"src": "3081:20:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_StringSlot_$1017_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.StringSlot"
},
"typeName": {
"id": 1070,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1069,
"name": "StringSlot",
"nameLocations": [
"3081:10:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1017,
"src": "3081:10:7"
},
"referencedDeclaration": 1017,
"src": "3081:10:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_StringSlot_$1017_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.StringSlot"
}
},
"visibility": "internal"
}
],
"src": "3080:22:7"
},
"scope": 1109,
"src": "3021:188:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1085,
"nodeType": "Block",
"src": "3411:112:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "3473:44:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3487:20:7",
"value": {
"name": "store.slot",
"nodeType": "YulIdentifier",
"src": "3497:10:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "3487:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1082,
"isOffset": false,
"isSlot": true,
"src": "3487:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1078,
"isOffset": false,
"isSlot": true,
"src": "3497:10:7",
"suffix": "slot",
"valueSize": 1
}
],
"id": 1084,
"nodeType": "InlineAssembly",
"src": "3464:53:7"
}
]
},
"documentation": {
"id": 1076,
"nodeType": "StructuredDocumentation",
"src": "3215:101:7",
"text": " @dev Returns an `StringSlot` representation of the string storage pointer `store`."
},
"id": 1086,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getStringSlot",
"nameLocation": "3330:13:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1079,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1078,
"mutability": "mutable",
"name": "store",
"nameLocation": "3359:5:7",
"nodeType": "VariableDeclaration",
"scope": 1086,
"src": "3344:20:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
},
"typeName": {
"id": 1077,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "3344:6:7",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "3343:22:7"
},
"returnParameters": {
"id": 1083,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1082,
"mutability": "mutable",
"name": "r",
"nameLocation": "3408:1:7",
"nodeType": "VariableDeclaration",
"scope": 1086,
"src": "3389:20:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_StringSlot_$1017_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.StringSlot"
},
"typeName": {
"id": 1081,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1080,
"name": "StringSlot",
"nameLocations": [
"3389:10:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1017,
"src": "3389:10:7"
},
"referencedDeclaration": 1017,
"src": "3389:10:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_StringSlot_$1017_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.StringSlot"
}
},
"visibility": "internal"
}
],
"src": "3388:22:7"
},
"scope": 1109,
"src": "3321:202:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1096,
"nodeType": "Block",
"src": "3699:106:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "3761:38:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3775:14:7",
"value": {
"name": "slot",
"nodeType": "YulIdentifier",
"src": "3785:4:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "3775:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1093,
"isOffset": false,
"isSlot": true,
"src": "3775:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1089,
"isOffset": false,
"isSlot": false,
"src": "3785:4:7",
"valueSize": 1
}
],
"id": 1095,
"nodeType": "InlineAssembly",
"src": "3752:47:7"
}
]
},
"documentation": {
"id": 1087,
"nodeType": "StructuredDocumentation",
"src": "3529:85:7",
"text": " @dev Returns an `BytesSlot` with member `value` located at `slot`."
},
"id": 1097,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getBytesSlot",
"nameLocation": "3628:12:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1090,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1089,
"mutability": "mutable",
"name": "slot",
"nameLocation": "3649:4:7",
"nodeType": "VariableDeclaration",
"scope": 1097,
"src": "3641:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1088,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3641:7:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "3640:14:7"
},
"returnParameters": {
"id": 1094,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1093,
"mutability": "mutable",
"name": "r",
"nameLocation": "3696:1:7",
"nodeType": "VariableDeclaration",
"scope": 1097,
"src": "3678:19:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BytesSlot_$1020_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BytesSlot"
},
"typeName": {
"id": 1092,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1091,
"name": "BytesSlot",
"nameLocations": [
"3678:9:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1020,
"src": "3678:9:7"
},
"referencedDeclaration": 1020,
"src": "3678:9:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BytesSlot_$1020_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BytesSlot"
}
},
"visibility": "internal"
}
],
"src": "3677:21:7"
},
"scope": 1109,
"src": "3619:186:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 1107,
"nodeType": "Block",
"src": "4002:112:7",
"statements": [
{
"AST": {
"nodeType": "YulBlock",
"src": "4064:44:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4078:20:7",
"value": {
"name": "store.slot",
"nodeType": "YulIdentifier",
"src": "4088:10:7"
},
"variableNames": [
{
"name": "r.slot",
"nodeType": "YulIdentifier",
"src": "4078:6:7"
}
]
}
]
},
"documentation": "@solidity memory-safe-assembly",
"evmVersion": "paris",
"externalReferences": [
{
"declaration": 1104,
"isOffset": false,
"isSlot": true,
"src": "4078:6:7",
"suffix": "slot",
"valueSize": 1
},
{
"declaration": 1100,
"isOffset": false,
"isSlot": true,
"src": "4088:10:7",
"suffix": "slot",
"valueSize": 1
}
],
"id": 1106,
"nodeType": "InlineAssembly",
"src": "4055:53:7"
}
]
},
"documentation": {
"id": 1098,
"nodeType": "StructuredDocumentation",
"src": "3811:99:7",
"text": " @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`."
},
"id": 1108,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getBytesSlot",
"nameLocation": "3924:12:7",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1101,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1100,
"mutability": "mutable",
"name": "store",
"nameLocation": "3951:5:7",
"nodeType": "VariableDeclaration",
"scope": 1108,
"src": "3937:19:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1099,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3937:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3936:21:7"
},
"returnParameters": {
"id": 1105,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1104,
"mutability": "mutable",
"name": "r",
"nameLocation": "3999:1:7",
"nodeType": "VariableDeclaration",
"scope": 1108,
"src": "3981:19:7",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BytesSlot_$1020_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BytesSlot"
},
"typeName": {
"id": 1103,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 1102,
"name": "BytesSlot",
"nameLocations": [
"3981:9:7"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1020,
"src": "3981:9:7"
},
"referencedDeclaration": 1020,
"src": "3981:9:7",
"typeDescriptions": {
"typeIdentifier": "t_struct$_BytesSlot_$1020_storage_ptr",
"typeString": "struct StorageSlotUpgradeable.BytesSlot"
}
},
"visibility": "internal"
}
],
"src": "3980:21:7"
},
"scope": 1109,
"src": "3915:199:7",
"stateMutability": "pure",
"virtual": false,
"visibility": "internal"
}
],
"scope": 1110,
"src": "1420:2696:7",
"usedErrors": []
}
],
"src": "193:3924:7"
},
"id": 7
}
}
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"proxiableUUID()": "52d1902d",
"upgradeTo(address)": "3659cfe6",
"upgradeToAndCall(address,bytes)": "4f1ef286"
}
},
"abi": [
{
"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": "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": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"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"
}
]
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [
{
"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": "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": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"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"
}
],
"devdoc": {
"details": "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._",
"events": {
"AdminChanged(address,address)": {
"details": "Emitted when the admin account has changed."
},
"BeaconUpgraded(address)": {
"details": "Emitted when the beacon is changed."
},
"Initialized(uint8)": {
"details": "Triggered when the contract has been initialized or reinitialized."
},
"Upgraded(address)": {
"details": "Emitted when the implementation is upgraded."
}
},
"kind": "dev",
"methods": {
"proxiableUUID()": {
"details": "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."
},
"upgradeTo(address)": {
"custom:oz-upgrades-unsafe-allow-reachable": "delegatecall",
"details": "Upgrade the implementation of the proxy to `newImplementation`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
},
"upgradeToAndCall(address,bytes)": {
"custom:oz-upgrades-unsafe-allow-reachable": "delegatecall",
"details": "Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
}
},
"stateVariables": {
"__gap": {
"details": "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"
},
"__self": {
"custom:oz-upgrades-unsafe-allow": "state-variable-immutable state-variable-assignment"
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol": "UUPSUpgradeable"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol": {
"keccak256": "0x47d6e06872b12e72c79d1b5eb55842f860b5fb1207b2317c2358d2766b950a7b",
"license": "MIT",
"urls": [
"bzz-raw://ac55bf6f92fc7b90c6d79d346163a0a02bd5c648c7fede08b20e5da96d4ae2a0",
"dweb:/ipfs/QmQoSrHhka35iKDK5iyNt8cuXXS5ANXVPjLhfsJjktB8V9"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol": {
"keccak256": "0x77c89f893e403efc6929ba842b7ccf6534d4ffe03afe31670b4a528c0ad78c0f",
"license": "MIT",
"urls": [
"bzz-raw://496bd9b3df2455d571018c09f0c6badd29713fdeb907c6aa09d8d28cb603f053",
"dweb:/ipfs/QmXdJDyYs6WMwMh21dez2BYPxhSUaUYFMDtVNcn2cgFR79"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol": {
"keccak256": "0x584ebdf9c1118a7c773f98788e3f3ede01982bdf8932aa06f5acc7d54876e161",
"license": "MIT",
"urls": [
"bzz-raw://9826c7edf276ff48b99ee217358393097c30448a71d345d287c2f6961bb1f159",
"dweb:/ipfs/QmYXBTY9wDvffGU47yMRFJ1NFyKwpbj94VHzRzhsm6R7Gz"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol": {
"keccak256": "0x24b86ac8c005b8c654fbf6ac34a5a4f61580d7273541e83e013e89d66fbf0908",
"license": "MIT",
"urls": [
"bzz-raw://4dbfe1a3b3b3fb64294ce41fd2ad362e7b7012208117864f42c1a67620a6d5c1",
"dweb:/ipfs/QmVMU5tWt7zBQMmf5cpMX8UMHV86T3kFeTxBTBjFqVWfoJ"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol": {
"keccak256": "0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794",
"license": "MIT",
"urls": [
"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e",
"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol": {
"keccak256": "0xb607cb94c27e89750f5ae2ccebcb94e654e926f6125f4fd4c6262c89875118ad",
"license": "MIT",
"urls": [
"bzz-raw://33e8f8d863c6943ea046fcf4972b4e815c04ab06bad195dba1d93f8ebeb8420d",
"dweb:/ipfs/QmTQzxQTuuzPDk3eqVmYy7hv2RCXM1yt1NtubXpRbzYjaj"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol": {
"keccak256": "0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422",
"license": "MIT",
"urls": [
"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b",
"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol": {
"keccak256": "0x07ac95acad040f1fb1f6120dd0aa5f702db69446e95f82613721879d30de0908",
"license": "MIT",
"urls": [
"bzz-raw://a9df9de7b5da1d1bd3d4b6c073d0174bc4211db60e794a321c8cb5d4eae34685",
"dweb:/ipfs/QmWe49zj65jayrCe9jZpoWhYUZ1RiwSxyU2s7SBZnMztVy"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/AddressUpgradeable.sol";
/**
* @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]
* ```solidity
* 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;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)
pragma solidity ^0.8.0;
import "../../interfaces/draft-IERC1822Upgradeable.sol";
import "../ERC1967/ERC1967UpgradeUpgradeable.sol";
import "./Initializable.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.
*
* @custom:oz-upgrades-unsafe-allow-reachable delegatecall
*/
function upgradeTo(address newImplementation) public 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.
*
* @custom:oz-upgrades-unsafe-allow-reachable delegatecall
*/
function upgradeToAndCall(address newImplementation, bytes memory data) public 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;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.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].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* 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}.
*
* 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 default value returned by this function, unless
* it's 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;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [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://consensys.net/diligence/blog/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.8.0/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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(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);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.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;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.0;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* 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`, `uint256`._
* _Available since v4.9 for `string`, `bytes`._
*/
library StorageSlotUpgradeable {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes 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
}
}
/**
* @dev Returns an `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
/**
* @dev Returns an `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
}
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
ref: refs/heads/main
DIRCd�#$�sd�#$�s$�����o#q{K���Sc��X�W�n.prettierrc.jsond�# l�d�# l���K����~I�<@� ��eٹcontracts/MyToken.sold�#!3%@d�#!3%@ �����0����~�]nY��}��scripts/deploy_with_ethers.tsd�#"���d�#"���!��޲+�F�^-�M����$���%scripts/deploy_with_web3.tsd�##g��d�##g��"����uۚCl�j��{�f� X�.Bscripts/ethers-lib.tsd�#$.�d�#$.�#��O���:���V�)��?�(GY�scripts/web3-lib.ts� {K���\��E:��.Ah
x�+)JMU0�d040031Q� ��N��+��a�~��С:��6Bg��oy�zs'uV�
x���M
�0@a�9����Oۈ�[��ih ������}���ZJІvҘ�y����(�`�Φ[$��YcҐ�h �Q��̵��ϰ��I� N��[�L%��k9u�,y� ��#�������u͒�_��K~�p�/A�[Ԩ>f�G�
x�+)JMU044a040031Q�+(J-)�L-*J��*��cش4_���{v?���#����31��������b��3�s���o�R��>��mj�wDMqrQfPE�=�?�){w1����h����WNj0G
x�+)JMU047c040031QHI-�ɯ�/�,ɈO-�H-*�+)fXv����g��m���ܻ��� �I� 围'�-�����}��7*O�\S�*������R����,眓Y�NU��O���H� �dL������t�[�y�� Iw��`NJ�
x�]�A
�0E]�!4�Ѕ Ao�ΝM۱-���D$���J�B�b>�ޔ�K��~��#� 5��=�{�َ\K�nuW�I"��C!q<aJ0��O*��!��G���\t���/��!��z�?k�47�Pu=�����H�؄b!*����ۯ��~�W E`�A
���F-
x�]�A
�0D]����F�;Ao�ΝM�X�iS�H %w�Ҹ�Y}���(���X5m �魋H���Ѩ��6�¤���8�0� C��'�u>`0�e���lB62z��4��z�?��FXW�RV� ���"�I�B$h���ٯÈv����I��7~�D�
x����
�0 �=�)F�2ă��-D��xh�L��)m&�ػ�6�1�9%��|��"�m�E�M1|��2����?�U���
�<��+��%� I�m>\�R�Y�to�t���E�oF������^p�`�pR�J$������hx��8��~������N񯌇���=ꐶ������5��/�̢�
x�mTMo�0 �ٿ��v��nQ�0��m�i ���0 ��8�l)��A��>J��;D@[�{|�He�������Qo�����KXiUC���0����MI�1����d� �V� 6V(i�����v���a$����w�TjvMP��0�8� j�ao��lG�=��=��CX�g���Z����ԥ�J� c�&�J���ɒ6�B�D0�U#-4�
�p�>>���s�S�l�t %��D-��4�FK���j{�L;�? ������]���dѴ)tBg>�)ϼ���_����* ]�Jn���A�����8�����}3�E��TEq��h٩�H�q?U�.;�$�{e�dk��v&�bc��
�7�_�`����$i�\�a�Q����Z�������L��IO0Ka�0���`����v͹/3���t2p�dtI�K3~6J.���-2�ϧ�����P�[4��5α��p�
(�$� ,����p�^��ɔ��H���Ӊy�b��{c�2�M�х�xG�`��1f�(��������K�uD��p�c:�%��lg)W�*{&�WFg��&�"�����wZX� ���Q�4�c�3v�:��*����m����?��<+��\v��:wk���)>" V��+h���ζ
x���MO1�=ﯘ� �D= \H�Q"H<IJw��ݶi�"���e�>i�a73�γ�Lw*�Z�7W��p��V&��a����4#�m��F��|�rpZRB~ ��F�q׉"J���6�Vh JRLh�-��33�<A>�ȼ�D�_ﯛ���Plt���X��d�'�XO�'.i�G�c/ ����k< /iѮ��Q� '#��|A5�4W�3>�#�����y���jg.�T�ϰΥ� �����MGq�Z��3I���?��R��MT�f��tc� �C`�dSI�:)��J\�!�A�=�%}�+��*O*gß(ΝMx�?� fʎ
O�.z����?������<Z��>��\?h�/��,�M��~��N
x�]SMo�0 �ٿ����@ƺÀ���u(�K ����m�QgK��4 ���Q�G��`D���#�7:�O�_.?ȶ����m�X8Bet q��(����~R��=�-��Z9����;4���:#U}��V�(��UH�i(�<���_���Mm����TNc�mᴉ!�cv��ն��p^Q�r����2��0ς�;m���!�5
w�����fJ���_��׀v�
H溗л�R�p�8#�m *pO��� ����|1r�������}qݐht��{\>����4g��#�.�����ET�pq��vYl@Z�I�ADz'�
�v�A'�b-NV\A�ؿ�/Cnͬ��ҧx�U9�X�G��w�xB�a;׹�;K&1m6�d���V���r�AU{�L��JYUd���1l4���%:�R��W�g�R�;� ��]�4I\��ߨ�&/ ����M�8'�NF�;�?s�d��������H�އ���D���xYY�9�*Q�6Rt�f�ɼT�
�����p�s՞�6~\g������h��\.&�D��{G�.I��߳"��R?�����D��!���m{ٜO����}{r_aG�n= �8ـ ��T�$��F1�'}s���V��[��S
56ee29c86e9b883bc54e010c60c3010aea4f968b
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
},
{
"files": "*.yml",
"options": {}
},
{
"files": "*.yaml",
"options": {}
},
{
"files": "*.toml",
"options": {}
},
{
"files": "*.json",
"options": {}
},
{
"files": "*.js",
"options": {}
},
{
"files": "*.ts",
"options": {}
}
]
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"buy((uint256,uint256,address,address,bytes),uint256)": "3e23f731",
"makeOffer((uint256,uint256,address,uint256))": "5d76a9b7"
}
},
"abi": [
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_currency",
"type": "address"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"internalType": "struct ITokenProxy.ListRequest",
"name": "request",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "buyAmount",
"type": "uint256"
}
],
"name": "buy",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_currency",
"type": "address"
},
{
"internalType": "uint256",
"name": "duration",
"type": "uint256"
}
],
"internalType": "struct ITokenProxy.MakeOfferRequest",
"name": "request",
"type": "tuple"
}
],
"name": "makeOffer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_currency",
"type": "address"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"internalType": "struct ITokenProxy.ListRequest",
"name": "request",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "buyAmount",
"type": "uint256"
}
],
"name": "buy",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_currency",
"type": "address"
},
{
"internalType": "uint256",
"name": "duration",
"type": "uint256"
}
],
"internalType": "struct ITokenProxy.MakeOfferRequest",
"name": "request",
"type": "tuple"
}
],
"name": "makeOffer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/ITokenProxy.sol": "ITokenProxy"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/ITokenProxy.sol": {
"keccak256": "0xa803f0eadfbca38ed8a4a46492376efc9c1883a79d5dfd463dd9b573d606a870",
"license": "MIT",
"urls": [
"bzz-raw://7740340d034143f57511600124379105e31cf983cf2588469b23d329817e6057",
"dweb:/ipfs/QmdRcTyij8WpSwX3hFCpMKnRG4ZjHcCKfJm3TiXRi6jnzL"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
interface ITokenProxy {
struct ListRequest {
uint256 _price;
uint256 _amount;
address _from;
address _currency;
bytes signature;
}
struct TransferRequest {
uint256 _token;
uint256 _amount;
address _from;
address _to;
}
struct MakeOfferRequest {
uint256 _price;
uint256 _amount;
address _currency;
uint duration;
}
function buy(ListRequest memory request, uint256 buyAmount) external payable;
function makeOffer(MakeOfferRequest memory request) external payable ;
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "./ITokenProxy.sol";
contract TokenProxy is Initializable, ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable {
/// @custom:oz-upgrades-unsafe-allow constructor
constructor() {
_disableInitializers();
}
function initialize() initializer public {
__ERC20_init("MyToken", "MTK");
__Ownable_init();
__UUPSUpgradeable_init();
}
function _authorizeUpgrade(address newImplementation)
internal
onlyOwner
override
{
}
}
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

This file has been truncated, but you can view the full file.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_2020": {
"entryPoint": null,
"id": 2020,
"parameterSlots": 0,
"returnSlots": 0
},
"@_disableInitializers_646": {
"entryPoint": 91,
"id": 646,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a_to_t_string_memory_ptr_fromStack": {
"entryPoint": 385,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint8_to_t_uint8_fromStack": {
"entryPoint": 471,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 424,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": {
"entryPoint": 488,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 289,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint8": {
"entryPoint": 458,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a": {
"entryPoint": 306,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1638:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "103:73:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "120:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "125:6:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "113:6:14"
},
"nodeType": "YulFunctionCall",
"src": "113:19:14"
},
"nodeType": "YulExpressionStatement",
"src": "113:19:14"
},
{
"nodeType": "YulAssignment",
"src": "141:29:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "160:3:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "165:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "156:3:14"
},
"nodeType": "YulFunctionCall",
"src": "156:14:14"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "141:11:14"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "75:3:14",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "80:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "91:11:14",
"type": ""
}
],
"src": "7:169:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "288:120:14",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "310:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "318:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "306:3:14"
},
"nodeType": "YulFunctionCall",
"src": "306:14:14"
},
{
"hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320696e697469",
"kind": "string",
"nodeType": "YulLiteral",
"src": "322:34:14",
"type": "",
"value": "Initializable: contract is initi"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "299:6:14"
},
"nodeType": "YulFunctionCall",
"src": "299:58:14"
},
"nodeType": "YulExpressionStatement",
"src": "299:58:14"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "378:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "386:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "374:3:14"
},
"nodeType": "YulFunctionCall",
"src": "374:15:14"
},
{
"hexValue": "616c697a696e67",
"kind": "string",
"nodeType": "YulLiteral",
"src": "391:9:14",
"type": "",
"value": "alizing"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "367:6:14"
},
"nodeType": "YulFunctionCall",
"src": "367:34:14"
},
"nodeType": "YulExpressionStatement",
"src": "367:34:14"
}
]
},
"name": "store_literal_in_memory_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "280:6:14",
"type": ""
}
],
"src": "182:226:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "560:220:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "570:74:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "636:3:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "641:2:14",
"type": "",
"value": "39"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "577:58:14"
},
"nodeType": "YulFunctionCall",
"src": "577:67:14"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "570:3:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "742:3:14"
}
],
"functionName": {
"name": "store_literal_in_memory_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a",
"nodeType": "YulIdentifier",
"src": "653:88:14"
},
"nodeType": "YulFunctionCall",
"src": "653:93:14"
},
"nodeType": "YulExpressionStatement",
"src": "653:93:14"
},
{
"nodeType": "YulAssignment",
"src": "755:19:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "766:3:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "771:2:14",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "762:3:14"
},
"nodeType": "YulFunctionCall",
"src": "762:12:14"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "755:3:14"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "548:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "556:3:14",
"type": ""
}
],
"src": "414:366:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "957:248:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "967:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "979:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "990:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "975:3:14"
},
"nodeType": "YulFunctionCall",
"src": "975:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "967:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1014:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1025:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1010:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1010:17:14"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1033:4:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1039:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1029:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1029:20:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1003:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1003:47:14"
},
"nodeType": "YulExpressionStatement",
"src": "1003:47:14"
},
{
"nodeType": "YulAssignment",
"src": "1059:139:14",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1193:4:14"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1067:124:14"
},
"nodeType": "YulFunctionCall",
"src": "1067:131:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1059:4:14"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "937:9:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "952:4:14",
"type": ""
}
],
"src": "786:419:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1254:43:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1264:27:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1279:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1286:4:14",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1275:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1275:16:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1264:7:14"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1236:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1246:7:14",
"type": ""
}
],
"src": "1211:86:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1364:51:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1381:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1402:5:14"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "1386:15:14"
},
"nodeType": "YulFunctionCall",
"src": "1386:22:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1374:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1374:35:14"
},
"nodeType": "YulExpressionStatement",
"src": "1374:35:14"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1352:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1359:3:14",
"type": ""
}
],
"src": "1303:112:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1515:120:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1525:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1537:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1548:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1533:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1533:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1525:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1601:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1614:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1625:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1610:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1610:17:14"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "1561:39:14"
},
"nodeType": "YulFunctionCall",
"src": "1561:67:14"
},
"nodeType": "YulExpressionStatement",
"src": "1561:67:14"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1487:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1499:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1510:4:14",
"type": ""
}
],
"src": "1421:214:14"
}
]
},
"contents": "{\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a(memPtr) {\n\n mstore(add(memPtr, 0), \"Initializable: contract is initi\")\n\n mstore(add(memPtr, 32), \"alizing\")\n\n }\n\n function abi_encode_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 39)\n store_literal_in_memory_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n",
"id": 14,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152503480156200004457600080fd5b50620000556200005b60201b60201c565b62000205565b600060019054906101000a900460ff1615620000ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a590620001a8565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff16146200011f5760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff604051620001169190620001e8565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b60006200019060278362000121565b91506200019d8262000132565b604082019050919050565b60006020820190508181036000830152620001c38162000181565b9050919050565b600060ff82169050919050565b620001e281620001ca565b82525050565b6000602082019050620001ff6000830184620001d7565b92915050565b608051612d886200023d60003960008181610550015281816105de0152818161070f0152818161079d015261084d0152612d886000f3fe6080604052600436106101095760003560e01c806370a082311161009557806395d89b411161006457806395d89b411461034c578063a457c2d714610377578063a9059cbb146103b4578063dd62ed3e146103f1578063f2fde38b1461042e57610109565b806370a08231146102b6578063715018a6146102f35780638129fc1c1461030a5780638da5cb5b1461032157610109565b8063313ce567116100dc578063313ce567146101de5780633659cfe61461020957806339509351146102325780634f1ef2861461026f57806352d1902d1461028b57610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a1575b600080fd5b34801561011a57600080fd5b50610123610457565b6040516101309190611abb565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b9190611b85565b6104e9565b60405161016d9190611be0565b60405180910390f35b34801561018257600080fd5b5061018b61050c565b6040516101989190611c0a565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611c25565b610516565b6040516101d59190611be0565b60405180910390f35b3480156101ea57600080fd5b506101f3610545565b6040516102009190611c94565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190611caf565b61054e565b005b34801561023e57600080fd5b5061025960048036038101906102549190611b85565b6106d6565b6040516102669190611be0565b60405180910390f35b61028960048036038101906102849190611e11565b61070d565b005b34801561029757600080fd5b506102a0610849565b6040516102ad9190611e86565b60405180910390f35b3480156102c257600080fd5b506102dd60048036038101906102d89190611caf565b610902565b6040516102ea9190611c0a565b60405180910390f35b3480156102ff57600080fd5b5061030861094b565b005b34801561031657600080fd5b5061031f61095f565b005b34801561032d57600080fd5b50610336610b19565b6040516103439190611eb0565b60405180910390f35b34801561035857600080fd5b50610361610b43565b60405161036e9190611abb565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190611b85565b610bd5565b6040516103ab9190611be0565b60405180910390f35b3480156103c057600080fd5b506103db60048036038101906103d69190611b85565b610c4c565b6040516103e89190611be0565b60405180910390f35b3480156103fd57600080fd5b5061041860048036038101906104139190611ecb565b610c6f565b6040516104259190611c0a565b60405180910390f35b34801561043a57600080fd5b5061045560048036038101906104509190611caf565b610cf6565b005b60606036805461046690611f3a565b80601f016020809104026020016040519081016040528092919081815260200182805461049290611f3a565b80156104df5780601f106104b4576101008083540402835291602001916104df565b820191906000526020600020905b8154815290600101906020018083116104c257829003601f168201915b5050505050905090565b6000806104f4610d79565b9050610501818585610d81565b600191505092915050565b6000603554905090565b600080610521610d79565b905061052e858285610f4a565b610539858585610fd6565b60019150509392505050565b60006012905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036105dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d390611fdd565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661061b61124f565b73ffffffffffffffffffffffffffffffffffffffff1614610671576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106689061206f565b60405180910390fd5b61067a816112a6565b6106d381600067ffffffffffffffff81111561069957610698611ce6565b5b6040519080825280601f01601f1916602001820160405280156106cb5781602001600182028036833780820191505090505b5060006112b1565b50565b6000806106e1610d79565b90506107028185856106f38589610c6f565b6106fd91906120be565b610d81565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361079b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079290611fdd565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166107da61124f565b73ffffffffffffffffffffffffffffffffffffffff1614610830576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108279061206f565b60405180910390fd5b610839826112a6565b610845828260016112b1565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16146108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d090612164565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61095361141f565b61095d600061149d565b565b60008060019054906101000a900460ff161590508080156109905750600160008054906101000a900460ff1660ff16105b806109bd575061099f30611563565b1580156109bc5750600160008054906101000a900460ff1660ff16145b5b6109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f3906121f6565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610a39576001600060016101000a81548160ff0219169083151502179055505b610aad6040518060400160405280600781526020017f4d79546f6b656e000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d544b0000000000000000000000000000000000000000000000000000000000815250611586565b610ab56115e3565b610abd61163c565b8015610b165760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610b0d919061225b565b60405180910390a15b50565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610b5290611f3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7e90611f3a565b8015610bcb5780601f10610ba057610100808354040283529160200191610bcb565b820191906000526020600020905b815481529060010190602001808311610bae57829003601f168201915b5050505050905090565b600080610be0610d79565b90506000610bee8286610c6f565b905083811015610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a906122e8565b60405180910390fd5b610c408286868403610d81565b60019250505092915050565b600080610c57610d79565b9050610c64818585610fd6565b600191505092915050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610cfe61141f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d649061237a565b60405180910390fd5b610d768161149d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de79061240c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e569061249e565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f3d9190611c0a565b60405180910390a3505050565b6000610f568484610c6f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610fd05781811015610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb99061250a565b60405180910390fd5b610fcf8484848403610d81565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103c9061259c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061262e565b60405180910390fd5b6110bf83838361168d565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113d906126c0565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112369190611c0a565b60405180910390a3611249848484611692565b50505050565b600061127d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611697565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112ae61141f565b50565b6112dd7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6116a1565b60000160009054906101000a900460ff1615611301576112fc836116ab565b61141a565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561136957506040513d601f19601f82011682018060405250810190611366919061270c565b60015b6113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f906127ab565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461140d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114049061283d565b60405180910390fd5b50611419838383611764565b5b505050565b611427610d79565b73ffffffffffffffffffffffffffffffffffffffff16611445610b19565b73ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611492906128a9565b60405180910390fd5b565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff166115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc9061293b565b60405180910390fd5b6115df8282611790565b5050565b600060019054906101000a900460ff16611632576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116299061293b565b60405180910390fd5b61163a611803565b565b600060019054906101000a900460ff1661168b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116829061293b565b60405180910390fd5b565b505050565b505050565b6000819050919050565b6000819050919050565b6116b481611563565b6116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea906129cd565b60405180910390fd5b806117207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611697565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61176d83611864565b60008251118061177a5750805b1561178b5761178983836118b3565b505b505050565b600060019054906101000a900460ff166117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d69061293b565b60405180910390fd5b81603690816117ee9190612b8f565b5080603790816117fe9190612b8f565b505050565b600060019054906101000a900460ff16611852576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118499061293b565b60405180910390fd5b61186261185d610d79565b61149d565b565b61186d816116ab565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606118d88383604051806060016040528060278152602001612d2c602791396118e0565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff168560405161190a9190612ca8565b600060405180830381855af49150503d8060008114611945576040519150601f19603f3d011682016040523d82523d6000602084013e61194a565b606091505b509150915061195b86838387611966565b925050509392505050565b606083156119c85760008351036119c05761198085611563565b6119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690612d0b565b60405180910390fd5b5b8290506119d3565b6119d283836119db565b5b949350505050565b6000825111156119ee5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a229190611abb565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015611a65578082015181840152602081019050611a4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a8d82611a2b565b611a978185611a36565b9350611aa7818560208601611a47565b611ab081611a71565b840191505092915050565b60006020820190508181036000830152611ad58184611a82565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611b1c82611af1565b9050919050565b611b2c81611b11565b8114611b3757600080fd5b50565b600081359050611b4981611b23565b92915050565b6000819050919050565b611b6281611b4f565b8114611b6d57600080fd5b50565b600081359050611b7f81611b59565b92915050565b60008060408385031215611b9c57611b9b611ae7565b5b6000611baa85828601611b3a565b9250506020611bbb85828601611b70565b9150509250929050565b60008115159050919050565b611bda81611bc5565b82525050565b6000602082019050611bf56000830184611bd1565b92915050565b611c0481611b4f565b82525050565b6000602082019050611c1f6000830184611bfb565b92915050565b600080600060608486031215611c3e57611c3d611ae7565b5b6000611c4c86828701611b3a565b9350506020611c5d86828701611b3a565b9250506040611c6e86828701611b70565b9150509250925092565b600060ff82169050919050565b611c8e81611c78565b82525050565b6000602082019050611ca96000830184611c85565b92915050565b600060208284031215611cc557611cc4611ae7565b5b6000611cd384828501611b3a565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611d1e82611a71565b810181811067ffffffffffffffff82111715611d3d57611d3c611ce6565b5b80604052505050565b6000611d50611add565b9050611d5c8282611d15565b919050565b600067ffffffffffffffff821115611d7c57611d7b611ce6565b5b611d8582611a71565b9050602081019050919050565b82818337600083830152505050565b6000611db4611daf84611d61565b611d46565b905082815260208101848484011115611dd057611dcf611ce1565b5b611ddb848285611d92565b509392505050565b600082601f830112611df857611df7611cdc565b5b8135611e08848260208601611da1565b91505092915050565b60008060408385031215611e2857611e27611ae7565b5b6000611e3685828601611b3a565b925050602083013567ffffffffffffffff811115611e5757611e56611aec565b5b611e6385828601611de3565b9150509250929050565b6000819050919050565b611e8081611e6d565b82525050565b6000602082019050611e9b6000830184611e77565b92915050565b611eaa81611b11565b82525050565b6000602082019050611ec56000830184611ea1565b92915050565b60008060408385031215611ee257611ee1611ae7565b5b6000611ef085828601611b3a565b9250506020611f0185828601611b3a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611f5257607f821691505b602082108103611f6557611f64611f0b565b5b50919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b6000611fc7602c83611a36565b9150611fd282611f6b565b604082019050919050565b60006020820190508181036000830152611ff681611fba565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b6000612059602c83611a36565b915061206482611ffd565b604082019050919050565b600060208201905081810360008301526120888161204c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120c982611b4f565b91506120d483611b4f565b92508282019050808211156120ec576120eb61208f565b5b92915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061214e603883611a36565b9150612159826120f2565b604082019050919050565b6000602082019050818103600083015261217d81612141565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006121e0602e83611a36565b91506121eb82612184565b604082019050919050565b6000602082019050818103600083015261220f816121d3565b9050919050565b6000819050919050565b6000819050919050565b600061224561224061223b84612216565b612220565b611c78565b9050919050565b6122558161222a565b82525050565b6000602082019050612270600083018461224c565b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006122d2602583611a36565b91506122dd82612276565b604082019050919050565b60006020820190508181036000830152612301816122c5565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612364602683611a36565b915061236f82612308565b604082019050919050565b6000602082019050818103600083015261239381612357565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006123f6602483611a36565b91506124018261239a565b604082019050919050565b60006020820190508181036000830152612425816123e9565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612488602283611a36565b91506124938261242c565b604082019050919050565b600060208201905081810360008301526124b78161247b565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006124f4601d83611a36565b91506124ff826124be565b602082019050919050565b60006020820190508181036000830152612523816124e7565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612586602583611a36565b91506125918261252a565b604082019050919050565b600060208201905081810360008301526125b581612579565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612618602383611a36565b9150612623826125bc565b604082019050919050565b600060208201905081810360008301526126478161260b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006126aa602683611a36565b91506126b58261264e565b604082019050919050565b600060208201905081810360008301526126d98161269d565b9050919050565b6126e981611e6d565b81146126f457600080fd5b50565b600081519050612706816126e0565b92915050565b60006020828403121561272257612721611ae7565b5b6000612730848285016126f7565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000612795602e83611a36565b91506127a082612739565b604082019050919050565b600060208201905081810360008301526127c481612788565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000612827602983611a36565b9150612832826127cb565b604082019050919050565b600060208201905081810360008301526128568161281a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612893602083611a36565b915061289e8261285d565b602082019050919050565b600060208201905081810360008301526128c281612886565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000612925602b83611a36565b9150612930826128c9565b604082019050919050565b6000602082019050818103600083015261295481612918565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b60006129b7602d83611a36565b91506129c28261295b565b604082019050919050565b600060208201905081810360008301526129e6816129aa565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612a4f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612a12565b612a598683612a12565b95508019841693508086168417925050509392505050565b6000612a8c612a87612a8284611b4f565b612220565b611b4f565b9050919050565b6000819050919050565b612aa683612a71565b612aba612ab282612a93565b848454612a1f565b825550505050565b600090565b612acf612ac2565b612ada818484612a9d565b505050565b5b81811015612afe57612af3600082612ac7565b600181019050612ae0565b5050565b601f821115612b4357612b14816129ed565b612b1d84612a02565b81016020851015612b2c578190505b612b40612b3885612a02565b830182612adf565b50505b505050565b600082821c905092915050565b6000612b6660001984600802612b48565b1980831691505092915050565b6000612b7f8383612b55565b9150826002028217905092915050565b612b9882611a2b565b67ffffffffffffffff811115612bb157612bb0611ce6565b5b612bbb8254611f3a565b612bc6828285612b02565b600060209050601f831160018114612bf95760008415612be7578287015190505b612bf18582612b73565b865550612c59565b601f198416612c07866129ed565b60005b82811015612c2f57848901518255600182019150602085019450602081019050612c0a565b86831015612c4c5784890151612c48601f891682612b55565b8355505b6001600288020188555050505b505050505050565b600081519050919050565b600081905092915050565b6000612c8282612c61565b612c8c8185612c6c565b9350612c9c818560208601611a47565b80840191505092915050565b6000612cb48284612c77565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612cf5601d83611a36565b9150612d0082612cbf565b602082019050919050565b60006020820190508181036000830152612d2481612ce8565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220ef172e250e332a111197d2647206e6e544a46b176d83108e6b39f8125f5fe68b64736f6c63430008120033",
"opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x80 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP CALLVALUE DUP1 ISZERO PUSH3 0x44 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x55 PUSH3 0x5B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x205 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH3 0xAE JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0xA5 SWAP1 PUSH3 0x1A8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP1 AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0xFF AND EQ PUSH3 0x11F JUMPI PUSH1 0xFF PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 PUSH1 0xFF PUSH1 0x40 MLOAD PUSH3 0x116 SWAP2 SWAP1 PUSH3 0x1E8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320696E697469 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616C697A696E6700000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x190 PUSH1 0x27 DUP4 PUSH3 0x121 JUMP JUMPDEST SWAP2 POP PUSH3 0x19D DUP3 PUSH3 0x132 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0x1C3 DUP2 PUSH3 0x181 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x1E2 DUP2 PUSH3 0x1CA JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0x1FF PUSH1 0x0 DUP4 ADD DUP5 PUSH3 0x1D7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH2 0x2D88 PUSH3 0x23D PUSH1 0x0 CODECOPY PUSH1 0x0 DUP2 DUP2 PUSH2 0x550 ADD MSTORE DUP2 DUP2 PUSH2 0x5DE ADD MSTORE DUP2 DUP2 PUSH2 0x70F ADD MSTORE DUP2 DUP2 PUSH2 0x79D ADD MSTORE PUSH2 0x84D ADD MSTORE PUSH2 0x2D88 PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x109 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0x95 JUMPI DUP1 PUSH4 0x95D89B41 GT PUSH2 0x64 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x34C JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x377 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x3B4 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x3F1 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x42E JUMPI PUSH2 0x109 JUMP JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x2B6 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x2F3 JUMPI DUP1 PUSH4 0x8129FC1C EQ PUSH2 0x30A JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x321 JUMPI PUSH2 0x109 JUMP JUMPDEST DUP1 PUSH4 0x313CE567 GT PUSH2 0xDC JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x1DE JUMPI DUP1 PUSH4 0x3659CFE6 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x232 JUMPI DUP1 PUSH4 0x4F1EF286 EQ PUSH2 0x26F JUMPI DUP1 PUSH4 0x52D1902D EQ PUSH2 0x28B JUMPI PUSH2 0x109 JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x10E JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x139 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x176 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x1A1 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x11A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x123 PUSH2 0x457 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x130 SWAP2 SWAP1 PUSH2 0x1ABB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x145 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x160 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x15B SWAP2 SWAP1 PUSH2 0x1B85 JUMP JUMPDEST PUSH2 0x4E9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x16D SWAP2 SWAP1 PUSH2 0x1BE0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x182 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x18B PUSH2 0x50C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x198 SWAP2 SWAP1 PUSH2 0x1C0A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1C8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1C3 SWAP2 SWAP1 PUSH2 0x1C25 JUMP JUMPDEST PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D5 SWAP2 SWAP1 PUSH2 0x1BE0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1F3 PUSH2 0x545 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x1C94 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x215 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x230 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x22B SWAP2 SWAP1 PUSH2 0x1CAF JUMP JUMPDEST PUSH2 0x54E JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x23E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x259 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x254 SWAP2 SWAP1 PUSH2 0x1B85 JUMP JUMPDEST PUSH2 0x6D6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x266 SWAP2 SWAP1 PUSH2 0x1BE0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x289 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x284 SWAP2 SWAP1 PUSH2 0x1E11 JUMP JUMPDEST PUSH2 0x70D JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x297 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2A0 PUSH2 0x849 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2AD SWAP2 SWAP1 PUSH2 0x1E86 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2DD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2D8 SWAP2 SWAP1 PUSH2 0x1CAF JUMP JUMPDEST PUSH2 0x902 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2EA SWAP2 SWAP1 PUSH2 0x1C0A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x308 PUSH2 0x94B JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x316 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x31F PUSH2 0x95F JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x32D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x336 PUSH2 0xB19 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x343 SWAP2 SWAP1 PUSH2 0x1EB0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x358 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x361 PUSH2 0xB43 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x36E SWAP2 SWAP1 PUSH2 0x1ABB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x383 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x39E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x399 SWAP2 SWAP1 PUSH2 0x1B85 JUMP JUMPDEST PUSH2 0xBD5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3AB SWAP2 SWAP1 PUSH2 0x1BE0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3DB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3D6 SWAP2 SWAP1 PUSH2 0x1B85 JUMP JUMPDEST PUSH2 0xC4C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3E8 SWAP2 SWAP1 PUSH2 0x1BE0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x418 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x413 SWAP2 SWAP1 PUSH2 0x1ECB JUMP JUMPDEST PUSH2 0xC6F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x425 SWAP2 SWAP1 PUSH2 0x1C0A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x43A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x455 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x450 SWAP2 SWAP1 PUSH2 0x1CAF JUMP JUMPDEST PUSH2 0xCF6 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH1 0x36 DUP1 SLOAD PUSH2 0x466 SWAP1 PUSH2 0x1F3A JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x492 SWAP1 PUSH2 0x1F3A JUMP JUMPDEST DUP1 ISZERO PUSH2 0x4DF JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x4B4 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x4DF JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x4C2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x4F4 PUSH2 0xD79 JUMP JUMPDEST SWAP1 POP PUSH2 0x501 DUP2 DUP6 DUP6 PUSH2 0xD81 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x35 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x521 PUSH2 0xD79 JUMP JUMPDEST SWAP1 POP PUSH2 0x52E DUP6 DUP3 DUP6 PUSH2 0xF4A JUMP JUMPDEST PUSH2 0x539 DUP6 DUP6 DUP6 PUSH2 0xFD6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x5DC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5D3 SWAP1 PUSH2 0x1FDD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x61B PUSH2 0x124F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x671 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x668 SWAP1 PUSH2 0x206F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x67A DUP2 PUSH2 0x12A6 JUMP JUMPDEST PUSH2 0x6D3 DUP2 PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x699 JUMPI PUSH2 0x698 PUSH2 0x1CE6 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x6CB JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP PUSH1 0x0 PUSH2 0x12B1 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6E1 PUSH2 0xD79 JUMP JUMPDEST SWAP1 POP PUSH2 0x702 DUP2 DUP6 DUP6 PUSH2 0x6F3 DUP6 DUP10 PUSH2 0xC6F JUMP JUMPDEST PUSH2 0x6FD SWAP2 SWAP1 PUSH2 0x20BE JUMP JUMPDEST PUSH2 0xD81 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x79B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x792 SWAP1 PUSH2 0x1FDD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x7DA PUSH2 0x124F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x830 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x827 SWAP1 PUSH2 0x206F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x839 DUP3 PUSH2 0x12A6 JUMP JUMPDEST PUSH2 0x845 DUP3 DUP3 PUSH1 0x1 PUSH2 0x12B1 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x8D9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8D0 SWAP1 PUSH2 0x2164 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x33 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x953 PUSH2 0x141F JUMP JUMPDEST PUSH2 0x95D PUSH1 0x0 PUSH2 0x149D JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO SWAP1 POP DUP1 DUP1 ISZERO PUSH2 0x990 JUMPI POP PUSH1 0x1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0xFF AND LT JUMPDEST DUP1 PUSH2 0x9BD JUMPI POP PUSH2 0x99F ADDRESS PUSH2 0x1563 JUMP JUMPDEST ISZERO DUP1 ISZERO PUSH2 0x9BC JUMPI POP PUSH1 0x1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0xFF AND EQ JUMPDEST JUMPDEST PUSH2 0x9FC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9F3 SWAP1 PUSH2 0x21F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP DUP1 ISZERO PUSH2 0xA39 JUMPI PUSH1 0x1 PUSH1 0x0 PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP JUMPDEST PUSH2 0xAAD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4D79546F6B656E00000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4D544B0000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH2 0x1586 JUMP JUMPDEST PUSH2 0xAB5 PUSH2 0x15E3 JUMP JUMPDEST PUSH2 0xABD PUSH2 0x163C JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB16 JUMPI PUSH1 0x0 DUP1 PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 PUSH1 0x1 PUSH1 0x40 MLOAD PUSH2 0xB0D SWAP2 SWAP1 PUSH2 0x225B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x65 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x37 DUP1 SLOAD PUSH2 0xB52 SWAP1 PUSH2 0x1F3A JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xB7E SWAP1 PUSH2 0x1F3A JUMP JUMPDEST DUP1 ISZERO PUSH2 0xBCB JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xBA0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xBCB JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xBAE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xBE0 PUSH2 0xD79 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xBEE DUP3 DUP7 PUSH2 0xC6F JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0xC33 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC2A SWAP1 PUSH2 0x22E8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xC40 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0xD81 JUMP JUMPDEST PUSH1 0x1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xC57 PUSH2 0xD79 JUMP JUMPDEST SWAP1 POP PUSH2 0xC64 DUP2 DUP6 DUP6 PUSH2 0xFD6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x34 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xCFE PUSH2 0x141F JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xD6D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD64 SWAP1 PUSH2 0x237A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xD76 DUP2 PUSH2 0x149D JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xDF0 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDE7 SWAP1 PUSH2 0x240C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xE5F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE56 SWAP1 PUSH2 0x249E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x34 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0xF3D SWAP2 SWAP1 PUSH2 0x1C0A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF56 DUP5 DUP5 PUSH2 0xC6F JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 EQ PUSH2 0xFD0 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0xFC2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xFB9 SWAP1 PUSH2 0x250A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xFCF DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0xD81 JUMP JUMPDEST JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1045 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x103C SWAP1 PUSH2 0x259C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x10B4 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x10AB SWAP1 PUSH2 0x262E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x10BF DUP4 DUP4 DUP4 PUSH2 0x168D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x33 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0x1146 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x113D SWAP1 PUSH2 0x26C0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x33 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x33 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x1236 SWAP2 SWAP1 PUSH2 0x1C0A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1249 DUP5 DUP5 DUP5 PUSH2 0x1692 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x127D PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x1697 JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x12AE PUSH2 0x141F JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x12DD PUSH32 0x4910FDFA16FED3260ED0E7147F7CC6DA11A60208B5B9406D12A635614FFD9143 PUSH1 0x0 SHL PUSH2 0x16A1 JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x1301 JUMPI PUSH2 0x12FC DUP4 PUSH2 0x16AB JUMP JUMPDEST PUSH2 0x141A JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x52D1902D PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x1369 JUMPI POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1366 SWAP2 SWAP1 PUSH2 0x270C JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x13A8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x139F SWAP1 PUSH2 0x27AB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL DUP2 EQ PUSH2 0x140D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1404 SWAP1 PUSH2 0x283D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH2 0x1419 DUP4 DUP4 DUP4 PUSH2 0x1764 JUMP JUMPDEST JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x1427 PUSH2 0xD79 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1445 PUSH2 0xB19 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x149B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1492 SWAP1 PUSH2 0x28A9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x65 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x65 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE GT SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH2 0x15D5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15CC SWAP1 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x15DF DUP3 DUP3 PUSH2 0x1790 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1632 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1629 SWAP1 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x163A PUSH2 0x1803 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH2 0x168B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1682 SWAP1 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x16B4 DUP2 PUSH2 0x1563 JUMP JUMPDEST PUSH2 0x16F3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x16EA SWAP1 PUSH2 0x29CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x1720 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x1697 JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH2 0x176D DUP4 PUSH2 0x1864 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD GT DUP1 PUSH2 0x177A JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0x178B JUMPI PUSH2 0x1789 DUP4 DUP4 PUSH2 0x18B3 JUMP JUMPDEST POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH2 0x17DF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x17D6 SWAP1 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 PUSH1 0x36 SWAP1 DUP2 PUSH2 0x17EE SWAP2 SWAP1 PUSH2 0x2B8F JUMP JUMPDEST POP DUP1 PUSH1 0x37 SWAP1 DUP2 PUSH2 0x17FE SWAP2 SWAP1 PUSH2 0x2B8F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1852 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1849 SWAP1 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1862 PUSH2 0x185D PUSH2 0xD79 JUMP JUMPDEST PUSH2 0x149D JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x186D DUP2 PUSH2 0x16AB JUMP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x18D8 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x2D2C PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x18E0 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x190A SWAP2 SWAP1 PUSH2 0x2CA8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1945 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x194A JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x195B DUP7 DUP4 DUP4 DUP8 PUSH2 0x1966 JUMP JUMPDEST SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x19C8 JUMPI PUSH1 0x0 DUP4 MLOAD SUB PUSH2 0x19C0 JUMPI PUSH2 0x1980 DUP6 PUSH2 0x1563 JUMP JUMPDEST PUSH2 0x19BF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x19B6 SWAP1 PUSH2 0x2D0B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST DUP3 SWAP1 POP PUSH2 0x19D3 JUMP JUMPDEST PUSH2 0x19D2 DUP4 DUP4 PUSH2 0x19DB JUMP JUMPDEST JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD GT ISZERO PUSH2 0x19EE JUMPI DUP2 MLOAD DUP1 DUP4 PUSH1 0x20 ADD REVERT JUMPDEST DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A22 SWAP2 SWAP1 PUSH2 0x1ABB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A65 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1A4A JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1A8D DUP3 PUSH2 0x1A2B JUMP JUMPDEST PUSH2 0x1A97 DUP2 DUP6 PUSH2 0x1A36 JUMP JUMPDEST SWAP4 POP PUSH2 0x1AA7 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x1A47 JUMP JUMPDEST PUSH2 0x1AB0 DUP2 PUSH2 0x1A71 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1AD5 DUP2 DUP5 PUSH2 0x1A82 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B1C DUP3 PUSH2 0x1AF1 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B2C DUP2 PUSH2 0x1B11 JUMP JUMPDEST DUP2 EQ PUSH2 0x1B37 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1B49 DUP2 PUSH2 0x1B23 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B62 DUP2 PUSH2 0x1B4F JUMP JUMPDEST DUP2 EQ PUSH2 0x1B6D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1B7F DUP2 PUSH2 0x1B59 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1B9C JUMPI PUSH2 0x1B9B PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1BAA DUP6 DUP3 DUP7 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1BBB DUP6 DUP3 DUP7 ADD PUSH2 0x1B70 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1BDA DUP2 PUSH2 0x1BC5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1BF5 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1BD1 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1C04 DUP2 PUSH2 0x1B4F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1C1F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1BFB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1C3E JUMPI PUSH2 0x1C3D PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1C4C DUP7 DUP3 DUP8 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1C5D DUP7 DUP3 DUP8 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1C6E DUP7 DUP3 DUP8 ADD PUSH2 0x1B70 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1C8E DUP2 PUSH2 0x1C78 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1CA9 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1C85 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CC5 JUMPI PUSH2 0x1CC4 PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1CD3 DUP5 DUP3 DUP6 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x1D1E DUP3 PUSH2 0x1A71 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1D3D JUMPI PUSH2 0x1D3C PUSH2 0x1CE6 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1D50 PUSH2 0x1ADD JUMP JUMPDEST SWAP1 POP PUSH2 0x1D5C DUP3 DUP3 PUSH2 0x1D15 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x1D7C JUMPI PUSH2 0x1D7B PUSH2 0x1CE6 JUMP JUMPDEST JUMPDEST PUSH2 0x1D85 DUP3 PUSH2 0x1A71 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1DB4 PUSH2 0x1DAF DUP5 PUSH2 0x1D61 JUMP JUMPDEST PUSH2 0x1D46 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x1DD0 JUMPI PUSH2 0x1DCF PUSH2 0x1CE1 JUMP JUMPDEST JUMPDEST PUSH2 0x1DDB DUP5 DUP3 DUP6 PUSH2 0x1D92 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1DF8 JUMPI PUSH2 0x1DF7 PUSH2 0x1CDC JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1E08 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1DA1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1E28 JUMPI PUSH2 0x1E27 PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1E36 DUP6 DUP3 DUP7 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1E57 JUMPI PUSH2 0x1E56 PUSH2 0x1AEC JUMP JUMPDEST JUMPDEST PUSH2 0x1E63 DUP6 DUP3 DUP7 ADD PUSH2 0x1DE3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1E80 DUP2 PUSH2 0x1E6D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1E9B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1E77 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1EAA DUP2 PUSH2 0x1B11 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1EC5 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1EA1 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1EE2 JUMPI PUSH2 0x1EE1 PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1EF0 DUP6 DUP3 DUP7 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1F01 DUP6 DUP3 DUP7 ADD PUSH2 0x1B3A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x1F52 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1F65 JUMPI PUSH2 0x1F64 PUSH2 0x1F0B JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x46756E6374696F6E206D7573742062652063616C6C6564207468726F75676820 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x64656C656761746563616C6C0000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1FC7 PUSH1 0x2C DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x1FD2 DUP3 PUSH2 0x1F6B JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1FF6 DUP2 PUSH2 0x1FBA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x46756E6374696F6E206D7573742062652063616C6C6564207468726F75676820 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6163746976652070726F78790000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2059 PUSH1 0x2C DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2064 DUP3 PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2088 DUP2 PUSH2 0x204C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x20C9 DUP3 PUSH2 0x1B4F JUMP JUMPDEST SWAP2 POP PUSH2 0x20D4 DUP4 PUSH2 0x1B4F JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x20EC JUMPI PUSH2 0x20EB PUSH2 0x208F JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x555550535570677261646561626C653A206D757374206E6F742062652063616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6C6564207468726F7567682064656C656761746563616C6C0000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x214E PUSH1 0x38 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2159 DUP3 PUSH2 0x20F2 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x217D DUP2 PUSH2 0x2141 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320616C726561 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x647920696E697469616C697A6564000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21E0 PUSH1 0x2E DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x21EB DUP3 PUSH2 0x2184 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x220F DUP2 PUSH2 0x21D3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2245 PUSH2 0x2240 PUSH2 0x223B DUP5 PUSH2 0x2216 JUMP JUMPDEST PUSH2 0x2220 JUMP JUMPDEST PUSH2 0x1C78 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2255 DUP2 PUSH2 0x222A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2270 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x224C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x22D2 PUSH1 0x25 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x22DD DUP3 PUSH2 0x2276 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2301 DUP2 PUSH2 0x22C5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2364 PUSH1 0x26 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x236F DUP3 PUSH2 0x2308 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2393 DUP2 PUSH2 0x2357 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x23F6 PUSH1 0x24 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2401 DUP3 PUSH2 0x239A JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2425 DUP2 PUSH2 0x23E9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2488 PUSH1 0x22 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2493 DUP3 PUSH2 0x242C JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x24B7 DUP2 PUSH2 0x247B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24F4 PUSH1 0x1D DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x24FF DUP3 PUSH2 0x24BE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2523 DUP2 PUSH2 0x24E7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2586 PUSH1 0x25 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2591 DUP3 PUSH2 0x252A JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x25B5 DUP2 PUSH2 0x2579 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2618 PUSH1 0x23 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2623 DUP3 PUSH2 0x25BC JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2647 DUP2 PUSH2 0x260B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x26AA PUSH1 0x26 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x26B5 DUP3 PUSH2 0x264E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x26D9 DUP2 PUSH2 0x269D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x26E9 DUP2 PUSH2 0x1E6D JUMP JUMPDEST DUP2 EQ PUSH2 0x26F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x2706 DUP2 PUSH2 0x26E0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2722 JUMPI PUSH2 0x2721 PUSH2 0x1AE7 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x2730 DUP5 DUP3 DUP6 ADD PUSH2 0x26F7 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524331393637557067726164653A206E657720696D706C656D656E74617469 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6F6E206973206E6F742055555053000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2795 PUSH1 0x2E DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x27A0 DUP3 PUSH2 0x2739 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x27C4 DUP2 PUSH2 0x2788 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524331393637557067726164653A20756E737570706F727465642070726F78 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6961626C65555549440000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2827 PUSH1 0x29 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2832 DUP3 PUSH2 0x27CB JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2856 DUP2 PUSH2 0x281A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2893 PUSH1 0x20 DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x289E DUP3 PUSH2 0x285D JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x28C2 DUP2 PUSH2 0x2886 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x496E697469616C697A61626C653A20636F6E7472616374206973206E6F742069 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6E697469616C697A696E67000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2925 PUSH1 0x2B DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2930 DUP3 PUSH2 0x28C9 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2954 DUP2 PUSH2 0x2918 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x455243313936373A206E657720696D706C656D656E746174696F6E206973206E PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6F74206120636F6E747261637400000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29B7 PUSH1 0x2D DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x29C2 DUP3 PUSH2 0x295B JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x29E6 DUP2 PUSH2 0x29AA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x2A4F PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x2A12 JUMP JUMPDEST PUSH2 0x2A59 DUP7 DUP4 PUSH2 0x2A12 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2A8C PUSH2 0x2A87 PUSH2 0x2A82 DUP5 PUSH2 0x1B4F JUMP JUMPDEST PUSH2 0x2220 JUMP JUMPDEST PUSH2 0x1B4F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2AA6 DUP4 PUSH2 0x2A71 JUMP JUMPDEST PUSH2 0x2ABA PUSH2 0x2AB2 DUP3 PUSH2 0x2A93 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x2A1F JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x2ACF PUSH2 0x2AC2 JUMP JUMPDEST PUSH2 0x2ADA DUP2 DUP5 DUP5 PUSH2 0x2A9D JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x2AFE JUMPI PUSH2 0x2AF3 PUSH1 0x0 DUP3 PUSH2 0x2AC7 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x2AE0 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x2B43 JUMPI PUSH2 0x2B14 DUP2 PUSH2 0x29ED JUMP JUMPDEST PUSH2 0x2B1D DUP5 PUSH2 0x2A02 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x2B2C JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x2B40 PUSH2 0x2B38 DUP6 PUSH2 0x2A02 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x2ADF JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2B66 PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x2B48 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2B7F DUP4 DUP4 PUSH2 0x2B55 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2B98 DUP3 PUSH2 0x1A2B JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BB1 JUMPI PUSH2 0x2BB0 PUSH2 0x1CE6 JUMP JUMPDEST JUMPDEST PUSH2 0x2BBB DUP3 SLOAD PUSH2 0x1F3A JUMP JUMPDEST PUSH2 0x2BC6 DUP3 DUP3 DUP6 PUSH2 0x2B02 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x2BF9 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x2BE7 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x2BF1 DUP6 DUP3 PUSH2 0x2B73 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x2C59 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x2C07 DUP7 PUSH2 0x29ED JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x2C2F JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2C0A JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x2C4C JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x2C48 PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x2B55 JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2C82 DUP3 PUSH2 0x2C61 JUMP JUMPDEST PUSH2 0x2C8C DUP2 DUP6 PUSH2 0x2C6C JUMP JUMPDEST SWAP4 POP PUSH2 0x2C9C DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x1A47 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2CB4 DUP3 DUP5 PUSH2 0x2C77 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2CF5 PUSH1 0x1D DUP4 PUSH2 0x1A36 JUMP JUMPDEST SWAP2 POP PUSH2 0x2D00 DUP3 PUSH2 0x2CBF JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2D24 DUP2 PUSH2 0x2CE8 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID COINBASE PUSH5 0x6472657373 GASPRICE KECCAK256 PUSH13 0x6F772D6C6576656C2064656C65 PUSH8 0x6174652063616C6C KECCAK256 PUSH7 0x61696C6564A264 PUSH10 0x70667358221220EF172E 0x25 0xE CALLER 0x2A GT GT SWAP8 0xD2 PUSH5 0x7206E6E544 LOG4 PUSH12 0x176D83108E6B39F8125F5FE6 DUP12 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "367:489:13:-:0;;;1332:4:6;1289:48;;;;;;;;;515:53:13;;;;;;;;;;539:22;:20;;;:22;;:::i;:::-;367:489;;5939:280:5;6007:13;;;;;;;;;;;6006:14;5998:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;6094:15;6078:31;;:12;;;;;;;;;;:31;;;6074:139;;6140:15;6125:12;;:30;;;;;;;;;;;;;;;;;;6174:28;6186:15;6174:28;;;;;;:::i;:::-;;;;;;;;6074:139;5939:280::o;7:169:14:-;91:11;125:6;120:3;113:19;165:4;160:3;156:14;141:29;;7:169;;;;:::o;182:226::-;322:34;318:1;310:6;306:14;299:58;391:9;386:2;378:6;374:15;367:34;182:226;:::o;414:366::-;556:3;577:67;641:2;636:3;577:67;:::i;:::-;570:74;;653:93;742:3;653:93;:::i;:::-;771:2;766:3;762:12;755:19;;414:366;;;:::o;786:419::-;952:4;990:2;979:9;975:18;967:26;;1039:9;1033:4;1029:20;1025:1;1014:9;1010:17;1003:47;1067:131;1193:4;1067:131;:::i;:::-;1059:139;;786:419;;;:::o;1211:86::-;1246:7;1286:4;1279:5;1275:16;1264:27;;1211:86;;;:::o;1303:112::-;1386:22;1402:5;1386:22;:::i;:::-;1381:3;1374:35;1303:112;;:::o;1421:214::-;1510:4;1548:2;1537:9;1533:18;1525:26;;1561:67;1625:1;1614:9;1610:17;1601:6;1561:67;:::i;:::-;1421:214;;;;:::o;367:489:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@__ERC20_init_848": {
"entryPoint": 5510,
"id": 848,
"parameterSlots": 2,
"returnSlots": 0
},
"@__ERC20_init_unchained_866": {
"entryPoint": 6032,
"id": 866,
"parameterSlots": 2,
"returnSlots": 0
},
"@__Ownable_init_26": {
"entryPoint": 5603,
"id": 26,
"parameterSlots": 0,
"returnSlots": 0
},
"@__Ownable_init_unchained_37": {
"entryPoint": 6147,
"id": 37,
"parameterSlots": 0,
"returnSlots": 0
},
"@__UUPSUpgradeable_init_683": {
"entryPoint": 5692,
"id": 683,
"parameterSlots": 0,
"returnSlots": 0
},
"@_afterTokenTransfer_1407": {
"entryPoint": 5778,
"id": 1407,
"parameterSlots": 3,
"returnSlots": 0
},
"@_approve_1342": {
"entryPoint": 3457,
"id": 1342,
"parameterSlots": 3,
"returnSlots": 0
},
"@_authorizeUpgrade_2046": {
"entryPoint": 4774,
"id": 2046,
"parameterSlots": 1,
"returnSlots": 0
},
"@_beforeTokenTransfer_1396": {
"entryPoint": 5773,
"id": 1396,
"parameterSlots": 3,
"returnSlots": 0
},
"@_checkOwner_68": {
"entryPoint": 5151,
"id": 68,
"parameterSlots": 0,
"returnSlots": 0
},
"@_getImplementation_207": {
"entryPoint": 4687,
"id": 207,
"parameterSlots": 0,
"returnSlots": 1
},
"@_msgSender_1873": {
"entryPoint": 3449,
"id": 1873,
"parameterSlots": 0,
"returnSlots": 1
},
"@_revert_1845": {
"entryPoint": 6619,
"id": 1845,
"parameterSlots": 2,
"returnSlots": 0
},
"@_setImplementation_231": {
"entryPoint": 5803,
"id": 231,
"parameterSlots": 1,
"returnSlots": 0
},
"@_spendAllowance_1385": {
"entryPoint": 3914,
"id": 1385,
"parameterSlots": 3,
"returnSlots": 0
},
"@_transferOwnership_125": {
"entryPoint": 5277,
"id": 125,
"parameterSlots": 1,
"returnSlots": 0
},
"@_transfer_1168": {
"entryPoint": 4054,
"id": 1168,
"parameterSlots": 3,
"returnSlots": 0
},
"@_upgradeToAndCallUUPS_329": {
"entryPoint": 4785,
"id": 329,
"parameterSlots": 3,
"returnSlots": 0
},
"@_upgradeToAndCall_276": {
"entryPoint": 5988,
"id": 276,
"parameterSlots": 3,
"returnSlots": 0
},
"@_upgradeTo_246": {
"entryPoint": 6244,
"id": 246,
"parameterSlots": 1,
"returnSlots": 0
},
"@allowance_963": {
"entryPoint": 3183,
"id": 963,
"parameterSlots": 2,
"returnSlots": 1
},
"@approve_988": {
"entryPoint": 1257,
"id": 988,
"parameterSlots": 2,
"returnSlots": 1
},
"@balanceOf_920": {
"entryPoint": 2306,
"id": 920,
"parameterSlots": 1,
"returnSlots": 1
},
"@decimals_896": {
"entryPoint": 1349,
"id": 896,
"parameterSlots": 0,
"returnSlots": 1
},
"@decreaseAllowance_1091": {
"entryPoint": 3029,
"id": 1091,
"parameterSlots": 2,
"returnSlots": 1
},
"@functionDelegateCall_1733": {
"entryPoint": 6323,
"id": 1733,
"parameterSlots": 2,
"returnSlots": 1
},
"@functionDelegateCall_1762": {
"entryPoint": 6368,
"id": 1762,
"parameterSlots": 3,
"returnSlots": 1
},
"@getAddressSlot_1920": {
"entryPoint": 5783,
"id": 1920,
"parameterSlots": 1,
"returnSlots": 1
},
"@getBooleanSlot_1931": {
"entryPoint": 5793,
"id": 1931,
"parameterSlots": 1,
"returnSlots": 1
},
"@increaseAllowance_1050": {
"entryPoint": 1750,
"id": 1050,
"parameterSlots": 2,
"returnSlots": 1
},
"@initialize_2037": {
"entryPoint": 2399,
"id": 2037,
"parameterSlots": 0,
"returnSlots": 0
},
"@isContract_1534": {
"entryPoint": 5475,
"id": 1534,
"parameterSlots": 1,
"returnSlots": 1
},
"@name_876": {
"entryPoint": 1111,
"id": 876,
"parameterSlots": 0,
"returnSlots": 1
},
"@owner_54": {
"entryPoint": 2841,
"id": 54,
"parameterSlots": 0,
"returnSlots": 1
},
"@proxiableUUID_746": {
"entryPoint": 2121,
"id": 746,
"parameterSlots": 0,
"returnSlots": 1
},
"@renounceOwnership_82": {
"entryPoint": 2379,
"id": 82,
"parameterSlots": 0,
"returnSlots": 0
},
"@symbol_886": {
"entryPoint": 2883,
"id": 886,
"parameterSlots": 0,
"returnSlots": 1
},
"@totalSupply_906": {
"entryPoint": 1292,
"id": 906,
"parameterSlots": 0,
"returnSlots": 1
},
"@transferFrom_1021": {
"entryPoint": 1302,
"id": 1021,
"parameterSlots": 3,
"returnSlots": 1
},
"@transferOwnership_105": {
"entryPoint": 3318,
"id": 105,
"parameterSlots": 1,
"returnSlots": 0
},
"@transfer_945": {
"entryPoint": 3148,
"id": 945,
"parameterSlots": 2,
"returnSlots": 1
},
"@upgradeToAndCall_789": {
"entryPoint": 1805,
"id": 789,
"parameterSlots": 2,
"returnSlots": 0
},
"@upgradeTo_768": {
"entryPoint": 1358,
"id": 768,
"parameterSlots": 1,
"returnSlots": 0
},
"@verifyCallResultFromTarget_1801": {
"entryPoint": 6502,
"id": 1801,
"parameterSlots": 4,
"returnSlots": 1
},
"abi_decode_available_length_t_bytes_memory_ptr": {
"entryPoint": 7585,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 6970,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes32_fromMemory": {
"entryPoint": 9975,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes_memory_ptr": {
"entryPoint": 7651,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 7024,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 7343,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_address": {
"entryPoint": 7883,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_addresst_uint256": {
"entryPoint": 7205,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_decode_tuple_t_addresst_bytes_memory_ptr": {
"entryPoint": 7697,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 7045,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_bytes32_fromMemory": {
"entryPoint": 9996,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 7841,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 7121,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 7799,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 11383,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_rational_1_by_1_to_t_uint8_fromStack": {
"entryPoint": 8780,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 6786,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9739,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9047,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9339,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_36e108fa7a809b52ab1951dd91c117a7bc9ac5250bdf1aa162d4e104f7edf9eb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 8122,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9447,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9885,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_52f1ead4d9653e13afbd2e90ef2587c30187cd50b2e97d784e3f7a7541247434_to_t_string_memory_ptr_fromStack": {
"entryPoint": 8268,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_67f0151b4ad1dcfa0e3302a0cd6019f51582ef1807b37dceb00bd852a514f7f4_to_t_string_memory_ptr_fromStack": {
"entryPoint": 8513,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c_to_t_string_memory_ptr_fromStack": {
"entryPoint": 10266,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759_to_t_string_memory_ptr_fromStack": {
"entryPoint": 8659,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24_to_t_string_memory_ptr_fromStack": {
"entryPoint": 10120,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65_to_t_string_memory_ptr_fromStack": {
"entryPoint": 10666,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 10374,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9593,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9193,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad_to_t_string_memory_ptr_fromStack": {
"entryPoint": 11496,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b_to_t_string_memory_ptr_fromStack": {
"entryPoint": 10520,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack": {
"entryPoint": 8901,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 7163,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint8_to_t_uint8_fromStack": {
"entryPoint": 7301,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 11432,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 7856,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 7136,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": 7814,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed": {
"entryPoint": 8795,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 6843,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9774,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9082,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9374,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_36e108fa7a809b52ab1951dd91c117a7bc9ac5250bdf1aa162d4e104f7edf9eb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 8157,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9482,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9920,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_52f1ead4d9653e13afbd2e90ef2587c30187cd50b2e97d784e3f7a7541247434__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 8303,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_67f0151b4ad1dcfa0e3302a0cd6019f51582ef1807b37dceb00bd852a514f7f4__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 8548,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10301,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 8694,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10155,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10701,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10409,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9628,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9228,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 11531,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10555,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 8936,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 7178,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": {
"entryPoint": 7316,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 7494,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 6877,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_bytes_memory_ptr": {
"entryPoint": 7521,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 10733,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_bytes_memory_ptr": {
"entryPoint": 11361,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 6699,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 11372,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 6710,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 8382,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 11010,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_address": {
"entryPoint": 6929,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 7109,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 7789,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_rational_1_by_1": {
"entryPoint": 8726,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 6897,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 6991,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint8": {
"entryPoint": 7288,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 10975,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_rational_1_by_1_to_t_uint8": {
"entryPoint": 8746,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 10865,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 11151,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"copy_calldata_to_memory_with_cleanup": {
"entryPoint": 7570,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 6727,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 10754,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 7994,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 11123,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 7445,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 8736,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 11093,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 8335,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 7947,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 7398,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 10899,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 7388,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 7393,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 6892,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 6887,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 6769,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 10770,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 11080,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 10951,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f": {
"entryPoint": 9660,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe": {
"entryPoint": 8968,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029": {
"entryPoint": 9260,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_36e108fa7a809b52ab1951dd91c117a7bc9ac5250bdf1aa162d4e104f7edf9eb": {
"entryPoint": 8043,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe": {
"entryPoint": 9406,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6": {
"entryPoint": 9806,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_52f1ead4d9653e13afbd2e90ef2587c30187cd50b2e97d784e3f7a7541247434": {
"entryPoint": 8189,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_67f0151b4ad1dcfa0e3302a0cd6019f51582ef1807b37dceb00bd852a514f7f4": {
"entryPoint": 8434,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c": {
"entryPoint": 10187,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759": {
"entryPoint": 8580,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24": {
"entryPoint": 10041,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65": {
"entryPoint": 10587,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe": {
"entryPoint": 10333,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea": {
"entryPoint": 9514,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208": {
"entryPoint": 9114,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad": {
"entryPoint": 11455,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b": {
"entryPoint": 10441,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8": {
"entryPoint": 8822,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 10783,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 10909,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 6947,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bytes32": {
"entryPoint": 9952,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 7001,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 10946,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:35070:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:40:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:22:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "93:5:14"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "87:5:14"
},
"nodeType": "YulFunctionCall",
"src": "87:12:14"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "77:6:14"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "49:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "59:6:14",
"type": ""
}
],
"src": "7:99:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "208:73:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "225:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "230:6:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "218:6:14"
},
"nodeType": "YulFunctionCall",
"src": "218:19:14"
},
"nodeType": "YulExpressionStatement",
"src": "218:19:14"
},
{
"nodeType": "YulAssignment",
"src": "246:29:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "265:3:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "270:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "261:3:14"
},
"nodeType": "YulFunctionCall",
"src": "261:14:14"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "246:11:14"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "180:3:14",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "185:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "196:11:14",
"type": ""
}
],
"src": "112:169:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "349:184:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "359:10:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "368:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "363:1:14",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "428:63:14",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "453:3:14"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "458:1:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "449:3:14"
},
"nodeType": "YulFunctionCall",
"src": "449:11:14"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "472:3:14"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "477:1:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "468:3:14"
},
"nodeType": "YulFunctionCall",
"src": "468:11:14"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "462:5:14"
},
"nodeType": "YulFunctionCall",
"src": "462:18:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "442:6:14"
},
"nodeType": "YulFunctionCall",
"src": "442:39:14"
},
"nodeType": "YulExpressionStatement",
"src": "442:39:14"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "389:1:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "392:6:14"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "386:2:14"
},
"nodeType": "YulFunctionCall",
"src": "386:13:14"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "400:19:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "402:15:14",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "411:1:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "414:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "407:3:14"
},
"nodeType": "YulFunctionCall",
"src": "407:10:14"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "402:1:14"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "382:3:14",
"statements": []
},
"src": "378:113:14"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "511:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "516:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "507:3:14"
},
"nodeType": "YulFunctionCall",
"src": "507:16:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "525:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "500:6:14"
},
"nodeType": "YulFunctionCall",
"src": "500:27:14"
},
"nodeType": "YulExpressionStatement",
"src": "500:27:14"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "331:3:14",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "336:3:14",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "341:6:14",
"type": ""
}
],
"src": "287:246:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "587:54:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "597:38:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "615:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "622:2:14",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "611:3:14"
},
"nodeType": "YulFunctionCall",
"src": "611:14:14"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "631:2:14",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "627:3:14"
},
"nodeType": "YulFunctionCall",
"src": "627:7:14"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "607:3:14"
},
"nodeType": "YulFunctionCall",
"src": "607:28:14"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "597:6:14"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "570:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "580:6:14",
"type": ""
}
],
"src": "539:102:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "739:285:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "749:53:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "796:5:14"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "763:32:14"
},
"nodeType": "YulFunctionCall",
"src": "763:39:14"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "753:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "811:78:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "877:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "882:6:14"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "818:58:14"
},
"nodeType": "YulFunctionCall",
"src": "818:71:14"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "811:3:14"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "937:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "944:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "933:3:14"
},
"nodeType": "YulFunctionCall",
"src": "933:16:14"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "951:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "956:6:14"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "898:34:14"
},
"nodeType": "YulFunctionCall",
"src": "898:65:14"
},
"nodeType": "YulExpressionStatement",
"src": "898:65:14"
},
{
"nodeType": "YulAssignment",
"src": "972:46:14",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "983:3:14"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1010:6:14"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "988:21:14"
},
"nodeType": "YulFunctionCall",
"src": "988:29:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "979:3:14"
},
"nodeType": "YulFunctionCall",
"src": "979:39:14"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "972:3:14"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "720:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "727:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "735:3:14",
"type": ""
}
],
"src": "647:377:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1148:195:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1158:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1170:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1181:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1166:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1166:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1158:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1205:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1216:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1201:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1201:17:14"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1224:4:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1230:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1220:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1220:20:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1194:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1194:47:14"
},
"nodeType": "YulExpressionStatement",
"src": "1194:47:14"
},
{
"nodeType": "YulAssignment",
"src": "1250:86:14",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1322:6:14"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1331:4:14"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1258:63:14"
},
"nodeType": "YulFunctionCall",
"src": "1258:78:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1250:4:14"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1120:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1132:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1143:4:14",
"type": ""
}
],
"src": "1030:313:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1389:35:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1399:19:14",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1415:2:14",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1409:5:14"
},
"nodeType": "YulFunctionCall",
"src": "1409:9:14"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1399:6:14"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1382:6:14",
"type": ""
}
],
"src": "1349:75:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1519:28:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1536:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1539:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1529:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1529:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "1529:12:14"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "1430:117:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1642:28:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1659:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1662:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1652:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1652:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "1652:12:14"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "1553:117:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1721:81:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1731:65:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1746:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1753:42:14",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1742:3:14"
},
"nodeType": "YulFunctionCall",
"src": "1742:54:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1731:7:14"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1703:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1713:7:14",
"type": ""
}
],
"src": "1676:126:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1853:51:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1863:35:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1892:5:14"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1874:17:14"
},
"nodeType": "YulFunctionCall",
"src": "1874:24:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1863:7:14"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1835:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1845:7:14",
"type": ""
}
],
"src": "1808:96:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1953:79:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2010:16:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2019:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2022:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2012:6:14"
},
"nodeType": "YulFunctionCall",
"src": "2012:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "2012:12:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1976:5:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2001:5:14"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1983:17:14"
},
"nodeType": "YulFunctionCall",
"src": "1983:24:14"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1973:2:14"
},
"nodeType": "YulFunctionCall",
"src": "1973:35:14"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1966:6:14"
},
"nodeType": "YulFunctionCall",
"src": "1966:43:14"
},
"nodeType": "YulIf",
"src": "1963:63:14"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1946:5:14",
"type": ""
}
],
"src": "1910:122:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2090:87:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2100:29:14",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2122:6:14"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2109:12:14"
},
"nodeType": "YulFunctionCall",
"src": "2109:20:14"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2100:5:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2165:5:14"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "2138:26:14"
},
"nodeType": "YulFunctionCall",
"src": "2138:33:14"
},
"nodeType": "YulExpressionStatement",
"src": "2138:33:14"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2068:6:14",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2076:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2084:5:14",
"type": ""
}
],
"src": "2038:139:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2228:32:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2238:16:14",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2249:5:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2238:7:14"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2210:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2220:7:14",
"type": ""
}
],
"src": "2183:77:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2309:79:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2366:16:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2375:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2378:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2368:6:14"
},
"nodeType": "YulFunctionCall",
"src": "2368:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "2368:12:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2332:5:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2357:5:14"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2339:17:14"
},
"nodeType": "YulFunctionCall",
"src": "2339:24:14"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2329:2:14"
},
"nodeType": "YulFunctionCall",
"src": "2329:35:14"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2322:6:14"
},
"nodeType": "YulFunctionCall",
"src": "2322:43:14"
},
"nodeType": "YulIf",
"src": "2319:63:14"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2302:5:14",
"type": ""
}
],
"src": "2266:122:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2446:87:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2456:29:14",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2478:6:14"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2465:12:14"
},
"nodeType": "YulFunctionCall",
"src": "2465:20:14"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2456:5:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2521:5:14"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "2494:26:14"
},
"nodeType": "YulFunctionCall",
"src": "2494:33:14"
},
"nodeType": "YulExpressionStatement",
"src": "2494:33:14"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2424:6:14",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2432:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2440:5:14",
"type": ""
}
],
"src": "2394:139:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2622:391:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2668:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2670:77:14"
},
"nodeType": "YulFunctionCall",
"src": "2670:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "2670:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2643:7:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2652:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2639:3:14"
},
"nodeType": "YulFunctionCall",
"src": "2639:23:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2664:2:14",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2635:3:14"
},
"nodeType": "YulFunctionCall",
"src": "2635:32:14"
},
"nodeType": "YulIf",
"src": "2632:119:14"
},
{
"nodeType": "YulBlock",
"src": "2761:117:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2776:15:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2790:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2780:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2805:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2840:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2851:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2836:3:14"
},
"nodeType": "YulFunctionCall",
"src": "2836:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2860:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2815:20:14"
},
"nodeType": "YulFunctionCall",
"src": "2815:53:14"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2805:6:14"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2888:118:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2903:16:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2917:2:14",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2907:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2933:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2968:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2979:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2964:3:14"
},
"nodeType": "YulFunctionCall",
"src": "2964:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2988:7:14"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2943:20:14"
},
"nodeType": "YulFunctionCall",
"src": "2943:53:14"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2933:6:14"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2584:9:14",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2595:7:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2607:6:14",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2615:6:14",
"type": ""
}
],
"src": "2539:474:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3061:48:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3071:32:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3096:5:14"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3089:6:14"
},
"nodeType": "YulFunctionCall",
"src": "3089:13:14"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3082:6:14"
},
"nodeType": "YulFunctionCall",
"src": "3082:21:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3071:7:14"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3043:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3053:7:14",
"type": ""
}
],
"src": "3019:90:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3174:50:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3191:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3211:5:14"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "3196:14:14"
},
"nodeType": "YulFunctionCall",
"src": "3196:21:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3184:6:14"
},
"nodeType": "YulFunctionCall",
"src": "3184:34:14"
},
"nodeType": "YulExpressionStatement",
"src": "3184:34:14"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3162:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3169:3:14",
"type": ""
}
],
"src": "3115:109:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3322:118:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3332:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3344:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3355:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3340:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3340:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3332:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3406:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3419:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3430:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3415:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3415:17:14"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "3368:37:14"
},
"nodeType": "YulFunctionCall",
"src": "3368:65:14"
},
"nodeType": "YulExpressionStatement",
"src": "3368:65:14"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3294:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3306:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3317:4:14",
"type": ""
}
],
"src": "3230:210:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3511:53:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3528:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3551:5:14"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3533:17:14"
},
"nodeType": "YulFunctionCall",
"src": "3533:24:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3521:6:14"
},
"nodeType": "YulFunctionCall",
"src": "3521:37:14"
},
"nodeType": "YulExpressionStatement",
"src": "3521:37:14"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3499:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3506:3:14",
"type": ""
}
],
"src": "3446:118:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3668:124:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3678:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3690:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3701:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3686:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3686:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3678:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3758:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3771:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3782:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3767:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3767:17:14"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3714:43:14"
},
"nodeType": "YulFunctionCall",
"src": "3714:71:14"
},
"nodeType": "YulExpressionStatement",
"src": "3714:71:14"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3640:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3652:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3663:4:14",
"type": ""
}
],
"src": "3570:222:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3898:519:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3944:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3946:77:14"
},
"nodeType": "YulFunctionCall",
"src": "3946:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "3946:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3919:7:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3928:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3915:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3915:23:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3940:2:14",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3911:3:14"
},
"nodeType": "YulFunctionCall",
"src": "3911:32:14"
},
"nodeType": "YulIf",
"src": "3908:119:14"
},
{
"nodeType": "YulBlock",
"src": "4037:117:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4052:15:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4066:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4056:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4081:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4116:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4127:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4112:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4112:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4136:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4091:20:14"
},
"nodeType": "YulFunctionCall",
"src": "4091:53:14"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4081:6:14"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4164:118:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4179:16:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4193:2:14",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4183:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4209:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4244:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4255:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4240:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4240:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4264:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4219:20:14"
},
"nodeType": "YulFunctionCall",
"src": "4219:53:14"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4209:6:14"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4292:118:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4307:16:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4321:2:14",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4311:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4337:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4372:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4383:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4368:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4368:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4392:7:14"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "4347:20:14"
},
"nodeType": "YulFunctionCall",
"src": "4347:53:14"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4337:6:14"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3852:9:14",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3863:7:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3875:6:14",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3883:6:14",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "3891:6:14",
"type": ""
}
],
"src": "3798:619:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4466:43:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4476:27:14",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4491:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4498:4:14",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4487:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4487:16:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4476:7:14"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4448:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4458:7:14",
"type": ""
}
],
"src": "4423:86:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4576:51:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4593:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4614:5:14"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "4598:15:14"
},
"nodeType": "YulFunctionCall",
"src": "4598:22:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4586:6:14"
},
"nodeType": "YulFunctionCall",
"src": "4586:35:14"
},
"nodeType": "YulExpressionStatement",
"src": "4586:35:14"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4564:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4571:3:14",
"type": ""
}
],
"src": "4515:112:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4727:120:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4737:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4749:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4760:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4745:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4745:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4737:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4813:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4826:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4837:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4822:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4822:17:14"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "4773:39:14"
},
"nodeType": "YulFunctionCall",
"src": "4773:67:14"
},
"nodeType": "YulExpressionStatement",
"src": "4773:67:14"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4699:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4711:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4722:4:14",
"type": ""
}
],
"src": "4633:214:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4919:263:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4965:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4967:77:14"
},
"nodeType": "YulFunctionCall",
"src": "4967:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "4967:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4940:7:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4949:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4936:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4936:23:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4961:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4932:3:14"
},
"nodeType": "YulFunctionCall",
"src": "4932:32:14"
},
"nodeType": "YulIf",
"src": "4929:119:14"
},
{
"nodeType": "YulBlock",
"src": "5058:117:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5073:15:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5087:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5077:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5102:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5137:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5148:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5133:3:14"
},
"nodeType": "YulFunctionCall",
"src": "5133:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5157:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5112:20:14"
},
"nodeType": "YulFunctionCall",
"src": "5112:53:14"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5102:6:14"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4889:9:14",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4900:7:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4912:6:14",
"type": ""
}
],
"src": "4853:329:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5277:28:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5294:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5297:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5287:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5287:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "5287:12:14"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "5188:117:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5400:28:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5417:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5420:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5410:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5410:12:14"
},
"nodeType": "YulExpressionStatement",
"src": "5410:12:14"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "5311:117:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5462:152:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5479:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5482:77:14",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5472:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5472:88:14"
},
"nodeType": "YulExpressionStatement",
"src": "5472:88:14"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5576:1:14",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5579:4:14",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5569:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5569:15:14"
},
"nodeType": "YulExpressionStatement",
"src": "5569:15:14"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5600:1:14",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5603:4:14",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5593:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5593:15:14"
},
"nodeType": "YulExpressionStatement",
"src": "5593:15:14"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5434:180:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5663:238:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5673:58:14",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5695:6:14"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5725:4:14"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5703:21:14"
},
"nodeType": "YulFunctionCall",
"src": "5703:27:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5691:3:14"
},
"nodeType": "YulFunctionCall",
"src": "5691:40:14"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5677:10:14",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5842:22:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5844:16:14"
},
"nodeType": "YulFunctionCall",
"src": "5844:18:14"
},
"nodeType": "YulExpressionStatement",
"src": "5844:18:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5785:10:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5797:18:14",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5782:2:14"
},
"nodeType": "YulFunctionCall",
"src": "5782:34:14"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5821:10:14"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5833:6:14"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5818:2:14"
},
"nodeType": "YulFunctionCall",
"src": "5818:22:14"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5779:2:14"
},
"nodeType": "YulFunctionCall",
"src": "5779:62:14"
},
"nodeType": "YulIf",
"src": "5776:88:14"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5880:2:14",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5884:10:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5873:6:14"
},
"nodeType": "YulFunctionCall",
"src": "5873:22:14"
},
"nodeType": "YulExpressionStatement",
"src": "5873:22:14"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5649:6:14",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5657:4:14",
"type": ""
}
],
"src": "5620:281:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5948:88:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5958:30:14",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "5968:18:14"
},
"nodeType": "YulFunctionCall",
"src": "5968:20:14"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5958:6:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6017:6:14"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6025:4:14"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "5997:19:14"
},
"nodeType": "YulFunctionCall",
"src": "5997:33:14"
},
"nodeType": "YulExpressionStatement",
"src": "5997:33:14"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5932:4:14",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5941:6:14",
"type": ""
}
],
"src": "5907:129:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6108:241:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6213:22:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "6215:16:14"
},
"nodeType": "YulFunctionCall",
"src": "6215:18:14"
},
"nodeType": "YulExpressionStatement",
"src": "6215:18:14"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6185:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6193:18:14",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6182:2:14"
},
"nodeType": "YulFunctionCall",
"src": "6182:30:14"
},
"nodeType": "YulIf",
"src": "6179:56:14"
},
{
"nodeType": "YulAssignment",
"src": "6245:37:14",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6275:6:14"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6253:21:14"
},
"nodeType": "YulFunctionCall",
"src": "6253:29:14"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6245:4:14"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6319:23:14",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6331:4:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6337:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6327:3:14"
},
"nodeType": "YulFunctionCall",
"src": "6327:15:14"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6319:4:14"
}
]
}
]
},
"name": "array_allocation_size_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6092:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "6103:4:14",
"type": ""
}
],
"src": "6042:307:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6419:82:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6442:3:14"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6447:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6452:6:14"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "6429:12:14"
},
"nodeType": "YulFunctionCall",
"src": "6429:30:14"
},
"nodeType": "YulExpressionStatement",
"src": "6429:30:14"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6479:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6484:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6475:3:14"
},
"nodeType": "YulFunctionCall",
"src": "6475:16:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6493:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6468:6:14"
},
"nodeType": "YulFunctionCall",
"src": "6468:27:14"
},
"nodeType": "YulExpressionStatement",
"src": "6468:27:14"
}
]
},
"name": "copy_calldata_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "6401:3:14",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "6406:3:14",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6411:6:14",
"type": ""
}
],
"src": "6355:146:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6590:340:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6600:74:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6666:6:14"
}
],
"functionName": {
"name": "array_allocation_size_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "6625:40:14"
},
"nodeType": "YulFunctionCall",
"src": "6625:48:14"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "6609:15:14"
},
"nodeType": "YulFunctionCall",
"src": "6609:65:14"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "6600:5:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "6690:5:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6697:6:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6683:6:14"
},
"nodeType": "YulFunctionCall",
"src": "6683:21:14"
},
"nodeType": "YulExpressionStatement",
"src": "6683:21:14"
},
{
"nodeType": "YulVariableDeclaration",
"src": "6713:27:14",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "6728:5:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6735:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6724:3:14"
},
"nodeType": "YulFunctionCall",
"src": "6724:16:14"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "6717:3:14",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6778:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "6780:77:14"
},
"nodeType": "YulFunctionCall",
"src": "6780:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "6780:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6759:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6764:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6755:3:14"
},
"nodeType": "YulFunctionCall",
"src": "6755:16:14"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "6773:3:14"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6752:2:14"
},
"nodeType": "YulFunctionCall",
"src": "6752:25:14"
},
"nodeType": "YulIf",
"src": "6749:112:14"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6907:3:14"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6912:3:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6917:6:14"
}
],
"functionName": {
"name": "copy_calldata_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "6870:36:14"
},
"nodeType": "YulFunctionCall",
"src": "6870:54:14"
},
"nodeType": "YulExpressionStatement",
"src": "6870:54:14"
}
]
},
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "6563:3:14",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6568:6:14",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "6576:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "6584:5:14",
"type": ""
}
],
"src": "6507:423:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7010:277:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7059:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "7061:77:14"
},
"nodeType": "YulFunctionCall",
"src": "7061:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "7061:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7038:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7046:4:14",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7034:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7034:17:14"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "7053:3:14"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "7030:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7030:27:14"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7023:6:14"
},
"nodeType": "YulFunctionCall",
"src": "7023:35:14"
},
"nodeType": "YulIf",
"src": "7020:122:14"
},
{
"nodeType": "YulVariableDeclaration",
"src": "7151:34:14",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7178:6:14"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "7165:12:14"
},
"nodeType": "YulFunctionCall",
"src": "7165:20:14"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7155:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "7194:87:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7254:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7262:4:14",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7250:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7250:17:14"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7269:6:14"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "7277:3:14"
}
],
"functionName": {
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "7203:46:14"
},
"nodeType": "YulFunctionCall",
"src": "7203:78:14"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "7194:5:14"
}
]
}
]
},
"name": "abi_decode_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "6988:6:14",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "6996:3:14",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "7004:5:14",
"type": ""
}
],
"src": "6949:338:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7385:560:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7431:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "7433:77:14"
},
"nodeType": "YulFunctionCall",
"src": "7433:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "7433:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "7406:7:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7415:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7402:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7402:23:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7427:2:14",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "7398:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7398:32:14"
},
"nodeType": "YulIf",
"src": "7395:119:14"
},
{
"nodeType": "YulBlock",
"src": "7524:117:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7539:15:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "7553:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "7543:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "7568:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7603:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7614:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7599:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7599:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "7623:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "7578:20:14"
},
"nodeType": "YulFunctionCall",
"src": "7578:53:14"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "7568:6:14"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "7651:287:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7666:46:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7697:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7708:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7693:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7693:18:14"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "7680:12:14"
},
"nodeType": "YulFunctionCall",
"src": "7680:32:14"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "7670:6:14",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7759:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "7761:77:14"
},
"nodeType": "YulFunctionCall",
"src": "7761:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "7761:79:14"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7731:6:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7739:18:14",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7728:2:14"
},
"nodeType": "YulFunctionCall",
"src": "7728:30:14"
},
"nodeType": "YulIf",
"src": "7725:117:14"
},
{
"nodeType": "YulAssignment",
"src": "7856:72:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7900:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7911:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7896:3:14"
},
"nodeType": "YulFunctionCall",
"src": "7896:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "7920:7:14"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "7866:29:14"
},
"nodeType": "YulFunctionCall",
"src": "7866:62:14"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "7856:6:14"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7347:9:14",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "7358:7:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "7370:6:14",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "7378:6:14",
"type": ""
}
],
"src": "7293:652:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7996:32:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8006:16:14",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "8017:5:14"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "8006:7:14"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7978:5:14",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7988:7:14",
"type": ""
}
],
"src": "7951:77:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8099:53:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8116:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8139:5:14"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "8121:17:14"
},
"nodeType": "YulFunctionCall",
"src": "8121:24:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8109:6:14"
},
"nodeType": "YulFunctionCall",
"src": "8109:37:14"
},
"nodeType": "YulExpressionStatement",
"src": "8109:37:14"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8087:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8094:3:14",
"type": ""
}
],
"src": "8034:118:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8256:124:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8266:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8278:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8289:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8274:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8274:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8266:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8346:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8359:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8370:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8355:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8355:17:14"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "8302:43:14"
},
"nodeType": "YulFunctionCall",
"src": "8302:71:14"
},
"nodeType": "YulExpressionStatement",
"src": "8302:71:14"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8228:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8240:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8251:4:14",
"type": ""
}
],
"src": "8158:222:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8451:53:14",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8468:3:14"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8491:5:14"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "8473:17:14"
},
"nodeType": "YulFunctionCall",
"src": "8473:24:14"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8461:6:14"
},
"nodeType": "YulFunctionCall",
"src": "8461:37:14"
},
"nodeType": "YulExpressionStatement",
"src": "8461:37:14"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8439:5:14",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8446:3:14",
"type": ""
}
],
"src": "8386:118:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8608:124:14",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8618:26:14",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8630:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8641:2:14",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8626:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8626:18:14"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8618:4:14"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8698:6:14"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8711:9:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8722:1:14",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8707:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8707:17:14"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "8654:43:14"
},
"nodeType": "YulFunctionCall",
"src": "8654:71:14"
},
"nodeType": "YulExpressionStatement",
"src": "8654:71:14"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8580:9:14",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8592:6:14",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8603:4:14",
"type": ""
}
],
"src": "8510:222:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8821:391:14",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "8867:83:14",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "8869:77:14"
},
"nodeType": "YulFunctionCall",
"src": "8869:79:14"
},
"nodeType": "YulExpressionStatement",
"src": "8869:79:14"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "8842:7:14"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8851:9:14"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "8838:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8838:23:14"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8863:2:14",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "8834:3:14"
},
"nodeType": "YulFunctionCall",
"src": "8834:32:14"
},
"nodeType": "YulIf",
"src": "8831:119:14"
},
{
"nodeType": "YulBlock",
"src": "8960:117:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8975:15:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "8989:1:14",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "8979:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "9004:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9039:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "9050:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9035:3:14"
},
"nodeType": "YulFunctionCall",
"src": "9035:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "9059:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "9014:20:14"
},
"nodeType": "YulFunctionCall",
"src": "9014:53:14"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "9004:6:14"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "9087:118:14",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9102:16:14",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9116:2:14",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "9106:6:14",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "9132:63:14",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9167:9:14"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "9178:6:14"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9163:3:14"
},
"nodeType": "YulFunctionCall",
"src": "9163:22:14"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "9187:7:14"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "9142:20:14"
},
"nodeType": "YulFunctionCall",
"src": "9142:53:14"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "9132:6:14"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8783:9:14",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "8794:7:14",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8806:6:14",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "8814:6:14",
"type": ""
}
],
"src": "8738:474:14"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9246:152:14",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment