feat: Add PancakeSwapV3 support to encoding

- Add deployed executor address to json
- Build proper encoder for pancake v3
- Increase gas limit when setting executors (costs more since we set one more)
- Fix json filename in scripts/README.md
This commit is contained in:
TAMARA LIPOWSKI
2025-03-25 17:49:33 +01:00
parent c361e1515d
commit fa024a4a67
4 changed files with 4 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ async function main() {
// Set executors
const executorAddresses = executorsToSet.map(executor => executor.executor);
const tx = await router.setExecutors(executorAddresses, {
gasLimit: 200000 // should be around 50k per executor
gasLimit: 300000 // should be around 50k per executor
});
await tx.wait(); // Wait for the transaction to be mined
console.log(`Executors set at transaction: ${tx.hash}`);