We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b4566 commit e4d7d00Copy full SHA for e4d7d00
api/cron-ping-endpoints.ts
@@ -17,16 +17,16 @@ const endpoints = [
17
url: "https://app.across.to/api/swap/approval",
18
params: {
19
amount: ethers.utils.parseUnits("1", 6).toString(),
20
- tradeType: "minOutput",
21
inputToken: TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.ARBITRUM],
22
originChainId: CHAIN_IDs.ARBITRUM,
23
outputToken: TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.OPTIMISM],
24
destinationChainId: CHAIN_IDs.OPTIMISM,
25
depositor: "0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D",
26
skipOriginTxEstimation: true,
27
- refundOnOrigin: false,
+ skipChecks: true,
+ refundOnOrigin: true,
28
},
29
- updateIntervalSec: 10,
+ updateIntervalSec: 1,
30
31
];
32
0 commit comments