@gearbox-protocol/sdk 14.10.6 → 14.10.7

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.
@@ -25,7 +25,8 @@ __export(errors_exports, {
25
25
  iRedstoneErrorsAbi: () => iRedstoneErrorsAbi,
26
26
  iRedstonePriceFeedExceptionsAbi: () => iRedstonePriceFeedExceptionsAbi,
27
27
  iRouterErrorsV310Abi: () => iRouterErrorsV310Abi,
28
- ilpPriceFeedExceptionsAbi: () => ilpPriceFeedExceptionsAbi
28
+ ilpPriceFeedExceptionsAbi: () => ilpPriceFeedExceptionsAbi,
29
+ safeERC20ErrorsAbi: () => safeERC20ErrorsAbi
29
30
  });
30
31
  module.exports = __toCommonJS(errors_exports);
31
32
  const iRedstonePriceFeedExceptionsAbi = [
@@ -354,8 +355,46 @@ const iERC20ErrorsAbi = [
354
355
  ]
355
356
  }
356
357
  ];
358
+ const safeERC20ErrorsAbi = [
359
+ {
360
+ type: "error",
361
+ name: "ForceApproveFailed",
362
+ inputs: []
363
+ },
364
+ {
365
+ type: "error",
366
+ name: "Permit2TransferAmountTooHigh",
367
+ inputs: []
368
+ },
369
+ {
370
+ type: "error",
371
+ name: "SafeDecreaseAllowanceFailed",
372
+ inputs: []
373
+ },
374
+ {
375
+ type: "error",
376
+ name: "SafeIncreaseAllowanceFailed",
377
+ inputs: []
378
+ },
379
+ {
380
+ type: "error",
381
+ name: "SafePermitBadLength",
382
+ inputs: []
383
+ },
384
+ {
385
+ type: "error",
386
+ name: "SafeTransferFailed",
387
+ inputs: []
388
+ },
389
+ {
390
+ type: "error",
391
+ name: "SafeTransferFromFailed",
392
+ inputs: []
393
+ }
394
+ ];
357
395
  const errorAbis = [
358
396
  ...iERC20ErrorsAbi,
397
+ ...safeERC20ErrorsAbi,
359
398
  ...iExceptionsV310Abi,
360
399
  ...iRedstonePriceFeedExceptionsAbi,
361
400
  ...iRedstoneErrorsAbi,
@@ -372,5 +411,6 @@ const errorAbis = [
372
411
  iRedstoneErrorsAbi,
373
412
  iRedstonePriceFeedExceptionsAbi,
374
413
  iRouterErrorsV310Abi,
375
- ilpPriceFeedExceptionsAbi
414
+ ilpPriceFeedExceptionsAbi,
415
+ safeERC20ErrorsAbi
376
416
  });
@@ -324,8 +324,46 @@ const iERC20ErrorsAbi = [
324
324
  ]
325
325
  }
326
326
  ];
327
+ const safeERC20ErrorsAbi = [
328
+ {
329
+ type: "error",
330
+ name: "ForceApproveFailed",
331
+ inputs: []
332
+ },
333
+ {
334
+ type: "error",
335
+ name: "Permit2TransferAmountTooHigh",
336
+ inputs: []
337
+ },
338
+ {
339
+ type: "error",
340
+ name: "SafeDecreaseAllowanceFailed",
341
+ inputs: []
342
+ },
343
+ {
344
+ type: "error",
345
+ name: "SafeIncreaseAllowanceFailed",
346
+ inputs: []
347
+ },
348
+ {
349
+ type: "error",
350
+ name: "SafePermitBadLength",
351
+ inputs: []
352
+ },
353
+ {
354
+ type: "error",
355
+ name: "SafeTransferFailed",
356
+ inputs: []
357
+ },
358
+ {
359
+ type: "error",
360
+ name: "SafeTransferFromFailed",
361
+ inputs: []
362
+ }
363
+ ];
327
364
  const errorAbis = [
328
365
  ...iERC20ErrorsAbi,
366
+ ...safeERC20ErrorsAbi,
329
367
  ...iExceptionsV310Abi,
330
368
  ...iRedstonePriceFeedExceptionsAbi,
331
369
  ...iRedstoneErrorsAbi,
@@ -341,5 +379,6 @@ export {
341
379
  iRedstoneErrorsAbi,
342
380
  iRedstonePriceFeedExceptionsAbi,
343
381
  iRouterErrorsV310Abi,
344
- ilpPriceFeedExceptionsAbi
382
+ ilpPriceFeedExceptionsAbi,
383
+ safeERC20ErrorsAbi
345
384
  };
@@ -629,6 +629,35 @@ export declare const iERC20ErrorsAbi: readonly [{
629
629
  readonly internalType: "address";
630
630
  }];
631
631
  }];
632
+ export declare const safeERC20ErrorsAbi: readonly [{
633
+ readonly type: "error";
634
+ readonly name: "ForceApproveFailed";
635
+ readonly inputs: readonly [];
636
+ }, {
637
+ readonly type: "error";
638
+ readonly name: "Permit2TransferAmountTooHigh";
639
+ readonly inputs: readonly [];
640
+ }, {
641
+ readonly type: "error";
642
+ readonly name: "SafeDecreaseAllowanceFailed";
643
+ readonly inputs: readonly [];
644
+ }, {
645
+ readonly type: "error";
646
+ readonly name: "SafeIncreaseAllowanceFailed";
647
+ readonly inputs: readonly [];
648
+ }, {
649
+ readonly type: "error";
650
+ readonly name: "SafePermitBadLength";
651
+ readonly inputs: readonly [];
652
+ }, {
653
+ readonly type: "error";
654
+ readonly name: "SafeTransferFailed";
655
+ readonly inputs: readonly [];
656
+ }, {
657
+ readonly type: "error";
658
+ readonly name: "SafeTransferFromFailed";
659
+ readonly inputs: readonly [];
660
+ }];
632
661
  export declare const errorAbis: readonly [{
633
662
  readonly type: "error";
634
663
  readonly name: "ERC20InsufficientAllowance";
@@ -693,6 +722,34 @@ export declare const errorAbis: readonly [{
693
722
  readonly type: "address";
694
723
  readonly internalType: "address";
695
724
  }];
725
+ }, {
726
+ readonly type: "error";
727
+ readonly name: "ForceApproveFailed";
728
+ readonly inputs: readonly [];
729
+ }, {
730
+ readonly type: "error";
731
+ readonly name: "Permit2TransferAmountTooHigh";
732
+ readonly inputs: readonly [];
733
+ }, {
734
+ readonly type: "error";
735
+ readonly name: "SafeDecreaseAllowanceFailed";
736
+ readonly inputs: readonly [];
737
+ }, {
738
+ readonly type: "error";
739
+ readonly name: "SafeIncreaseAllowanceFailed";
740
+ readonly inputs: readonly [];
741
+ }, {
742
+ readonly type: "error";
743
+ readonly name: "SafePermitBadLength";
744
+ readonly inputs: readonly [];
745
+ }, {
746
+ readonly type: "error";
747
+ readonly name: "SafeTransferFailed";
748
+ readonly inputs: readonly [];
749
+ }, {
750
+ readonly type: "error";
751
+ readonly name: "SafeTransferFromFailed";
752
+ readonly inputs: readonly [];
696
753
  }, {
697
754
  readonly type: "error";
698
755
  readonly name: "ActiveCreditAccountNotSetException";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "14.10.6",
3
+ "version": "14.10.7",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {