File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
packages/smart-contracts/scripts-create2/contract-setup Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ export const getSignerAndGasFees = async (
420
420
* @param signer Who is performing the updating
421
421
* @param signWithEoa Is the transaction to be signed by an EOA
422
422
*/
423
- export const updateERC20FeeProxyAddress = async (
423
+ export const updateSRPFERC20FeeProxyAddress = async (
424
424
contract : Contract ,
425
425
network : CurrencyTypes . EvmChainName ,
426
426
txOverrides : Overrides ,
@@ -454,7 +454,7 @@ export const updateERC20FeeProxyAddress = async (
454
454
* @param signer Who is performing the updating
455
455
* @param signWithEoa Is the transaction to be signed by an EOA
456
456
*/
457
- export const updateEthereumFeeProxyAddress = async (
457
+ export const updateSRPFEthereumFeeProxyAddress = async (
458
458
contract : Contract ,
459
459
network : CurrencyTypes . EvmChainName ,
460
460
txOverrides : Overrides ,
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { singleRequestProxyFactoryArtifact } from '../../src/lib';
3
3
import { HardhatRuntimeEnvironmentExtended } from '../types' ;
4
4
import {
5
5
getSignerAndGasFees ,
6
- updateERC20FeeProxyAddress ,
7
- updateEthereumFeeProxyAddress ,
6
+ updateSRPFERC20FeeProxyAddress ,
7
+ updateSRPFEthereumFeeProxyAddress ,
8
8
} from './adminTasks' ;
9
9
10
10
/**
@@ -14,7 +14,7 @@ import {
14
14
* @param hre Hardhat runtime environment
15
15
* @param signWithEoa Are transactions to be signed by an EOA
16
16
*/
17
- export const setupSingleRequestProxyFactory = async ( {
17
+ export const setupSRPF = async ( {
18
18
contractAddress,
19
19
hre,
20
20
signWithEoa,
@@ -42,14 +42,14 @@ export const setupSingleRequestProxyFactory = async ({
42
42
const { signer, txOverrides } = await getSignerAndGasFees ( network , hre ) ;
43
43
const factoryConnected = factory . connect ( signer ) ;
44
44
45
- await updateERC20FeeProxyAddress (
45
+ await updateSRPFERC20FeeProxyAddress (
46
46
factoryConnected ,
47
47
network ,
48
48
txOverrides ,
49
49
signer ,
50
50
signWithEoa ,
51
51
) ;
52
- await updateEthereumFeeProxyAddress (
52
+ await updateSRPFEthereumFeeProxyAddress (
53
53
factoryConnected ,
54
54
network ,
55
55
txOverrides ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { setupERC20SwapToConversion } from './setupERC20SwapToConversion';
5
5
import { setupERC20SwapToPay } from './setupERC20SwapToPay' ;
6
6
import { setupChainlinkConversionPath } from './setupChainlinkConversionPath' ;
7
7
import { setupErc20ConversionProxy } from './setupErc20ConversionProxy' ;
8
- import { setupSingleRequestProxyFactory } from './setupSingleRequestProxyFactory' ;
8
+ import { setupSRPF } from './setupSingleRequestProxyFactory' ;
9
9
10
10
/**
11
11
* Administrate the specified contract at the specified address
@@ -52,7 +52,7 @@ export const setupContract = async ({
52
52
break ;
53
53
}
54
54
case 'SingleRequestProxyFactory' : {
55
- await setupSingleRequestProxyFactory ( { contractAddress, hre, signWithEoa } ) ;
55
+ await setupSRPF ( { contractAddress, hre, signWithEoa } ) ;
56
56
break ;
57
57
}
58
58
default : {
You can’t perform that action at this time.
0 commit comments