@katanaperps/katana-perps-sdk 1.0.0-alpha.2 → 1.0.0-alpha.21

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 (66) hide show
  1. package/dist/abis/ExchangeLayerZeroAdapter_v1.json +60 -25
  2. package/dist/abis/ExchangeLocalDepositAdapter_v1.json +318 -0
  3. package/dist/abis/FixedIncomeVaultProviderStateAggregator_v1.json +229 -0
  4. package/dist/abis/FixedIncomeVaultProvider_v1.json +2640 -0
  5. package/dist/abis/IVaultComposerSync.json +537 -0
  6. package/dist/abis/KatanaPerpsStargateForwarder_v1.json +108 -14
  7. package/dist/bridge/config.d.ts +29 -25
  8. package/dist/bridge/config.d.ts.map +1 -1
  9. package/dist/bridge/config.js +24 -21
  10. package/dist/bridge/deposit.d.ts +30 -3
  11. package/dist/bridge/deposit.d.ts.map +1 -1
  12. package/dist/bridge/deposit.js +156 -28
  13. package/dist/bridge/utils.d.ts +17 -15
  14. package/dist/bridge/utils.d.ts.map +1 -1
  15. package/dist/bridge/utils.js +17 -6
  16. package/dist/bridge/withdraw.d.ts.map +1 -1
  17. package/dist/bridge/withdraw.js +1 -2
  18. package/dist/client/rest/authenticated.d.ts +17 -2
  19. package/dist/client/rest/authenticated.d.ts.map +1 -1
  20. package/dist/client/rest/authenticated.js +37 -14
  21. package/dist/typechain-types/ExchangeLayerZeroAdapter_v1.d.ts +23 -28
  22. package/dist/typechain-types/ExchangeLayerZeroAdapter_v1.d.ts.map +1 -1
  23. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.d.ts +210 -0
  24. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.d.ts.map +1 -0
  25. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.js +2 -0
  26. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts +13 -13
  27. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts.map +1 -1
  28. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts +50 -78
  29. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts.map +1 -1
  30. package/dist/typechain-types/IVaultComposerSync.d.ts +247 -0
  31. package/dist/typechain-types/IVaultComposerSync.d.ts.map +1 -0
  32. package/dist/typechain-types/IVaultComposerSync.js +2 -0
  33. package/dist/typechain-types/KatanaPerpsStargateForwarder_v1.d.ts +29 -5
  34. package/dist/typechain-types/KatanaPerpsStargateForwarder_v1.d.ts.map +1 -1
  35. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.d.ts +46 -20
  36. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.d.ts.map +1 -1
  37. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.js +60 -25
  38. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.d.ts +255 -0
  39. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.d.ts.map +1 -0
  40. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.js +335 -0
  41. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts +15 -15
  42. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.js +20 -20
  43. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts +61 -96
  44. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts.map +1 -1
  45. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.js +72 -117
  46. package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts +422 -0
  47. package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts.map +1 -0
  48. package/dist/typechain-types/factories/IVaultComposerSync__factory.js +554 -0
  49. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.d.ts +86 -14
  50. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.d.ts.map +1 -1
  51. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.js +108 -14
  52. package/dist/typechain-types/factories/index.d.ts +4 -0
  53. package/dist/typechain-types/factories/index.d.ts.map +1 -1
  54. package/dist/typechain-types/factories/index.js +9 -1
  55. package/dist/typechain-types/index.d.ts +8 -0
  56. package/dist/typechain-types/index.d.ts.map +1 -1
  57. package/dist/typechain-types/index.js +9 -1
  58. package/dist/types/enums/request.d.ts +2 -2
  59. package/dist/types/enums/request.js +1 -1
  60. package/dist/types/rest/endpoints/GetExchange.d.ts +54 -0
  61. package/dist/types/rest/endpoints/GetExchange.d.ts.map +1 -1
  62. package/dist/types/rest/endpoints/GetGasFees.d.ts +2 -0
  63. package/dist/types/rest/endpoints/GetGasFees.d.ts.map +1 -1
  64. package/dist/types/rest/endpoints/internal.d.ts +8 -0
  65. package/dist/types/rest/endpoints/internal.d.ts.map +1 -1
  66. package/package.json +1 -1
@@ -1,11 +1,26 @@
1
1
  [
2
2
  {
3
3
  "inputs": [
4
+ {
5
+ "internalType": "uint32",
6
+ "name": "ethereumEndpointId_",
7
+ "type": "uint32"
8
+ },
4
9
  {
5
10
  "internalType": "address",
6
11
  "name": "exchangeLayerZeroAdapter_",
7
12
  "type": "address"
8
13
  },
14
+ {
15
+ "internalType": "uint128",
16
+ "name": "katanaComposeGasLimit_",
17
+ "type": "uint128"
18
+ },
19
+ {
20
+ "internalType": "uint32",
21
+ "name": "katanaEndpointId_",
22
+ "type": "uint32"
23
+ },
9
24
  {
10
25
  "internalType": "address",
11
26
  "name": "lzEndpoint_",
@@ -13,38 +28,49 @@
13
28
  },
14
29
  {
15
30
  "internalType": "uint64",
16
- "name": "minimumForwardQuantityMultiplier_",
31
+ "name": "minimumDepositNativeDropQuantityMultiplier_",
17
32
  "type": "uint64"
18
33
  },
19
34
  {
20
35
  "internalType": "uint64",
21
- "name": "minimumDepositNativeDropQuantityMultiplier_",
36
+ "name": "minimumForwardQuantityMultiplier_",
22
37
  "type": "uint64"
23
38
  },
24
39
  {
25
40
  "internalType": "address",
26
- "name": "katanaOFT_",
41
+ "name": "stargate_",
27
42
  "type": "address"
28
43
  },
29
44
  {
30
45
  "internalType": "address",
31
- "name": "stargate_",
46
+ "name": "usdc_",
32
47
  "type": "address"
33
48
  },
34
49
  {
35
50
  "internalType": "address",
36
- "name": "usdc_",
51
+ "name": "vbUSDC_",
37
52
  "type": "address"
38
53
  },
39
54
  {
40
- "internalType": "uint32",
41
- "name": "katanaEndpointId_",
42
- "type": "uint32"
55
+ "internalType": "address",
56
+ "name": "vbUSDCOFTAdapter_",
57
+ "type": "address"
43
58
  }
44
59
  ],
45
60
  "stateMutability": "nonpayable",
46
61
  "type": "constructor"
47
62
  },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "uint16",
67
+ "name": "optionType",
68
+ "type": "uint16"
69
+ }
70
+ ],
71
+ "name": "InvalidOptionType",
72
+ "type": "error"
73
+ },
48
74
  {
49
75
  "inputs": [
50
76
  {
@@ -67,6 +93,22 @@
67
93
  "name": "OwnableUnauthorizedAccount",
68
94
  "type": "error"
69
95
  },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "uint8",
100
+ "name": "bits",
101
+ "type": "uint8"
102
+ },
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "value",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "SafeCastOverflowedUintDowncast",
110
+ "type": "error"
111
+ },
70
112
  {
71
113
  "anonymous": false,
72
114
  "inputs": [
@@ -169,6 +211,19 @@
169
211
  "stateMutability": "nonpayable",
170
212
  "type": "function"
171
213
  },
214
+ {
215
+ "inputs": [],
216
+ "name": "ethereumEndpointId",
217
+ "outputs": [
218
+ {
219
+ "internalType": "uint32",
220
+ "name": "",
221
+ "type": "uint32"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
172
227
  {
173
228
  "inputs": [],
174
229
  "name": "exchangeLayerZeroAdapter",
@@ -184,12 +239,12 @@
184
239
  },
185
240
  {
186
241
  "inputs": [],
187
- "name": "katanaEndpointId",
242
+ "name": "katanaComposeGasLimit",
188
243
  "outputs": [
189
244
  {
190
- "internalType": "uint32",
245
+ "internalType": "uint128",
191
246
  "name": "",
192
- "type": "uint32"
247
+ "type": "uint128"
193
248
  }
194
249
  ],
195
250
  "stateMutability": "view",
@@ -197,12 +252,12 @@
197
252
  },
198
253
  {
199
254
  "inputs": [],
200
- "name": "katanaOFT",
255
+ "name": "katanaEndpointId",
201
256
  "outputs": [
202
257
  {
203
- "internalType": "contract IOFT",
258
+ "internalType": "uint32",
204
259
  "name": "",
205
- "type": "address"
260
+ "type": "uint32"
206
261
  }
207
262
  ],
208
263
  "stateMutability": "view",
@@ -379,6 +434,19 @@
379
434
  "stateMutability": "nonpayable",
380
435
  "type": "function"
381
436
  },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "uint128",
441
+ "name": "newKatanaComposeGasLimit",
442
+ "type": "uint128"
443
+ }
444
+ ],
445
+ "name": "setKatanaComposeGasLimit",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
448
+ "type": "function"
449
+ },
382
450
  {
383
451
  "inputs": [
384
452
  {
@@ -444,6 +512,32 @@
444
512
  "stateMutability": "view",
445
513
  "type": "function"
446
514
  },
515
+ {
516
+ "inputs": [],
517
+ "name": "vbUSDC",
518
+ "outputs": [
519
+ {
520
+ "internalType": "contract IERC4626",
521
+ "name": "",
522
+ "type": "address"
523
+ }
524
+ ],
525
+ "stateMutability": "view",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [],
530
+ "name": "vbUSDCOFTAdapter",
531
+ "outputs": [
532
+ {
533
+ "internalType": "contract IOFT",
534
+ "name": "",
535
+ "type": "address"
536
+ }
537
+ ],
538
+ "stateMutability": "view",
539
+ "type": "function"
540
+ },
447
541
  {
448
542
  "inputs": [
449
543
  {
@@ -1,5 +1,5 @@
1
1
  import { BridgeTarget } from '#types/enums/request';
2
- export declare const BridgeTargetsArray: ("katana.katana" | "stargate.arbitrum" | "stargate.aurora" | "stargate.avalanche" | "stargate.base" | "stargate.bnb" | "stargate.ethereum" | "stargate.optimism" | "stargate.rari" | "stargate.scroll" | "stargate.taiko")[];
2
+ export declare const BridgeTargetsArray: ("katana.katana" | "stargate.arbitrum" | "stargate.aurora" | "stargate.avalanche" | "stargate.base" | "stargate.berachain" | "stargate.ethereum" | "stargate.optimism" | "stargate.rari" | "stargate.scroll" | "stargate.taiko")[];
3
3
  /**
4
4
  * TODO_IKON - These configs need to be completed in some areas and should be confirmed as valid
5
5
  *
@@ -9,9 +9,10 @@ export declare const BridgeTargetsArray: ("katana.katana" | "stargate.arbitrum"
9
9
  */
10
10
  export declare const BridgeConfig: {
11
11
  readonly settings: {
12
- readonly addManagedAccountExtraGas: 300000;
12
+ readonly addManagedAccountComposeGasLimit: 650000;
13
+ readonly depositComposeGasLimit: 350000;
13
14
  readonly depositSourceChainGasLimit: 450000;
14
- readonly stargateBridgeForwarderGasLimit: 450000;
15
+ readonly stargateBridgeForwarderGasLimit: 1200000;
15
16
  readonly localBridgeTarget: "katana.katana";
16
17
  };
17
18
  readonly mainnet: {
@@ -21,7 +22,7 @@ export declare const BridgeConfig: {
21
22
  readonly layerZeroEndpointId: 30375;
22
23
  readonly layerzeroOFTAddress: "0x807275727Dd3E640c5F2b5DE7d1eC72B4Dd293C0";
23
24
  readonly tokenDecimals: 6;
24
- readonly usdcAddress: "0x203a662b0bd271a6ed5a60edfbd04bfce608fd36";
25
+ readonly usdcAddress: "0x203A662b0BD271A6ed5a60EdFbd04bFce608FD36";
25
26
  };
26
27
  readonly "stargate.arbitrum": {
27
28
  readonly target: "stargate.arbitrum";
@@ -55,19 +56,20 @@ export declare const BridgeConfig: {
55
56
  readonly tokenDecimals: 6;
56
57
  readonly usdcAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
57
58
  };
58
- readonly "stargate.bnb": {
59
- readonly target: "stargate.bnb";
60
- readonly evmChainId: 56;
61
- readonly layerZeroEndpointId: 30102;
62
- readonly layerzeroOFTAddress: "0x962Bd449E630b0d928f308Ce63f1A21F02576057";
63
- readonly tokenDecimals: 18;
64
- readonly usdcAddress: "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d";
59
+ readonly "stargate.berachain": {
60
+ readonly target: "stargate.berachain";
61
+ readonly evmChainId: 80094;
62
+ readonly layerZeroEndpointId: 30362;
63
+ readonly layerzeroOFTAddress: "0xAF54BE5B6eEc24d6BFACf1cce4eaF680A8239398";
64
+ readonly tokenDecimals: 6;
65
+ readonly usdcAddress: "0x549943e04f40284185054145c6E4e9568C1D3241";
65
66
  };
66
67
  readonly "stargate.ethereum": {
67
68
  readonly target: "stargate.ethereum";
68
69
  readonly evmChainId: 1;
69
70
  readonly layerZeroEndpointId: 30101;
70
- readonly layerzeroOFTAddress: "0xc026395860Db2d07ee33e05fE50ed7bD583189C7";
71
+ readonly layerzeroOFTAddress: "0xb5bADA33542a05395d504a25885e02503A957Bb3";
72
+ readonly layerZeroVaultComposerSyncAddress: "0x8A35897fda9E024d2aC20a937193e099679eC477";
71
73
  readonly tokenDecimals: 6;
72
74
  readonly usdcAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
73
75
  };
@@ -107,10 +109,9 @@ export declare const BridgeConfig: {
107
109
  readonly testnet: {
108
110
  readonly "katana.katana": {
109
111
  readonly target: "katana.katana";
110
- readonly isSupported: true;
111
112
  readonly evmChainId: 737373;
112
- readonly layerZeroEndpointId: -1;
113
- readonly layerzeroOFTAddress: "0x0000000000000000000000000000000000000000";
113
+ readonly layerZeroEndpointId: 40448;
114
+ readonly layerzeroOFTAddress: "0x3aCAAf60502791D199a5a5F0B173D78229eBFe32";
114
115
  readonly tokenDecimals: 6;
115
116
  readonly usdcAddress: "0xc2a4C310F2512A17Ac0047cf871aCAed3E62bB4B";
116
117
  };
@@ -126,7 +127,8 @@ export declare const BridgeConfig: {
126
127
  readonly target: "stargate.ethereum";
127
128
  readonly evmChainId: 11155111;
128
129
  readonly layerZeroEndpointId: 40161;
129
- readonly layerzeroOFTAddress: "0x21F1caDDBED3Cd50e6B30644459BFB80c367076c";
130
+ readonly layerzeroOFTAddress: "0x0000000000000000000000000000000000000000";
131
+ readonly layerZeroVaultComposerSync: "0x0000000000000000000000000000000000000000";
130
132
  readonly tokenDecimals: 6;
131
133
  readonly usdcAddress: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
132
134
  };
@@ -166,19 +168,20 @@ export declare const BridgeConfigByLayerZeroEndpointId: {
166
168
  readonly tokenDecimals: 6;
167
169
  readonly usdcAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
168
170
  };
169
- 30102: {
170
- readonly target: "stargate.bnb";
171
- readonly evmChainId: 56;
172
- readonly layerZeroEndpointId: 30102;
173
- readonly layerzeroOFTAddress: "0x962Bd449E630b0d928f308Ce63f1A21F02576057";
174
- readonly tokenDecimals: 18;
175
- readonly usdcAddress: "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d";
171
+ 30362: {
172
+ readonly target: "stargate.berachain";
173
+ readonly evmChainId: 80094;
174
+ readonly layerZeroEndpointId: 30362;
175
+ readonly layerzeroOFTAddress: "0xAF54BE5B6eEc24d6BFACf1cce4eaF680A8239398";
176
+ readonly tokenDecimals: 6;
177
+ readonly usdcAddress: "0x549943e04f40284185054145c6E4e9568C1D3241";
176
178
  };
177
179
  30101: {
178
180
  readonly target: "stargate.ethereum";
179
181
  readonly evmChainId: 1;
180
182
  readonly layerZeroEndpointId: 30101;
181
- readonly layerzeroOFTAddress: "0xc026395860Db2d07ee33e05fE50ed7bD583189C7";
183
+ readonly layerzeroOFTAddress: "0xb5bADA33542a05395d504a25885e02503A957Bb3";
184
+ readonly layerZeroVaultComposerSyncAddress: "0x8A35897fda9E024d2aC20a937193e099679eC477";
182
185
  readonly tokenDecimals: 6;
183
186
  readonly usdcAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
184
187
  };
@@ -228,7 +231,8 @@ export declare const BridgeConfigByLayerZeroEndpointId: {
228
231
  readonly target: "stargate.ethereum";
229
232
  readonly evmChainId: 1;
230
233
  readonly layerZeroEndpointId: 30101;
231
- readonly layerzeroOFTAddress: "0xc026395860Db2d07ee33e05fE50ed7bD583189C7";
234
+ readonly layerzeroOFTAddress: "0xb5bADA33542a05395d504a25885e02503A957Bb3";
235
+ readonly layerZeroVaultComposerSyncAddress: "0x8A35897fda9E024d2aC20a937193e099679eC477";
232
236
  readonly tokenDecimals: 6;
233
237
  readonly usdcAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
234
238
  };
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/bridge/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,eAAO,MAAM,kBAAkB,8NAA8B,CAAC;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKf,CAAC;AAEX,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B7C,CAAC;AAEF;;;;;;;GAOG;AAEH,wBAAgB,mBAAmB,CAEjC,KAAK,EAAE,GAAG,GACT,KAAK,IAAI,YAAY,CAEvB"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/bridge/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,eAAO,MAAM,kBAAkB,oOAA8B,CAAC;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuKf,CAAC;AAEX,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B7C,CAAC;AAEF;;;;;;;GAOG;AAEH,wBAAgB,mBAAmB,CAEjC,KAAK,EAAE,GAAG,GACT,KAAK,IAAI,YAAY,CAEvB"}
@@ -12,9 +12,10 @@ exports.BridgeTargetsArray = Object.values(request_1.BridgeTarget);
12
12
  */
13
13
  exports.BridgeConfig = {
14
14
  settings: {
15
- addManagedAccountExtraGas: 300_000,
15
+ addManagedAccountComposeGasLimit: 650_000,
16
+ depositComposeGasLimit: 350_000,
16
17
  depositSourceChainGasLimit: 450_000,
17
- stargateBridgeForwarderGasLimit: 450_000,
18
+ stargateBridgeForwarderGasLimit: 1_200_000,
18
19
  localBridgeTarget: request_1.BridgeTarget.KATANA_KATANA,
19
20
  },
20
21
  mainnet: {
@@ -27,7 +28,7 @@ exports.BridgeConfig = {
27
28
  layerzeroOFTAddress: '0x807275727Dd3E640c5F2b5DE7d1eC72B4Dd293C0',
28
29
  // vbUSDC
29
30
  tokenDecimals: 6,
30
- usdcAddress: '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36',
31
+ usdcAddress: '0x203A662b0BD271A6ed5a60EdFbd04bFce608FD36',
31
32
  },
32
33
  [request_1.BridgeTarget.STARGATE_ARBITRUM]: {
33
34
  target: request_1.BridgeTarget.STARGATE_ARBITRUM,
@@ -73,24 +74,25 @@ exports.BridgeConfig = {
73
74
  tokenDecimals: 6,
74
75
  usdcAddress: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
75
76
  },
76
- [request_1.BridgeTarget.STARGATE_BNB]: {
77
- target: request_1.BridgeTarget.STARGATE_BNB,
78
- // https://docs.layerzero.network/v2/deployments/deployed-contracts?chains=bnb
79
- evmChainId: 56,
80
- layerZeroEndpointId: 30102,
81
- // https://stargateprotocol.gitbook.io/stargate/v/v2-developer-docs/technical-reference/mainnet-contracts#bnb-chain
82
- layerzeroOFTAddress: '0x962Bd449E630b0d928f308Ce63f1A21F02576057',
83
- // https://stargateprotocol.gitbook.io/stargate/v2-developer-docs/technical-reference/v2-supported-networks-and-assets#bnb
84
- tokenDecimals: 18,
85
- usdcAddress: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d',
77
+ [request_1.BridgeTarget.STARGATE_BERACHAIN]: {
78
+ target: request_1.BridgeTarget.STARGATE_BERACHAIN,
79
+ evmChainId: 80094,
80
+ // https://docs.layerzero.network/v2/developers/evm/technical-reference/deployed-contracts#bera
81
+ layerZeroEndpointId: 30362,
82
+ // https://stargateprotocol.gitbook.io/stargate/v/v2-developer-docs/technical-reference/mainnet-contracts#berachain
83
+ layerzeroOFTAddress: '0xAF54BE5B6eEc24d6BFACf1cce4eaF680A8239398',
84
+ // https://stargateprotocol.gitbook.io/stargate/v2-developer-docs/technical-reference/v2-supported-networks-and-assets#bera
85
+ tokenDecimals: 6,
86
+ usdcAddress: '0x549943e04f40284185054145c6E4e9568C1D3241',
86
87
  },
87
88
  [request_1.BridgeTarget.STARGATE_ETHEREUM]: {
88
89
  target: request_1.BridgeTarget.STARGATE_ETHEREUM,
89
90
  // https://docs.layerzero.network/v2/deployments/deployed-contracts?chains=ethereum
90
91
  evmChainId: 1,
91
92
  layerZeroEndpointId: 30101,
92
- // https://stargateprotocol.gitbook.io/stargate/v2-developer-docs/technical-reference/mainnet-contracts#ethereum
93
- layerzeroOFTAddress: '0xc026395860Db2d07ee33e05fE50ed7bD583189C7',
93
+ // vbUSDC OFTAdapter https://github.com/agglayer/vault-bridge/tree/main/broadcast#mainnet
94
+ layerzeroOFTAddress: '0xb5bADA33542a05395d504a25885e02503A957Bb3',
95
+ layerZeroVaultComposerSyncAddress: '0x8A35897fda9E024d2aC20a937193e099679eC477',
94
96
  // https://stargateprotocol.gitbook.io/stargate/v2-developer-docs/technical-reference/v2-supported-networks-and-assets#ethereum
95
97
  tokenDecimals: 6,
96
98
  usdcAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
@@ -143,12 +145,11 @@ exports.BridgeConfig = {
143
145
  testnet: {
144
146
  [request_1.BridgeTarget.KATANA_KATANA]: {
145
147
  target: request_1.BridgeTarget.KATANA_KATANA,
146
- isSupported: true,
147
148
  evmChainId: 737373,
148
- // No LZ connection yet on Bokuto testnet
149
- layerZeroEndpointId: -1,
149
+ // https://stargateprotocol.gitbook.io/stargate/v/v2-developer-docs/technical-reference/testnet-contracts#bokuto-testnet
150
+ layerZeroEndpointId: 40448,
150
151
  // No OFT currently supported on Bokuto testnet
151
- layerzeroOFTAddress: '0x0000000000000000000000000000000000000000',
152
+ layerzeroOFTAddress: '0x3aCAAf60502791D199a5a5F0B173D78229eBFe32',
152
153
  tokenDecimals: 6,
153
154
  // vbUSDC
154
155
  usdcAddress: '0xc2a4C310F2512A17Ac0047cf871aCAed3E62bB4B',
@@ -168,7 +169,9 @@ exports.BridgeConfig = {
168
169
  // https://docs.layerzero.network/v2/deployments/deployed-contracts?chains=sepolia
169
170
  evmChainId: 11155111,
170
171
  layerZeroEndpointId: 40161,
171
- layerzeroOFTAddress: '0x21F1caDDBED3Cd50e6B30644459BFB80c367076c',
172
+ // No OFT currently supported on Sepolia testnet
173
+ layerzeroOFTAddress: '0x0000000000000000000000000000000000000000',
174
+ layerZeroVaultComposerSync: '0x0000000000000000000000000000000000000000',
172
175
  tokenDecimals: 6,
173
176
  usdcAddress: '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590',
174
177
  },
@@ -180,7 +183,7 @@ exports.BridgeConfigByLayerZeroEndpointId = {
180
183
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_AURORA].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_AURORA],
181
184
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_AVALANCHE].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_AVALANCHE],
182
185
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BASE].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BASE],
183
- [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BNB].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BNB],
186
+ [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BERACHAIN].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_BERACHAIN],
184
187
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_ETHEREUM].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_ETHEREUM],
185
188
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_OPTIMISM].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_OPTIMISM],
186
189
  [exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_RARI].layerZeroEndpointId]: exports.BridgeConfig.mainnet[request_1.BridgeTarget.STARGATE_RARI],
@@ -22,7 +22,8 @@ export type DepositToWalletBridgePayloadParameters = {
22
22
  };
23
23
  export type DepositBaseParameters = {
24
24
  exchangeLayerZeroAdapterAddress?: string;
25
- minimumForwardQuantityMultiplierInPips: bigint;
25
+ exchangeLocalDepositAdapterAddress?: string;
26
+ minimumForwardQuantityMultiplierInPips?: bigint;
26
27
  quantityInAssetUnits: bigint;
27
28
  sourceBridgeTarget: BridgeTarget;
28
29
  stargateBridgeForwarderContractAddress?: string;
@@ -90,8 +91,34 @@ export declare function decodeDepositBridgeAdapterPayload(payload: EncodedDeposi
90
91
  export declare function depositViaBridge(parameters: AddManagedAccountParameters | DepositToManagedAccountParameters | DepositToWalletParameters, providers: {
91
92
  ethereum: ethers.Provider;
92
93
  sourceChain: ethers.Provider;
93
- }, sourceSigner: ethers.Signer, sandbox: boolean, extraRequestParams?: Pick<TransactionRequest, 'nonce'>): Promise<string>;
94
- export declare function encodeDepositBridgeAdapterPayload(sourceConfig: ReturnType<typeof getBridgeTargetConfig>, parameters: AddManagedAccountParameters | DepositToManagedAccountParameters | DepositToWalletParameters): EncodedDepositBridgeAdapterPayload;
94
+ }, sourceSigner: ethers.Signer, sandbox: boolean, extraRequestParams?: Pick<TransactionRequest, 'nonce'>,
95
+ /** Let software wallet show estimate to the user. Even on expected TX failure. */
96
+ ignoreEstimateError?: boolean): Promise<string>;
97
+ /**
98
+ * Deposit funds cross-chain into the Exchange using a LayerZero OFT or Stargate
99
+ */
100
+ export declare function depositViaVaultComposerSync(parameters: AddManagedAccountParameters | DepositToManagedAccountParameters | DepositToWalletParameters, providers: {
101
+ ethereum: ethers.Provider;
102
+ sourceChain: ethers.Provider;
103
+ }, sourceSigner: ethers.Signer, sandbox: boolean, extraRequestParams?: Pick<TransactionRequest, 'nonce'>,
104
+ /** Let software wallet show estimate to the user. Even on expected TX failure. */
105
+ ignoreEstimateError?: boolean): Promise<string>;
106
+ /**
107
+ * Deposit funds cross-chain into the Exchange using a LayerZero OFT or Stargate
108
+ */
109
+ export declare function depositViaForwarder(parameters: AddManagedAccountParameters | DepositToManagedAccountParameters | DepositToWalletParameters, providers: {
110
+ ethereum: ethers.Provider;
111
+ sourceChain: ethers.Provider;
112
+ }, sourceSigner: ethers.Signer, sandbox: boolean, extraRequestParams?: Pick<TransactionRequest, 'nonce'>,
113
+ /** Let software wallet show estimate to the user. Even on expected TX failure. */
114
+ ignoreEstimateError?: boolean): Promise<string>;
115
+ /**
116
+ * Deposit funds locally on Katana
117
+ */
118
+ export declare function depositLocally(parameters: AddManagedAccountParameters | DepositToManagedAccountParameters | DepositToWalletParameters, signer: ethers.Signer, sandbox: boolean, extraRequestParams?: Pick<TransactionRequest, 'nonce'>,
119
+ /** Let software wallet show estimate to the user. Even on expected TX failure. */
120
+ ignoreEstimateError?: boolean): Promise<string>;
121
+ export declare function encodeDepositBridgeAdapterPayload(sourceConfig: ReturnType<typeof getBridgeTargetConfig>, parameters: Pick<AddManagedAccountParameters, 'bridgePayloadType' | 'fixedIncomeVaultProviderAddress' | 'managerWallet' | 'addManagedAccountPayload'> | Pick<DepositToManagedAccountParameters, 'bridgePayloadType' | 'depositorWallet' | 'fixedIncomeVaultProviderAddress' | 'managerWallet'> | Pick<DepositToWalletParameters, 'bridgePayloadType' | 'depositorWallet'>): EncodedDepositBridgeAdapterPayload;
95
122
  export declare function encodeFixedIncomeVaultConfigurationFields(configurationFields: FixedIncomeVaultConfigurationFields): string;
96
123
  /**
97
124
  * Estimate native gas fee needed to deposit USDC cross-chain into the Exchange
@@ -1 +1 @@
1
- {"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../src/bridge/deposit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,KAAK,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAMzD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EACL,qBAAqB,EAGtB,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,oBAAY,+BAA+B;IACzC,iBAAiB,IAAA;IACjB,uBAAuB,IAAA;IACvB,eAAe,IAAA;CAChB;AAED,MAAM,MAAM,wCAAwC,GAAG;IACrD,+BAA+B,EAAE,MAAM,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG;IAC3D,eAAe,EAAE,MAAM,CAAC;IAC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