Updating the SDK
Update Process
Update to current version
/// @notice Update SDK to the current factory version.
sdk.updateSdkVersion();Update to a specific version
/// @notice Update SDK to the a specific version.
/// @dev In this example we fetch the latest SDK version from the factory
/// and set the SDK version to currentVersion - 1.
uint256 newVersion = IOpenflowSdkFactory(sdk.factory()).currentVersion()) - 1;
sdk.updateSdkVersion(versionNumber);Update to a custom implementation
/// @notice
sdk.updateImplementation(newImplementationAddress);Last updated