@allbridge/bridge-core-sdk 3.15.4-alpha.1 → 3.16.0-alpha.1

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 (52) hide show
  1. package/dist/browser/index.js +3 -3
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/cjs/index.js +4 -4
  4. package/dist/cjs/index.js.map +4 -4
  5. package/dist/esm/index.js +4 -4
  6. package/dist/esm/index.js.map +4 -4
  7. package/dist/src/services/bridge/srb/index.js +11 -10
  8. package/dist/src/services/bridge/srb/index.js.map +1 -1
  9. package/dist/src/services/bridge/utils.js +1 -1
  10. package/dist/src/services/bridge/utils.js.map +1 -1
  11. package/dist/src/services/liquidity-pool/srb/index.js +17 -14
  12. package/dist/src/services/liquidity-pool/srb/index.js.map +1 -1
  13. package/dist/src/services/models/srb/bridge-contract.d.ts +801 -0
  14. package/dist/src/services/models/srb/{bridge.js → bridge-contract.js} +49 -97
  15. package/dist/src/services/models/srb/bridge-contract.js.map +1 -0
  16. package/dist/src/services/models/srb/gas-oracle-contract.d.ts +350 -0
  17. package/dist/src/services/models/srb/gas-oracle-contract.js +87 -0
  18. package/dist/src/services/models/srb/gas-oracle-contract.js.map +1 -0
  19. package/dist/src/services/models/srb/messenger-contract.d.ts +573 -0
  20. package/dist/src/services/models/srb/messenger-contract.js +111 -0
  21. package/dist/src/services/models/srb/messenger-contract.js.map +1 -0
  22. package/dist/src/services/models/srb/pool-contract.d.ts +690 -0
  23. package/dist/src/services/models/srb/pool-contract.js +125 -0
  24. package/dist/src/services/models/srb/pool-contract.js.map +1 -0
  25. package/dist/src/services/models/srb/token-contract.d.ts +437 -160
  26. package/dist/src/services/models/srb/token-contract.js +41 -288
  27. package/dist/src/services/models/srb/token-contract.js.map +1 -1
  28. package/dist/src/services/models/srb/utils.d.ts +6 -0
  29. package/dist/src/services/models/srb/utils.js +35 -0
  30. package/dist/src/services/models/srb/utils.js.map +1 -0
  31. package/dist/src/services/token/srb/index.js +1 -1
  32. package/dist/src/services/token/srb/index.js.map +1 -1
  33. package/dist/src/utils/srb/index.d.ts +5 -6
  34. package/dist/src/utils/srb/index.js +1 -1
  35. package/dist/src/utils/srb/index.js.map +1 -1
  36. package/dist/src/version.d.ts +1 -1
  37. package/dist/src/version.js +1 -1
  38. package/package.json +2 -2
  39. package/dist/src/services/models/srb/bridge.d.ts +0 -169
  40. package/dist/src/services/models/srb/bridge.js.map +0 -1
  41. package/dist/src/services/models/srb/pool.d.ts +0 -293
  42. package/dist/src/services/models/srb/pool.js +0 -233
  43. package/dist/src/services/models/srb/pool.js.map +0 -1
  44. package/dist/src/services/utils/srb/assembled-tx.d.ts +0 -73
  45. package/dist/src/services/utils/srb/assembled-tx.js +0 -143
  46. package/dist/src/services/utils/srb/assembled-tx.js.map +0 -1
  47. package/dist/src/services/utils/srb/build-tx.d.ts +0 -48
  48. package/dist/src/services/utils/srb/build-tx.js +0 -62
  49. package/dist/src/services/utils/srb/build-tx.js.map +0 -1
  50. package/dist/src/services/utils/srb/method-options.d.ts +0 -47
  51. package/dist/src/services/utils/srb/method-options.js +0 -5
  52. package/dist/src/services/utils/srb/method-options.js.map +0 -1
@@ -1,169 +0,0 @@
1
- /// <reference types="node" />
2
- import { ContractSpec } from "stellar-sdk";
3
- import type { u128, u256, u32 } from "../../utils/srb/assembled-tx";
4
- import type { ClassOptions } from "../../utils/srb/method-options";
5
- export * from "../../utils/srb/assembled-tx";
6
- export * from "../../utils/srb/method-options";
7
- export declare const networks: {
8
- readonly testnet: {
9
- readonly networkPassphrase: "Test SDF Network ; September 2015";
10
- readonly contractId: "CBSEMJH6FYPQFVZB7PAVJGSUU6G3RNU6WZHEENNU7I7FKV47W27DWGF5";
11
- };
12
- };
13
- /**
14
-
15
- */
16
- export declare const Errors: {
17
- 0: {
18
- message: string;
19
- };
20
- 1: {
21
- message: string;
22
- };
23
- 2: {
24
- message: string;
25
- };
26
- 3: {
27
- message: string;
28
- };
29
- 4: {
30
- message: string;
31
- };
32
- 5: {
33
- message: string;
34
- };
35
- 6: {
36
- message: string;
37
- };
38
- 7: {
39
- message: string;
40
- };
41
- 8: {
42
- message: string;
43
- };
44
- 9: {
45
- message: string;
46
- };
47
- 103: {
48
- message: string;
49
- };
50
- 104: {
51
- message: string;
52
- };
53
- 105: {
54
- message: string;
55
- };
56
- 106: {
57
- message: string;
58
- };
59
- 107: {
60
- message: string;
61
- };
62
- 108: {
63
- message: string;
64
- };
65
- 109: {
66
- message: string;
67
- };
68
- 203: {
69
- message: string;
70
- };
71
- 204: {
72
- message: string;
73
- };
74
- 205: {
75
- message: string;
76
- };
77
- 206: {
78
- message: string;
79
- };
80
- 207: {
81
- message: string;
82
- };
83
- 208: {
84
- message: string;
85
- };
86
- 209: {
87
- message: string;
88
- };
89
- 210: {
90
- message: string;
91
- };
92
- 211: {
93
- message: string;
94
- };
95
- 212: {
96
- message: string;
97
- };
98
- 214: {
99
- message: string;
100
- };
101
- 215: {
102
- message: string;
103
- };
104
- 216: {
105
- message: string;
106
- };
107
- 217: {
108
- message: string;
109
- };
110
- 218: {
111
- message: string;
112
- };
113
- 300: {
114
- message: string;
115
- };
116
- 301: {
117
- message: string;
118
- };
119
- 302: {
120
- message: string;
121
- };
122
- 303: {
123
- message: string;
124
- };
125
- 400: {
126
- message: string;
127
- };
128
- };
129
- export declare class BridgeContract {
130
- readonly options: ClassOptions;
131
- spec: ContractSpec;
132
- constructor(options: ClassOptions);
133
- private readonly parsers;
134
- /**
135
- * Construct and simulate a swap_and_bridge transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
136
- */
137
- swapAndBridge: ({ sender, token, amount, recipient, destination_chain_id, receive_token, nonce, gas_amount, fee_token_amount, }: {
138
- sender: string;
139
- token: string;
140
- amount: u128;
141
- recipient: Buffer;
142
- destination_chain_id: u32;
143
- receive_token: Buffer;
144
- nonce: u256;
145
- gas_amount: u128;
146
- fee_token_amount: u128;
147
- }, options?: {
148
- /**
149
- * The fee to pay for the transaction. Default: 100.
150
- */
151
- fee?: number;
152
- }) => Promise<string>;
153
- /**
154
- * Construct and simulate a swap transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
155
- */
156
- swap: ({ sender, amount, token, receive_token, recipient, receive_amount_min, }: {
157
- sender: string;
158
- amount: u128;
159
- token: Buffer;
160
- receive_token: Buffer;
161
- recipient: string;
162
- receive_amount_min: u128;
163
- }, options?: {
164
- /**
165
- * The fee to pay for the transaction. Default: 100.
166
- */
167
- fee?: number;
168
- }) => Promise<string>;
169
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"bridge.js","sourceRoot":"","sources":["../../../../../src/services/models/srb/bridge.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;AAEtD,6CAAoD;AAEpD,+DAAuD;AACvD,uDAAiE;AAGjE,+DAA6C;AAC7C,iEAA+C;AAElC,QAAA,QAAQ,GAAG;IACtB,OAAO,EAAE;QACP,iBAAiB,EAAE,mCAAmC;QACtD,UAAU,EAAE,0DAA0D;KACvE;CACO,CAAC;AAEX;;GAEG;AACU,QAAA,MAAM,GAAG;IACpB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClB,CAAC,EAAE,EAAE,OAA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AkE;YAClE,8HAA8H;YAC9H,0PAA0P;YAC1P,8NAA8N;YAC9N,8MAA8M;YAC9M,8KAA8K;YAC9K,0HAA0H;YAC1H,8HAA8H;YAC9H,8jBAA8jB;YAC9jB,0LAA0L;YAC1L,8DAA8D;YAC9D,0EAA0E;YAC1E,0EAA0E;YAC1E,kEAAkE;YAClE,0EAA0E;YAC1E,k8CAAk8C;SACn8C,CAAC,CAAC;IACL,CAAC;CA6GF;AA5JD,wCA4JC"}
@@ -1,293 +0,0 @@
1
- import { ContractSpec } from "stellar-sdk";
2
- import type { u128, u32 } from "../../utils/srb/assembled-tx";
3
- import { AssembledTransaction, Err, Ok } from "../../utils/srb/assembled-tx";
4
- import type { ClassOptions } from "../../utils/srb/method-options";
5
- export * from "../../utils/srb/assembled-tx";
6
- export * from "../../utils/srb/method-options";
7
- export declare const networks: {
8
- readonly testnet: {
9
- readonly networkPassphrase: "Test SDF Network ; September 2015";
10
- readonly contractId: "CAAIJH55UJZXY7YZ3QQJ5S43KAY4ACEU5EBNS6NLUKJXRQEU2ZC36MUR";
11
- };
12
- };
13
- /**
14
-
15
- */
16
- export interface Deposit {
17
- /**
18
-
19
- */
20
- amount: u128;
21
- /**
22
-
23
- */
24
- user: string;
25
- }
26
- /**
27
-
28
- */
29
- export interface Withdraw {
30
- /**
31
-
32
- */
33
- amount: u128;
34
- /**
35
-
36
- */
37
- user: string;
38
- }
39
- /**
40
-
41
- */
42
- export interface Pool {
43
- /**
44
-
45
- */
46
- a: u128;
47
- /**
48
-
49
- */
50
- acc_reward_per_share_p: u128;
51
- /**
52
-
53
- */
54
- admin_fee_amount: u128;
55
- /**
56
-
57
- */
58
- admin_fee_share_bp: u128;
59
- /**
60
-
61
- */
62
- balance_ratio_min_bp: u128;
63
- /**
64
-
65
- */
66
- can_deposit: boolean;
67
- /**
68
-
69
- */
70
- can_withdraw: boolean;
71
- /**
72
-
73
- */
74
- d: u128;
75
- /**
76
-
77
- */
78
- decimals: u32;
79
- /**
80
-
81
- */
82
- fee_share_bp: u128;
83
- /**
84
-
85
- */
86
- reserves: u128;
87
- /**
88
-
89
- */
90
- token: string;
91
- /**
92
-
93
- */
94
- token_balance: u128;
95
- /**
96
-
97
- */
98
- total_lp_amount: u128;
99
- /**
100
-
101
- */
102
- v_usd_balance: u128;
103
- }
104
- /**
105
-
106
- */
107
- export interface UserDeposit {
108
- /**
109
-
110
- */
111
- lp_amount: u128;
112
- /**
113
-
114
- */
115
- reward_debt: u128;
116
- }
117
- /**
118
-
119
- */
120
- export declare const Errors: {
121
- 0: {
122
- message: string;
123
- };
124
- 1: {
125
- message: string;
126
- };
127
- 2: {
128
- message: string;
129
- };
130
- 3: {
131
- message: string;
132
- };
133
- 4: {
134
- message: string;
135
- };
136
- 5: {
137
- message: string;
138
- };
139
- 6: {
140
- message: string;
141
- };
142
- 7: {
143
- message: string;
144
- };
145
- 8: {
146
- message: string;
147
- };
148
- 9: {
149
- message: string;
150
- };
151
- 103: {
152
- message: string;
153
- };
154
- 104: {
155
- message: string;
156
- };
157
- 105: {
158
- message: string;
159
- };
160
- 106: {
161
- message: string;
162
- };
163
- 107: {
164
- message: string;
165
- };
166
- 108: {
167
- message: string;
168
- };
169
- 109: {
170
- message: string;
171
- };
172
- 203: {
173
- message: string;
174
- };
175
- 204: {
176
- message: string;
177
- };
178
- 205: {
179
- message: string;
180
- };
181
- 206: {
182
- message: string;
183
- };
184
- 207: {
185
- message: string;
186
- };
187
- 208: {
188
- message: string;
189
- };
190
- 209: {
191
- message: string;
192
- };
193
- 210: {
194
- message: string;
195
- };
196
- 211: {
197
- message: string;
198
- };
199
- 212: {
200
- message: string;
201
- };
202
- 214: {
203
- message: string;
204
- };
205
- 215: {
206
- message: string;
207
- };
208
- 216: {
209
- message: string;
210
- };
211
- 217: {
212
- message: string;
213
- };
214
- 218: {
215
- message: string;
216
- };
217
- 300: {
218
- message: string;
219
- };
220
- 301: {
221
- message: string;
222
- };
223
- 302: {
224
- message: string;
225
- };
226
- 303: {
227
- message: string;
228
- };
229
- 400: {
230
- message: string;
231
- };
232
- };
233
- export declare class PoolContract {
234
- readonly options: ClassOptions;
235
- spec: ContractSpec;
236
- constructor(options: ClassOptions);
237
- private readonly parsers;
238
- /**
239
- * Construct and simulate a deposit transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
240
- */
241
- depositXdr: ({ sender, amount }: {
242
- sender: string;
243
- amount: u128;
244
- }, options?: {
245
- /**
246
- * The fee to pay for the transaction. Default: 100.
247
- */
248
- fee?: number;
249
- }) => Promise<string>;
250
- /**
251
- * Construct and simulate a withdraw transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
252
- */
253
- withdrawXdr: ({ sender, amount_lp }: {
254
- sender: string;
255
- amount_lp: u128;
256
- }, options?: {
257
- /**
258
- * The fee to pay for the transaction. Default: 100.
259
- */
260
- fee?: number;
261
- }) => Promise<string>;
262
- /**
263
- * Construct and simulate a claim_rewards transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
264
- */
265
- claimRewardsXdr: ({ sender }: {
266
- sender: string;
267
- }, options?: {
268
- /**
269
- * The fee to pay for the transaction. Default: 100.
270
- */
271
- fee?: number;
272
- }) => Promise<string>;
273
- /**
274
- * Construct and simulate a get_pool transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
275
- */
276
- getPool: (options?: {
277
- /**
278
- * The fee to pay for the transaction. Default: 100.
279
- */
280
- fee?: number;
281
- }) => Promise<AssembledTransaction<Err<import("../../utils/srb/assembled-tx").Error_> | Ok<Pool, import("../../utils/srb/assembled-tx").Error_>>>;
282
- /**
283
- * Construct and simulate a get_user_deposit transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
284
- */
285
- getUserDeposit: ({ user }: {
286
- user: string;
287
- }, options?: {
288
- /**
289
- * The fee to pay for the transaction. Default: 100.
290
- */
291
- fee?: number;
292
- }) => Promise<AssembledTransaction<Err<import("../../utils/srb/assembled-tx").Error_> | Ok<UserDeposit, import("../../utils/srb/assembled-tx").Error_>>>;
293
- }