File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/smart-contracts/scripts-create2/contract-setup Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { BigNumber } from 'ethers';
55
66// Fees: 0.5%
77export 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
1111export 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} ;
You can’t perform that action at this time.
0 commit comments