Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ProxyAdmin
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-05 */ // File: proxy-admin/Ownable.sol pragma solidity ^0.8.0; /** * @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 Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initialization */ constructor () { _setOwner(msg.sender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == msg.sender, "Caller is not owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: proxy-admin/TransparentUpgradeableProxy.sol 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: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { assembly { r.slot := slot } } } pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } 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); } pragma solidity ^0.8.2; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967Upgrade { // 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 Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @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 _upgradeToAndCallSecure( address newImplementation, bytes memory data, bool forceCall ) internal { address oldImplementation = _getImplementation(); // Initial upgrade and setup call _setImplementation(newImplementation); if (data.length > 0 || forceCall) { Address.functionDelegateCall(newImplementation, data); } // Perform rollback test if not already in progress StorageSlot.BooleanSlot storage rollbackTesting = StorageSlot.getBooleanSlot(_ROLLBACK_SLOT); if (!rollbackTesting.value) { // Trigger rollback using upgradeTo from the new implementation rollbackTesting.value = true; Address.functionDelegateCall( newImplementation, abi.encodeWithSignature("upgradeTo(address)", oldImplementation) ); rollbackTesting.value = false; // Check rollback was effective require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades"); // Finally reset to the new implementation and log the upgrade _upgradeTo(newImplementation); } } /** * @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 Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @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 Emitted when the beacon is upgraded. */ event BeaconUpgraded(address indexed beacon); /** * @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); } } } pragma solidity ^0.8.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _delegate(address implementation) internal virtual { assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal view virtual returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _fallback() internal virtual { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback() external payable virtual { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive() external payable virtual { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overriden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual {} } pragma solidity ^0.8.0; /** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the * implementation behind the proxy. */ contract ERC1967Proxy is Proxy, ERC1967Upgrade { /** * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`. * * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded * function call, and allows initializating the storage of the proxy like a Solidity constructor. */ constructor(address _logic, bytes memory _data) payable { assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)); _upgradeToAndCall(_logic, _data, false); } /** * @dev Returns the current implementation address. */ function _implementation() internal view virtual override returns (address impl) { return ERC1967Upgrade._getImplementation(); } } pragma solidity ^0.8.0; /** * @dev This contract implements a proxy that is upgradeable by an admin. * * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector * clashing], which can potentially be used in an attack, this contract uses the * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two * things that go hand in hand: * * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if * that call matches one of the admin functions exposed by the proxy itself. * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the * implementation. If the admin tries to call a function on the implementation it will fail with an error that says * "admin cannot fallback to proxy target". * * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due * to sudden errors when trying to call a function from the proxy implementation. * * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy. */ contract TransparentUpgradeableProxy is ERC1967Proxy { /** * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}. */ constructor( address _logic, address admin_, bytes memory _data ) payable ERC1967Proxy(_logic, _data) { assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)); _changeAdmin(admin_); } /** * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin. */ modifier ifAdmin() { if (msg.sender == _getAdmin()) { _; } else { _fallback(); } } /** * @dev Returns the current admin. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function admin() external ifAdmin returns (address admin_) { admin_ = _getAdmin(); } /** * @dev Returns the current implementation. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc` */ function implementation() external ifAdmin returns (address implementation_) { implementation_ = _implementation(); } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. * * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}. */ function changeAdmin(address newAdmin) external virtual ifAdmin { _changeAdmin(newAdmin); } /** * @dev Upgrade the implementation of the proxy. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}. */ function upgradeTo(address newImplementation) external ifAdmin { _upgradeToAndCall(newImplementation, bytes(""), false); } /** * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the * proxied contract. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}. */ function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin { _upgradeToAndCall(newImplementation, data, true); } /** * @dev Returns the current admin. */ function _admin() internal view virtual returns (address) { return _getAdmin(); } /** * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}. */ function _beforeFallback() internal virtual override { require(msg.sender != _getAdmin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target"); super._beforeFallback(); } } // File: proxy-admin/ProxyAdmin.sol pragma solidity ^0.8.0; /** * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}. */ contract ProxyAdmin is Ownable { /** * @dev Returns the current implementation of `proxy`. * * Requirements: * * - This contract must be the admin of `proxy`. */ function getProxyImplementation(TransparentUpgradeableProxy proxy) public view virtual returns (address) { // We need to manually run the static call since the getter cannot be flagged as view // bytes4(keccak256("implementation()")) == 0x5c60da1b (bool success, bytes memory returndata) = address(proxy).staticcall(hex"5c60da1b"); require(success); return abi.decode(returndata, (address)); } /** * @dev Returns the current admin of `proxy`. * * Requirements: * * - This contract must be the admin of `proxy`. */ function getProxyAdmin(TransparentUpgradeableProxy proxy) public view virtual returns (address) { // We need to manually run the static call since the getter cannot be flagged as view // bytes4(keccak256("admin()")) == 0xf851a440 (bool success, bytes memory returndata) = address(proxy).staticcall(hex"f851a440"); require(success); return abi.decode(returndata, (address)); } /** * @dev Changes the admin of `proxy` to `newAdmin`. * * Requirements: * * - This contract must be the current admin of `proxy`. */ function changeProxyAdmin(TransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner { proxy.changeAdmin(newAdmin); } /** * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}. * * Requirements: * * - This contract must be the admin of `proxy`. */ function upgrade(TransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner { proxy.upgradeTo(implementation); } /** * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See * {TransparentUpgradeableProxy-upgradeToAndCall}. * * Requirements: * * - This contract must be the admin of `proxy`. */ function upgradeAndCall( TransparentUpgradeableProxy proxy, address implementation, bytes memory data ) public payable virtual onlyOwner { proxy.upgradeToAndCall{value: msg.value}(implementation, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"contract TransparentUpgradeableProxy","name":"proxy","type":"address"},{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract TransparentUpgradeableProxy","name":"proxy","type":"address"}],"name":"getProxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract TransparentUpgradeableProxy","name":"proxy","type":"address"}],"name":"getProxyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract TransparentUpgradeableProxy","name":"proxy","type":"address"},{"internalType":"address","name":"implementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract TransparentUpgradeableProxy","name":"proxy","type":"address"},{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeAndCall","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506100203361002560201b60201c565b6100e9565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610e68806100f86000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012857806399a88ec414610144578063f2fde38b1461016d578063f3b7dead146101965761007b565b8063204e1c7a14610080578063715018a6146100bd5780637eff275e146100d45780638da5cb5b146100fd575b600080fd5b34801561008c57600080fd5b506100a760048036038101906100a29190610913565b6101d3565b6040516100b49190610aed565b60405180910390f35b3480156100c957600080fd5b506100d2610267565b005b3480156100e057600080fd5b506100fb60048036038101906100f69190610940565b6102e8565b005b34801561010957600080fd5b506101126103cc565b60405161011f9190610aed565b60405180910390f35b610142600480360381019061013d9190610980565b6103f5565b005b34801561015057600080fd5b5061016b60048036038101906101669190610940565b6104dd565b005b34801561017957600080fd5b50610194600480360381019061018f91906108b9565b6105c1565b005b3480156101a257600080fd5b506101bd60048036038101906101b89190610913565b6106b2565b6040516101ca9190610aed565b60405180910390f35b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101fb90610ac3565b600060405180830381855afa9150503d8060008114610236576040519150601f19603f3d011682016040523d82523d6000602084013e61023b565b606091505b50915091508161024a57600080fd5b8080602001905181019061025e91906108e6565b92505050919050565b3373ffffffffffffffffffffffffffffffffffffffff166102866103cc565b73ffffffffffffffffffffffffffffffffffffffff16146102dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d390610b58565b60405180910390fd5b6102e66000610746565b565b3373ffffffffffffffffffffffffffffffffffffffff166103076103cc565b73ffffffffffffffffffffffffffffffffffffffff161461035d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035490610b58565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16638f283970826040518263ffffffff1660e01b81526004016103969190610aed565b600060405180830381600087803b1580156103b057600080fd5b505af11580156103c4573d6000803e3d6000fd5b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff166104146103cc565b73ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046190610b58565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16634f1ef2863484846040518463ffffffff1660e01b81526004016104a6929190610b08565b6000604051808303818588803b1580156104bf57600080fd5b505af11580156104d3573d6000803e3d6000fd5b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166104fc6103cc565b73ffffffffffffffffffffffffffffffffffffffff1614610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054990610b58565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16633659cfe6826040518263ffffffff1660e01b815260040161058b9190610aed565b600060405180830381600087803b1580156105a557600080fd5b505af11580156105b9573d6000803e3d6000fd5b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166105e06103cc565b73ffffffffffffffffffffffffffffffffffffffff1614610636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062d90610b58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069d90610b38565b60405180910390fd5b6106af81610746565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516106da90610ad8565b600060405180830381855afa9150503d8060008114610715576040519150601f19603f3d011682016040523d82523d6000602084013e61071a565b606091505b50915091508161072957600080fd5b8080602001905181019061073d91906108e6565b92505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061081d61081884610b9d565b610b78565b90508281526020810184848401111561083957610838610d03565b5b610844848285610c5c565b509392505050565b60008135905061085b81610ded565b92915050565b60008151905061087081610e04565b92915050565b600082601f83011261088b5761088a610cfe565b5b813561089b84826020860161080a565b91505092915050565b6000813590506108b381610e1b565b92915050565b6000602082840312156108cf576108ce610d0d565b5b60006108dd8482850161084c565b91505092915050565b6000602082840312156108fc576108fb610d0d565b5b600061090a84828501610861565b91505092915050565b60006020828403121561092957610928610d0d565b5b6000610937848285016108a4565b91505092915050565b6000806040838503121561095757610956610d0d565b5b6000610965858286016108a4565b92505060206109768582860161084c565b9150509250929050565b60008060006060848603121561099957610998610d0d565b5b60006109a7868287016108a4565b93505060206109b88682870161084c565b925050604084013567ffffffffffffffff8111156109d9576109d8610d08565b5b6109e586828701610876565b9150509250925092565b6109f881610c06565b82525050565b6000610a0982610bce565b610a138185610bd9565b9350610a23818560208601610c6b565b610a2c81610d12565b840191505092915050565b6000610a44602683610bf5565b9150610a4f82610d23565b604082019050919050565b6000610a67601383610bf5565b9150610a7282610d72565b602082019050919050565b6000610a8a600483610bea565b9150610a9582610d9b565b600482019050919050565b6000610aad600483610bea565b9150610ab882610dc4565b600482019050919050565b6000610ace82610a7d565b9150819050919050565b6000610ae382610aa0565b9150819050919050565b6000602082019050610b0260008301846109ef565b92915050565b6000604082019050610b1d60008301856109ef565b8181036020830152610b2f81846109fe565b90509392505050565b60006020820190508181036000830152610b5181610a37565b9050919050565b60006020820190508181036000830152610b7181610a5a565b9050919050565b6000610b82610b93565b9050610b8e8282610c9e565b919050565b6000604051905090565b600067ffffffffffffffff821115610bb857610bb7610ccf565b5b610bc182610d12565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000610c1182610c3c565b9050919050565b6000610c2382610c3c565b9050919050565b6000610c3582610c18565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015610c89578082015181840152602081019050610c6e565b83811115610c98576000848401525b50505050565b610ca782610d12565b810181811067ffffffffffffffff82111715610cc657610cc5610ccf565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b7f5c60da1b00000000000000000000000000000000000000000000000000000000600082015250565b7ff851a44000000000000000000000000000000000000000000000000000000000600082015250565b610df681610c06565b8114610e0157600080fd5b50565b610e0d81610c18565b8114610e1857600080fd5b50565b610e2481610c2a565b8114610e2f57600080fd5b5056fea2646970667358221220d03f236c822618365e267e9755bf6ffbc728e03ef14ea0ca77a86c6d5184bfde64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012857806399a88ec414610144578063f2fde38b1461016d578063f3b7dead146101965761007b565b8063204e1c7a14610080578063715018a6146100bd5780637eff275e146100d45780638da5cb5b146100fd575b600080fd5b34801561008c57600080fd5b506100a760048036038101906100a29190610913565b6101d3565b6040516100b49190610aed565b60405180910390f35b3480156100c957600080fd5b506100d2610267565b005b3480156100e057600080fd5b506100fb60048036038101906100f69190610940565b6102e8565b005b34801561010957600080fd5b506101126103cc565b60405161011f9190610aed565b60405180910390f35b610142600480360381019061013d9190610980565b6103f5565b005b34801561015057600080fd5b5061016b60048036038101906101669190610940565b6104dd565b005b34801561017957600080fd5b50610194600480360381019061018f91906108b9565b6105c1565b005b3480156101a257600080fd5b506101bd60048036038101906101b89190610913565b6106b2565b6040516101ca9190610aed565b60405180910390f35b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101fb90610ac3565b600060405180830381855afa9150503d8060008114610236576040519150601f19603f3d011682016040523d82523d6000602084013e61023b565b606091505b50915091508161024a57600080fd5b8080602001905181019061025e91906108e6565b92505050919050565b3373ffffffffffffffffffffffffffffffffffffffff166102866103cc565b73ffffffffffffffffffffffffffffffffffffffff16146102dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d390610b58565b60405180910390fd5b6102e66000610746565b565b3373ffffffffffffffffffffffffffffffffffffffff166103076103cc565b73ffffffffffffffffffffffffffffffffffffffff161461035d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035490610b58565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16638f283970826040518263ffffffff1660e01b81526004016103969190610aed565b600060405180830381600087803b1580156103b057600080fd5b505af11580156103c4573d6000803e3d6000fd5b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff166104146103cc565b73ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046190610b58565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16634f1ef2863484846040518463ffffffff1660e01b81526004016104a6929190610b08565b6000604051808303818588803b1580156104bf57600080fd5b505af11580156104d3573d6000803e3d6000fd5b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166104fc6103cc565b73ffffffffffffffffffffffffffffffffffffffff1614610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054990610b58565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16633659cfe6826040518263ffffffff1660e01b815260040161058b9190610aed565b600060405180830381600087803b1580156105a557600080fd5b505af11580156105b9573d6000803e3d6000fd5b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166105e06103cc565b73ffffffffffffffffffffffffffffffffffffffff1614610636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062d90610b58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069d90610b38565b60405180910390fd5b6106af81610746565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516106da90610ad8565b600060405180830381855afa9150503d8060008114610715576040519150601f19603f3d011682016040523d82523d6000602084013e61071a565b606091505b50915091508161072957600080fd5b8080602001905181019061073d91906108e6565b92505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061081d61081884610b9d565b610b78565b90508281526020810184848401111561083957610838610d03565b5b610844848285610c5c565b509392505050565b60008135905061085b81610ded565b92915050565b60008151905061087081610e04565b92915050565b600082601f83011261088b5761088a610cfe565b5b813561089b84826020860161080a565b91505092915050565b6000813590506108b381610e1b565b92915050565b6000602082840312156108cf576108ce610d0d565b5b60006108dd8482850161084c565b91505092915050565b6000602082840312156108fc576108fb610d0d565b5b600061090a84828501610861565b91505092915050565b60006020828403121561092957610928610d0d565b5b6000610937848285016108a4565b91505092915050565b6000806040838503121561095757610956610d0d565b5b6000610965858286016108a4565b92505060206109768582860161084c565b9150509250929050565b60008060006060848603121561099957610998610d0d565b5b60006109a7868287016108a4565b93505060206109b88682870161084c565b925050604084013567ffffffffffffffff8111156109d9576109d8610d08565b5b6109e586828701610876565b9150509250925092565b6109f881610c06565b82525050565b6000610a0982610bce565b610a138185610bd9565b9350610a23818560208601610c6b565b610a2c81610d12565b840191505092915050565b6000610a44602683610bf5565b9150610a4f82610d23565b604082019050919050565b6000610a67601383610bf5565b9150610a7282610d72565b602082019050919050565b6000610a8a600483610bea565b9150610a9582610d9b565b600482019050919050565b6000610aad600483610bea565b9150610ab882610dc4565b600482019050919050565b6000610ace82610a7d565b9150819050919050565b6000610ae382610aa0565b9150819050919050565b6000602082019050610b0260008301846109ef565b92915050565b6000604082019050610b1d60008301856109ef565b8181036020830152610b2f81846109fe565b90509392505050565b60006020820190508181036000830152610b5181610a37565b9050919050565b60006020820190508181036000830152610b7181610a5a565b9050919050565b6000610b82610b93565b9050610b8e8282610c9e565b919050565b6000604051905090565b600067ffffffffffffffff821115610bb857610bb7610ccf565b5b610bc182610d12565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000610c1182610c3c565b9050919050565b6000610c2382610c3c565b9050919050565b6000610c3582610c18565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015610c89578082015181840152602081019050610c6e565b83811115610c98576000848401525b50505050565b610ca782610d12565b810181811067ffffffffffffffff82111715610cc657610cc5610ccf565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b7f5c60da1b00000000000000000000000000000000000000000000000000000000600082015250565b7ff851a44000000000000000000000000000000000000000000000000000000000600082015250565b610df681610c06565b8114610e0157600080fd5b50565b610e0d81610c18565b8114610e1857600080fd5b50565b610e2481610c2a565b8114610e2f57600080fd5b5056fea2646970667358221220d03f236c822618365e267e9755bf6ffbc728e03ef14ea0ca77a86c6d5184bfde64736f6c63430008070033
Deployed Bytecode Sourcemap
29789:2472:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29997:443;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1548:94;;;;;;;;;;;;;:::i;:::-;;31217:150;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;912:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32008:250;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;31581:151;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1797:192;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;30609:425;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29997:443;30093:7;30273:12;30287:23;30322:5;30314:25;;:40;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30272:82;;;;30373:7;30365:16;;;;;;30410:10;30399:33;;;;;;;;;;;;:::i;:::-;30392:40;;;;29997:443;;;:::o;1548:94::-;1143:10;1132:21;;:7;:5;:7::i;:::-;:21;;;1124:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;1613:21:::1;1631:1;1613:9;:21::i;:::-;1548:94::o:0;31217:150::-;1143:10;1132:21;;:7;:5;:7::i;:::-;:21;;;1124:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;31332:5:::1;:17;;;31350:8;31332:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;31217:150:::0;;:::o;912:87::-;958:7;985:6;;;;;;;;;;;978:13;;912:87;:::o;32008:250::-;1143:10;1132:21;;:7;:5;:7::i;:::-;:21;;;1124:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;32188:5:::1;:22;;;32218:9;32229:14;32245:4;32188:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;32008:250:::0;;;:::o;31581:151::-;1143:10;1132:21;;:7;:5;:7::i;:::-;:21;;;1124:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;31693:5:::1;:15;;;31709:14;31693:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;31581:151:::0;;:::o;1797:192::-;1143:10;1132:21;;:7;:5;:7::i;:::-;:21;;;1124:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;1906:1:::1;1886:22;;:8;:22;;;;1878:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;1962:19;1972:8;1962:9;:19::i;:::-;1797:192:::0;:::o;30609:425::-;30696:7;30867:12;30881:23;30916:5;30908:25;;:40;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30866:82;;;;30967:7;30959:16;;;;;;31004:10;30993:33;;;;;;;;;;;;:::i;:::-;30986:40;;;;30609:425;;;:::o;1997:173::-;2053:16;2072:6;;;;;;;;;;;2053:25;;2098:8;2089:6;;:17;;;;;;;;;;;;;;;;;;2153:8;2122:40;;2143:8;2122:40;;;;;;;;;;;;2042:128;1997:173;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:139::-;469:5;507:6;494:20;485:29;;523:33;550:5;523:33;:::i;:::-;423:139;;;;:::o;568:159::-;633:5;664:6;658:13;649:22;;680:41;715:5;680:41;:::i;:::-;568:159;;;;:::o;746:338::-;801:5;850:3;843:4;835:6;831:17;827:27;817:122;;858:79;;:::i;:::-;817:122;975:6;962:20;1000:78;1074:3;1066:6;1059:4;1051:6;1047:17;1000:78;:::i;:::-;991:87;;807:277;746:338;;;;:::o;1090:211::-;1172:5;1210:6;1197:20;1188:29;;1226:69;1289:5;1226:69;:::i;:::-;1090:211;;;;:::o;1307:329::-;1366:6;1415:2;1403:9;1394:7;1390:23;1386:32;1383:119;;;1421:79;;:::i;:::-;1383:119;1541:1;1566:53;1611:7;1602:6;1591:9;1587:22;1566:53;:::i;:::-;1556:63;;1512:117;1307:329;;;;:::o;1642:367::-;1720:6;1769:2;1757:9;1748:7;1744:23;1740:32;1737:119;;;1775:79;;:::i;:::-;1737:119;1895:1;1920:72;1984:7;1975:6;1964:9;1960:22;1920:72;:::i;:::-;1910:82;;1866:136;1642:367;;;;:::o;2015:401::-;2110:6;2159:2;2147:9;2138:7;2134:23;2130:32;2127:119;;;2165:79;;:::i;:::-;2127:119;2285:1;2310:89;2391:7;2382:6;2371:9;2367:22;2310:89;:::i;:::-;2300:99;;2256:153;2015:401;;;;:::o;2422:546::-;2526:6;2534;2583:2;2571:9;2562:7;2558:23;2554:32;2551:119;;;2589:79;;:::i;:::-;2551:119;2709:1;2734:89;2815:7;2806:6;2795:9;2791:22;2734:89;:::i;:::-;2724:99;;2680:153;2872:2;2898:53;2943:7;2934:6;2923:9;2919:22;2898:53;:::i;:::-;2888:63;;2843:118;2422:546;;;;;:::o;2974:869::-;3096:6;3104;3112;3161:2;3149:9;3140:7;3136:23;3132:32;3129:119;;;3167:79;;:::i;:::-;3129:119;3287:1;3312:89;3393:7;3384:6;3373:9;3369:22;3312:89;:::i;:::-;3302:99;;3258:153;3450:2;3476:53;3521:7;3512:6;3501:9;3497:22;3476:53;:::i;:::-;3466:63;;3421:118;3606:2;3595:9;3591:18;3578:32;3637:18;3629:6;3626:30;3623:117;;;3659:79;;:::i;:::-;3623:117;3764:62;3818:7;3809:6;3798:9;3794:22;3764:62;:::i;:::-;3754:72;;3549:287;2974:869;;;;;:::o;3849:118::-;3936:24;3954:5;3936:24;:::i;:::-;3931:3;3924:37;3849:118;;:::o;3973:360::-;4059:3;4087:38;4119:5;4087:38;:::i;:::-;4141:70;4204:6;4199:3;4141:70;:::i;:::-;4134:77;;4220:52;4265:6;4260:3;4253:4;4246:5;4242:16;4220:52;:::i;:::-;4297:29;4319:6;4297:29;:::i;:::-;4292:3;4288:39;4281:46;;4063:270;3973:360;;;;:::o;4339:366::-;4481:3;4502:67;4566:2;4561:3;4502:67;:::i;:::-;4495:74;;4578:93;4667:3;4578:93;:::i;:::-;4696:2;4691:3;4687:12;4680:19;;4339:366;;;:::o;4711:::-;4853:3;4874:67;4938:2;4933:3;4874:67;:::i;:::-;4867:74;;4950:93;5039:3;4950:93;:::i;:::-;5068:2;5063:3;5059:12;5052:19;;4711:366;;;:::o;5083:398::-;5242:3;5263:83;5344:1;5339:3;5263:83;:::i;:::-;5256:90;;5355:93;5444:3;5355:93;:::i;:::-;5473:1;5468:3;5464:11;5457:18;;5083:398;;;:::o;5487:::-;5646:3;5667:83;5748:1;5743:3;5667:83;:::i;:::-;5660:90;;5759:93;5848:3;5759:93;:::i;:::-;5877:1;5872:3;5868:11;5861:18;;5487:398;;;:::o;5891:379::-;6075:3;6097:147;6240:3;6097:147;:::i;:::-;6090:154;;6261:3;6254:10;;5891:379;;;:::o;6276:::-;6460:3;6482:147;6625:3;6482:147;:::i;:::-;6475:154;;6646:3;6639:10;;6276:379;;;:::o;6661:222::-;6754:4;6792:2;6781:9;6777:18;6769:26;;6805:71;6873:1;6862:9;6858:17;6849:6;6805:71;:::i;:::-;6661:222;;;;:::o;6889:419::-;7028:4;7066:2;7055:9;7051:18;7043:26;;7079:71;7147:1;7136:9;7132:17;7123:6;7079:71;:::i;:::-;7197:9;7191:4;7187:20;7182:2;7171:9;7167:18;7160:48;7225:76;7296:4;7287:6;7225:76;:::i;:::-;7217:84;;6889:419;;;;;:::o;7314:::-;7480:4;7518:2;7507:9;7503:18;7495:26;;7567:9;7561:4;7557:20;7553:1;7542:9;7538:17;7531:47;7595:131;7721:4;7595:131;:::i;:::-;7587:139;;7314:419;;;:::o;7739:::-;7905:4;7943:2;7932:9;7928:18;7920:26;;7992:9;7986:4;7982:20;7978:1;7967:9;7963:17;7956:47;8020:131;8146:4;8020:131;:::i;:::-;8012:139;;7739:419;;;:::o;8164:129::-;8198:6;8225:20;;:::i;:::-;8215:30;;8254:33;8282:4;8274:6;8254:33;:::i;:::-;8164:129;;;:::o;8299:75::-;8332:6;8365:2;8359:9;8349:19;;8299:75;:::o;8380:307::-;8441:4;8531:18;8523:6;8520:30;8517:56;;;8553:18;;:::i;:::-;8517:56;8591:29;8613:6;8591:29;:::i;:::-;8583:37;;8675:4;8669;8665:15;8657:23;;8380:307;;;:::o;8693:98::-;8744:6;8778:5;8772:12;8762:22;;8693:98;;;:::o;8797:168::-;8880:11;8914:6;8909:3;8902:19;8954:4;8949:3;8945:14;8930:29;;8797:168;;;;:::o;8971:147::-;9072:11;9109:3;9094:18;;8971:147;;;;:::o;9124:169::-;9208:11;9242:6;9237:3;9230:19;9282:4;9277:3;9273:14;9258:29;;9124:169;;;;:::o;9299:96::-;9336:7;9365:24;9383:5;9365:24;:::i;:::-;9354:35;;9299:96;;;:::o;9401:104::-;9446:7;9475:24;9493:5;9475:24;:::i;:::-;9464:35;;9401:104;;;:::o;9511:140::-;9584:7;9613:32;9639:5;9613:32;:::i;:::-;9602:43;;9511:140;;;:::o;9657:126::-;9694:7;9734:42;9727:5;9723:54;9712:65;;9657:126;;;:::o;9789:154::-;9873:6;9868:3;9863;9850:30;9935:1;9926:6;9921:3;9917:16;9910:27;9789:154;;;:::o;9949:307::-;10017:1;10027:113;10041:6;10038:1;10035:13;10027:113;;;10126:1;10121:3;10117:11;10111:18;10107:1;10102:3;10098:11;10091:39;10063:2;10060:1;10056:10;10051:15;;10027:113;;;10158:6;10155:1;10152:13;10149:101;;;10238:1;10229:6;10224:3;10220:16;10213:27;10149:101;9998:258;9949:307;;;:::o;10262:281::-;10345:27;10367:4;10345:27;:::i;:::-;10337:6;10333:40;10475:6;10463:10;10460:22;10439:18;10427:10;10424:34;10421:62;10418:88;;;10486:18;;:::i;:::-;10418:88;10526:10;10522:2;10515:22;10305:238;10262:281;;:::o;10549:180::-;10597:77;10594:1;10587:88;10694:4;10691:1;10684:15;10718:4;10715:1;10708:15;10735:117;10844:1;10841;10834:12;10858:117;10967:1;10964;10957:12;10981:117;11090:1;11087;11080:12;11104:117;11213:1;11210;11203:12;11227:102;11268:6;11319:2;11315:7;11310:2;11303:5;11299:14;11295:28;11285:38;;11227:102;;;:::o;11335:225::-;11475:34;11471:1;11463:6;11459:14;11452:58;11544:8;11539:2;11531:6;11527:15;11520:33;11335:225;:::o;11566:169::-;11706:21;11702:1;11694:6;11690:14;11683:45;11566:169;:::o;11741:214::-;11881:66;11877:1;11869:6;11865:14;11858:90;11741:214;:::o;11961:::-;12101:66;12097:1;12089:6;12085:14;12078:90;11961:214;:::o;12181:122::-;12254:24;12272:5;12254:24;:::i;:::-;12247:5;12244:35;12234:63;;12293:1;12290;12283:12;12234:63;12181:122;:::o;12309:138::-;12390:32;12416:5;12390:32;:::i;:::-;12383:5;12380:43;12370:71;;12437:1;12434;12427:12;12370:71;12309:138;:::o;12453:194::-;12562:60;12616:5;12562:60;:::i;:::-;12555:5;12552:71;12542:99;;12637:1;12634;12627:12;12542:99;12453:194;:::o
Swarm Source
ipfs://d03f236c822618365e267e9755bf6ffbc728e03ef14ea0ca77a86c6d5184bfde
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.