VaultVersion
Inherits: VaultImmutables →, Initializable ↗, UUPSUpgradeable ↗, VaultAdmin →, IVaultVersion
Defines the versioning functionality for the Vault.
Functions
implementation
Implementation
function implementation() external view override returns (address);
Returns
| Name | Type | Description |
|---|---|---|
<none> | address | The address of the Vault implementation contract |
upgradeToAndCall
Upgrade the implementation of the proxy to newImplementation, and subsequently execute the function call
encoded in data.
Note
oz-upgrades-unsafe-allow-reachable: delegatecall
function upgradeToAndCall(address newImplementation, bytes memory data) public payable override onlyProxy;
vaultId
Vault Unique Identifier
function vaultId() public pure virtual override returns (bytes32);
Returns
| Name | Type | Description |
|---|---|---|
<none> | bytes32 | The unique identifier of the Vault |
version
Version
function version() public pure virtual override returns (uint8);
Returns
| Name | Type | Description |
|---|---|---|
<none> | uint8 | The version of the Vault implementation contract |