Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
2221696 | 5 days ago | Contract Creation | 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 Source Code Verified (Exact Match)
Contract Name:
SessionKeyPolicyRegistry
Compiler Version
v0.8.26+commit.8a97fa7a
ZkSolc Version
v1.5.6
Optimization Enabled:
Yes with Mode 3
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.26; import {UUPSUpgradeable} from "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; import {AccessControlUpgradeable} from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; enum PolicyType { Call, Transfer, ApprovalTarget } enum Status { Unset, Allowed, Blocked } contract SessionKeyPolicyRegistry is AccessControlUpgradeable, UUPSUpgradeable { event PolicyStatusChanged( PolicyType indexed policyType, address indexed target, bytes32 indexed data, Status status ); bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); mapping(bytes32 => Status) private _policyStatus; constructor() { _disableInitializers(); } function initialize(address owner) public initializer { _grantRole(DEFAULT_ADMIN_ROLE, owner); _grantRole(MANAGER_ROLE, owner); } function setCallPolicyStatus(address target, bytes4 selector, Status status) public onlyRole(MANAGER_ROLE) { _setPolicyStatus(PolicyType.Call, target, selector, status); } function setTransferPolicyStatus(address target, Status status) public onlyRole(MANAGER_ROLE) { _setPolicyStatus(PolicyType.Transfer, target, bytes4(0), status); } function setApprovalTargetStatus(address token, address target, Status status) public onlyRole(MANAGER_ROLE) { _setPolicyStatus(PolicyType.ApprovalTarget, token, bytes32(uint256(uint160(target))), status); } function getCallPolicyStatus(address target, bytes4 selector) public view returns (Status) { return _getPolicyStatus(PolicyType.Call, target, selector); } function getTransferPolicyStatus(address target) public view returns (Status) { return _getPolicyStatus(PolicyType.Transfer, target, bytes4(0)); } function getApprovalTargetStatus(address token, address target) public view returns (Status) { return _getPolicyStatus(PolicyType.ApprovalTarget, token, bytes32(uint256(uint160(target)))); } function _setPolicyStatus(PolicyType policyType, address target, bytes32 data, Status status) internal { _policyStatus[keccak256(abi.encodePacked(policyType, target, data))] = status; emit PolicyStatusChanged(policyType, target, data, status); } function _getPolicyStatus(PolicyType policyType, address target, bytes32 data) internal view returns (Status) { return _policyStatus[keccak256(abi.encodePacked(policyType, target, data))]; } function _authorizeUpgrade(address newImplementation) internal override onlyRole(DEFAULT_ADMIN_ROLE) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (proxy/utils/UUPSUpgradeable.sol) pragma solidity ^0.8.20; import {IERC1822Proxiable} from "@openzeppelin/contracts/interfaces/draft-IERC1822.sol"; import {ERC1967Utils} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol"; import {Initializable} from "./Initializable.sol"; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. */ abstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable { /// @custom:oz-upgrades-unsafe-allow state-variable-immutable address private immutable __self = address(this); /** * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)` * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called, * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string. * If the getter returns `"5.0.0"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function * during an upgrade. */ string public constant UPGRADE_INTERFACE_VERSION = "5.0.0"; /** * @dev The call is from an unauthorized context. */ error UUPSUnauthorizedCallContext(); /** * @dev The storage `slot` is unsupported as a UUID. */ error UUPSUnsupportedProxiableUUID(bytes32 slot); /** * @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 ERC-1967) 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 ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { _checkProxy(); _; } /** * @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() { _checkNotDelegated(); _; } function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /** * @dev Implementation of the ERC-1822 {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 notDelegated returns (bytes32) { return ERC1967Utils.IMPLEMENTATION_SLOT; } /** * @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); } /** * @dev Reverts if the execution is not performed via delegatecall or the execution * context is not of a proxy with an ERC-1967 compliant implementation pointing to self. * See {_onlyProxy}. */ function _checkProxy() internal view virtual { if ( address(this) == __self || // Must be called through delegatecall ERC1967Utils.getImplementation() != __self // Must be called through an active proxy ) { revert UUPSUnauthorizedCallContext(); } } /** * @dev Reverts if the execution is performed via delegatecall. * See {notDelegated}. */ function _checkNotDelegated() internal view virtual { if (address(this) != __self) { // Must not be called through delegatecall revert UUPSUnauthorizedCallContext(); } } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call. * * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value * is expected to be the implementation slot in ERC-1967. * * Emits an {IERC1967-Upgraded} event. */ function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private { try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) { if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) { revert UUPSUnsupportedProxiableUUID(slot); } ERC1967Utils.upgradeToAndCall(newImplementation, data); } catch { // The implementation is not UUPS revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol"; import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol"; import {ERC165Upgradeable} from "../utils/introspection/ERC165Upgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControl, ERC165Upgradeable { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /// @custom:storage-location erc7201:openzeppelin.storage.AccessControl struct AccessControlStorage { mapping(bytes32 role => RoleData) _roles; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.AccessControl")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant AccessControlStorageLocation = 0x02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800; function _getAccessControlStorage() private pure returns (AccessControlStorage storage $) { assembly { $.slot := AccessControlStorageLocation } } /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } function __AccessControl_init() internal onlyInitializing { } function __AccessControl_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { AccessControlStorage storage $ = _getAccessControlStorage(); return $._roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { AccessControlStorage storage $ = _getAccessControlStorage(); return $._roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { AccessControlStorage storage $ = _getAccessControlStorage(); bytes32 previousAdminRole = getRoleAdmin(role); $._roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { AccessControlStorage storage $ = _getAccessControlStorage(); if (!hasRole(role, account)) { $._roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { AccessControlStorage storage $ = _getAccessControlStorage(); if (hasRole(role, account)) { $._roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.20; /** * @dev ERC-1822: 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 v5.0.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.20; /** * @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 Storage of the initializable contract. * * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions * when using with upgradeable contracts. * * @custom:storage-location erc7201:openzeppelin.storage.Initializable */ struct InitializableStorage { /** * @dev Indicates that the contract has been initialized. */ uint64 _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool _initializing; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00; /** * @dev The contract is already initialized. */ error InvalidInitialization(); /** * @dev The contract is not initializing. */ error NotInitializing(); /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint64 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 in the context of a constructor an `initializer` may be invoked any * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in * production. * * Emits an {Initialized} event. */ modifier initializer() { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); // Cache values to avoid duplicated sloads bool isTopLevelCall = !$._initializing; uint64 initialized = $._initialized; // Allowed calls: // - initialSetup: the contract is not in the initializing state and no previous version was // initialized // - construction: the contract is initialized at version 1 (no reininitialization) and the // current contract is just being deployed bool initialSetup = initialized == 0 && isTopLevelCall; bool construction = initialized == 1 && address(this).code.length == 0; if (!initialSetup && !construction) { revert InvalidInitialization(); } $._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 2**64 - 1 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint64 version) { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing || $._initialized >= version) { revert InvalidInitialization(); } $._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() { _checkInitializing(); _; } /** * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}. */ function _checkInitializing() internal view virtual { if (!_isInitializing()) { revert NotInitializing(); } } /** * @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 { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing) { revert InvalidInitialization(); } if ($._initialized != type(uint64).max) { $._initialized = type(uint64).max; emit Initialized(type(uint64).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint64) { return _getInitializableStorage()._initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _getInitializableStorage()._initializing; } /** * @dev Returns a pointer to the storage namespace. */ // solhint-disable-next-line var-name-mixedcase function _getInitializableStorage() private pure returns (InitializableStorage storage $) { assembly { $.slot := INITIALIZABLE_STORAGE } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (proxy/ERC1967/ERC1967Utils.sol) pragma solidity ^0.8.21; import {IBeacon} from "../beacon/IBeacon.sol"; import {IERC1967} from "../../interfaces/IERC1967.sol"; import {Address} from "../../utils/Address.sol"; import {StorageSlot} from "../../utils/StorageSlot.sol"; /** * @dev This library provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots. */ library ERC1967Utils { /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1. */ // solhint-disable-next-line private-vars-leading-underscore bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev The `implementation` of the proxy is invalid. */ error ERC1967InvalidImplementation(address implementation); /** * @dev The `admin` of the proxy is invalid. */ error ERC1967InvalidAdmin(address admin); /** * @dev The `beacon` of the proxy is invalid. */ error ERC1967InvalidBeacon(address beacon); /** * @dev An upgrade function sees `msg.value > 0` that may be lost. */ error ERC1967NonPayable(); /** * @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 ERC-1967 implementation slot. */ function _setImplementation(address newImplementation) private { if (newImplementation.code.length == 0) { revert ERC1967InvalidImplementation(newImplementation); } StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Performs implementation upgrade with additional setup call if data is nonempty. * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected * to avoid stuck value in the contract. * * Emits an {IERC1967-Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) internal { _setImplementation(newImplementation); emit IERC1967.Upgraded(newImplementation); if (data.length > 0) { Address.functionDelegateCall(newImplementation, data); } else { _checkNonPayable(); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1. */ // solhint-disable-next-line private-vars-leading-underscore bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Returns the current admin. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function getAdmin() internal view returns (address) { return StorageSlot.getAddressSlot(ADMIN_SLOT).value; } /** * @dev Stores a new address in the ERC-1967 admin slot. */ function _setAdmin(address newAdmin) private { if (newAdmin == address(0)) { revert ERC1967InvalidAdmin(address(0)); } StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {IERC1967-AdminChanged} event. */ function changeAdmin(address newAdmin) internal { emit IERC1967.AdminChanged(getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is the keccak-256 hash of "eip1967.proxy.beacon" subtracted by 1. */ // solhint-disable-next-line private-vars-leading-underscore 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 ERC-1967 beacon slot. */ function _setBeacon(address newBeacon) private { if (newBeacon.code.length == 0) { revert ERC1967InvalidBeacon(newBeacon); } StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon; address beaconImplementation = IBeacon(newBeacon).implementation(); if (beaconImplementation.code.length == 0) { revert ERC1967InvalidImplementation(beaconImplementation); } } /** * @dev Change the beacon and trigger a setup call if data is nonempty. * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected * to avoid stuck value in the contract. * * Emits an {IERC1967-BeaconUpgraded} event. * * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for * efficiency. */ function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal { _setBeacon(newBeacon); emit IERC1967.BeaconUpgraded(newBeacon); if (data.length > 0) { Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data); } else { _checkNonPayable(); } } /** * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract * if an upgrade doesn't perform an initialization call. */ function _checkNonPayable() private { if (msg.value > 0) { revert ERC1967NonPayable(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import {Initializable} from "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165Upgradeable is Initializable, IERC165 { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.20; /** * @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. * * {UpgradeableBeacon} will check that this address is a contract. */ function implementation() external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol) pragma solidity ^0.8.20; /** * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. */ 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 v5.1.0) (utils/Address.sol) pragma solidity ^0.8.20; import {Errors} from "./Errors.sol"; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert Errors.InsufficientBalance(address(this).balance, amount); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert Errors.FailedCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {Errors.FailedCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert Errors.InsufficientBalance(address(this).balance, value); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case * of an unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {Errors.FailedCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}. */ function _revert(bytes memory returndata) 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 assembly ("memory-safe") { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert Errors.FailedCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.20; /** * @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 ERC-1967 implementation slot: * ```solidity * contract ERC1967 { * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot. * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(newImplementation.code.length > 0); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * TIP: Consider using this library along with {SlotDerivation}. */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct Int256Slot { int256 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) { assembly ("memory-safe") { r.slot := slot } } /** * @dev Returns a `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { assembly ("memory-safe") { r.slot := slot } } /** * @dev Returns a `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { assembly ("memory-safe") { r.slot := slot } } /** * @dev Returns a `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { assembly ("memory-safe") { r.slot := slot } } /** * @dev Returns a `Int256Slot` with member `value` located at `slot`. */ function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) { assembly ("memory-safe") { r.slot := slot } } /** * @dev Returns a `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { assembly ("memory-safe") { 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) { assembly ("memory-safe") { r.slot := store.slot } } /** * @dev Returns a `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { assembly ("memory-safe") { 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) { assembly ("memory-safe") { r.slot := store.slot } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol) pragma solidity ^0.8.20; /** * @dev Collection of common custom errors used in multiple contracts * * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library. * It is recommended to avoid relying on the error API for critical functionality. * * _Available since v5.1._ */ library Errors { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error InsufficientBalance(uint256 balance, uint256 needed); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedCall(); /** * @dev The deployment failed. */ error FailedDeployment(); /** * @dev A necessary precompile is missing. */ error MissingPrecompile(address); }
{ "evmVersion": "cancun", "optimizer": { "enabled": true, "mode": "3" }, "outputSelection": { "*": { "*": [ "abi" ] } }, "detectMissingLibraries": false, "forceEVMLA": false, "enableEraVMExtensions": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum PolicyType","name":"policyType","type":"uint8"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":true,"internalType":"bytes32","name":"data","type":"bytes32"},{"indexed":false,"internalType":"enum Status","name":"status","type":"uint8"}],"name":"PolicyStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"name":"getApprovalTargetStatus","outputs":[{"internalType":"enum Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"getCallPolicyStatus","outputs":[{"internalType":"enum Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"getTransferPolicyStatus","outputs":[{"internalType":"enum Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"enum Status","name":"status","type":"uint8"}],"name":"setApprovalTargetStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"enum Status","name":"status","type":"uint8"}],"name":"setCallPolicyStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"enum Status","name":"status","type":"uint8"}],"name":"setTransferPolicyStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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
3cda33510000000000000000000000000000000000000000000000000000000000000000010001e52b5e9613db20202aacf3a8363ebaf2c3ea896ca6dbf0f070acdb73fa00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0002000000000002000500000000000200000060031002700000018e0330019700010000003103550000000100200190000000370000c13d0000008007000039000000400070043f000000040030008c000004d90000413d000000000201043b000000e002200270000001950020009c0000005e0000213d000001a20020009c0000006f0000a13d000001a30020009c000001060000a13d000001a40020009c000001fd0000613d000001a50020009c0000020e0000613d000001a60020009c000004d90000c13d0000000001000416000000000001004b000004d90000c13d000001cb01000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000018e0010009c0000018e01008041000000c001100210000001cc011001c700008005020000390635062b0000040f0000000100200190000005780000613d000000000101043b000001b0011001970000000002000410000000000012004b000003f50000c13d000000400100043d000001cd0200004100000000002104350000018e0010009c0000018e010080410000004001100210000001b4011001c7000006360001042e000000a001000039000000400010043f0000000001000416000000000001004b000004d90000c13d0000000001000410000000800010043f0000018f02000041000000000202041a0000019000200198000001770000c13d0000019103200197000001910030009c000000560000613d00000191012001c70000018f02000041000000000012041b0000019101000041000000a00010043f00000000010004140000018e0010009c0000018e01008041000000c00110021000000192011001c70000800d0200003900000001030000390000019304000041063506260000040f0000000100200190000004d90000613d000000800100043d0000000102000039000001400000044300000160001004430000002001000039000001000010044300000120002004430000019401000041000006360001042e000001960020009c000000dc0000a13d000001970020009c0000014e0000a13d000001980020009c0000022d0000613d000001990020009c000002410000613d0000019a0020009c000004d90000c13d0000000001000416000000000001004b000004d90000c13d000001ae01000041000000800010043f000001af01000041000006360001042e000001a90020009c0000017b0000213d000001ac0020009c000002720000613d000001ad0020009c000004d90000c13d000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000002401100370000000000101043b000200000001001d000000020010008c000004d90000213d0000000001000411000001b001100197000000000010043f000001bc01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000030d0000613d000000400100043d0000002002100039000001db03000041000000000032043500000003030000290000006003300210000000210410003900000000003404350000003503000039000000000031043500000035031000390000000000030435000001dd0010009c000002270000813d0000006003100039000000400030043f0000018e0020009c0000018e02008041000000400220021000000000010104330000018e0010009c0000018e010080410000006001100210000000000121019f00000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001b1011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e0022001970000000203000029000000000232019f000000000021041b000000400100043d00000000003104350000018e0010009c0000018e01008041000000400110021000000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001be011001c70000800d0200003900000004030000390000000105000039000001c50400004100000003060000290000000007000019000004890000013d0000019d0020009c0000018e0000213d000001a00020009c000002830000613d000001a10020009c000004d90000c13d000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000001b00020009c000004d90000213d0000002401100370000000000101043b000001c800100198000004d90000c13d000000a00000043f0000006002200210000000a10020043f000001c901100197000000b50010043f0000003501000039000000800010043f000000e001000039000000400010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b2011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f0000000001000414000002640000013d000001a70020009c000002a20000613d000001a80020009c000004d90000c13d000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000300000002001d0000002401100370000000000101043b000200000001001d000001b00010009c000004d90000213d0000000301000029000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b0000000101100039000000000101041a000100000001001d000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b0000000002000411000001b002200197000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff00100190000003f90000c13d000001c601000041000000000010043f0000000001000411000000040010043f0000000101000029000000240010043f000001c70100004100000637000104300000019b0020009c000002d40000613d0000019c0020009c000004d90000c13d000000240030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000401100370000000000101043b000300000001001d000001b00010009c000004d90000213d0000018f01000041000000000201041a000001900320019700000191012001980000031f0000613d000000010010008c000001770000c13d000100000002001d000200000003001d000001b50100004100000000001004430000000001000410000000040010044300000000010004140000018e0010009c0000018e01008041000000c001100210000001b6011001c700008002020000390635062b0000040f0000000100200190000005780000613d000000000101043b000000000001004b00000002030000290000000102000029000003210000613d000001bf01000041000000000010043f000001c0010000410000063700010430000001aa0020009c000002e70000613d000001ab0020009c000004d90000c13d000000240030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000401100370000000000101043b063505820000040f000000400200043d00000000001204350000018e0020009c0000018e020080410000004001200210000001b4011001c7000006360001042e0000019e0020009c000003150000613d0000019f0020009c000004d90000c13d000000640030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000002402100370000000000202043b000200000002001d000001b00020009c000004d90000213d0000004401100370000000000101043b000100000001001d000000020010008c000004d90000213d0000000001000411000001b001100197000000000010043f000001bc01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000030d0000613d000000400100043d0000002002100039000001b1030000410000000000320435000000030300002900000060033002100000002104100039000000000034043500000035031000390000000204000029000000000043043500000035030000390000000000310435000001c40010009c000002270000213d0000006003100039000000400030043f0000018e0020009c0000018e02008041000000400220021000000000010104330000018e0010009c0000018e010080410000006001100210000000000121019f00000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001b1011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e0022001970000000103000029000000000232019f000000000021041b000000400100043d00000000003104350000018e0010009c0000018e01008041000000400110021000000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001be011001c70000800d0200003900000004030000390000000205000039000001c504000041000004870000013d000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000002402100370000000000202043b000001b00020009c000004d90000213d0000000003000411000000000032004b0000031b0000c13d0000000401100370000000000101043b063505bf0000040f0000000001000019000006360001042e000000440030008c000004d90000413d0000000402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000002402100370000000000402043b000001910040009c000004d90000213d0000002302400039000000000032004b000004d90000813d0000000405400039000000000251034f000000000202043b000001910020009c000002270000213d0000001f06200039000001e1066001970000003f06600039000001e106600197000001ce0060009c000003a10000a13d000001dc01000041000000000010043f0000004101000039000000040010043f000001d1010000410000063700010430000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000002402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000000401100370000000000101043b000200000001001d063505820000040f063505940000040f00000002010000290000000302000029063505bf0000040f0000000001000019000006360001042e000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000001b00020009c000004d90000213d0000002401100370000000000101043b000001b00010009c000004d90000213d000001b103000041000000a00030043f0000006002200210000000a10020043f000000b50010043f0000003501000039000000800010043f000000e001000039000000400010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b2011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff0110018f000000020010008c000001870000a13d000002ce0000013d000000240030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000401100370000000000101043b000001c800100198000004d90000c13d000001de0010009c00000000020000390000000102006039000001df0010009c00000001022061bf000000800020043f000001af01000041000006360001042e000000440030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000002402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000000401100370000000000101043b000000000010043f000001ca01000041000000200010043f00000040020000390000000001000019063506110000040f0000000302000029000000000020043f000000200010043f00000000010000190000004002000039063506110000040f000000000101041a000000ff001001900000000001000039000000010100c039000000800010043f000001af01000041000006360001042e000000240030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000401100370000000000101043b000001b00010009c000004d90000213d000001db02000041000000a00020043f0000006001100210000000a10010043f000000b50000043f0000003501000039000000800010043f000000e001000039000000400010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b2011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff0110018f000000030010008c000001870000413d000001dc01000041000000000010043f0000002101000039000000040010043f000001d10100004100000637000104300000000001000416000000000001004b000004d90000c13d000000c001000039000000400010043f0000000501000039000000800010043f000001c102000041000000a00020043f0000002002000039000000c00020043f000000e00010043f000001000100043d000001c201100197000001c1011001c7000001000010043f000001050000043f000001c301000041000006360001042e000000640030008c000004d90000413d0000000002000416000000000002004b000004d90000c13d0000000402100370000000000202043b000300000002001d000001b00020009c000004d90000213d0000002402100370000000000202043b000200000002001d000001c800200198000004d90000c13d0000004401100370000000000101043b000100000001001d000000020010008c000004d90000213d0000000001000411000001b001100197000000000010043f000001bc01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff00100190000004420000c13d000001c601000041000000000010043f0000000001000411000000040010043f000001ae01000041000000240010043f000001c70100004100000637000104300000000001000416000000000001004b000004d90000c13d000000800000043f000001af01000041000006360001042e000001da01000041000000000010043f000001c0010000410000063700010430000000000003004b000001770000c13d000001b70120019700000001011001bf000001b802200197000001b9022001c7000200000003001d000000000003004b000000000201c0190000018f01000041000000000021041b0000000301000029000000000010043f000001ba01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000035b0000c13d0000000301000029000000000010043f000001ba01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e00220019700000001022001bf000000000021041b00000000010004140000018e0010009c0000018e01008041000000c001100210000001b1011001c70000800d0200003900000004030000390000000007000411000001bb0400004100000000050000190000000306000029063506260000040f0000000100200190000004d90000613d0000000301000029000000000010043f000001bc01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000038c0000c13d0000000301000029000000000010043f000001bc01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e00220019700000001022001bf000000000021041b00000000010004140000018e0010009c0000018e01008041000000c001100210000001b1011001c70000800d0200003900000004030000390000000007000411000001bb04000041000001ae050000410000000306000029063506260000040f0000000100200190000004d90000613d000000020000006b0000048c0000c13d0000018f01000041000000000201041a000001bd02200197000000000021041b0000000103000039000000400100043d00000000003104350000018e0010009c0000018e01008041000000400110021000000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001be011001c70000800d020000390000019304000041000004890000013d0000008006600039000000400060043f000000800020043f00000000042400190000002404400039000000000034004b000004d90000213d000200000007001d0000002003500039000000000331034f000001e1042001980000001f0520018f000000a001400039000003b50000613d000000a006000039000000000703034f000000007807043c0000000006860436000000000016004b000003b10000c13d000000000005004b000003c20000613d000000000343034f0000000304500210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000000a0012000390000000000010435000001cb01000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000018e0010009c0000018e01008041000000c001100210000001cc011001c700008005020000390635062b0000040f0000000100200190000005780000613d000000000101043b000001b0011001970000000002000410000000000012004b000003f50000613d000001cd02000041000000000202041a000001b002200197000000000012004b000003f50000c13d0000000001000411000001b001100197000000000010043f000001ba01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000048e0000c13d000001c601000041000000000010043f0000000001000411000000040010043f000000240000043f000001c7010000410000063700010430000001d901000041000000000010043f000001c00100004100000637000104300000000301000029000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b0000000202000029000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000101041a000000ff001001900000048c0000c13d0000000301000029000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b0000000202000029000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e00220019700000001022001bf000000000021041b00000000010004140000018e0010009c0000018e01008041000000c001100210000001b1011001c70000800d020000390000000403000039000001bb04000041000000030500002900000002060000290000000007000411000004890000013d000000400100043d000000200210003900000000000204350000000303000029000000600330021000000021041000390000000000340435000000350300003900000000003104350000000203000029000001c9043001970000003503100039000200000004001d0000000000430435000001c40010009c000002270000213d0000006003100039000000400030043f0000018e0020009c0000018e02008041000000400220021000000000010104330000018e0010009c0000018e010080410000006001100210000000000121019f00000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001b1011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000010043f000000200000043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000004d90000613d000000000101043b000000000201041a000001e0022001970000000103000029000000000232019f000000000021041b000000400100043d00000000003104350000018e0010009c0000018e01008041000000400110021000000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001be011001c70000800d020000390000000403000039000001c504000041000000000500001900000003060000290000000207000029063506260000040f0000000100200190000004d90000613d0000000001000019000006360001042e000000400200043d000001cf01000041000100000002001d000000000012043500000000010004140000000302000029000000040020008c0000049e0000c13d0000000001000415000000050110008a00000005011002100000000003000031000000200030008c00000020040000390000000004034019000004cc0000013d00000001020000290000018e0020009c0000018e0200804100000040022002100000018e0010009c0000018e01008041000000c001100210000000000121019f000001c0011001c700000003020000290635062b0000040f00000060031002700000018e03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000105700029000004b80000613d000000000801034f0000000109000029000000008a08043c0000000009a90436000000000059004b000004b40000c13d000000000006004b000004c50000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000000003001f00010000000103550000000001000415000000040110008a00000005011002100000000100200190000004f10000613d0000001f02400039000000600420018f0000000102400029000000000042004b00000000040000390000000104004039000001910020009c000002270000213d0000000100400190000002270000c13d000000400020043f000000200030008c000004db0000813d00000000010000190000063700010430000000010200002900000000020204330000000501100270000000000102001f000001cd0020009c000004f70000c13d000001b50100004100000000001004430000000301000029000000040010044300000000010004140000018e0010009c0000018e01008041000000c001100210000001b6011001c700008002020000390635062b0000040f0000000100200190000005780000613d000000000101043b000000000001004b000004fc0000c13d000001d801000041000000000010043f0000000301000029000000040010043f000001d1010000410000063700010430000001d001000041000000000010043f000000040020043f000001d1010000410000063700010430000001cd01000041000000000201041a000001d2022001970000000305000029000000000252019f000000000021041b00000000010004140000018e0010009c0000018e01008041000000c001100210000001b1011001c70000800d020000390000000203000039000001d304000041063506260000040f0000000100200190000004d90000613d000000800100043d000000000001004b000005170000c13d0000000001000416000000000001004b0000048c0000613d000001d701000041000000000010043f000001c001000041000006370001043000000000020004140000000303000029000000040030008c0000051e0000c13d000000010200003900000000030000310000052d0000013d0000018e0010009c0000018e0100804100000060011002100000018e0020009c0000018e02008041000000c002200210000000000112019f000001d4011001c70000000302000029063506300000040f000000010220018f000100000001035500000060011002700000018e0010019d0000018e03100197000000000003004b000005390000c13d00000060010000390000000001010433000000000002004b000005640000c13d000000000001004b000005790000c13d000001d601000041000000000010043f000001c0010000410000063700010430000001910030009c000002270000213d0000001f01300039000001e1011001970000003f01100039000001e104100197000000400100043d0000000004410019000000000014004b00000000050000390000000105004039000001910040009c000002270000213d0000000100500190000002270000c13d000000400040043f0000000006310436000001e1043001980000001f0530018f000200000006001d00000000034600190000000106000367000005560000613d000000000706034f0000000208000029000000007907043c0000000008980436000000000038004b000005520000c13d000000000005004b000005300000613d000000000446034f0000000305500210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f0000000000430435000005300000013d000000000001004b0000048c0000c13d000001b50100004100000000001004430000000301000029000000040010044300000000010004140000018e0010009c0000018e01008041000000c001100210000001b6011001c700008002020000390635062b0000040f0000000100200190000005780000613d000000000101043b000000000001004b0000048c0000c13d000001d501000041000004f20000013d000000000001042f00000002020000290000018e0020009c0000018e0200804100000040022002100000018e0010009c0000018e010080410000006001100210000000000121019f0000063700010430000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000005920000613d000000000101043b0000000101100039000000000101041a000000000001042d000000000100001900000637000104300001000000000002000100000001001d000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000005b50000613d000000000101043b0000000002000411000001b002200197000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f0000000100200190000005b50000613d000000000101043b000000000101041a000000ff00100190000005b70000613d000000000001042d00000000010000190000063700010430000001c601000041000000000010043f0000000001000411000000040010043f0000000101000029000000240010043f000001c70100004100000637000104300002000000000002000100000002001d000200000001001d000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f00000001002001900000060e0000613d000000000101043b0000000102000029000001b002200197000100000002001d000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f00000001002001900000060e0000613d000000000101043b000000000101041a000000ff001001900000060d0000613d0000000201000029000000000010043f000001ca01000041000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f00000001002001900000060e0000613d000000000101043b0000000102000029000000000020043f000000200010043f00000000010004140000018e0010009c0000018e01008041000000c001100210000001b3011001c700008010020000390635062b0000040f00000001002001900000060e0000613d000000000101043b000000000201041a000001e002200197000000000021041b00000000010004140000018e0010009c0000018e01008041000000c001100210000001b1011001c70000800d0200003900000004030000390000000007000411000001e20400004100000002050000290000000106000029063506260000040f00000001002001900000060e0000613d000000000001042d00000000010000190000063700010430000000000001042f0000018e0010009c0000018e0100804100000040011002100000018e0020009c0000018e020080410000006002200210000000000112019f00000000020004140000018e0020009c0000018e02008041000000c002200210000000000112019f000001b1011001c700008010020000390635062b0000040f0000000100200190000006240000613d000000000101043b000000000001042d0000000001000019000006370001043000000629002104210000000102000039000000000001042d0000000002000019000000000001042d0000062e002104230000000102000039000000000001042d0000000002000019000000000001042d00000633002104250000000102000039000000000001042d0000000002000019000000000001042d0000063500000432000006360001042e000006370001043000000000000000000000000000000000000000000000000000000000fffffffff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a000000000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff0200000000000000000000000000000000000020000000a00000000000000000c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d200000002000000000000000000000000000000800000010000000000000000000000000000000000000000000000000000000000000000000000000091d1485300000000000000000000000000000000000000000000000000000000ad3cb1cb00000000000000000000000000000000000000000000000000000000d547741e00000000000000000000000000000000000000000000000000000000d547741f00000000000000000000000000000000000000000000000000000000e38de19400000000000000000000000000000000000000000000000000000000ec87621c00000000000000000000000000000000000000000000000000000000ad3cb1cc00000000000000000000000000000000000000000000000000000000c4d66de800000000000000000000000000000000000000000000000000000000a217fdde00000000000000000000000000000000000000000000000000000000a217fddf00000000000000000000000000000000000000000000000000000000aa3f39a20000000000000000000000000000000000000000000000000000000091d148540000000000000000000000000000000000000000000000000000000099d274de000000000000000000000000000000000000000000000000000000002eca5f120000000000000000000000000000000000000000000000000000000036568abd0000000000000000000000000000000000000000000000000000000036568abe000000000000000000000000000000000000000000000000000000004f1ef2860000000000000000000000000000000000000000000000000000000052d1902d000000000000000000000000000000000000000000000000000000002eca5f13000000000000000000000000000000000000000000000000000000002f2ff15d0000000000000000000000000000000000000000000000000000000020e3cfe60000000000000000000000000000000000000000000000000000000020e3cfe700000000000000000000000000000000000000000000000000000000248a9ca30000000000000000000000000000000000000000000000000000000001ffc9a700000000000000000000000000000000000000000000000000000000133866fc241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b080000000000000000000000000000000000000020000000800000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff02000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000035000000a00000000000000000020000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000010000000000000001b7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d06484cc59dc38e4f67c31122333a17ca81b3ca18cdf02bfc298072fa52b0316affffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff0200000000000000000000000000000000000020000000000000000000000000f92ee8a9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000352e302e300000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000060000000c00000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f6cc9f8c536b019024be4cac4ef1f001ab73db8d74a60a1ae9f6f38b502267d09e2517d3f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000002dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e0200000200000000000000000000000000000044000000000000000000000000360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc000000000000000000000000000000000000000000000000ffffffffffffff7f52d1902d00000000000000000000000000000000000000000000000000000000aa1d49a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b0000000000000000000000000000000000000000000000a000000000000000009996b31500000000000000000000000000000000000000000000000000000000d6bda27500000000000000000000000000000000000000000000000000000000b398979f000000000000000000000000000000000000000000000000000000004c9c8ce300000000000000000000000000000000000000000000000000000000e07c8dba000000000000000000000000000000000000000000000000000000006697b2320000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffa001ffc9a7000000000000000000000000000000000000000000000000000000007965db0b00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b00000000000000000000000000000000000000000000000000000000000000002621de445e0688882fdeafba96b107b3da95bfce509afe400e0ff525bbbe1957
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.