@@ -4,8 +4,6 @@ pragma solidity =0.8.25;
44
55import {OffchainAssetReceiptVaultAuthorizerV1Test} from "test/abstract/OffchainAssetReceiptVaultAuthorizerV1Test.sol " ;
66import {CloneFactory} from "rain.factory/concrete/CloneFactory.sol " ;
7- import {IERC20MetadataUpgradeable as IERC20Metadata} from
8- "openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/IERC20MetadataUpgradeable.sol " ;
97import {
108 OffchainAssetReceiptVaultPaymentMintAuthorizerV1,
119 PaymentTokenDecimalMismatch,
@@ -14,8 +12,6 @@ import {
1412} from "src/concrete/authorize/OffchainAssetReceiptVaultPaymentMintAuthorizerV1.sol " ;
1513import {OffchainAssetReceiptVaultPaymentMintAuthorizerV1Config} from
1614 "src/concrete/authorize/OffchainAssetReceiptVaultPaymentMintAuthorizerV1.sol " ;
17- import {IERC165 } from "openzeppelin-contracts/contracts/utils/introspection/IERC165.sol " ;
18- import {ICloneableV2} from "rain.factory/interface/ICloneableV2.sol " ;
1915import {DepositStateChange, DEPOSIT, CERTIFY} from "src/concrete/vault/OffchainAssetReceiptVault.sol " ;
2016import {IERC20Upgradeable as IERC20} from
2117 "openzeppelin-contracts-upgradeable/contracts/token/ERC20/IERC20Upgradeable.sol " ;
@@ -29,19 +25,18 @@ import {
2925import {VerifyAlwaysApproved} from "rain.verify.interface/concrete/VerifyAlwaysApproved.sol " ;
3026import {LibFixedPointDecimalScale, FLAG_ROUND_UP} from "rain.math.fixedpoint/lib/LibFixedPointDecimalScale.sol " ;
3127import {ICloneableFactoryV2} from "rain.factory/interface/ICloneableFactoryV2.sol " ;
32- import {LibOffchainAssetVaultCreator} from "../../../lib/LibOffchainAssetVaultCreator.sol " ;
3328
3429import {TestErc20} from "test/concrete/TestErc20.sol " ;
3530
3631contract OffchainAssetReceiptVaultPaymentMintAuthorizerV1DepositTest is OffchainAssetReceiptVaultAuthorizerV1Test {
3732 ICloneableFactoryV2 internal immutable iFactory;
3833 ReceiptContract internal immutable iReceiptImplementation;
39- OffchainAssetReceiptVault internal immutable iImplementation ;
34+ OffchainAssetReceiptVault internal immutable I_IMPLEMENTATION ;
4035
4136 constructor () {
4237 iFactory = new CloneFactory ();
4338 iReceiptImplementation = new ReceiptContract ();
44- iImplementation = new OffchainAssetReceiptVault (
39+ I_IMPLEMENTATION = new OffchainAssetReceiptVault (
4540 ReceiptVaultConstructionConfigV2 ({factory: iFactory, receiptImplementation: iReceiptImplementation})
4641 );
4742 }
@@ -417,7 +412,7 @@ contract OffchainAssetReceiptVaultPaymentMintAuthorizerV1DepositTest is Offchain
417412 });
418413 // Use the factory to create the child contract
419414 OffchainAssetReceiptVault receiptVault = OffchainAssetReceiptVault (
420- payable (iFactory.clone (address (iImplementation ), abi.encode (offchainAssetVaultConfig)))
415+ payable (iFactory.clone (address (I_IMPLEMENTATION ), abi.encode (offchainAssetVaultConfig)))
421416 );
422417
423418 vm.prank (alice);
0 commit comments