Skip to content

Commit fb8d60c

Browse files
committed
naming convention and update with master
1 parent 85f330e commit fb8d60c

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

packages/smart-contracts/src/contracts/BatchConversionPayments.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ contract BatchConversionPayments is BatchNoConversionPayments {
4242
* @param _paymentNativeProxy The native payment proxy address to use.
4343
* @param _paymentErc20ConversionProxy The ERC20 Conversion payment proxy address to use.
4444
* @param _paymentNativeConversionFeeProxy The native Conversion payment proxy address to use.
45-
* @param _chainlinkConversionPathAddress The address of the conversion path contract.
45+
* @param _chainlinkConversionPath The address of the conversion path contract.
4646
* @param _owner Owner of the contract.
4747
*/
4848
constructor(
4949
address _paymentErc20Proxy,
5050
address _paymentNativeProxy,
5151
address _paymentErc20ConversionProxy,
5252
address _paymentNativeConversionFeeProxy,
53-
address _chainlinkConversionPathAddress,
53+
address _chainlinkConversionPath,
5454
address _owner
5555
)
5656
BatchNoConversionPayments(
5757
_paymentErc20Proxy,
5858
_paymentNativeProxy,
59-
_chainlinkConversionPathAddress,
59+
_chainlinkConversionPath,
6060
_owner
6161
)
6262
{

packages/smart-contracts/src/contracts/BatchNoConversionPayments.sol

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,18 @@ contract BatchNoConversionPayments is Ownable {
7777
/**
7878
* @param _paymentErc20Proxy The address to the ERC20 fee payment proxy to use.
7979
* @param _paymentNativeProxy The address to the Native fee payment proxy to use.
80-
* @param _chainlinkConversionPathAddress The address of the conversion path contract.
80+
* @param _chainlinkConversionPath The address of the conversion path contract.
8181
* @param _owner Owner of the contract.
8282
*/
8383
constructor(
8484
address _paymentErc20Proxy,
8585
address _paymentNativeProxy,
86-
address _chainlinkConversionPathAddress,
86+
address _chainlinkConversionPath,
8787
address _owner
8888
) {
8989
paymentErc20Proxy = IERC20FeeProxy(_paymentErc20Proxy);
9090
paymentNativeProxy = IEthereumFeeProxy(_paymentNativeProxy);
91-
chainlinkConversionPath = ChainlinkConversionPath(_chainlinkConversionPathAddress);
91+
chainlinkConversionPath = ChainlinkConversionPath(_chainlinkConversionPath);
9292
transferOwnership(_owner);
9393
batchFee = 0;
9494
}
@@ -562,10 +562,10 @@ contract BatchNoConversionPayments is Ownable {
562562

563563
/**
564564
* @notice Update the conversion path contract used to fetch conversions.
565-
* @param _chainlinkConversionPathAddress The address of the conversion path contract.
565+
* @param _chainlinkConversionPath The address of the conversion path contract.
566566
*/
567-
function setConversionPathAddress(address _chainlinkConversionPathAddress) external onlyOwner {
568-
chainlinkConversionPath = ChainlinkConversionPath(_chainlinkConversionPathAddress);
567+
function setChainlinkConversionPath(address _chainlinkConversionPath) external onlyOwner {
568+
chainlinkConversionPath = ChainlinkConversionPath(_chainlinkConversionPath);
569569
}
570570

571571
/**

packages/smart-contracts/src/lib/artifacts/BatchConversionPayments/0.1.0.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"internalType": "address",
27-
"name": "_chainlinkConversionPathAddress",
27+
"name": "_chainlinkConversionPath",
2828
"type": "address"
2929
},
3030
{
@@ -648,11 +648,11 @@
648648
"inputs": [
649649
{
650650
"internalType": "address",
651-
"name": "_chainlinkConversionPathAddress",
651+
"name": "_chainlinkConversionPath",
652652
"type": "address"
653653
}
654654
],
655-
"name": "setConversionPathAddress",
655+
"name": "setChainlinkConversionPath",
656656
"outputs": [],
657657
"stateMutability": "nonpayable",
658658
"type": "function"

packages/smart-contracts/src/lib/artifacts/BatchNoConversionPayments/0.1.0.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"internalType": "address",
17-
"name": "_chainlinkConversionPathAddress",
17+
"name": "_chainlinkConversionPath",
1818
"type": "address"
1919
},
2020
{
@@ -408,11 +408,11 @@
408408
"inputs": [
409409
{
410410
"internalType": "address",
411-
"name": "_chainlinkConversionPathAddress",
411+
"name": "_chainlinkConversionPath",
412412
"type": "address"
413413
}
414414
],
415-
"name": "setConversionPathAddress",
415+
"name": "setChainlinkConversionPath",
416416
"outputs": [],
417417
"stateMutability": "nonpayable",
418418
"type": "function"

0 commit comments

Comments
 (0)