Source Code
Overview
ETH Balance
More Info
ContractCreator
N/A (Genesis Contract)
Multichain Info
N/A
Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
Amount
|
||||
|---|---|---|---|---|---|---|---|---|---|
| GENESIS_0167013000000000000000000000000000000006 | 0x60806040 | 0 | - | GENESIS | IN | 0 ETH | 0 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | Amount | ||
|---|---|---|---|---|---|---|
| 7754922 | 27 hrs ago | 0 ETH | ||||
| 7398405 | 5 days ago | 0 ETH | ||||
| 7121881 | 9 days ago | 0 ETH | ||||
| 7116018 | 9 days ago | 0 ETH | ||||
| 7088618 | 9 days ago | 0 ETH | ||||
| 7060083 | 10 days ago | 0 ETH | ||||
| 7060010 | 10 days ago | 0 ETH | ||||
| 6944476 | 12 days ago | 0 ETH | ||||
| 6921110 | 13 days ago | 0 ETH | ||||
| 6885554 | 14 days ago | 0 ETH | ||||
| 6884973 | 14 days ago | 0 ETH | ||||
| 6884784 | 14 days ago | 0 ETH | ||||
| 6823510 | 15 days ago | 0 ETH | ||||
| 6823321 | 15 days ago | 0 ETH | ||||
| 6810803 | 16 days ago | 0 ETH | ||||
| 6809183 | 16 days ago | 0 ETH | ||||
| 6748384 | 17 days ago | 0 ETH | ||||
| 6654050 | 19 days ago | 0 ETH | ||||
| 6652891 | 19 days ago | 0 ETH | ||||
| 6598586 | 21 days ago | 0 ETH | ||||
| 6438652 | 24 days ago | 0 ETH | ||||
| 6291905 | 28 days ago | 0 ETH | ||||
| 6187683 | 30 days ago | 0 ETH | ||||
| 6182872 | 30 days ago | 0 ETH | ||||
| 6181838 | 30 days ago | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
DefaultResolver
Compiler Version
v0.8.27+commit.40a35a09
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "./EssentialContract.sol"; import "./ResolverBase.sol"; /// @title DefaultResolver /// @notice Storage-based address resolver. /// @custom:security-contact [email protected] contract DefaultResolver is EssentialContract, ResolverBase { /// @dev Mapping of chainId to mapping of name to address. mapping(uint256 chainId => mapping(bytes32 name => address addr)) private __addresses; uint256[49] private __gap; constructor() EssentialContract(address(0)) { } /// @notice Emitted when an address is registered. /// @param chainId The chainId for the address mapping. /// @param name The name for the address mapping. /// @param newAddress The new address. /// @param oldAddress The old address. event AddressRegistered( uint256 indexed chainId, bytes32 indexed name, address newAddress, address oldAddress ); /// @notice Initializes the contract. /// @param _owner The owner of this contract. function init(address _owner) external initializer { __Essential_init(_owner); } /// @notice Registers an address for a specific chainId-name pair. /// @param _chainId The chainId to which the address will be mapped. /// @param _name The name to which the address will be mapped. /// @param _newAddress The Ethereum address to be mapped. function registerAddress( uint256 _chainId, bytes32 _name, address _newAddress ) external virtual onlyOwner { address oldAddress = __addresses[_chainId][_name]; __addresses[_chainId][_name] = _newAddress; emit AddressRegistered(_chainId, _name, _newAddress, oldAddress); } /// @notice Returns the address of this contract. /// @return The address of this contract. function resolver() public view override returns (address) { return address(this); } function getAddress(uint256 _chainId, bytes32 _name) internal view override returns (address) { return __addresses[_chainId][_name]; } function _authorizePause(address, bool) internal pure override notImplemented { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; import "./IResolver.sol"; /// @title EssentialContract /// @custom:security-contact [email protected] abstract contract EssentialContract is UUPSUpgradeable, Ownable2StepUpgradeable { uint8 internal constant _FALSE = 1; uint8 internal constant _TRUE = 2; address private immutable __resolver; uint256[50] private __gapFromOldAddressResolver; /// @dev Slot 1. uint8 internal __reentry; uint8 internal __paused; uint256[49] private __gap; /// @notice Emitted when the contract is paused. /// @param account The account that paused the contract. event Paused(address account); /// @notice Emitted when the contract is unpaused. /// @param account The account that unpaused the contract. event Unpaused(address account); error INVALID_PAUSE_STATUS(); error FUNC_NOT_IMPLEMENTED(); error REENTRANT_CALL(); error ACCESS_DENIED(); error RESOLVER_NOT_FOUND(); error ZERO_ADDRESS(); error ZERO_VALUE(); /// @dev Modifier that ensures the caller is the owner or resolved address of a given name. /// @param _name The name to check against. modifier onlyFromOwnerOrNamed(bytes32 _name) { require(msg.sender == owner() || msg.sender == resolve(_name, true), ACCESS_DENIED()); _; } /// @dev Modifier that ensures the caller is either the owner or a specified address. /// @param _addr The address to check against. modifier onlyFromOwnerOr(address _addr) { require(msg.sender == owner() || msg.sender == _addr, ACCESS_DENIED()); _; } /// @dev Modifier that reverts the function call, indicating it is not implemented. modifier notImplemented() { revert FUNC_NOT_IMPLEMENTED(); _; } /// @dev Modifier that prevents reentrant calls to a function. modifier nonReentrant() { require(_loadReentryLock() != _TRUE, REENTRANT_CALL()); _storeReentryLock(_TRUE); _; _storeReentryLock(_FALSE); } /// @dev Modifier that allows function execution only when the contract is paused. modifier whenPaused() { require(paused(), INVALID_PAUSE_STATUS()); _; } /// @dev Modifier that allows function execution only when the contract is not paused. modifier whenNotPaused() { require(!paused(), INVALID_PAUSE_STATUS()); _; } /// @dev Modifier that ensures the provided address is not the zero address. /// @param _addr The address to check. modifier nonZeroAddr(address _addr) { require(_addr != address(0), ZERO_ADDRESS()); _; } /// @dev Modifier that ensures the provided value is not zero. /// @param _value The value to check. modifier nonZeroValue(uint256 _value) { require(_value != 0, ZERO_VALUE()); _; } /// @dev Modifier that ensures the provided bytes32 value is not zero. /// @param _value The bytes32 value to check. modifier nonZeroBytes32(bytes32 _value) { require(_value != 0, ZERO_VALUE()); _; } /// @dev Modifier that ensures the caller is the resolved address of a given /// name. /// @param _name The name to check against. modifier onlyFromNamed(bytes32 _name) { require(msg.sender == resolve(_name, true), ACCESS_DENIED()); _; } /// @dev Modifier that ensures the caller is the resolved address of a given /// name, if the name is set. /// @param _name The name to check against. modifier onlyFromOptionalNamed(bytes32 _name) { address addr = resolve(_name, true); require(addr == address(0) || msg.sender == addr, ACCESS_DENIED()); _; } /// @dev Modifier that ensures the caller is a resolved address to either _name1 or _name2 /// name. /// @param _name1 The first name to check against. /// @param _name2 The second name to check against. modifier onlyFromNamedEither(bytes32 _name1, bytes32 _name2) { require( msg.sender == resolve(_name1, true) || msg.sender == resolve(_name2, true), ACCESS_DENIED() ); _; } /// @dev Modifier that ensures the caller is either of the two specified addresses. /// @param _addr1 The first address to check against. /// @param _addr2 The second address to check against. modifier onlyFromEither(address _addr1, address _addr2) { require(msg.sender == _addr1 || msg.sender == _addr2, ACCESS_DENIED()); _; } /// @dev Modifier that ensures the caller is the specified address. /// @param _addr The address to check against. modifier onlyFrom(address _addr) { require(msg.sender == _addr, ACCESS_DENIED()); _; } /// @dev Modifier that ensures the caller is the specified address. /// @param _addr The address to check against. modifier onlyFromOptional(address _addr) { require(_addr == address(0) || msg.sender == _addr, ACCESS_DENIED()); _; } constructor(address _resolver) { __resolver = _resolver; _disableInitializers(); } /// @notice Pauses the contract. function pause() public whenNotPaused { _pause(); emit Paused(msg.sender); // We call the authorize function here to avoid: // Warning (5740): Unreachable code. _authorizePause(msg.sender, true); } /// @notice Unpauses the contract. function unpause() public whenPaused { _unpause(); emit Unpaused(msg.sender); // We call the authorize function here to avoid: // Warning (5740): Unreachable code. _authorizePause(msg.sender, false); } function impl() public view returns (address) { return _getImplementation(); } /// @notice Returns true if the contract is paused, and false otherwise. /// @return true if paused, false otherwise. function paused() public view virtual returns (bool) { return __paused == _TRUE; } function inNonReentrant() public view returns (bool) { return _loadReentryLock() == _TRUE; } /// @notice Returns the address of this contract. /// @return The address of this contract. function resolver() public view virtual returns (address) { return __resolver; } /// @notice Resolves a name to an address on a specific chain /// @param _chainId The chain ID to resolve the name on /// @param _name The name to resolve /// @param _allowZeroAddress Whether to allow resolving to the zero address /// @return The resolved address function resolve( uint64 _chainId, bytes32 _name, bool _allowZeroAddress ) internal view returns (address) { return IResolver(resolver()).resolve(_chainId, _name, _allowZeroAddress); } /// @notice Resolves a name to an address on the current chain /// @param _name The name to resolve /// @param _allowZeroAddress Whether to allow resolving to the zero address /// @return The resolved address function resolve(bytes32 _name, bool _allowZeroAddress) internal view returns (address) { return IResolver(resolver()).resolve(block.chainid, _name, _allowZeroAddress); } /// @notice Initializes the contract. /// @param _owner The owner of this contract. msg.sender will be used if this value is zero. function __Essential_init(address _owner) internal virtual onlyInitializing { __Context_init(); _transferOwnership(_owner == address(0) ? msg.sender : _owner); __paused = _FALSE; } function _pause() internal virtual { __paused = _TRUE; } function _unpause() internal virtual { __paused = _FALSE; } function _authorizeUpgrade(address) internal virtual override onlyOwner { } function _authorizePause(address, bool) internal virtual onlyOwner { } // Stores the reentry lock function _storeReentryLock(uint8 _reentry) internal virtual { __reentry = _reentry; } // Loads the reentry lock function _loadReentryLock() internal view virtual returns (uint8 reentry_) { reentry_ = __reentry; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "./IResolver.sol"; /// @title ResolverBase /// @custom:security-contact [email protected] abstract contract ResolverBase is IResolver { function resolve( uint256 _chainId, bytes32 _name, bool _allowZeroAddress ) external view returns (address addr_) { addr_ = getAddress(_chainId, _name); require(addr_ != address(0) || _allowZeroAddress, RESOLVED_TO_ZERO_ADDRESS()); } function getAddress(uint256 _chainId, bytes32 _name) internal view virtual returns (address); }
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)
pragma solidity ^0.8.0;
import "../../interfaces/draft-IERC1822.sol";
import "../ERC1967/ERC1967Upgrade.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 IERC1822Proxiable, ERC1967Upgrade {
/// @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;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)
pragma solidity ^0.8.0;
import "./OwnableUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides 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} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
function __Ownable2Step_init() internal onlyInitializing {
__Ownable_init_unchained();
}
function __Ownable2Step_init_unchained() internal onlyInitializing {
}
/**
* @dev Returns the address of the pending owner.
*/
function pendingOwner() public view virtual returns (address) {
return _pendingOwner;
}
/**
* @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual override onlyOwner {
_pendingOwner = newOwner;
emit OwnershipTransferStarted(owner(), newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual override {
delete _pendingOwner;
super._transferOwnership(newOwner);
}
/**
* @dev The new owner accepts the ownership transfer.
*/
function acceptOwnership() public virtual {
address sender = _msgSender();
require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
_transferOwnership(sender);
}
/**
* @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 pragma solidity ^0.8.24; /// @title IResolver /// @notice This contract acts as a bridge for name-to-address resolution. /// @custom:security-contact [email protected] interface IResolver { error RESOLVED_TO_ZERO_ADDRESS(); /// @notice Resolves a name to its address deployed on a specified chain. /// @param _chainId The chainId of interest. /// @param _name Name whose address is to be resolved. /// @param _allowZeroAddress If set to true, does not throw if the resolved /// address is `address(0)`. /// @return Address associated with the given name on the specified /// chain. function resolve( uint256 _chainId, bytes32 _name, bool _allowZeroAddress ) external view returns (address); }
// 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 IERC1822Proxiable {
/**
* @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) (proxy/ERC1967/ERC1967Upgrade.sol)
pragma solidity ^0.8.2;
import "../beacon/IBeacon.sol";
import "../../interfaces/IERC1967.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.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 ERC1967Upgrade is IERC1967 {
// 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 StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 implementation slot.
*/
function _setImplementation(address newImplementation) private {
require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
StorageSlot.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) {
Address.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 (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
_setImplementation(newImplementation);
} else {
try IERC1822Proxiable(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 StorageSlot.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");
StorageSlot.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 StorageSlot.getAddressSlot(_BEACON_SLOT).value;
}
/**
* @dev Stores a new beacon in the EIP1967 beacon slot.
*/
function _setBeacon(address newBeacon) private {
require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
require(
Address.isContract(IBeacon(newBeacon).implementation()),
"ERC1967: beacon implementation is not a contract"
);
StorageSlot.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) {
Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import {Initializable} from "../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.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 v4.4.1 (proxy/beacon/IBeacon.sol)
pragma solidity ^0.8.0;
/**
* @dev This is the interface that {BeaconProxy} expects of its beacon.
*/
interface IBeacon {
/**
* @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) (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 IERC1967 {
/**
* @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 (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* 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 (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 StorageSlot {
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
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.0;
import {Initializable} from "../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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
/**
* @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/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);
}
}
}{
"remappings": [
"openzeppelin/=node_modules/@openzeppelin/",
"@openzeppelin/=node_modules/@openzeppelin/",
"@openzeppelin-upgrades/contracts/=node_modules/@openzeppelin/contracts-upgradeable/",
"@risc0/contracts/=node_modules/risc0-ethereum/contracts/src/",
"@solady/=node_modules/solady/",
"@optimism/=node_modules/optimism/",
"@sp1-contracts/=node_modules/sp1-contracts/contracts/",
"forge-std/=node_modules/forge-std/",
"ds-test/=node_modules/ds-test/src/",
"@p256-verifier/contracts/=node_modules/p256-verifier/src/",
"eigenlayer-middleware/=node_modules/eigenlayer-middleware/",
"eigenlayer-contracts/=node_modules/eigenlayer-contracts/",
"src/=contracts/",
"test/=test/",
"script/=script/",
"@openzeppelin/=node_modules/@openzeppelin/",
"optimism/=node_modules/optimism/",
"p256-verifier/=node_modules/p256-verifier/",
"risc0-ethereum/=node_modules/risc0-ethereum/",
"solady/=node_modules/solady/",
"sp1-contracts/=node_modules/sp1-contracts/",
"urc/=node_modules/urc/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"evmVersion": "shanghai",
"viaIR": false
}Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ACCESS_DENIED","type":"error"},{"inputs":[],"name":"FUNC_NOT_IMPLEMENTED","type":"error"},{"inputs":[],"name":"INVALID_PAUSE_STATUS","type":"error"},{"inputs":[],"name":"REENTRANT_CALL","type":"error"},{"inputs":[],"name":"RESOLVED_TO_ZERO_ADDRESS","type":"error"},{"inputs":[],"name":"RESOLVER_NOT_FOUND","type":"error"},{"inputs":[],"name":"ZERO_ADDRESS","type":"error"},{"inputs":[],"name":"ZERO_VALUE","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"name","type":"bytes32"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"},{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"}],"name":"AddressRegistered","type":"event"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"impl","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inNonReentrant","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"},{"internalType":"bytes32","name":"_name","type":"bytes32"},{"internalType":"address","name":"_newAddress","type":"address"}],"name":"registerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"},{"internalType":"bytes32","name":"_name","type":"bytes32"},{"internalType":"bool","name":"_allowZeroAddress","type":"bool"}],"name":"resolve","outputs":[{"internalType":"address","name":"addr_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
6080604052600436106100fa575f3560e01c80636c6563f6116100925780638abf6077116100625780638abf6077146102515780638da5cb5b14610265578063b490d87f14610282578063e30c3978146102a1578063f2fde38b146102be575f5ffd5b80636c6563f6146101f6578063715018a61461021557806379ba5097146102295780638456cb591461023d575f5ffd5b80633f4ba83a116100cd5780633f4ba83a1461018d5780634f1ef286146101a157806352d1902d146101b45780635c975abb146101d6575f5ffd5b806304f3bcec146100fe57806319ab453c146101295780633075db561461014a5780633659cfe61461016e575b5f5ffd5b348015610109575f5ffd5b50305b6040516001600160a01b0390911681526020015b60405180910390f35b348015610134575f5ffd5b50610148610143366004610e60565b6102dd565b005b348015610155575f5ffd5b5061015e6103ef565b6040519015158152602001610120565b348015610179575f5ffd5b50610148610188366004610e60565b610407565b348015610198575f5ffd5b506101486104ce565b6101486101af366004610e8d565b610552565b3480156101bf575f5ffd5b506101c8610607565b604051908152602001610120565b3480156101e1575f5ffd5b5061015e60c954610100900460ff1660021490565b348015610201575f5ffd5b5061010c610210366004610f51565b6106b8565b348015610220575f5ffd5b50610148610709565b348015610234575f5ffd5b5061014861071a565b348015610248575f5ffd5b50610148610791565b34801561025c575f5ffd5b5061010c610810565b348015610270575f5ffd5b506033546001600160a01b031661010c565b34801561028d575f5ffd5b5061014861029c366004610f8b565b61081e565b3480156102ac575f5ffd5b506065546001600160a01b031661010c565b3480156102c9575f5ffd5b506101486102d8366004610e60565b61089f565b5f54610100900460ff16158080156102fb57505f54600160ff909116105b806103145750303b15801561031457505f5460ff166001145b61037c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b5f805460ff19166001179055801561039d575f805461ff0019166101001790555b6103a682610910565b80156103eb575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b5f60026103fe60c95460ff1690565b60ff1614905090565b6001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616300361044f5760405162461bcd60e51b815260040161037390610fbd565b7f00000000000000000000000001670130000000000000000000000000000000066001600160a01b031661048161096e565b6001600160a01b0316146104a75760405162461bcd60e51b815260040161037390611009565b6104b081610989565b604080515f808252602082019092526104cb91839190610991565b50565b6104e260c954610100900460ff1660021490565b6104ff5760405163bae6e2a960e01b815260040160405180910390fd5b61051360c9805461ff001916610100179055565b6040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9060200160405180910390a1610550335f610b00565b565b6001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616300361059a5760405162461bcd60e51b815260040161037390610fbd565b7f00000000000000000000000001670130000000000000000000000000000000066001600160a01b03166105cc61096e565b6001600160a01b0316146105f25760405162461bcd60e51b815260040161037390611009565b6105fb82610989565b6103eb82826001610991565b5f306001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616146106a65760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610373565b505f5160206111275f395f51905f5290565b5f83815260fb602090815260408083208584529091529020546001600160a01b0316801515806106e55750815b61070257604051631692906160e11b815260040160405180910390fd5b9392505050565b610711610b19565b6105505f610b73565b60655433906001600160a01b031681146107885760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610373565b6104cb81610b73565b6107a560c954610100900460ff1660021490565b156107c35760405163bae6e2a960e01b815260040160405180910390fd5b60c9805461ff0019166102001790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589060200160405180910390a1610550336001610b00565b5f61081961096e565b905090565b610826610b19565b5f83815260fb6020908152604080832085845282529182902080546001600160a01b038581166001600160a01b0319831681179093558451928352169181018290529091849186917f3fd0559a7b01eb7106f9d9ce79ec76bb44f608a295878cce50856e54dba83d35910160405180910390a350505050565b6108a7610b19565b606580546001600160a01b0383166001600160a01b031990911681179091556108d86033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f54610100900460ff166109365760405162461bcd60e51b815260040161037390611055565b61093e610b8c565b61095c6001600160a01b038216156109565781610b73565b33610b73565b5060c9805461ff001916610100179055565b5f5160206111275f395f51905f52546001600160a01b031690565b6104cb610b19565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156109c9576109c483610bb2565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a23575060408051601f3d908101601f19168201909252610a20918101906110a0565b60015b610a865760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610373565b5f5160206111275f395f51905f528114610af45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610373565b506109c4838383610c4d565b604051630c2b8f8f60e11b815260040160405180910390fd5b6033546001600160a01b031633146105505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610373565b606580546001600160a01b03191690556104cb81610c77565b5f54610100900460ff166105505760405162461bcd60e51b815260040161037390611055565b6001600160a01b0381163b610c1f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610373565b5f5160206111275f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610c5683610cc8565b5f82511180610c625750805b156109c457610c718383610d07565b50505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610cd181610bb2565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b606061070283836040518060600160405280602781526020016111476027913960605f5f856001600160a01b031685604051610d4391906110d9565b5f60405180830381855af49150503d805f8114610d7b576040519150601f19603f3d011682016040523d82523d5f602084013e610d80565b606091505b5091509150610d9186838387610d9b565b9695505050505050565b60608315610e095782515f03610e02576001600160a01b0385163b610e025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610373565b5081610e13565b610e138383610e1b565b949350505050565b815115610e2b5781518083602001fd5b8060405162461bcd60e51b815260040161037391906110f4565b80356001600160a01b0381168114610e5b575f5ffd5b919050565b5f60208284031215610e70575f5ffd5b61070282610e45565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610e9e575f5ffd5b610ea783610e45565b9150602083013567ffffffffffffffff811115610ec2575f5ffd5b8301601f81018513610ed2575f5ffd5b803567ffffffffffffffff811115610eec57610eec610e79565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610f1b57610f1b610e79565b604052818152828201602001871015610f32575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f5f60608486031215610f63575f5ffd5b833592506020840135915060408401358015158114610f80575f5ffd5b809150509250925092565b5f5f5f60608486031215610f9d575f5ffd5b8335925060208401359150610fb460408501610e45565b90509250925092565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f602082840312156110b0575f5ffd5b5051919050565b5f5b838110156110d15781810151838201526020016110b9565b50505f910152565b5f82516110ea8184602087016110b7565b9190910192915050565b602081525f82518060208401526111128160408501602087016110b7565b601f01601f1916919091016040019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203c364628b47f58f18110ccb14bff9bcef5ebda8cf5ca50013c8ed8384ae4bdd464736f6c634300081b0033
Deployed Bytecode
0x6080604052600436106100fa575f3560e01c80636c6563f6116100925780638abf6077116100625780638abf6077146102515780638da5cb5b14610265578063b490d87f14610282578063e30c3978146102a1578063f2fde38b146102be575f5ffd5b80636c6563f6146101f6578063715018a61461021557806379ba5097146102295780638456cb591461023d575f5ffd5b80633f4ba83a116100cd5780633f4ba83a1461018d5780634f1ef286146101a157806352d1902d146101b45780635c975abb146101d6575f5ffd5b806304f3bcec146100fe57806319ab453c146101295780633075db561461014a5780633659cfe61461016e575b5f5ffd5b348015610109575f5ffd5b50305b6040516001600160a01b0390911681526020015b60405180910390f35b348015610134575f5ffd5b50610148610143366004610e60565b6102dd565b005b348015610155575f5ffd5b5061015e6103ef565b6040519015158152602001610120565b348015610179575f5ffd5b50610148610188366004610e60565b610407565b348015610198575f5ffd5b506101486104ce565b6101486101af366004610e8d565b610552565b3480156101bf575f5ffd5b506101c8610607565b604051908152602001610120565b3480156101e1575f5ffd5b5061015e60c954610100900460ff1660021490565b348015610201575f5ffd5b5061010c610210366004610f51565b6106b8565b348015610220575f5ffd5b50610148610709565b348015610234575f5ffd5b5061014861071a565b348015610248575f5ffd5b50610148610791565b34801561025c575f5ffd5b5061010c610810565b348015610270575f5ffd5b506033546001600160a01b031661010c565b34801561028d575f5ffd5b5061014861029c366004610f8b565b61081e565b3480156102ac575f5ffd5b506065546001600160a01b031661010c565b3480156102c9575f5ffd5b506101486102d8366004610e60565b61089f565b5f54610100900460ff16158080156102fb57505f54600160ff909116105b806103145750303b15801561031457505f5460ff166001145b61037c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b5f805460ff19166001179055801561039d575f805461ff0019166101001790555b6103a682610910565b80156103eb575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b5f60026103fe60c95460ff1690565b60ff1614905090565b6001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616300361044f5760405162461bcd60e51b815260040161037390610fbd565b7f00000000000000000000000001670130000000000000000000000000000000066001600160a01b031661048161096e565b6001600160a01b0316146104a75760405162461bcd60e51b815260040161037390611009565b6104b081610989565b604080515f808252602082019092526104cb91839190610991565b50565b6104e260c954610100900460ff1660021490565b6104ff5760405163bae6e2a960e01b815260040160405180910390fd5b61051360c9805461ff001916610100179055565b6040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9060200160405180910390a1610550335f610b00565b565b6001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616300361059a5760405162461bcd60e51b815260040161037390610fbd565b7f00000000000000000000000001670130000000000000000000000000000000066001600160a01b03166105cc61096e565b6001600160a01b0316146105f25760405162461bcd60e51b815260040161037390611009565b6105fb82610989565b6103eb82826001610991565b5f306001600160a01b037f000000000000000000000000016701300000000000000000000000000000000616146106a65760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610373565b505f5160206111275f395f51905f5290565b5f83815260fb602090815260408083208584529091529020546001600160a01b0316801515806106e55750815b61070257604051631692906160e11b815260040160405180910390fd5b9392505050565b610711610b19565b6105505f610b73565b60655433906001600160a01b031681146107885760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610373565b6104cb81610b73565b6107a560c954610100900460ff1660021490565b156107c35760405163bae6e2a960e01b815260040160405180910390fd5b60c9805461ff0019166102001790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589060200160405180910390a1610550336001610b00565b5f61081961096e565b905090565b610826610b19565b5f83815260fb6020908152604080832085845282529182902080546001600160a01b038581166001600160a01b0319831681179093558451928352169181018290529091849186917f3fd0559a7b01eb7106f9d9ce79ec76bb44f608a295878cce50856e54dba83d35910160405180910390a350505050565b6108a7610b19565b606580546001600160a01b0383166001600160a01b031990911681179091556108d86033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f54610100900460ff166109365760405162461bcd60e51b815260040161037390611055565b61093e610b8c565b61095c6001600160a01b038216156109565781610b73565b33610b73565b5060c9805461ff001916610100179055565b5f5160206111275f395f51905f52546001600160a01b031690565b6104cb610b19565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156109c9576109c483610bb2565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a23575060408051601f3d908101601f19168201909252610a20918101906110a0565b60015b610a865760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610373565b5f5160206111275f395f51905f528114610af45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610373565b506109c4838383610c4d565b604051630c2b8f8f60e11b815260040160405180910390fd5b6033546001600160a01b031633146105505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610373565b606580546001600160a01b03191690556104cb81610c77565b5f54610100900460ff166105505760405162461bcd60e51b815260040161037390611055565b6001600160a01b0381163b610c1f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610373565b5f5160206111275f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610c5683610cc8565b5f82511180610c625750805b156109c457610c718383610d07565b50505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610cd181610bb2565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b606061070283836040518060600160405280602781526020016111476027913960605f5f856001600160a01b031685604051610d4391906110d9565b5f60405180830381855af49150503d805f8114610d7b576040519150601f19603f3d011682016040523d82523d5f602084013e610d80565b606091505b5091509150610d9186838387610d9b565b9695505050505050565b60608315610e095782515f03610e02576001600160a01b0385163b610e025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610373565b5081610e13565b610e138383610e1b565b949350505050565b815115610e2b5781518083602001fd5b8060405162461bcd60e51b815260040161037391906110f4565b80356001600160a01b0381168114610e5b575f5ffd5b919050565b5f60208284031215610e70575f5ffd5b61070282610e45565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610e9e575f5ffd5b610ea783610e45565b9150602083013567ffffffffffffffff811115610ec2575f5ffd5b8301601f81018513610ed2575f5ffd5b803567ffffffffffffffff811115610eec57610eec610e79565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610f1b57610f1b610e79565b604052818152828201602001871015610f32575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f5f60608486031215610f63575f5ffd5b833592506020840135915060408401358015158114610f80575f5ffd5b809150509250925092565b5f5f5f60608486031215610f9d575f5ffd5b8335925060208401359150610fb460408501610e45565b90509250925092565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f602082840312156110b0575f5ffd5b5051919050565b5f5b838110156110d15781810151838201526020016110b9565b50505f910152565b5f82516110ea8184602087016110b7565b9190910192915050565b602081525f82518060208401526111128160408501602087016110b7565b601f01601f1916919091016040019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203c364628b47f58f18110ccb14bff9bcef5ebda8cf5ca50013c8ed8384ae4bdd464736f6c634300081b0033
Deployed Bytecode Sourcemap
241:1954:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1858:96;;;;;;;;;;-1:-1:-1;1942:4:0;1858:96;;;-1:-1:-1;;;;;178:32:16;;;160:51;;148:2;133:18;1858:96:0;;;;;;;;1025:92;;;;;;;;;;-1:-1:-1;1025:92:0;;;;;:::i;:::-;;:::i;:::-;;6224:104:1;;;;;;;;;;;;;:::i;:::-;;;756:14:16;;749:22;731:41;;719:2;704:18;6224:104:1;591:187:16;3143:195:13;;;;;;;;;;-1:-1:-1;3143:195:13;;;;;:::i;:::-;;:::i;5651:245:1:-;;;;;;;;;;;;;:::i;3657:220:13:-;;;;;;:::i;:::-;;:::i;2762:131::-;;;;;;;;;;;;;:::i;:::-;;;2084:25:16;;;2072:2;2057:18;2762:131:13;1938:177:16;6124:94:1;;;;;;;;;;;;6194:8;;;;;:17;:8;467:1;6194:17;;6124:94;207:309:3;;;;;;;;;;-1:-1:-1;207:309:3;;;;;:::i;:::-;;:::i;2085:101:5:-;;;;;;;;;;;;;:::i;2031:212:4:-;;;;;;;;;;;;;:::i;5365:241:1:-;;;;;;;;;;;;;:::i;5902:90::-;;;;;;;;;;;;;:::i;1462:85:5:-;;;;;;;;;;-1:-1:-1;1534:6:5;;-1:-1:-1;;;;;1534:6:5;1462:85;;1396:356:0;;;;;;;;;;-1:-1:-1;1396:356:0;;;;;:::i;:::-;;:::i;1144:99:4:-;;;;;;;;;;-1:-1:-1;1223:13:4;;-1:-1:-1;;;;;1223:13:4;1144:99;;1436:178;;;;;;;;;;-1:-1:-1;1436:178:4;;;;;:::i;:::-;;:::i;1025:92:0:-;3279:19:6;3302:13;;;;;;3301:14;;3347:34;;;;-1:-1:-1;3365:12:6;;3380:1;3365:12;;;;:16;3347:34;3346:108;;;-1:-1:-1;3426:4:6;1713:19:7;:23;;;3387:66:6;;-1:-1:-1;3436:12:6;;;;;:17;3387:66;3325:201;;;;-1:-1:-1;;;3325:201:6;;3267:2:16;3325:201:6;;;3249:21:16;3306:2;3286:18;;;3279:30;3345:34;3325:18;;;3318:62;-1:-1:-1;;;3396:18:16;;;3389:44;3450:19;;3325:201:6;;;;;;;;;3536:12;:16;;-1:-1:-1;;3536:16:6;3551:1;3536:16;;;3562:65;;;;3596:13;:20;;-1:-1:-1;;3596:20:6;;;;;3562:65;1086:24:0::1;1103:6;1086:16;:24::i;:::-;3651:14:6::0;3647:99;;;3697:5;3681:21;;-1:-1:-1;;3681:21:6;;;3721:14;;-1:-1:-1;3632:36:16;;3721:14:6;;3620:2:16;3605:18;3721:14:6;;;;;;;3647:99;3269:483;1025:92:0;:::o;6224:104:1:-;6271:4;467:1;6294:18;8408:9;;;;;8312:112;6294:18;:27;;;6287:34;;6224:104;:::o;3143:195:13:-;-1:-1:-1;;;;;1654:6:13;1637:23;1645:4;1637:23;1629:80;;;;-1:-1:-1;;;1629:80:13;;;;;;;:::i;:::-;1751:6;-1:-1:-1;;;;;1727:30:13;:20;:18;:20::i;:::-;-1:-1:-1;;;;;1727:30:13;;1719:87;;;;-1:-1:-1;;;1719:87:13;;;;;;;:::i;:::-;3224:36:::1;3242:17;3224;:36::i;:::-;3311:12;::::0;;3321:1:::1;3311:12:::0;;;::::1;::::0;::::1;::::0;;;3270:61:::1;::::0;3292:17;;3311:12;3270:21:::1;:61::i;:::-;3143:195:::0;:::o;5651:245:1:-;2341:8;6194;;;;;:17;:8;467:1;6194:17;;6124:94;2341:8;2333:41;;;;-1:-1:-1;;;2333:41:1;;;;;;;;;;;;5698:10:::1;7961:8:::0;:17;;-1:-1:-1;;7961:17:1;;;;;7914:71;5698:10:::1;5723:20;::::0;5732:10:::1;160:51:16::0;;5723:20:1::1;::::0;148:2:16;133:18;5723:20:1::1;;;;;;;5855:34;5871:10;5883:5;5855:15;:34::i;:::-;5651:245::o:0;3657:220:13:-;-1:-1:-1;;;;;1654:6:13;1637:23;1645:4;1637:23;1629:80;;;;-1:-1:-1;;;1629:80:13;;;;;;;:::i;:::-;1751:6;-1:-1:-1;;;;;1727:30:13;:20;:18;:20::i;:::-;-1:-1:-1;;;;;1727:30:13;;1719:87;;;;-1:-1:-1;;;1719:87:13;;;;;;;:::i;:::-;3772:36:::1;3790:17;3772;:36::i;:::-;3818:52;3840:17;3859:4;3865;3818:21;:52::i;2762:131::-:0;2840:7;2080:4;-1:-1:-1;;;;;2089:6:13;2072:23;;2064:92;;;;-1:-1:-1;;;2064:92:13;;4707:2:16;2064:92:13;;;4689:21:16;4746:2;4726:18;;;4719:30;4785:34;4765:18;;;4758:62;4856:26;4836:18;;;4829:54;4900:19;;2064:92:13;4505:420:16;2064:92:13;-1:-1:-1;;;;;;;;;;;;2762:131:13;:::o;207:309:3:-;358:13;2071:21:0;;;:11;:21;;;;;;;;:28;;;;;;;;;-1:-1:-1;;;;;2071:28:0;440:19:3;;;;:40;;;463:17;440:40;432:77;;;;-1:-1:-1;;;432:77:3;;;;;;;;;;;;207:309;;;;;:::o;2085:101:5:-;1355:13;:11;:13::i;:::-;2149:30:::1;2176:1;2149:18;:30::i;2031:212:4:-:0;1223:13;;965:10:8;;-1:-1:-1;;;;;1223:13:4;2130:24;;2122:78;;;;-1:-1:-1;;;2122:78:4;;5132:2:16;2122:78:4;;;5114:21:16;5171:2;5151:18;;;5144:30;5210:34;5190:18;;;5183:62;-1:-1:-1;;;5261:18:16;;;5254:39;5310:19;;2122:78:4;4930:405:16;2122:78:4;2210:26;2229:6;2210:18;:26::i;5365:241:1:-;2533:8;6194;;;;;:17;:8;467:1;6194:17;;6124:94;2533:8;2532:9;2524:42;;;;-1:-1:-1;;;2524:42:1;;;;;;;;;;;;7885:8;:16;;-1:-1:-1;;7885:16:1;;;;;5436:18:::1;::::0;5443:10:::1;160:51:16::0;;5436:18:1::1;::::0;148:2:16;133:18;5436::1::1;;;;;;;5566:33;5582:10;5594:4;5566:15;:33::i;5902:90::-:0;5939:7;5965:20;:18;:20::i;:::-;5958:27;;5902:90;:::o;1396:356:0:-;1355:13:5;:11;:13::i;:::-;1570:18:0::1;1591:21:::0;;;:11:::1;:21;::::0;;;;;;;:28;;;;;;;;;;;-1:-1:-1;;;;;1629:42:0;;::::1;-1:-1:-1::0;;;;;;1629:42:0;::::1;::::0;::::1;::::0;;;1686:59;;5514:51:16;;;1591:28:0::1;5581:18:16::0;;;5574:60;;;1591:28:0;;;;:21;;1686:59:::1;::::0;5487:18:16;1686:59:0::1;;;;;;;1560:192;1396:356:::0;;;:::o;1436:178:4:-;1355:13:5;:11;:13::i;:::-;1525::4::1;:24:::0;;-1:-1:-1;;;;;1525:24:4;::::1;-1:-1:-1::0;;;;;;1525:24:4;;::::1;::::0;::::1;::::0;;;1589:7:::1;1534:6:5::0;;-1:-1:-1;;;;;1534:6:5;;1462:85;1589:7:4::1;-1:-1:-1::0;;;;;1564:43:4::1;;;;;;;;;;;1436:178:::0;:::o;7626:208:1:-;5374:13:6;;;;;;;5366:69;;;;-1:-1:-1;;;5366:69:6;;;;;;;:::i;:::-;7712:16:1::1;:14;:16::i;:::-;7738:62;-1:-1:-1::0;;;;;7757:20:1;::::1;::::0;:42:::1;;7793:6;7738:18;:62::i;7757:42::-;7780:10;7738:18;:62::i;:::-;-1:-1:-1::0;7810:8:1::1;:17:::0;;-1:-1:-1;;7810:17:1::1;;;::::0;;7626:208::o;1175:140:11:-;-1:-1:-1;;;;;;;;;;;1254:54:11;-1:-1:-1;;;;;1254:54:11;;1175:140::o;7991:75:1:-;1355:13:5;:11;:13::i;2494:922:11:-;689:66;2910:48;;;2906:504;;;2974:37;2993:17;2974:18;:37::i;:::-;2494:922;;;:::o;2906:504::-;3064:17;-1:-1:-1;;;;;3046:50:11;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3046:52:11;;;;;;;;-1:-1:-1;;3046:52:11;;;;;;;;;;;;:::i;:::-;;;3042:291;;3262:56;;-1:-1:-1;;;3262:56:11;;6448:2:16;3262:56:11;;;6430:21:16;6487:2;6467:18;;;6460:30;6526:34;6506:18;;;6499:62;-1:-1:-1;;;6577:18:16;;;6570:44;6631:19;;3262:56:11;6246:410:16;3042:291:11;-1:-1:-1;;;;;;;;;;;3148:28:11;;3140:82;;;;-1:-1:-1;;;3140:82:11;;6863:2:16;3140:82:11;;;6845:21:16;6902:2;6882:18;;;6875:30;6941:34;6921:18;;;6914:62;-1:-1:-1;;;6992:18:16;;;6985:39;7041:19;;3140:82:11;6661:405:16;3140:82:11;3099:138;3346:53;3364:17;3383:4;3389:9;3346:17;:53::i;2112:81:0:-;1920:22:1;;-1:-1:-1;;;1920:22:1;;;;;;;;;;;1620:130:5;1534:6;;-1:-1:-1;;;;;1534:6:5;965:10:8;1683:23:5;1675:68;;;;-1:-1:-1;;;1675:68:5;;7273:2:16;1675:68:5;;;7255:21:16;;;7292:18;;;7285:30;7351:34;7331:18;;;7324:62;7403:18;;1675:68:5;7071:356:16;1798:153:4;1887:13;1880:20;;-1:-1:-1;;;;;;1880:20:4;;;1910:34;1935:8;1910:24;:34::i;747:59:8:-;5374:13:6;;;;;;;5366:69;;;;-1:-1:-1;;;5366:69:6;;;;;;;:::i;1406:259:11:-;-1:-1:-1;;;;;1713:19:7;;;1479:95:11;;;;-1:-1:-1;;;1479:95:11;;7634:2:16;1479:95:11;;;7616:21:16;7673:2;7653:18;;;7646:30;7712:34;7692:18;;;7685:62;-1:-1:-1;;;7763:18:16;;;7756:43;7816:19;;1479:95:11;7432:409:16;1479:95:11;-1:-1:-1;;;;;;;;;;;1584:74:11;;-1:-1:-1;;;;;;1584:74:11;-1:-1:-1;;;;;1584:74:11;;;;;;;;;;1406:259::o;2057:265::-;2165:29;2176:17;2165:10;:29::i;:::-;2222:1;2208:4;:11;:15;:28;;;;2227:9;2208:28;2204:112;;;2252:53;2281:17;2300:4;2252:28;:53::i;:::-;;2057:265;;;:::o;2687:187:5:-;2779:6;;;-1:-1:-1;;;;;2795:17:5;;;-1:-1:-1;;;;;;2795:17:5;;;;;;;2827:40;;2779:6;;;2795:17;2779:6;;2827:40;;2760:16;;2827:40;2750:124;2687:187;:::o;1771:152:11:-;1837:37;1856:17;1837:18;:37::i;:::-;1889:27;;-1:-1:-1;;;;;1889:27:11;;;;;;;;1771:152;:::o;6674:198:14:-;6757:12;6788:77;6809:6;6817:4;6788:77;;;;;;;;;;;;;;;;;7199:12;7224;7238:23;7265:6;-1:-1:-1;;;;;7265:19:14;7285:4;7265:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7223:67;;;;7307:69;7334:6;7342:7;7351:10;7363:12;7307:26;:69::i;:::-;7300:76;7058:325;-1:-1:-1;;;;;;7058:325:14:o;7671:628::-;7851:12;7879:7;7875:418;;;7906:10;:17;7927:1;7906:22;7902:286;;-1:-1:-1;;;;;1713:19:7;;;8113:60:14;;;;-1:-1:-1;;;8113:60:14;;8595:2:16;8113:60:14;;;8577:21:16;8634:2;8614:18;;;8607:30;8673:31;8653:18;;;8646:59;8722:18;;8113:60:14;8393:353:16;8113:60:14;-1:-1:-1;8208:10:14;8201:17;;7875:418;8249:33;8257:10;8269:12;8249:7;:33::i;:::-;7671:628;;;;;;:::o;8821:540::-;8980:17;;:21;8976:379;;9208:10;9202:17;9264:15;9251:10;9247:2;9243:19;9236:44;8976:379;9331:12;9324:20;;-1:-1:-1;;;9324:20:14;;;;;;;;:::i;222:173:16:-;290:20;;-1:-1:-1;;;;;339:31:16;;329:42;;319:70;;385:1;382;375:12;319:70;222:173;;;:::o;400:186::-;459:6;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;783:127::-;844:10;839:3;835:20;832:1;825:31;875:4;872:1;865:15;899:4;896:1;889:15;915:1018;992:6;1000;1053:2;1041:9;1032:7;1028:23;1024:32;1021:52;;;1069:1;1066;1059:12;1021:52;1092:29;1111:9;1092:29;:::i;:::-;1082:39;;1172:2;1161:9;1157:18;1144:32;1199:18;1191:6;1188:30;1185:50;;;1231:1;1228;1221:12;1185:50;1254:22;;1307:4;1299:13;;1295:27;-1:-1:-1;1285:55:16;;1336:1;1333;1326:12;1285:55;1376:2;1363:16;1402:18;1394:6;1391:30;1388:56;;;1424:18;;:::i;:::-;1473:2;1467:9;1565:2;1527:17;;-1:-1:-1;;1523:31:16;;;1556:2;1519:40;1515:54;1503:67;;1600:18;1585:34;;1621:22;;;1582:62;1579:88;;;1647:18;;:::i;:::-;1683:2;1676:22;1707;;;1748:15;;;1765:2;1744:24;1741:37;-1:-1:-1;1738:57:16;;;1791:1;1788;1781:12;1738:57;1847:6;1842:2;1838;1834:11;1829:2;1821:6;1817:15;1804:50;1900:1;1895:2;1886:6;1878;1874:19;1870:28;1863:39;1921:6;1911:16;;;;;915:1018;;;;;:::o;2120:515::-;2194:6;2202;2210;2263:2;2251:9;2242:7;2238:23;2234:32;2231:52;;;2279:1;2276;2269:12;2231:52;2324:23;;;-1:-1:-1;2444:2:16;2429:18;;2416:32;;-1:-1:-1;2526:2:16;2511:18;;2498:32;2568:15;;2561:23;2549:36;;2539:64;;2599:1;2596;2589:12;2539:64;2622:7;2612:17;;;2120:515;;;;;:::o;2640:420::-;2717:6;2725;2733;2786:2;2774:9;2765:7;2761:23;2757:32;2754:52;;;2802:1;2799;2792:12;2754:52;2847:23;;;-1:-1:-1;2967:2:16;2952:18;;2939:32;;-1:-1:-1;3016:38:16;3050:2;3035:18;;3016:38;:::i;:::-;3006:48;;2640:420;;;;;:::o;3679:408::-;3881:2;3863:21;;;3920:2;3900:18;;;3893:30;3959:34;3954:2;3939:18;;3932:62;-1:-1:-1;;;4025:2:16;4010:18;;4003:42;4077:3;4062:19;;3679:408::o;4092:::-;4294:2;4276:21;;;4333:2;4313:18;;;4306:30;4372:34;4367:2;4352:18;;4345:62;-1:-1:-1;;;4438:2:16;4423:18;;4416:42;4490:3;4475:19;;4092:408::o;5645:407::-;5847:2;5829:21;;;5886:2;5866:18;;;5859:30;5925:34;5920:2;5905:18;;5898:62;-1:-1:-1;;;5991:2:16;5976:18;;5969:41;6042:3;6027:19;;5645:407::o;6057:184::-;6127:6;6180:2;6168:9;6159:7;6155:23;6151:32;6148:52;;;6196:1;6193;6186:12;6148:52;-1:-1:-1;6219:16:16;;6057:184;-1:-1:-1;6057:184:16:o;7846:250::-;7931:1;7941:113;7955:6;7952:1;7949:13;7941:113;;;8031:11;;;8025:18;8012:11;;;8005:39;7977:2;7970:10;7941:113;;;-1:-1:-1;;8088:1:16;8070:16;;8063:27;7846:250::o;8101:287::-;8230:3;8268:6;8262:13;8284:66;8343:6;8338:3;8331:4;8323:6;8319:17;8284:66;:::i;:::-;8366:16;;;;;8101:287;-1:-1:-1;;8101:287:16:o;8751:396::-;8900:2;8889:9;8882:21;8863:4;8932:6;8926:13;8975:6;8970:2;8959:9;8955:18;8948:34;8991:79;9063:6;9058:2;9047:9;9043:18;9038:2;9030:6;9026:15;8991:79;:::i;:::-;9131:2;9110:15;-1:-1:-1;;9106:29:16;9091:45;;;;9138:2;9087:54;;8751:396;-1:-1:-1;;8751:396:16:o
Swarm Source
ipfs://3c364628b47f58f18110ccb14bff9bcef5ebda8cf5ca50013c8ed8384ae4bdd4
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.