@augustdigital/sdk 4.15.5-alpha.0 → 4.17.0-alpha.0

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 (117) hide show
  1. package/lib/abis/AddressResolver.d.ts +28 -40
  2. package/lib/abis/ChainlinkV3.d.ts +83 -109
  3. package/lib/abis/ERC20.d.ts +137 -191
  4. package/lib/abis/ERC20_Bytes32.d.ts +125 -178
  5. package/lib/abis/ERC4626.d.ts +341 -480
  6. package/lib/abis/ERC721.d.ts +213 -299
  7. package/lib/abis/FeeOracle.d.ts +112 -149
  8. package/lib/abis/LendingPool.d.ts +1293 -1702
  9. package/lib/abis/LendingPoolV2.d.ts +37 -42
  10. package/lib/abis/LendingPoolV3.d.ts +25 -29
  11. package/lib/abis/Loan.d.ts +768 -1007
  12. package/lib/abis/Multicall3.d.ts +30 -43
  13. package/lib/abis/PoolAdapter.d.ts +35 -46
  14. package/lib/abis/RewardDistributor.d.ts +33 -38
  15. package/lib/abis/SmartAccount.d.ts +16 -23
  16. package/lib/abis/TextResolver.d.ts +16 -23
  17. package/lib/abis/TokenizedVaultV2.d.ts +1292 -1684
  18. package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +55 -62
  19. package/lib/abis/TokenizedVaultV2Receipt.d.ts +1463 -1934
  20. package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +250 -333
  21. package/lib/abis/UniversalResolverResolve.d.ts +69 -97
  22. package/lib/abis/UniversalSignatureValidator.d.ts +17 -23
  23. package/lib/abis/WrapperAdapter.d.ts +67 -89
  24. package/lib/adapters/evm/getters.d.ts +2 -8
  25. package/lib/adapters/evm/index.d.ts +15 -19
  26. package/lib/adapters/evm/utils.d.ts +2 -12
  27. package/lib/adapters/solana/constants.d.ts +17 -23
  28. package/lib/adapters/solana/getters.d.ts +1 -4
  29. package/lib/adapters/solana/idl/vault-idl.d.ts +279 -340
  30. package/lib/adapters/solana/index.d.ts +116 -212
  31. package/lib/adapters/solana/types.d.ts +50 -50
  32. package/lib/adapters/solana/utils.d.ts +78 -139
  33. package/lib/adapters/solana/vault.actions.d.ts +12 -37
  34. package/lib/adapters/sui/constants.d.ts +9 -9
  35. package/lib/adapters/sui/constants.js +8 -1
  36. package/lib/adapters/sui/constants.js.map +1 -1
  37. package/lib/adapters/sui/getters.d.ts +1 -3
  38. package/lib/adapters/sui/index.d.ts +21 -29
  39. package/lib/adapters/sui/transformer.d.ts +2 -6
  40. package/lib/adapters/sui/types.d.ts +56 -56
  41. package/lib/adapters/sui/utils.d.ts +1 -4
  42. package/lib/core/analytics/constants.d.ts +12 -0
  43. package/lib/core/analytics/constants.js +49 -0
  44. package/lib/core/analytics/constants.js.map +1 -0
  45. package/lib/core/analytics/index.d.ts +6 -0
  46. package/lib/core/analytics/index.js +31 -0
  47. package/lib/core/analytics/index.js.map +1 -0
  48. package/lib/core/analytics/instrumentation.d.ts +2 -0
  49. package/lib/core/analytics/instrumentation.js +150 -0
  50. package/lib/core/analytics/instrumentation.js.map +1 -0
  51. package/lib/core/analytics/metrics.d.ts +12 -0
  52. package/lib/core/analytics/metrics.js +133 -0
  53. package/lib/core/analytics/metrics.js.map +1 -0
  54. package/lib/core/analytics/sentry.d.ts +9 -0
  55. package/lib/core/analytics/sentry.js +166 -0
  56. package/lib/core/analytics/sentry.js.map +1 -0
  57. package/lib/core/analytics/types.d.ts +21 -0
  58. package/lib/core/analytics/types.js +3 -0
  59. package/lib/core/analytics/types.js.map +1 -0
  60. package/lib/core/analytics/user-identity.d.ts +8 -0
  61. package/lib/core/analytics/user-identity.js +82 -0
  62. package/lib/core/analytics/user-identity.js.map +1 -0
  63. package/lib/core/analytics/version.d.ts +1 -0
  64. package/lib/core/analytics/version.js +5 -0
  65. package/lib/core/analytics/version.js.map +1 -0
  66. package/lib/core/base.class.d.ts +25 -30
  67. package/lib/core/base.class.js +5 -1
  68. package/lib/core/base.class.js.map +1 -1
  69. package/lib/core/constants/adapters.d.ts +83 -111
  70. package/lib/core/constants/core.d.ts +69 -76
  71. package/lib/core/constants/vaults.d.ts +5 -63
  72. package/lib/core/constants/vaults.js +3 -3
  73. package/lib/core/constants/vaults.js.map +1 -1
  74. package/lib/core/constants/web3.d.ts +18 -19
  75. package/lib/core/fetcher.d.ts +17 -71
  76. package/lib/core/fetcher.js +20 -2
  77. package/lib/core/fetcher.js.map +1 -1
  78. package/lib/core/helpers/adapters.d.ts +2 -7
  79. package/lib/core/helpers/core.d.ts +8 -33
  80. package/lib/core/helpers/signer.d.ts +2 -6
  81. package/lib/core/helpers/vaults.d.ts +15 -38
  82. package/lib/core/helpers/web3.d.ts +19 -87
  83. package/lib/core/index.d.ts +1 -0
  84. package/lib/core/index.js +1 -0
  85. package/lib/core/index.js.map +1 -1
  86. package/lib/core/logger/index.d.ts +11 -11
  87. package/lib/core/logger/slack.d.ts +8 -9
  88. package/lib/index.d.ts +1 -61
  89. package/lib/main.d.ts +141 -158
  90. package/lib/main.js +3 -0
  91. package/lib/main.js.map +1 -1
  92. package/lib/modules/vaults/adapter.helpers.d.ts +38 -72
  93. package/lib/modules/vaults/fetcher.d.ts +69 -85
  94. package/lib/modules/vaults/getters.d.ts +100 -205
  95. package/lib/modules/vaults/index.d.ts +1 -6
  96. package/lib/modules/vaults/main.d.ts +131 -224
  97. package/lib/modules/vaults/main.js +8 -1
  98. package/lib/modules/vaults/main.js.map +1 -1
  99. package/lib/modules/vaults/read.actions.d.ts +2 -8
  100. package/lib/modules/vaults/utils.d.ts +19 -55
  101. package/lib/modules/vaults/write.actions.d.ts +14 -26
  102. package/lib/services/coingecko/fetcher.d.ts +1 -4
  103. package/lib/services/debank/fetcher.d.ts +1 -4
  104. package/lib/services/debank/utils.d.ts +27 -38
  105. package/lib/services/octavfi/fetcher.d.ts +1 -3
  106. package/lib/services/octavfi/types.d.ts +24 -24
  107. package/lib/services/octavfi/utils.d.ts +2 -6
  108. package/lib/services/subgraph/fetcher.d.ts +2 -12
  109. package/lib/services/subgraph/vaults.d.ts +9 -42
  110. package/lib/types/points.d.ts +26 -35
  111. package/lib/types/pools.d.ts +112 -149
  112. package/lib/types/staking.d.ts +25 -25
  113. package/lib/types/subgraph.d.ts +33 -33
  114. package/lib/types/vaults.d.ts +219 -232
  115. package/lib/types/web3.d.ts +9 -9
  116. package/lib/types/webserver.d.ts +448 -466
  117. package/package.json +16 -13
@@ -1,188 +1,135 @@
1
- export declare const ABI_ERC20_BYTES32: readonly [
2
- {
3
- readonly type: 'event';
4
- readonly name: 'Approval';
5
- readonly inputs: readonly [
6
- {
1
+ export declare const ABI_ERC20_BYTES32: readonly [{
2
+ readonly type: "event";
3
+ readonly name: "Approval";
4
+ readonly inputs: readonly [{
7
5
  readonly indexed: true;
8
- readonly name: 'owner';
9
- readonly type: 'address';
10
- },
11
- {
6
+ readonly name: "owner";
7
+ readonly type: "address";
8
+ }, {
12
9
  readonly indexed: true;
13
- readonly name: 'spender';
14
- readonly type: 'address';
15
- },
16
- {
10
+ readonly name: "spender";
11
+ readonly type: "address";
12
+ }, {
17
13
  readonly indexed: false;
18
- readonly name: 'value';
19
- readonly type: 'uint256';
20
- },
21
- ];
22
- },
23
- {
24
- readonly type: 'event';
25
- readonly name: 'Transfer';
26
- readonly inputs: readonly [
27
- {
14
+ readonly name: "value";
15
+ readonly type: "uint256";
16
+ }];
17
+ }, {
18
+ readonly type: "event";
19
+ readonly name: "Transfer";
20
+ readonly inputs: readonly [{
28
21
  readonly indexed: true;
29
- readonly name: 'from';
30
- readonly type: 'address';
31
- },
32
- {
22
+ readonly name: "from";
23
+ readonly type: "address";
24
+ }, {
33
25
  readonly indexed: true;
34
- readonly name: 'to';
35
- readonly type: 'address';
36
- },
37
- {
26
+ readonly name: "to";
27
+ readonly type: "address";
28
+ }, {
38
29
  readonly indexed: false;
39
- readonly name: 'value';
40
- readonly type: 'uint256';
41
- },
42
- ];
43
- },
44
- {
45
- readonly type: 'function';
46
- readonly name: 'allowance';
47
- readonly stateMutability: 'view';
48
- readonly inputs: readonly [
49
- {
50
- readonly name: 'owner';
51
- readonly type: 'address';
52
- },
53
- {
54
- readonly name: 'spender';
55
- readonly type: 'address';
56
- },
57
- ];
58
- readonly outputs: readonly [
59
- {
60
- readonly type: 'uint256';
61
- },
62
- ];
63
- },
64
- {
65
- readonly type: 'function';
66
- readonly name: 'approve';
67
- readonly stateMutability: 'nonpayable';
68
- readonly inputs: readonly [
69
- {
70
- readonly name: 'spender';
71
- readonly type: 'address';
72
- },
73
- {
74
- readonly name: 'amount';
75
- readonly type: 'uint256';
76
- },
77
- ];
78
- readonly outputs: readonly [
79
- {
80
- readonly type: 'bool';
81
- },
82
- ];
83
- },
84
- {
85
- readonly type: 'function';
86
- readonly name: 'balanceOf';
87
- readonly stateMutability: 'view';
88
- readonly inputs: readonly [
89
- {
90
- readonly name: 'account';
91
- readonly type: 'address';
92
- },
93
- ];
94
- readonly outputs: readonly [
95
- {
96
- readonly type: 'uint256';
97
- },
98
- ];
99
- },
100
- {
101
- readonly type: 'function';
102
- readonly name: 'decimals';
103
- readonly stateMutability: 'view';
30
+ readonly name: "value";
31
+ readonly type: "uint256";
32
+ }];
33
+ }, {
34
+ readonly type: "function";
35
+ readonly name: "allowance";
36
+ readonly stateMutability: "view";
37
+ readonly inputs: readonly [{
38
+ readonly name: "owner";
39
+ readonly type: "address";
40
+ }, {
41
+ readonly name: "spender";
42
+ readonly type: "address";
43
+ }];
44
+ readonly outputs: readonly [{
45
+ readonly type: "uint256";
46
+ }];
47
+ }, {
48
+ readonly type: "function";
49
+ readonly name: "approve";
50
+ readonly stateMutability: "nonpayable";
51
+ readonly inputs: readonly [{
52
+ readonly name: "spender";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly name: "amount";
56
+ readonly type: "uint256";
57
+ }];
58
+ readonly outputs: readonly [{
59
+ readonly type: "bool";
60
+ }];
61
+ }, {
62
+ readonly type: "function";
63
+ readonly name: "balanceOf";
64
+ readonly stateMutability: "view";
65
+ readonly inputs: readonly [{
66
+ readonly name: "account";
67
+ readonly type: "address";
68
+ }];
69
+ readonly outputs: readonly [{
70
+ readonly type: "uint256";
71
+ }];
72
+ }, {
73
+ readonly type: "function";
74
+ readonly name: "decimals";
75
+ readonly stateMutability: "view";
104
76
  readonly inputs: readonly [];
105
- readonly outputs: readonly [
106
- {
107
- readonly type: 'uint8';
108
- },
109
- ];
110
- },
111
- {
112
- readonly type: 'function';
113
- readonly name: 'name';
114
- readonly stateMutability: 'view';
77
+ readonly outputs: readonly [{
78
+ readonly type: "uint8";
79
+ }];
80
+ }, {
81
+ readonly type: "function";
82
+ readonly name: "name";
83
+ readonly stateMutability: "view";
115
84
  readonly inputs: readonly [];
116
- readonly outputs: readonly [
117
- {
118
- readonly type: 'bytes32';
119
- },
120
- ];
121
- },
122
- {
123
- readonly type: 'function';
124
- readonly name: 'symbol';
125
- readonly stateMutability: 'view';
85
+ readonly outputs: readonly [{
86
+ readonly type: "bytes32";
87
+ }];
88
+ }, {
89
+ readonly type: "function";
90
+ readonly name: "symbol";
91
+ readonly stateMutability: "view";
126
92
  readonly inputs: readonly [];
127
- readonly outputs: readonly [
128
- {
129
- readonly type: 'bytes32';
130
- },
131
- ];
132
- },
133
- {
134
- readonly type: 'function';
135
- readonly name: 'totalSupply';
136
- readonly stateMutability: 'view';
93
+ readonly outputs: readonly [{
94
+ readonly type: "bytes32";
95
+ }];
96
+ }, {
97
+ readonly type: "function";
98
+ readonly name: "totalSupply";
99
+ readonly stateMutability: "view";
137
100
  readonly inputs: readonly [];
138
- readonly outputs: readonly [
139
- {
140
- readonly type: 'uint256';
141
- },
142
- ];
143
- },
144
- {
145
- readonly type: 'function';
146
- readonly name: 'transfer';
147
- readonly stateMutability: 'nonpayable';
148
- readonly inputs: readonly [
149
- {
150
- readonly name: 'recipient';
151
- readonly type: 'address';
152
- },
153
- {
154
- readonly name: 'amount';
155
- readonly type: 'uint256';
156
- },
157
- ];
158
- readonly outputs: readonly [
159
- {
160
- readonly type: 'bool';
161
- },
162
- ];
163
- },
164
- {
165
- readonly type: 'function';
166
- readonly name: 'transferFrom';
167
- readonly stateMutability: 'nonpayable';
168
- readonly inputs: readonly [
169
- {
170
- readonly name: 'sender';
171
- readonly type: 'address';
172
- },
173
- {
174
- readonly name: 'recipient';
175
- readonly type: 'address';
176
- },
177
- {
178
- readonly name: 'amount';
179
- readonly type: 'uint256';
180
- },
181
- ];
182
- readonly outputs: readonly [
183
- {
184
- readonly type: 'bool';
185
- },
186
- ];
187
- },
188
- ];
101
+ readonly outputs: readonly [{
102
+ readonly type: "uint256";
103
+ }];
104
+ }, {
105
+ readonly type: "function";
106
+ readonly name: "transfer";
107
+ readonly stateMutability: "nonpayable";
108
+ readonly inputs: readonly [{
109
+ readonly name: "recipient";
110
+ readonly type: "address";
111
+ }, {
112
+ readonly name: "amount";
113
+ readonly type: "uint256";
114
+ }];
115
+ readonly outputs: readonly [{
116
+ readonly type: "bool";
117
+ }];
118
+ }, {
119
+ readonly type: "function";
120
+ readonly name: "transferFrom";
121
+ readonly stateMutability: "nonpayable";
122
+ readonly inputs: readonly [{
123
+ readonly name: "sender";
124
+ readonly type: "address";
125
+ }, {
126
+ readonly name: "recipient";
127
+ readonly type: "address";
128
+ }, {
129
+ readonly name: "amount";
130
+ readonly type: "uint256";
131
+ }];
132
+ readonly outputs: readonly [{
133
+ readonly type: "bool";
134
+ }];
135
+ }];