@gearbox-protocol/sdk 9.15.1 → 9.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/cjs/abi/router/pendleRouterWorker.js +0 -16
  2. package/dist/cjs/plugins/adapters/AdaptersPlugin.js +3 -0
  3. package/dist/cjs/plugins/adapters/abi/actionAbi.js +4 -2
  4. package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +6 -1
  5. package/dist/cjs/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
  6. package/dist/cjs/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +45 -0
  7. package/dist/cjs/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
  8. package/dist/cjs/plugins/adapters/contracts/types.js +17 -0
  9. package/dist/cjs/plugins/adapters/types.js +1 -0
  10. package/dist/cjs/plugins/zappers/extraZappers.js +21 -84
  11. package/dist/cjs/sdk/sdk-legacy/core/transactions.js +30 -30
  12. package/dist/esm/abi/router/pendleRouterWorker.js +0 -16
  13. package/dist/esm/plugins/adapters/AdaptersPlugin.js +3 -0
  14. package/dist/esm/plugins/adapters/abi/actionAbi.js +4 -2
  15. package/dist/esm/plugins/adapters/abi/conctructorAbi.js +6 -1
  16. package/dist/esm/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
  17. package/dist/esm/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +21 -0
  18. package/dist/esm/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
  19. package/dist/esm/plugins/adapters/contracts/types.js +15 -0
  20. package/dist/esm/plugins/adapters/types.js +1 -0
  21. package/dist/esm/plugins/zappers/extraZappers.js +21 -84
  22. package/dist/esm/sdk/sdk-legacy/core/transactions.js +31 -31
  23. package/dist/types/abi/router/pendleRouterWorker.d.ts +0 -20
  24. package/dist/types/permissionless/utils/governance/types.d.ts +3 -0
  25. package/dist/types/permissionless/utils/price-update/get-price-feeds.d.ts +9 -0
  26. package/dist/types/plugins/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +5 -1
  27. package/dist/types/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +11 -0
  28. package/dist/types/plugins/adapters/contracts/PendleRouterAdapterContract.d.ts +7 -1
  29. package/dist/types/plugins/adapters/contracts/types.d.ts +11 -0
  30. package/dist/types/plugins/adapters/types.d.ts +2 -1
  31. package/package.json +1 -1
@@ -30,13 +30,6 @@ const pendleRouterWorkerAbi = [
30
30
  ],
31
31
  stateMutability: "nonpayable"
32
32
  },
33
- {
34
- type: "function",
35
- name: "approxSlippage",
36
- inputs: [],
37
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
38
- stateMutability: "view"
39
- },
40
33
  {
41
34
  type: "function",
42
35
  name: "buildEdges",
@@ -435,15 +428,6 @@ const pendleRouterWorkerAbi = [
435
428
  outputs: [{ name: "", type: "address", internalType: "address" }],
436
429
  stateMutability: "view"
437
430
  },
438
- {
439
- type: "function",
440
- name: "setApproxSlippage",
441
- inputs: [
442
- { name: "_approxSlippage", type: "uint256", internalType: "uint256" }
443
- ],
444
- outputs: [],
445
- stateMutability: "nonpayable"
446
- },
447
431
  {
448
432
  type: "function",
449
433
  name: "trimSpecialVertex",
@@ -22,6 +22,7 @@ __export(AdaptersPlugin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(AdaptersPlugin_exports);
24
24
  var import_sdk = require("../../sdk/index.js");
25
+ var import_BalancerV3WrapperAdapterContract = require("./contracts/BalancerV3WrapperAdapterContract.js");
25
26
  var import_contracts = require("./contracts/index.js");
26
27
  class AdaptersPlugin extends import_sdk.BasePlugin {
27
28
  name = "Adapters";
@@ -35,6 +36,8 @@ class AdaptersPlugin extends import_sdk.BasePlugin {
35
36
  switch (adapterType) {
36
37
  case "ADAPTER::BALANCER_V3_ROUTER":
37
38
  return new import_contracts.BalancerV3RouterAdapterContract(this.sdk, args);
39
+ case "ADAPTER::BALANCER_V3_WRAPPER":
40
+ return new import_BalancerV3WrapperAdapterContract.BalancerV3WrapperAdapterContract(this.sdk, args);
38
41
  case "ADAPTER::BALANCER_VAULT":
39
42
  return new import_contracts.BalancerV2VaultAdapterContract(this.sdk, args);
40
43
  case "ADAPTER::CAMELOT_V3_ROUTER":
@@ -30,7 +30,8 @@ const adapterActionSignatures = {
30
30
  310: "function setPoolStatus(bytes32,uint8)"
31
31
  },
32
32
  [import_types.AdapterType.BALANCER_V3_ROUTER]: {
33
- 310: "function setPoolStatusBatch(address[],bool[])"
33
+ 310: "function setPoolStatusBatch(address[],bool[])",
34
+ 311: "function setPoolStatusBatch((address,uint8)[])"
34
35
  },
35
36
  [import_types.AdapterType.CAMELOT_V3_ROUTER]: {
36
37
  310: "function setPoolStatusBatch((address,address,bool)[])"
@@ -51,7 +52,8 @@ const adapterActionSignatures = {
51
52
  310: "function setVaultStatusBatch((address,bool)[])"
52
53
  },
53
54
  [import_types.AdapterType.PENDLE_ROUTER]: {
54
- 310: "function setPairStatusBatch((address,address,address,uint8)[])"
55
+ 310: "function setPairStatusBatch((address,address,address,uint8)[])",
56
+ 311: "function setPairStatusBatch((address,address,address,uint8,uint8)[])"
55
57
  },
56
58
  [import_types.AdapterType.TRADERJOE_ROUTER]: {
57
59
  310: "function setPoolStatusBatch((address,address,uint256,uint8,bool)[])"
@@ -29,6 +29,10 @@ const adapterConstructorAbi = {
29
29
  310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
30
30
  },
31
31
  [import_types.AdapterType.BALANCER_V3_ROUTER]: {
32
+ 310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI,
33
+ 311: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
34
+ },
35
+ [import_types.AdapterType.BALANCER_V3_WRAPPER]: {
32
36
  310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
33
37
  },
34
38
  [import_types.AdapterType.CAMELOT_V3_ROUTER]: {
@@ -53,7 +57,8 @@ const adapterConstructorAbi = {
53
57
  310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
54
58
  },
55
59
  [import_types.AdapterType.PENDLE_ROUTER]: {
56
- 310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
60
+ 310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI,
61
+ 311: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
57
62
  },
58
63
  [import_types.AdapterType.DAI_USDS_EXCHANGE]: {
59
64
  310: import_conctructorAbiPatterns.BASIC_ADAPTER_ABI
@@ -29,15 +29,35 @@ class BalancerV3RouterAdapterContract extends import_AbstractAdapter.AbstractAda
29
29
  allowedPools;
30
30
  constructor(sdk, args) {
31
31
  super(sdk, { ...args, abi });
32
- const decoded = (0, import_viem.decodeAbiParameters)(
33
- [
34
- { type: "address", name: "creditManager" },
35
- { type: "address", name: "targetContract" },
36
- { type: "address[]", name: "allowedPools" }
37
- ],
38
- args.baseParams.serializedParams
39
- );
40
- this.allowedPools = [...decoded[2]];
32
+ const version = Number(args.baseParams.version);
33
+ if (version === 310) {
34
+ const decoded = (0, import_viem.decodeAbiParameters)(
35
+ [
36
+ { type: "address", name: "creditManager" },
37
+ { type: "address", name: "targetContract" },
38
+ { type: "address[]", name: "allowedPools" }
39
+ ],
40
+ args.baseParams.serializedParams
41
+ );
42
+ this.allowedPools = [...decoded[2]];
43
+ } else {
44
+ const decoded = (0, import_viem.decodeAbiParameters)(
45
+ [
46
+ { type: "address", name: "creditManager" },
47
+ { type: "address", name: "targetContract" },
48
+ {
49
+ type: "tuple[]",
50
+ name: "allowedPairs",
51
+ components: [
52
+ { type: "address", name: "pool" },
53
+ { type: "uint8", name: "status" }
54
+ ]
55
+ }
56
+ ],
57
+ args.baseParams.serializedParams
58
+ );
59
+ this.allowedPools = [...decoded[2]];
60
+ }
41
61
  }
42
62
  }
43
63
  // Annotate the CommonJS export names for ESM import in node:
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var BalancerV3WrapperAdapterContract_exports = {};
20
+ __export(BalancerV3WrapperAdapterContract_exports, {
21
+ BalancerV3WrapperAdapterContract: () => BalancerV3WrapperAdapterContract
22
+ });
23
+ module.exports = __toCommonJS(BalancerV3WrapperAdapterContract_exports);
24
+ var import_viem = require("viem");
25
+ var import_AbstractAdapter = require("./AbstractAdapter.js");
26
+ const abi = [];
27
+ class BalancerV3WrapperAdapterContract extends import_AbstractAdapter.AbstractAdapterContract {
28
+ balancerPoolToken;
29
+ constructor(sdk, args) {
30
+ super(sdk, { ...args, abi });
31
+ const decoded = (0, import_viem.decodeAbiParameters)(
32
+ [
33
+ { type: "address", name: "creditManager" },
34
+ { type: "address", name: "targetContract" },
35
+ { type: "address", name: "balancerPoolToken" }
36
+ ],
37
+ args.baseParams.serializedParams
38
+ );
39
+ this.balancerPoolToken = decoded[2];
40
+ }
41
+ }
42
+ // Annotate the CommonJS export names for ESM import in node:
43
+ 0 && (module.exports = {
44
+ BalancerV3WrapperAdapterContract
45
+ });
@@ -29,29 +29,58 @@ class PendleRouterAdapterContract extends import_AbstractAdapter.AbstractAdapter
29
29
  allowedPairs;
30
30
  constructor(sdk, args) {
31
31
  super(sdk, { ...args, abi });
32
- const decoded = (0, import_viem.decodeAbiParameters)(
33
- [
34
- { type: "address", name: "creditManager" },
35
- { type: "address", name: "targetContract" },
36
- {
37
- type: "tuple[]",
38
- name: "allowedPairs",
39
- components: [
40
- { type: "address", name: "market" },
41
- { type: "address", name: "inputToken" },
42
- { type: "address", name: "pendleToken" },
43
- { type: "uint8", name: "status" }
44
- ]
45
- }
46
- ],
47
- args.baseParams.serializedParams
48
- );
49
- this.allowedPairs = decoded[2].map((pair) => ({
50
- market: pair.market,
51
- inputToken: pair.inputToken,
52
- pendleToken: pair.pendleToken,
53
- status: pair.status
54
- }));
32
+ const version = Number(args.baseParams.version);
33
+ if (version === 310) {
34
+ const decoded = (0, import_viem.decodeAbiParameters)(
35
+ [
36
+ { type: "address", name: "creditManager" },
37
+ { type: "address", name: "targetContract" },
38
+ {
39
+ type: "tuple[]",
40
+ name: "allowedPairs",
41
+ components: [
42
+ { type: "address", name: "market" },
43
+ { type: "address", name: "inputToken" },
44
+ { type: "address", name: "pendleToken" },
45
+ { type: "uint8", name: "status" }
46
+ ]
47
+ }
48
+ ],
49
+ args.baseParams.serializedParams
50
+ );
51
+ this.allowedPairs = decoded[2].map((pair) => ({
52
+ market: pair.market,
53
+ inputToken: pair.inputToken,
54
+ pendleToken: pair.pendleToken,
55
+ status: pair.status
56
+ }));
57
+ } else {
58
+ const decoded = (0, import_viem.decodeAbiParameters)(
59
+ [
60
+ { type: "address", name: "creditManager" },
61
+ { type: "address", name: "targetContract" },
62
+ {
63
+ type: "tuple[]",
64
+ name: "allowedPairs",
65
+ components: [
66
+ { type: "address", name: "market" },
67
+ { type: "address", name: "inputToken" },
68
+ { type: "address", name: "pendleToken" },
69
+ { type: "uint8", name: "pendleTokenType" },
70
+ { type: "uint8", name: "status" }
71
+ ]
72
+ }
73
+ ],
74
+ args.baseParams.serializedParams
75
+ );
76
+ this.allowedPairs = decoded[2].map((pair) => ({
77
+ market: pair.market,
78
+ inputToken: pair.inputToken,
79
+ pendleToken: pair.pendleToken,
80
+ pendleTokenType: pair.pendleTokenType,
81
+ status: pair.status
82
+ }));
83
+ }
55
84
  }
56
85
  }
57
86
  // Annotate the CommonJS export names for ESM import in node:
@@ -19,8 +19,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  var types_exports = {};
20
20
  __export(types_exports, {
21
21
  BalancerV2PoolStatus: () => BalancerV2PoolStatus,
22
+ BalancerV3PoolStatus: () => BalancerV3PoolStatus,
22
23
  KodiakIslandStatus: () => KodiakIslandStatus,
23
24
  PendlePairStatus: () => PendlePairStatus,
25
+ PendleTokenType: () => PendleTokenType,
24
26
  TraderJoePoolVersion: () => TraderJoePoolVersion
25
27
  });
26
28
  module.exports = __toCommonJS(types_exports);
@@ -38,6 +40,11 @@ var KodiakIslandStatus = /* @__PURE__ */ ((KodiakIslandStatus2) => {
38
40
  KodiakIslandStatus2[KodiakIslandStatus2["EXIT_ONLY"] = 3] = "EXIT_ONLY";
39
41
  return KodiakIslandStatus2;
40
42
  })(KodiakIslandStatus || {});
43
+ var PendleTokenType = /* @__PURE__ */ ((PendleTokenType2) => {
44
+ PendleTokenType2[PendleTokenType2["PT"] = 0] = "PT";
45
+ PendleTokenType2[PendleTokenType2["LP"] = 1] = "LP";
46
+ return PendleTokenType2;
47
+ })(PendleTokenType || {});
41
48
  var PendlePairStatus = /* @__PURE__ */ ((PendlePairStatus2) => {
42
49
  PendlePairStatus2[PendlePairStatus2["NOT_ALLOWED"] = 0] = "NOT_ALLOWED";
43
50
  PendlePairStatus2[PendlePairStatus2["ALLOWED"] = 1] = "ALLOWED";
@@ -51,10 +58,20 @@ var TraderJoePoolVersion = /* @__PURE__ */ ((TraderJoePoolVersion2) => {
51
58
  TraderJoePoolVersion2[TraderJoePoolVersion2["V2_2"] = 3] = "V2_2";
52
59
  return TraderJoePoolVersion2;
53
60
  })(TraderJoePoolVersion || {});
61
+ var BalancerV3PoolStatus = /* @__PURE__ */ ((BalancerV3PoolStatus2) => {
62
+ BalancerV3PoolStatus2[BalancerV3PoolStatus2["NOT_ALLOWED"] = 0] = "NOT_ALLOWED";
63
+ BalancerV3PoolStatus2[BalancerV3PoolStatus2["ALLOWED"] = 1] = "ALLOWED";
64
+ BalancerV3PoolStatus2[BalancerV3PoolStatus2["EXIT_AND_SWAP"] = 2] = "EXIT_AND_SWAP";
65
+ BalancerV3PoolStatus2[BalancerV3PoolStatus2["SWAP_ONLY"] = 3] = "SWAP_ONLY";
66
+ BalancerV3PoolStatus2[BalancerV3PoolStatus2["EXIT_ONLY"] = 4] = "EXIT_ONLY";
67
+ return BalancerV3PoolStatus2;
68
+ })(BalancerV3PoolStatus || {});
54
69
  // Annotate the CommonJS export names for ESM import in node:
55
70
  0 && (module.exports = {
56
71
  BalancerV2PoolStatus,
72
+ BalancerV3PoolStatus,
57
73
  KodiakIslandStatus,
58
74
  PendlePairStatus,
75
+ PendleTokenType,
59
76
  TraderJoePoolVersion
60
77
  });
@@ -23,6 +23,7 @@ __export(types_exports, {
23
23
  module.exports = __toCommonJS(types_exports);
24
24
  var AdapterType = /* @__PURE__ */ ((AdapterType2) => {
25
25
  AdapterType2["BALANCER_V3_ROUTER"] = "BALANCER_V3_ROUTER";
26
+ AdapterType2["BALANCER_V3_WRAPPER"] = "BALANCER_V3_WRAPPER";
26
27
  AdapterType2["BALANCER_VAULT"] = "BALANCER_VAULT";
27
28
  AdapterType2["CAMELOT_V3_ROUTER"] = "CAMELOT_V3_ROUTER";
28
29
  AdapterType2["CURVE_STABLE_NG"] = "CURVE_STABLE_NG";
@@ -25,28 +25,7 @@ const extraZappers = {
25
25
  Mainnet: [
26
26
  {
27
27
  baseParams: {
28
- addr: "0x2512bb303b66C541C32D764F65eCdB62875F0140",
29
- version: 310n,
30
- contractType: "0x5a41505045523a3a455243343632360000000000000000000000000000000000",
31
- serializedParams: "0x000000000000000000000000da00000035fef4082f78def6a8903bee419fbf8e"
32
- },
33
- tokenIn: {
34
- addr: "0xda00000035fef4082F78dEF6A8903bee419FbF8E",
35
- symbol: "dUSDCV3",
36
- name: "Trade USDC v3",
37
- decimals: 6
38
- },
39
- tokenOut: {
40
- addr: "0xC155444481854c60e7a29f4150373f479988F32D",
41
- symbol: "USDC",
42
- name: "USDC",
43
- decimals: 6
44
- },
45
- pool: "0xC155444481854c60e7a29f4150373f479988F32D"
46
- },
47
- {
48
- baseParams: {
49
- addr: "0x18b33ee1cd4cb7912867d0b2cc8678a78f82136b",
28
+ addr: "0x85f540c9d5b3be85dbad54085aa18d49e23cd254",
50
29
  version: 310n,
51
30
  contractType: "0x5a41505045523a3a5354414b45445f4552433436323600000000000000000000",
52
31
  serializedParams: "0x0000000000000000000000000418feb7d0b25c411eb77cd654305d29fcbff685000000000000000000000000da0002859b2d05f66a753d8241fcde8623f26f4f"
@@ -58,58 +37,16 @@ const extraZappers = {
58
37
  decimals: 18
59
38
  },
60
39
  tokenOut: {
61
- addr: "0xf00B548f1b69cB5EE559d891E03A196FB5101d4A",
62
- symbol: "dWETHV3-cp0x",
63
- name: "Gearbox WETH v3",
40
+ addr: "0x9396DCbf78fc526bb003665337C5E73b699571EF",
41
+ symbol: "kpkWETH",
42
+ name: "WETH Market",
64
43
  decimals: 18
65
44
  },
66
- pool: "0xf00B548f1b69cB5EE559d891E03A196FB5101d4A"
67
- },
68
- {
69
- baseParams: {
70
- addr: "0x17897d188bb49fea7bfac56e29b07036e16b3537",
71
- version: 310n,
72
- contractType: "0x5a41505045523a3a5354414b45445f4552433436323600000000000000000000",
73
- serializedParams: "0x0000000000000000000000009ef444a6d7f4a5adcd68fd5329aa5240c90e14d2000000000000000000000000da00000035fef4082f78def6a8903bee419fbf8e"
74
- },
75
- tokenIn: {
76
- addr: "0x9ef444a6d7F4A5adcd68FD5329aA5240C90E14d2",
77
- symbol: "farmdUSDCV3",
78
- name: "Farming of Trade USDC v3",
79
- decimals: 6
80
- },
81
- tokenOut: {
82
- addr: "0xC155444481854c60e7a29f4150373f479988F32D",
83
- symbol: "USDC",
84
- name: "USDC",
85
- decimals: 6
86
- },
87
- pool: "0xC155444481854c60e7a29f4150373f479988F32D"
88
- },
89
- {
90
- baseParams: {
91
- addr: "0x70383bac778f0285ddb5f35afbd631e5a4675c58",
92
- version: 310n,
93
- contractType: "0x5a41505045523a3a5354414b45445f4552433436323600000000000000000000",
94
- serializedParams: "0x0000000000000000000000009ef444a6d7f4a5adcd68fd5329aa5240c90e14d2000000000000000000000000da00000035fef4082f78def6a8903bee419fbf8e"
95
- },
96
- tokenIn: {
97
- addr: "0x9ef444a6d7F4A5adcd68FD5329aA5240C90E14d2",
98
- symbol: "farmdUSDCV3",
99
- name: "Farming of Trade USDC v3",
100
- decimals: 6
101
- },
102
- tokenOut: {
103
- addr: "0xF0795C47fA58d00f5F77F4D5c01F31eE891E21B4",
104
- symbol: "rUSDC",
105
- name: "Resolv USDC",
106
- decimals: 6
107
- },
108
- pool: "0xF0795C47fA58d00f5F77F4D5c01F31eE891E21B4"
45
+ pool: "0x9396DCbf78fc526bb003665337C5E73b699571EF"
109
46
  },
110
47
  {
111
48
  baseParams: {
112
- addr: "0x2bC0231a1FC6a9b2E0C44AC1089F47a122a7a8c1",
49
+ addr: "0x5A5F69e134765Cb0169f280c2f2A7d8AdF8eFd29",
113
50
  version: 310n,
114
51
  contractType: "0x5a41505045523a3a455243343632360000000000000000000000000000000000",
115
52
  serializedParams: "0x000000000000000000000000da0002859b2d05f66a753d8241fcde8623f26f4f"
@@ -121,33 +58,33 @@ const extraZappers = {
121
58
  decimals: 18
122
59
  },
123
60
  tokenOut: {
124
- addr: "0xf00B548f1b69cB5EE559d891E03A196FB5101d4A",
125
- symbol: "dWETHV3-cp0x",
126
- name: "Gearbox WETH v3",
61
+ addr: "0x9396DCbf78fc526bb003665337C5E73b699571EF",
62
+ symbol: "kpkWETH",
63
+ name: "WETH Market",
127
64
  decimals: 18
128
65
  },
129
- pool: "0xf00B548f1b69cB5EE559d891E03A196FB5101d4A"
66
+ pool: "0x9396DCbf78fc526bb003665337C5E73b699571EF"
130
67
  },
131
68
  {
132
69
  baseParams: {
133
- addr: "0x62af1fc6e54e66aba5322a3491b5ce1808a6fe89",
70
+ addr: "0xbff5E156779aDCE4C61ecc6bCc32cba89eD7dfa6",
134
71
  version: 310n,
135
72
  contractType: "0x5a41505045523a3a455243343632360000000000000000000000000000000000",
136
- serializedParams: "0x000000000000000000000000da00000035fef4082f78def6a8903bee419fbf8e"
73
+ serializedParams: "0x000000000000000000000000ff94993fa7ea27efc943645f95adb36c1b81244b"
137
74
  },
138
75
  tokenIn: {
139
- addr: "0xda00000035fef4082F78dEF6A8903bee419FbF8E",
140
- symbol: "dUSDCV3",
141
- name: "Trade USDC v3",
142
- decimals: 6
76
+ addr: "0xFF94993fA7EA27Efc943645F95Adb36C1b81244b",
77
+ symbol: "dWSTETHV3",
78
+ name: "wstETH v3",
79
+ decimals: 18
143
80
  },
144
81
  tokenOut: {
145
- addr: "0xF0795C47fA58d00f5F77F4D5c01F31eE891E21B4",
146
- symbol: "rUSDC",
147
- name: "Resolv USDC",
148
- decimals: 6
82
+ addr: "0xA9d17f6D3285208280a1Fd9B94479c62e0AABa64",
83
+ symbol: "kpkwstETH",
84
+ name: "wstETH v3",
85
+ decimals: 18
149
86
  },
150
- pool: "0xF0795C47fA58d00f5F77F4D5c01F31eE891E21B4"
87
+ pool: "0xA9d17f6D3285208280a1Fd9B94479c62e0AABa64"
151
88
  }
152
89
  ]
153
90
  };