Overview
ETH Balance
ETH Value
$0.00Latest 5 from a total of 5 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Create Vault Pro... | 4886872 | 144 days ago | IN | 0 ETH | 0.00000087 | ||||
| Create Vault Pro... | 4886403 | 144 days ago | IN | 0 ETH | 0.00000088 | ||||
| Create Vault Pro... | 4885684 | 144 days ago | IN | 0 ETH | 0.00000087 | ||||
| Create Vault Pro... | 4885060 | 144 days ago | IN | 0 ETH | 0.00000087 | ||||
| Create Vault Pro... | 4881573 | 144 days ago | IN | 0 ETH | 0.0000009 |
Latest 5 internal transactions
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 4886872 | 144 days ago | Contract Creation | 0 ETH | |||
| 4886403 | 144 days ago | Contract Creation | 0 ETH | |||
| 4885684 | 144 days ago | Contract Creation | 0 ETH | |||
| 4885060 | 144 days ago | Contract Creation | 0 ETH | |||
| 4881573 | 144 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Contract Source Code Verified (Exact Match)
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity "0.8.26";
import {BeaconProxy} from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
import {UpgradeableBeacon} from "@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol";
struct InitStruct {
address underlying;
string name;
string symbol;
address safe;
address whitelistManager;
address valuationManager;
address admin;
address feeReceiver;
uint16 managementRate;
uint16 performanceRate;
bool enableWhitelist;
uint256 rateUpdateCooldown;
}
interface IVault {
function initialize(bytes memory data, address feeRegistry, address wrappedNativeToken) external;
}
/// @title BeaconProxyFactory
/// @notice A factory contract for creating BeaconProxy instances with upgradeable functionality
/// @dev Inherits from UpgradeableBeacon to provide upgrade functionality for all created proxies
contract BeaconProxyFactory is UpgradeableBeacon {
event BeaconProxyDeployed(address proxy, address deployer);
/// @notice Address of the registry contract
address public immutable REGISTRY;
/// @notice Address of the wrapped native token (e.g., WETH)
address public immutable WRAPPED_NATIVE;
/// @notice Mapping to track whether an address is a proxy instance created by this factory
mapping(address => bool) public isInstance;
/// @notice Array of all proxy instances created by this factory
address[] public instances;
/// @notice Constructs the BeaconProxyFactory
/// @param _registry Address of the registry contract
/// @param _implementation Address of the initial implementation contract
/// @param _owner Address of the owner who can upgrade the implementation
/// @param _wrappedNativeToken Address of the wrapped native token (e.g., WETH)
constructor(
address _registry,
address _implementation,
address _owner,
address _wrappedNativeToken
) UpgradeableBeacon(_implementation, _owner) {
REGISTRY = _registry;
WRAPPED_NATIVE = _wrappedNativeToken;
}
/// @notice Creates a new BeaconProxy instance
/// @dev Uses CREATE2 with provided salt for deterministic address calculation
/// @param init Initialization data for the proxy
/// @param salt Salt used for deterministic address calculation
/// @return The address of the newly created proxy
function createBeaconProxy(bytes memory init, bytes32 salt) public returns (address) {
address proxy = address(
new BeaconProxy{salt: salt}(
address(this), abi.encodeWithSelector(IVault.initialize.selector, init, REGISTRY, WRAPPED_NATIVE)
)
);
isInstance[proxy] = true;
instances.push(proxy);
emit BeaconProxyDeployed(proxy, msg.sender);
return address(proxy);
}
/// @notice Creates a new vault proxy with structured initialization data
/// @dev Wrapper around createBeaconProxy that takes InitStruct as parameter
/// @param init Structured initialization data for the vault
/// @param salt Salt used for deterministic address calculation
/// @return The address of the newly created vault proxy
function createVaultProxy(InitStruct calldata init, bytes32 salt) external returns (address) {
return createBeaconProxy(abi.encode(init), salt);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. 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 is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)
pragma solidity ^0.8.20;
import {IBeacon} from "../beacon/IBeacon.sol";
import {Address} from "../../utils/Address.sol";
import {StorageSlot} from "../../utils/StorageSlot.sol";
/**
* @dev This abstract contract provides getters and event emitting update functions for
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
*/
library ERC1967Utils {
// We re-declare ERC-1967 events here because they can't be used directly from IERC1967.
// This will be fixed in Solidity 0.8.21. At that point we should remove these events.
/**
* @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);
/**
* @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 EIP1967 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 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 EIP1967) 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 EIP1967 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 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 EIP1967 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 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.0.0) (proxy/Proxy.sol)
pragma solidity ^0.8.20;
/**
* @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 internal 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 overridden 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 internal call site, it will return directly to the external caller.
*/
function _fallback() internal virtual {
_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();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/BeaconProxy.sol)
pragma solidity ^0.8.20;
import {IBeacon} from "./IBeacon.sol";
import {Proxy} from "../Proxy.sol";
import {ERC1967Utils} from "../ERC1967/ERC1967Utils.sol";
/**
* @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.
*
* The beacon address can only be set once during construction, and cannot be changed afterwards. It is stored in an
* immutable variable to avoid unnecessary storage reads, and also in the beacon storage slot specified by
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967] so that it can be accessed externally.
*
* CAUTION: Since the beacon address can never be changed, you must ensure that you either control the beacon, or trust
* the beacon to not upgrade the implementation maliciously.
*
* IMPORTANT: Do not use the implementation logic to modify the beacon storage slot. Doing so would leave the proxy in
* an inconsistent state where the beacon storage slot does not match the beacon address.
*/
contract BeaconProxy is Proxy {
// An immutable address for the beacon to avoid unnecessary SLOADs before each delegate call.
address private immutable _beacon;
/**
* @dev Initializes the proxy with `beacon`.
*
* If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
* will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity
* constructor.
*
* Requirements:
*
* - `beacon` must be a contract with the interface {IBeacon}.
* - If `data` is empty, `msg.value` must be zero.
*/
constructor(address beacon, bytes memory data) payable {
ERC1967Utils.upgradeBeaconToAndCall(beacon, data);
_beacon = beacon;
}
/**
* @dev Returns the current implementation address of the associated beacon.
*/
function _implementation() internal view virtual override returns (address) {
return IBeacon(_getBeacon()).implementation();
}
/**
* @dev Returns the beacon.
*/
function _getBeacon() internal view virtual returns (address) {
return _beacon;
}
}// 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) (proxy/beacon/UpgradeableBeacon.sol)
pragma solidity ^0.8.20;
import {IBeacon} from "./IBeacon.sol";
import {Ownable} from "../../access/Ownable.sol";
/**
* @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their
* implementation contract, which is where they will delegate all function calls.
*
* An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.
*/
contract UpgradeableBeacon is IBeacon, Ownable {
address private _implementation;
/**
* @dev The `implementation` of the beacon is invalid.
*/
error BeaconInvalidImplementation(address implementation);
/**
* @dev Emitted when the implementation returned by the beacon is changed.
*/
event Upgraded(address indexed implementation);
/**
* @dev Sets the address of the initial implementation, and the initial owner who can upgrade the beacon.
*/
constructor(address implementation_, address initialOwner) Ownable(initialOwner) {
_setImplementation(implementation_);
}
/**
* @dev Returns the current implementation address.
*/
function implementation() public view virtual returns (address) {
return _implementation;
}
/**
* @dev Upgrades the beacon to a new implementation.
*
* Emits an {Upgraded} event.
*
* Requirements:
*
* - msg.sender must be the owner of the contract.
* - `newImplementation` must be a contract.
*/
function upgradeTo(address newImplementation) public virtual onlyOwner {
_setImplementation(newImplementation);
}
/**
* @dev Sets the implementation contract address for this beacon
*
* Requirements:
*
* - `newImplementation` must be a contract.
*/
function _setImplementation(address newImplementation) private {
if (newImplementation.code.length == 0) {
revert BeaconInvalidImplementation(newImplementation);
}
_implementation = newImplementation;
emit Upgraded(newImplementation);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @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 AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @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
* {FailedInnerCall} 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 AddressInsufficientBalance(address(this));
}
(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 {FailedInnerCall}) 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 {FailedInnerCall} 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 {FailedInnerCall}.
*/
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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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 Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
/**
* @dev Returns an `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
}{
"evmVersion": "cancun",
"libraries": {},
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs",
"useLiteralContent": false
},
"optimizer": {
"enabled": true,
"runs": 1
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [
"@openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@src/=src/",
"@test/=test/",
"forge-std-1.9.7/=dependencies/forge-std-1.9.7/",
"ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/"
],
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_registry","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_wrappedNativeToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"BeaconInvalidImplementation","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"proxy","type":"address"},{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"BeaconProxyDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"REGISTRY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WRAPPED_NATIVE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"init","type":"bytes"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"createBeaconProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"underlying","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"safe","type":"address"},{"internalType":"address","name":"whitelistManager","type":"address"},{"internalType":"address","name":"valuationManager","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"feeReceiver","type":"address"},{"internalType":"uint16","name":"managementRate","type":"uint16"},{"internalType":"uint16","name":"performanceRate","type":"uint16"},{"internalType":"bool","name":"enableWhitelist","type":"bool"},{"internalType":"uint256","name":"rateUpdateCooldown","type":"uint256"}],"internalType":"struct InitStruct","name":"init","type":"tuple"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"createVaultProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"instances","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isInstance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60c060405234801561000f575f80fd5b5060405161108438038061108483398101604081905261002e91610173565b8282806001600160a01b038116610063575f604051631e4fbdf760e01b815260040161005a91906101c4565b60405180910390fd5b61006c81610094565b50610076826100e3565b50506001600160a01b0393841660805290921660a052506101d89050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b806001600160a01b03163b5f0361010f578060405163211eb15960e21b815260040161005a91906101c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b80516001600160a01b038116811461016e575f80fd5b919050565b5f805f8060808587031215610186575f80fd5b61018f85610158565b935061019d60208601610158565b92506101ab60408601610158565b91506101b960608601610158565b905092959194509250565b6001600160a01b0391909116815260200190565b60805160a051610e7e6102065f395f818161017e015261027101525f818160a001526102500152610e7e5ff3fe608060405234801561000f575f80fd5b5060043610610097575f3560e01c806306433b1b1461009b5780633659cfe6146100d85780635c60da1b146100ed5780636b44e6be146100fe578063715018a6146101305780638da5cb5b1461013857806394888e7214610140578063a2f7b3a514610153578063b884496a14610166578063d999984d14610179578063f2fde38b146101a0575b5f80fd5b6100c27f000000000000000000000000000000000000000000000000000000000000000081565b6040516100cf9190610502565b60405180910390f35b6100eb6100e6366004610531565b6101b3565b005b6001546001600160a01b03166100c2565b61012061010c366004610531565b60026020525f908152604090205460ff1681565b60405190151581526020016100cf565b6100eb6101c7565b6100c26101da565b6100c261014e36600461054a565b6101e8565b6100c2610161366004610590565b610219565b6100c26101743660046105bb565b610241565b6100c27f000000000000000000000000000000000000000000000000000000000000000081565b6100eb6101ae366004610531565b6103af565b6101bb6103f2565b6101c481610424565b50565b6101cf6103f2565b6101d85f610499565b565b5f546001600160a01b031690565b5f610212836040516020016101fd91906106fd565b60405160208183030381529060405283610241565b9392505050565b60038181548110610228575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f80823063660b88ee60e01b867f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040516024016102a293929190610877565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516102df906104e8565b6102ea9291906108a9565b8190604051809103905ff5905080158015610307573d5f803e3d5ffd5b506001600160a01b0381165f818152600260209081526040808320805460ff191660019081179091556003805491820181559093527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90920180546001600160a01b03191684179055815192835233908301529192507ffa8e336138457120a1572efbe25f72698abd5cca1c9be0bce42ad406ff350a2b910160405180910390a19392505050565b6103b76103f2565b6001600160a01b0381166103e9575f604051631e4fbdf760e01b81526004016103e09190610502565b60405180910390fd5b6101c481610499565b336103fb6101da565b6001600160a01b0316146101d8573360405163118cdaa760e01b81526004016103e09190610502565b806001600160a01b03163b5f03610450578060405163211eb15960e21b81526004016103e09190610502565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610574806108d583390190565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461052c575f80fd5b919050565b5f60208284031215610541575f80fd5b61021282610516565b5f806040838503121561055b575f80fd5b82356001600160401b03811115610570575f80fd5b83016101808186031215610582575f80fd5b946020939093013593505050565b5f602082840312156105a0575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156105cc575f80fd5b82356001600160401b038111156105e1575f80fd5b8301601f810185136105f1575f80fd5b80356001600160401b0381111561060a5761060a6105a7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610638576106386105a7565b60405281815282820160200187101561064f575f80fd5b816020840160208301375f6020928201830152969401359450505050565b5f808335601e19843603018112610682575f80fd5b83016020810192503590506001600160401b038111156106a0575f80fd5b8036038213156106ae575f80fd5b9250929050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b803561ffff8116811461052c575f80fd5b8035801515811461052c575f80fd5b602081526107166020820161071184610516565b6104f5565b5f610724602084018461066d565b610180604085015261073b6101a0850182846106b5565b91505061074b604085018561066d565b848303601f190160608601526107628382846106b5565b9250505061077260608501610516565b61077f60808501826104f5565b5061078c60808501610516565b61079960a08501826104f5565b506107a660a08501610516565b6107b360c08501826104f5565b506107c060c08501610516565b6107cd60e08501826104f5565b506107da60e08501610516565b6107e86101008501826104f5565b506107f661010085016106dd565b61ffff81166101208501525061080f61012085016106dd565b61ffff81166101408501525061082861014085016106ee565b80151561016085015250610160939093013561018092909201919091525090565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6108896060830186610849565b6001600160a01b0394851660208401529290931660409091015292915050565b6001600160a01b03831681526040602082018190525f906108cc90830184610849565b94935050505056fe60a06040526040516105743803806105748339810160408190526100229161033d565b61002c828261003e565b506001600160a01b0316608052610442565b610047826100fb565b6040516001600160a01b038316907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e905f90a28051156100ef576100ea826001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e491906103ff565b826101fb565b505050565b6100f761026e565b5050565b806001600160a01b03163b5f036101305780604051631933b43b60e21b81526004016101279190610418565b60405180910390fd5b807fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392831617905560408051635c60da1b60e01b815290515f92841691635c60da1b9160048083019260209291908290030181865afa1580156101a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101cd91906103ff565b9050806001600160a01b03163b5f036100f75780604051634c9c8ce360e01b81526004016101279190610418565b60605f80846001600160a01b031684604051610217919061042c565b5f60405180830381855af49150503d805f811461024f576040519150601f19603f3d011682016040523d82523d5f602084013e610254565b606091505b50909250905061026585838361028f565b95945050505050565b341561028d5760405163b398979f60e01b815260040160405180910390fd5b565b6060826102a45761029f826102e5565b6102de565b81511580156102bb57506001600160a01b0384163b155b156102db5783604051639996b31560e01b81526004016101279190610418565b50805b9392505050565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80516001600160a01b0381168114610324575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561034e575f80fd5b6103578361030e565b60208401519092506001600160401b03811115610372575f80fd5b8301601f81018513610382575f80fd5b80516001600160401b0381111561039b5761039b610329565b604051601f8201601f19908116603f011681016001600160401b03811182821017156103c9576103c9610329565b6040528181528282016020018710156103e0575f80fd5b8160208401602083015e5f602083830101528093505050509250929050565b5f6020828403121561040f575f80fd5b6102de8261030e565b6001600160a01b0391909116815260200190565b5f82518060208501845e5f920191825250919050565b60805161011b6104595f395f601d015261011b5ff3fe6080604052600a600c565b005b60186014601a565b609d565b565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156076573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906098919060ba565b905090565b365f80375f80365f845af43d5f803e80801560b6573d5ff35b3d5ffd5b5f6020828403121560c9575f80fd5b81516001600160a01b038116811460de575f80fd5b939250505056fea264697066735822122046354a9e7e91fb72158cac0c8c4f9ca2da7892609bbf1d5d894314fe85574bd664736f6c634300081a0033a2646970667358221220739f21b76331398fa0413c83c2d0b9c0d4b3cf9bc02af39ffb58d7fa754291a764736f6c634300081a0033000000000000000000000000c0ef4c34a118a1bec0912b8ba8c6424f871a16280000000000000000000000007fe0c16eaa18562f1e37e6f6b205fda70164e2fb0000000000000000000000009a408dc07820d810331a17da5e3a737fa2540d4b0000000000000000000000004200000000000000000000000000000000000006
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610097575f3560e01c806306433b1b1461009b5780633659cfe6146100d85780635c60da1b146100ed5780636b44e6be146100fe578063715018a6146101305780638da5cb5b1461013857806394888e7214610140578063a2f7b3a514610153578063b884496a14610166578063d999984d14610179578063f2fde38b146101a0575b5f80fd5b6100c27f000000000000000000000000c0ef4c34a118a1bec0912b8ba8c6424f871a162881565b6040516100cf9190610502565b60405180910390f35b6100eb6100e6366004610531565b6101b3565b005b6001546001600160a01b03166100c2565b61012061010c366004610531565b60026020525f908152604090205460ff1681565b60405190151581526020016100cf565b6100eb6101c7565b6100c26101da565b6100c261014e36600461054a565b6101e8565b6100c2610161366004610590565b610219565b6100c26101743660046105bb565b610241565b6100c27f000000000000000000000000420000000000000000000000000000000000000681565b6100eb6101ae366004610531565b6103af565b6101bb6103f2565b6101c481610424565b50565b6101cf6103f2565b6101d85f610499565b565b5f546001600160a01b031690565b5f610212836040516020016101fd91906106fd565b60405160208183030381529060405283610241565b9392505050565b60038181548110610228575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f80823063660b88ee60e01b867f000000000000000000000000c0ef4c34a118a1bec0912b8ba8c6424f871a16287f00000000000000000000000042000000000000000000000000000000000000066040516024016102a293929190610877565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516102df906104e8565b6102ea9291906108a9565b8190604051809103905ff5905080158015610307573d5f803e3d5ffd5b506001600160a01b0381165f818152600260209081526040808320805460ff191660019081179091556003805491820181559093527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90920180546001600160a01b03191684179055815192835233908301529192507ffa8e336138457120a1572efbe25f72698abd5cca1c9be0bce42ad406ff350a2b910160405180910390a19392505050565b6103b76103f2565b6001600160a01b0381166103e9575f604051631e4fbdf760e01b81526004016103e09190610502565b60405180910390fd5b6101c481610499565b336103fb6101da565b6001600160a01b0316146101d8573360405163118cdaa760e01b81526004016103e09190610502565b806001600160a01b03163b5f03610450578060405163211eb15960e21b81526004016103e09190610502565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610574806108d583390190565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461052c575f80fd5b919050565b5f60208284031215610541575f80fd5b61021282610516565b5f806040838503121561055b575f80fd5b82356001600160401b03811115610570575f80fd5b83016101808186031215610582575f80fd5b946020939093013593505050565b5f602082840312156105a0575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156105cc575f80fd5b82356001600160401b038111156105e1575f80fd5b8301601f810185136105f1575f80fd5b80356001600160401b0381111561060a5761060a6105a7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610638576106386105a7565b60405281815282820160200187101561064f575f80fd5b816020840160208301375f6020928201830152969401359450505050565b5f808335601e19843603018112610682575f80fd5b83016020810192503590506001600160401b038111156106a0575f80fd5b8036038213156106ae575f80fd5b9250929050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b803561ffff8116811461052c575f80fd5b8035801515811461052c575f80fd5b602081526107166020820161071184610516565b6104f5565b5f610724602084018461066d565b610180604085015261073b6101a0850182846106b5565b91505061074b604085018561066d565b848303601f190160608601526107628382846106b5565b9250505061077260608501610516565b61077f60808501826104f5565b5061078c60808501610516565b61079960a08501826104f5565b506107a660a08501610516565b6107b360c08501826104f5565b506107c060c08501610516565b6107cd60e08501826104f5565b506107da60e08501610516565b6107e86101008501826104f5565b506107f661010085016106dd565b61ffff81166101208501525061080f61012085016106dd565b61ffff81166101408501525061082861014085016106ee565b80151561016085015250610160939093013561018092909201919091525090565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6108896060830186610849565b6001600160a01b0394851660208401529290931660409091015292915050565b6001600160a01b03831681526040602082018190525f906108cc90830184610849565b94935050505056fe60a06040526040516105743803806105748339810160408190526100229161033d565b61002c828261003e565b506001600160a01b0316608052610442565b610047826100fb565b6040516001600160a01b038316907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e905f90a28051156100ef576100ea826001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e491906103ff565b826101fb565b505050565b6100f761026e565b5050565b806001600160a01b03163b5f036101305780604051631933b43b60e21b81526004016101279190610418565b60405180910390fd5b807fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392831617905560408051635c60da1b60e01b815290515f92841691635c60da1b9160048083019260209291908290030181865afa1580156101a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101cd91906103ff565b9050806001600160a01b03163b5f036100f75780604051634c9c8ce360e01b81526004016101279190610418565b60605f80846001600160a01b031684604051610217919061042c565b5f60405180830381855af49150503d805f811461024f576040519150601f19603f3d011682016040523d82523d5f602084013e610254565b606091505b50909250905061026585838361028f565b95945050505050565b341561028d5760405163b398979f60e01b815260040160405180910390fd5b565b6060826102a45761029f826102e5565b6102de565b81511580156102bb57506001600160a01b0384163b155b156102db5783604051639996b31560e01b81526004016101279190610418565b50805b9392505050565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80516001600160a01b0381168114610324575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561034e575f80fd5b6103578361030e565b60208401519092506001600160401b03811115610372575f80fd5b8301601f81018513610382575f80fd5b80516001600160401b0381111561039b5761039b610329565b604051601f8201601f19908116603f011681016001600160401b03811182821017156103c9576103c9610329565b6040528181528282016020018710156103e0575f80fd5b8160208401602083015e5f602083830101528093505050509250929050565b5f6020828403121561040f575f80fd5b6102de8261030e565b6001600160a01b0391909116815260200190565b5f82518060208501845e5f920191825250919050565b60805161011b6104595f395f601d015261011b5ff3fe6080604052600a600c565b005b60186014601a565b609d565b565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156076573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906098919060ba565b905090565b365f80375f80365f845af43d5f803e80801560b6573d5ff35b3d5ffd5b5f6020828403121560c9575f80fd5b81516001600160a01b038116811460de575f80fd5b939250505056fea264697066735822122046354a9e7e91fb72158cac0c8c4f9ca2da7892609bbf1d5d894314fe85574bd664736f6c634300081a0033a2646970667358221220739f21b76331398fa0413c83c2d0b9c0d4b3cf9bc02af39ffb58d7fa754291a764736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c0ef4c34a118a1bec0912b8ba8c6424f871a16280000000000000000000000007fe0c16eaa18562f1e37e6f6b205fda70164e2fb0000000000000000000000009a408dc07820d810331a17da5e3a737fa2540d4b0000000000000000000000004200000000000000000000000000000000000006
-----Decoded View---------------
Arg [0] : _registry (address): 0xC0Ef4c34A118a1bEc0912B8Ba8C6424F871A1628
Arg [1] : _implementation (address): 0x7fe0c16eAa18562f1E37E6f6B205fDA70164e2fb
Arg [2] : _owner (address): 0x9A408Dc07820d810331A17da5E3a737fA2540d4B
Arg [3] : _wrappedNativeToken (address): 0x4200000000000000000000000000000000000006
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c0ef4c34a118a1bec0912b8ba8c6424f871a1628
Arg [1] : 0000000000000000000000007fe0c16eaa18562f1e37e6f6b205fda70164e2fb
Arg [2] : 0000000000000000000000009a408dc07820d810331a17da5e3a737fa2540d4b
Arg [3] : 0000000000000000000000004200000000000000000000000000000000000006
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.