@azuro-org/toolkit 5.0.0-beta.1 → 5.0.0-beta.2

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.
@@ -20,7 +20,7 @@ declare const _default: readonly [{
20
20
  readonly type: "error";
21
21
  }, {
22
22
  readonly inputs: readonly [];
23
- readonly name: "CobmoBetResolving";
23
+ readonly name: "ComboBetResolving";
24
24
  readonly type: "error";
25
25
  }, {
26
26
  readonly inputs: readonly [];
@@ -134,14 +134,6 @@ declare const _default: readonly [{
134
134
  readonly inputs: readonly [];
135
135
  readonly name: "OddsTooSmall";
136
136
  readonly type: "error";
137
- }, {
138
- readonly inputs: readonly [{
139
- readonly internalType: "uint256";
140
- readonly name: "conditionId";
141
- readonly type: "uint256";
142
- }];
143
- readonly name: "OneOfConditionsInComboNotFinished";
144
- readonly type: "error";
145
137
  }, {
146
138
  readonly inputs: readonly [];
147
139
  readonly name: "OnlyLp";
@@ -172,7 +164,7 @@ declare const _default: readonly [{
172
164
  readonly type: "error";
173
165
  }, {
174
166
  readonly inputs: readonly [];
175
- readonly name: "PayoutLimit";
167
+ readonly name: "PotentialLossLimit";
176
168
  readonly type: "error";
177
169
  }, {
178
170
  readonly inputs: readonly [{
@@ -352,7 +344,7 @@ declare const _default: readonly [{
352
344
  }, {
353
345
  readonly indexed: false;
354
346
  readonly internalType: "uint128";
355
- readonly name: "payoutLimit";
347
+ readonly name: "potentialLossLimit";
356
348
  readonly type: "uint128";
357
349
  }];
358
350
  readonly name: "NewLiveBet";
@@ -527,7 +519,7 @@ declare const _default: readonly [{
527
519
  readonly type: "uint128[]";
528
520
  }, {
529
521
  readonly internalType: "uint128";
530
- readonly name: "payoutLimit";
522
+ readonly name: "potentialLossLimit";
531
523
  readonly type: "uint128";
532
524
  }, {
533
525
  readonly internalType: "uint8";
@@ -680,7 +672,7 @@ declare const _default: readonly [{
680
672
  readonly type: "uint128[]";
681
673
  }, {
682
674
  readonly internalType: "uint128";
683
- readonly name: "payoutLimit";
675
+ readonly name: "potentialLossLimit";
684
676
  readonly type: "uint128";
685
677
  }, {
686
678
  readonly internalType: "uint8";
@@ -854,7 +846,7 @@ declare const _default: readonly [{
854
846
  readonly type: "uint128[]";
855
847
  }, {
856
848
  readonly internalType: "uint128";
857
- readonly name: "payoutLimit";
849
+ readonly name: "potentialLossLimit";
858
850
  readonly type: "uint128";
859
851
  }, {
860
852
  readonly internalType: "uint8";
package/dist/abis/LP.d.ts CHANGED
@@ -453,7 +453,7 @@ declare const _default: readonly [{
453
453
  readonly type: "uint128[]";
454
454
  }, {
455
455
  readonly internalType: "uint128";
456
- readonly name: "payoutLimit";
456
+ readonly name: "potentialLossLimit";
457
457
  readonly type: "uint128";
458
458
  }, {
459
459
  readonly internalType: "uint8";
@@ -135,7 +135,7 @@ declare const _default: readonly [{
135
135
  readonly type: "uint128[]";
136
136
  }, {
137
137
  readonly internalType: "uint128";
138
- readonly name: "payoutLimit";
138
+ readonly name: "potentialLossLimit";
139
139
  readonly type: "uint128";
140
140
  }, {
141
141
  readonly internalType: "uint8";
@@ -203,7 +203,7 @@ declare const _default: readonly [{
203
203
  readonly type: "uint128[]";
204
204
  }, {
205
205
  readonly internalType: "uint128";
206
- readonly name: "payoutLimit";
206
+ readonly name: "potentialLossLimit";
207
207
  readonly type: "uint128";
208
208
  }, {
209
209
  readonly internalType: "uint8";
@@ -300,7 +300,7 @@ declare const _default: readonly [{
300
300
  readonly type: "uint128[]";
301
301
  }, {
302
302
  readonly internalType: "uint128";
303
- readonly name: "payoutLimit";
303
+ readonly name: "potentialLossLimit";
304
304
  readonly type: "uint128";
305
305
  }, {
306
306
  readonly internalType: "uint8";
package/dist/index.js CHANGED
@@ -604,7 +604,7 @@ const environments = {
604
604
  },
605
605
  {
606
606
  'internalType': 'uint128',
607
- 'name': 'payoutLimit',
607
+ 'name': 'potentialLossLimit',
608
608
  'type': 'uint128',
609
609
  },
610
610
  {
@@ -1532,17 +1532,6 @@ const environments = {
1532
1532
  'name': 'OddsTooSmall',
1533
1533
  'type': 'error',
1534
1534
  },
1535
- {
1536
- 'inputs': [
1537
- {
1538
- 'internalType': 'uint256',
1539
- 'name': 'conditionId',
1540
- 'type': 'uint256',
1541
- },
1542
- ],
1543
- 'name': 'OneOfConditionsInComboNotFinished',
1544
- 'type': 'error',
1545
- },
1546
1535
  {
1547
1536
  'inputs': [],
1548
1537
  'name': 'OnlyLp',
@@ -1583,7 +1572,7 @@ const environments = {
1583
1572
  },
1584
1573
  {
1585
1574
  'inputs': [],
1586
- 'name': 'PayoutLimit',
1575
+ 'name': 'PotentialLossLimit',
1587
1576
  'type': 'error',
1588
1577
  },
1589
1578
  {
@@ -1809,7 +1798,7 @@ const environments = {
1809
1798
  {
1810
1799
  'indexed': false,
1811
1800
  'internalType': 'uint128',
1812
- 'name': 'payoutLimit',
1801
+ 'name': 'potentialLossLimit',
1813
1802
  'type': 'uint128',
1814
1803
  },
1815
1804
  ],
@@ -2035,7 +2024,7 @@ const environments = {
2035
2024
  },
2036
2025
  {
2037
2026
  'internalType': 'uint128',
2038
- 'name': 'payoutLimit',
2027
+ 'name': 'potentialLossLimit',
2039
2028
  'type': 'uint128',
2040
2029
  },
2041
2030
  {
@@ -2233,7 +2222,7 @@ const environments = {
2233
2222
  },
2234
2223
  {
2235
2224
  'internalType': 'uint128',
2236
- 'name': 'payoutLimit',
2225
+ 'name': 'potentialLossLimit',
2237
2226
  'type': 'uint128',
2238
2227
  },
2239
2228
  {
@@ -2461,7 +2450,7 @@ const environments = {
2461
2450
  },
2462
2451
  {
2463
2452
  'internalType': 'uint128',
2464
- 'name': 'payoutLimit',
2453
+ 'name': 'potentialLossLimit',
2465
2454
  'type': 'uint128',
2466
2455
  },
2467
2456
  {
@@ -3466,7 +3455,7 @@ const environments = {
3466
3455
  },
3467
3456
  {
3468
3457
  'inputs': [],
3469
- 'name': 'CobmoBetResolving',
3458
+ 'name': 'ComboBetResolving',
3470
3459
  'type': 'error',
3471
3460
  },
3472
3461
  {
@@ -4157,7 +4146,7 @@ const environments = {
4157
4146
  },
4158
4147
  {
4159
4148
  'internalType': 'uint128',
4160
- 'name': 'payoutLimit',
4149
+ 'name': 'potentialLossLimit',
4161
4150
  'type': 'uint128',
4162
4151
  },
4163
4152
  {
@@ -4244,7 +4233,7 @@ const environments = {
4244
4233
  },
4245
4234
  {
4246
4235
  'internalType': 'uint128',
4247
- 'name': 'payoutLimit',
4236
+ 'name': 'potentialLossLimit',
4248
4237
  'type': 'uint128',
4249
4238
  },
4250
4239
  {
@@ -4369,7 +4358,7 @@ const environments = {
4369
4358
  },
4370
4359
  {
4371
4360
  'internalType': 'uint128',
4372
- 'name': 'payoutLimit',
4361
+ 'name': 'potentialLossLimit',
4373
4362
  'type': 'uint128',
4374
4363
  },
4375
4364
  {
@@ -4700,11 +4689,11 @@ const polygonAmoyDevData = {
4700
4689
  api: getApiEndpoint(polygonAmoy.id),
4701
4690
  environment: environments[polygonAmoy.id],
4702
4691
  contracts: setupContracts({
4703
- lp: '0x42a63B59eE5c30aeE5d533a1D2286b60d3969D6e',
4704
- core: '0x8AB5BD8E33EC8791e76ed2fC26Cb15aCfD47bEf5',
4705
- relayer: '0x8DEb193991aAA60D2EC770D5ea0dDED44368BA56',
4706
- azuroBet: '0x3846f4A3759a9DB5E0A14dCF3e7026b885ed738C',
4707
- cashout: '0x3B14f6528050eF8Fd710552D8c30434D57D1C4ec',
4692
+ lp: '0x79A8d0e954A1275DFe6A2a8acDD136718B54cA16',
4693
+ core: '0xe6AA5BAE8a4fFe65dD60a1868C1044Cb05d55195',
4694
+ relayer: '0x40cff79D064DA1723F838B2Aaad2cfE1ba5b2812',
4695
+ azuroBet: '0x8583942bEFd6dc0166Dfb0b9fd680457e01A94Ca',
4696
+ cashout: '0x43Ec9E387dC3f11CEAF9a428BD8c1Df47823ce7C',
4708
4697
  }),
4709
4698
  betToken: {
4710
4699
  address: '0xCf1b86ceD971b88C042C64A9c099377e2738073C',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.2",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",