Skip to content

Commit 4fe7cd0

Browse files
olivier7delfKolevDarko
authored andcommitted
fix(smart-contracts): update batch fees (#873)
update batch fees from 1% to .3%
1 parent dc1a139 commit 4fe7cd0

File tree

1 file changed

+4
-2
lines changed
  • packages/smart-contracts/scripts-create2/contract-setup

1 file changed

+4
-2
lines changed

packages/smart-contracts/scripts-create2/contract-setup/adminTasks.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { BigNumber } from 'ethers';
55

66
// Fees: 0.5%
77
export const REQUEST_SWAP_FEES = 5;
8-
// Batch Fees: 1%
9-
export const BATCH_FEE = 10;
8+
// Batch Fees: .3%
9+
export const BATCH_FEE = 3;
1010

1111
export const updateChainlinkConversionPath = async (
1212
contract: any,
@@ -57,6 +57,8 @@ export const updateBatchPaymentFees = async (
5757
): Promise<void> => {
5858
const currentFees = await contract.batchFee();
5959
if (currentFees !== BATCH_FEE) {
60+
// Log is useful to have a direct view on was is being updated
61+
console.log(`currentFees: ${currentFees.toString()}, new fees: ${BATCH_FEE}`);
6062
await contract.setBatchFee(BATCH_FEE, { nonce: nonce, gasPrice: gasPrice });
6163
}
6264
};

0 commit comments

Comments
 (0)