diff --git a/packages/across/package.json b/packages/across/package.json index 1f58d426a..63546724d 100644 --- a/packages/across/package.json +++ b/packages/across/package.json @@ -44,7 +44,7 @@ "vitest": "0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/arbitrum/package.json b/packages/arbitrum/package.json index 8bb006112..0b1dac981 100644 --- a/packages/arbitrum/package.json +++ b/packages/arbitrum/package.json @@ -44,7 +44,7 @@ "vitest": "0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/camelot/package.json b/packages/camelot/package.json index 8c7eb07fe..b21edb946 100644 --- a/packages/camelot/package.json +++ b/packages/camelot/package.json @@ -44,7 +44,7 @@ "vitest": "0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/connext/package.json b/packages/connext/package.json index fb94f4520..7e20f310a 100644 --- a/packages/connext/package.json +++ b/packages/connext/package.json @@ -47,7 +47,7 @@ "@connext/nxtp-txservice": "^2.0.0", "@connext/nxtp-utils": "^2.0.4", "@connext/smart-contracts": "^2.0.0", - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "^1.2.15" } } diff --git a/packages/gmx/package.json b/packages/gmx/package.json index b84aef8bb..be00ee89c 100644 --- a/packages/gmx/package.json +++ b/packages/gmx/package.json @@ -44,7 +44,7 @@ "vitest": "0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "axios": "1.5.0", "viem": "1.2.15" } diff --git a/packages/gmx/src/GMX.ts b/packages/gmx/src/GMX.ts index 6456e3de6..94481e26f 100644 --- a/packages/gmx/src/GMX.ts +++ b/packages/gmx/src/GMX.ts @@ -48,20 +48,15 @@ export const swap = async (swap: SwapActionParams) => { to: contractAddress, // The contract address of the swap chainId: chainId, // The chain id of the swap input: { - $abi: GMX_SWAPV2_ABI, - data: { - $some: { - $abi: GMX_SWAPV2_ABI, - params: { - numbers: { - minOutputAmount: amountOut, - }, - orderType: OrderType.MarketSwap, - addresses: { - receiver: recipient, - swapPath: [tokenIn, tokenOut], - }, - }, + $abiAbstract: GMX_SWAPV2_ABI, + params: { + numbers: { + minOutputAmount: amountOut, + }, + orderType: OrderType.MarketSwap, + addresses: { + receiver: recipient, + swapPath: [tokenIn, tokenOut], }, }, }, diff --git a/packages/hop/package.json b/packages/hop/package.json index 97fae43c0..82d2fc7bc 100644 --- a/packages/hop/package.json +++ b/packages/hop/package.json @@ -46,7 +46,7 @@ "dependencies": { "@hop-protocol/core": "0.0.1-beta.182", "@hop-protocol/sdk": "0.0.1-beta.535", - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/optimism/package.json b/packages/optimism/package.json index 5e5e226c3..b0597772c 100644 --- a/packages/optimism/package.json +++ b/packages/optimism/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@eth-optimism/contracts-ts": "0.15.0", - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/paraswap/package.json b/packages/paraswap/package.json index 9b94820e8..c2f8e3622 100644 --- a/packages/paraswap/package.json +++ b/packages/paraswap/package.json @@ -47,7 +47,7 @@ "dependencies": { "@paraswap/sdk": "^6.2.2", "axios": "1.5.0", - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/polygon/package.json b/packages/polygon/package.json index 6d39a1662..ca89de060 100644 --- a/packages/polygon/package.json +++ b/packages/polygon/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@maticnetwork/pos-portal": "1.5.2", - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.2.15" } } diff --git a/packages/registry/package.json b/packages/registry/package.json index edfc5638b..3ad1c5c47 100644 --- a/packages/registry/package.json +++ b/packages/registry/package.json @@ -44,7 +44,7 @@ "vitest": "^0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "@rabbitholegg/questdk-plugin-connext": "workspace:*", "@rabbitholegg/questdk-plugin-uniswap": "workspace:*", "@rabbitholegg/questdk-plugin-stargate": "workspace:*", diff --git a/packages/stargate/package.json b/packages/stargate/package.json index 0e5a9c427..e66d178af 100644 --- a/packages/stargate/package.json +++ b/packages/stargate/package.json @@ -44,7 +44,7 @@ "vitest": "0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "1.6.7" } } diff --git a/packages/tally/package.json b/packages/tally/package.json index bad6759ff..0eb75b85a 100644 --- a/packages/tally/package.json +++ b/packages/tally/package.json @@ -44,7 +44,7 @@ "vitest": "^0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "^1.2.15" } } diff --git a/packages/template/package.json b/packages/template/package.json index 45ff6dad0..3eabdc549 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -45,7 +45,7 @@ "vitest": "^0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "viem": "^1.2.15" } } diff --git a/packages/uniswap/package.json b/packages/uniswap/package.json index b72822a84..8b597128c 100644 --- a/packages/uniswap/package.json +++ b/packages/uniswap/package.json @@ -40,7 +40,7 @@ "vitest": "^0.33.0" }, "dependencies": { - "@rabbitholegg/questdk": "2.0.0-alpha.21", + "@rabbitholegg/questdk": "2.0.0-alpha.22", "@uniswap/universal-router": "^1.4.3", "@uniswap/universal-router-sdk": "^1.5.4", "viem": "^1.2.15" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b1b3bde2..bdb19b19e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,7 +20,7 @@ importers: packages/across: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -31,7 +31,7 @@ importers: viem: 1.2.15 vitest: 0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -45,7 +45,7 @@ importers: packages/arbitrum: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -56,7 +56,7 @@ importers: viem: 1.2.15 vitest: 0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -95,7 +95,7 @@ importers: packages/camelot: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -106,7 +106,7 @@ importers: viem: 1.2.15 vitest: 0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -123,7 +123,7 @@ importers: '@connext/nxtp-txservice': ^2.0.0 '@connext/nxtp-utils': ^2.0.4 '@connext/smart-contracts': ^2.0.0 - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': ^20.4.5 '@vitest/coverage-v8': ^0.33.0 rimraf: ^5.0.1 @@ -137,7 +137,7 @@ importers: '@connext/nxtp-txservice': 2.0.0_sinon@16.1.1 '@connext/nxtp-utils': 2.0.4_sinon@16.1.1 '@connext/smart-contracts': 2.0.0_ethers@5.7.2 - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 viem: 1.16.6_typescript@5.2.2 devDependencies: '@types/node': 20.8.7 @@ -151,7 +151,7 @@ importers: packages/gmx: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 axios: 1.5.0 @@ -163,7 +163,7 @@ importers: viem: 1.2.15 vitest: 0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 axios: 1.5.0 viem: 1.2.15_typescript@5.1.6 devDependencies: @@ -180,7 +180,7 @@ importers: specifiers: '@hop-protocol/core': 0.0.1-beta.182 '@hop-protocol/sdk': 0.0.1-beta.535 - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -193,7 +193,7 @@ importers: dependencies: '@hop-protocol/core': 0.0.1-beta.182 '@hop-protocol/sdk': 0.0.1-beta.535 - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -208,7 +208,7 @@ importers: packages/optimism: specifiers: '@eth-optimism/contracts-ts': 0.15.0 - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -220,7 +220,7 @@ importers: vitest: 0.33.0 dependencies: '@eth-optimism/contracts-ts': 0.15.0_typescript@5.1.6 - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -235,7 +235,7 @@ importers: packages/paraswap: specifiers: '@paraswap/sdk': ^6.2.2 - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': ^20.4.5 '@vitest/coverage-v8': ^0.33.0 axios: 1.5.0 @@ -248,7 +248,7 @@ importers: vitest: ^0.33.0 dependencies: '@paraswap/sdk': 6.2.4_ugpk5otv3uuel5tlgro6sz4wmq - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 axios: 1.5.0 viem: 1.2.15_typescript@5.2.2 devDependencies: @@ -264,7 +264,7 @@ importers: packages/polygon: specifiers: '@maticnetwork/pos-portal': 1.5.2 - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -276,7 +276,7 @@ importers: vitest: 0.33.0 dependencies: '@maticnetwork/pos-portal': 1.5.2 - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.2.15_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -290,7 +290,7 @@ importers: packages/registry: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@rabbitholegg/questdk-plugin-across': workspace:* '@rabbitholegg/questdk-plugin-arbitrum': workspace:* '@rabbitholegg/questdk-plugin-basepaint': workspace:* @@ -314,7 +314,7 @@ importers: viem: ^1.2.15 vitest: ^0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 '@rabbitholegg/questdk-plugin-across': link:../across '@rabbitholegg/questdk-plugin-arbitrum': link:../arbitrum '@rabbitholegg/questdk-plugin-basepaint': link:../basepaint @@ -341,7 +341,7 @@ importers: packages/stargate: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': 20.4.5 '@vitest/coverage-v8': 0.33.0 rimraf: 5.0.1 @@ -352,7 +352,7 @@ importers: viem: 1.6.7 vitest: 0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.1.6 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.1.6 viem: 1.6.7_typescript@5.1.6 devDependencies: '@types/node': 20.4.5 @@ -366,7 +366,7 @@ importers: packages/tally: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': ^20.4.5 '@vitest/coverage-v8': ^0.33.0 rimraf: ^5.0.1 @@ -377,7 +377,7 @@ importers: viem: ^1.2.15 vitest: ^0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 viem: 1.16.6_typescript@5.2.2 devDependencies: '@types/node': 20.8.7 @@ -391,7 +391,7 @@ importers: packages/template: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@types/node': ^20.4.5 '@vitest/coverage-v8': ^0.33.0 rimraf: ^5.0.1 @@ -402,7 +402,7 @@ importers: viem: ^1.2.15 vitest: ^0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 viem: 1.16.6_typescript@5.2.2 devDependencies: '@types/node': 20.8.7 @@ -419,7 +419,7 @@ importers: packages/uniswap: specifiers: - '@rabbitholegg/questdk': 2.0.0-alpha.21 + '@rabbitholegg/questdk': 2.0.0-alpha.22 '@uniswap/universal-router': ^1.4.3 '@uniswap/universal-router-sdk': ^1.5.4 '@vitest/coverage-v8': ^0.33.0 @@ -430,7 +430,7 @@ importers: viem: ^1.2.15 vitest: ^0.33.0 dependencies: - '@rabbitholegg/questdk': 2.0.0-alpha.21_typescript@5.2.2 + '@rabbitholegg/questdk': 2.0.0-alpha.22_typescript@5.2.2 '@uniswap/universal-router': 1.5.1 '@uniswap/universal-router-sdk': 1.5.8_hardhat@2.18.1 viem: 1.16.6_typescript@5.2.2 @@ -2208,8 +2208,8 @@ packages: - zod dev: false - /@rabbitholegg/questdk/2.0.0-alpha.21_typescript@5.1.6: - resolution: {integrity: sha512-dZpVGmKtB7V0Zurt/s7fzWqBnIwVaaaNIvOuwjIFBtzql4HEDDuJEFx/Jvg7JaC+dghuOyZkfQeVy2stq5afuA==} + /@rabbitholegg/questdk/2.0.0-alpha.22_typescript@5.1.6: + resolution: {integrity: sha512-MBKDHYEmaKLScFEqDcLkg9s2BehA+Mh8brBwEhz/QE7OKHQkyAC1udxkXsSDGjg9q4e5y0apNdcpel3ktwnV+g==} peerDependencies: typescript: '>=5.1.6' peerDependenciesMeta: @@ -2226,8 +2226,8 @@ packages: - zod dev: false - /@rabbitholegg/questdk/2.0.0-alpha.21_typescript@5.2.2: - resolution: {integrity: sha512-dZpVGmKtB7V0Zurt/s7fzWqBnIwVaaaNIvOuwjIFBtzql4HEDDuJEFx/Jvg7JaC+dghuOyZkfQeVy2stq5afuA==} + /@rabbitholegg/questdk/2.0.0-alpha.22_typescript@5.2.2: + resolution: {integrity: sha512-MBKDHYEmaKLScFEqDcLkg9s2BehA+Mh8brBwEhz/QE7OKHQkyAC1udxkXsSDGjg9q4e5y0apNdcpel3ktwnV+g==} peerDependencies: typescript: '>=5.1.6' peerDependenciesMeta: