@augustdigital/sdk 4.24.3-alpha.3 → 4.24.4

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 (86) hide show
  1. package/lib/abis/index.d.ts +0 -1
  2. package/lib/abis/index.js +0 -1
  3. package/lib/abis/index.js.map +1 -1
  4. package/lib/core/constants/core.d.ts +1 -0
  5. package/lib/core/constants/core.js +1 -0
  6. package/lib/core/constants/core.js.map +1 -1
  7. package/lib/core/constants/vaults.js +0 -1
  8. package/lib/core/constants/vaults.js.map +1 -1
  9. package/lib/core/constants/web3.js +6 -0
  10. package/lib/core/constants/web3.js.map +1 -1
  11. package/lib/core/fetcher.js +0 -40
  12. package/lib/core/fetcher.js.map +1 -1
  13. package/lib/core/index.d.ts +0 -3
  14. package/lib/core/index.js +0 -3
  15. package/lib/core/index.js.map +1 -1
  16. package/lib/main.d.ts +4 -0
  17. package/lib/main.js +42 -0
  18. package/lib/main.js.map +1 -1
  19. package/lib/modules/vaults/getters.js +0 -7
  20. package/lib/modules/vaults/getters.js.map +1 -1
  21. package/lib/modules/vaults/main.d.ts +1 -4
  22. package/lib/modules/vaults/main.js +35 -28
  23. package/lib/modules/vaults/main.js.map +1 -1
  24. package/lib/modules/vaults/read.actions.d.ts +0 -7
  25. package/lib/modules/vaults/read.actions.js +0 -25
  26. package/lib/modules/vaults/read.actions.js.map +1 -1
  27. package/lib/modules/vaults/write.actions.d.ts +0 -8
  28. package/lib/modules/vaults/write.actions.js +23 -104
  29. package/lib/modules/vaults/write.actions.js.map +1 -1
  30. package/lib/services/layerzero/deposits.d.ts +26 -0
  31. package/lib/services/layerzero/deposits.js +104 -0
  32. package/lib/services/layerzero/deposits.js.map +1 -0
  33. package/lib/types/index.d.ts +0 -1
  34. package/lib/types/index.js +0 -1
  35. package/lib/types/index.js.map +1 -1
  36. package/lib/types/vaults.d.ts +0 -10
  37. package/lib/types/vaults.js.map +1 -1
  38. package/package.json +12 -12
  39. package/lib/abis/RwaRedeem.d.ts +0 -76
  40. package/lib/abis/RwaRedeem.js +0 -55
  41. package/lib/abis/RwaRedeem.js.map +0 -1
  42. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.d.ts +0 -85
  43. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js +0 -1878
  44. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js.map +0 -1
  45. package/lib/core/constants/hardcoded-vaults.d.ts +0 -7
  46. package/lib/core/constants/hardcoded-vaults.js +0 -171
  47. package/lib/core/constants/hardcoded-vaults.js.map +0 -1
  48. package/lib/core/constants/rwa-vaults.d.ts +0 -4
  49. package/lib/core/constants/rwa-vaults.js +0 -27
  50. package/lib/core/constants/rwa-vaults.js.map +0 -1
  51. package/lib/core/constants.adapters.d.ts +0 -117
  52. package/lib/core/constants.adapters.js +0 -160
  53. package/lib/core/constants.adapters.js.map +0 -1
  54. package/lib/core/constants.core.d.ts +0 -78
  55. package/lib/core/constants.core.js +0 -75
  56. package/lib/core/constants.core.js.map +0 -1
  57. package/lib/core/constants.vaults.d.ts +0 -64
  58. package/lib/core/constants.vaults.js +0 -156
  59. package/lib/core/constants.vaults.js.map +0 -1
  60. package/lib/core/constants.web3.d.ts +0 -31
  61. package/lib/core/constants.web3.js +0 -100
  62. package/lib/core/constants.web3.js.map +0 -1
  63. package/lib/core/helpers/address-utils.d.ts +0 -3
  64. package/lib/core/helpers/address-utils.js +0 -18
  65. package/lib/core/helpers/address-utils.js.map +0 -1
  66. package/lib/core/helpers.adapters.d.ts +0 -9
  67. package/lib/core/helpers.adapters.js +0 -28
  68. package/lib/core/helpers.adapters.js.map +0 -1
  69. package/lib/core/helpers.core.d.ts +0 -48
  70. package/lib/core/helpers.core.js +0 -210
  71. package/lib/core/helpers.core.js.map +0 -1
  72. package/lib/core/helpers.signer.d.ts +0 -9
  73. package/lib/core/helpers.signer.js +0 -54
  74. package/lib/core/helpers.signer.js.map +0 -1
  75. package/lib/core/helpers.vaults.d.ts +0 -36
  76. package/lib/core/helpers.vaults.js +0 -145
  77. package/lib/core/helpers.vaults.js.map +0 -1
  78. package/lib/core/helpers.web3.d.ts +0 -95
  79. package/lib/core/helpers.web3.js +0 -376
  80. package/lib/core/helpers.web3.js.map +0 -1
  81. package/lib/types/rwa-redemption.d.ts +0 -12
  82. package/lib/types/rwa-redemption.js +0 -3
  83. package/lib/types/rwa-redemption.js.map +0 -1
  84. package/lib/verify.d.ts +0 -2
  85. package/lib/verify.js +0 -33
  86. package/lib/verify.js.map +0 -1
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ABI_RWA_REDEEM = void 0;
4
- exports.ABI_RWA_REDEEM = [
5
- {
6
- name: 'redeemAsset',
7
- type: 'function',
8
- stateMutability: 'nonpayable',
9
- inputs: [
10
- { name: 'asset', type: 'address' },
11
- { name: 'amount', type: 'uint256' },
12
- { name: 'minOut', type: 'uint256' },
13
- ],
14
- outputs: [{ name: '', type: 'uint256' }],
15
- },
16
- {
17
- name: 'previewRedemption',
18
- type: 'function',
19
- stateMutability: 'view',
20
- inputs: [
21
- { name: 'asset', type: 'address' },
22
- { name: 'amount', type: 'uint256' },
23
- ],
24
- outputs: [{ name: '', type: 'uint256' }],
25
- },
26
- {
27
- name: 'availableLiquidity',
28
- type: 'function',
29
- stateMutability: 'view',
30
- inputs: [],
31
- outputs: [{ name: '', type: 'uint256' }],
32
- },
33
- {
34
- name: 'redeemableAssets',
35
- type: 'function',
36
- stateMutability: 'view',
37
- inputs: [{ name: '', type: 'address' }],
38
- outputs: [{ name: '', type: 'bool' }],
39
- },
40
- {
41
- name: 'redemptionSpreadBps',
42
- type: 'function',
43
- stateMutability: 'view',
44
- inputs: [{ name: '', type: 'address' }],
45
- outputs: [{ name: '', type: 'uint256' }],
46
- },
47
- {
48
- name: 'redemptionsPaused',
49
- type: 'function',
50
- stateMutability: 'view',
51
- inputs: [],
52
- outputs: [{ name: '', type: 'bool' }],
53
- },
54
- ];
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I,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACvC,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;CACO,CAAC"}
@@ -1,85 +0,0 @@
1
- export declare const TokenizedVaultV2WithDepositWithPermit: (
2
- | {
3
- type: string;
4
- inputs: any[];
5
- stateMutability: string;
6
- name?: undefined;
7
- outputs?: undefined;
8
- anonymous?: undefined;
9
- }
10
- | {
11
- type: string;
12
- name: string;
13
- inputs: {
14
- name: string;
15
- type: string;
16
- internalType: string;
17
- }[];
18
- outputs: {
19
- name: string;
20
- type: string;
21
- internalType: string;
22
- }[];
23
- stateMutability: string;
24
- anonymous?: undefined;
25
- }
26
- | {
27
- type: string;
28
- name: string;
29
- inputs: {
30
- name: string;
31
- type: string;
32
- internalType: string;
33
- components: {
34
- name: string;
35
- type: string;
36
- internalType: string;
37
- }[];
38
- }[];
39
- outputs: any[];
40
- stateMutability: string;
41
- anonymous?: undefined;
42
- }
43
- | {
44
- type: string;
45
- name: string;
46
- inputs: any[];
47
- outputs: {
48
- name: string;
49
- type: string;
50
- internalType: string;
51
- components: {
52
- name: string;
53
- type: string;
54
- internalType: string;
55
- }[];
56
- }[];
57
- stateMutability: string;
58
- anonymous?: undefined;
59
- }
60
- | {
61
- type: string;
62
- name: string;
63
- inputs: {
64
- name: string;
65
- type: string;
66
- indexed: boolean;
67
- internalType: string;
68
- }[];
69
- anonymous: boolean;
70
- stateMutability?: undefined;
71
- outputs?: undefined;
72
- }
73
- | {
74
- type: string;
75
- name: string;
76
- inputs: {
77
- name: string;
78
- type: string;
79
- internalType: string;
80
- }[];
81
- stateMutability?: undefined;
82
- outputs?: undefined;
83
- anonymous?: undefined;
84
- }
85
- )[];