@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,157 +1,120 @@
1
- export declare const ABI_FEE_ORACLE: readonly [
2
- {
3
- readonly inputs: readonly [
4
- {
5
- readonly internalType: 'address';
6
- readonly name: 'ownerAddr';
7
- readonly type: 'address';
8
- },
9
- ];
10
- readonly stateMutability: 'nonpayable';
11
- readonly type: 'constructor';
12
- },
13
- {
1
+ export declare const ABI_FEE_ORACLE: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "address";
4
+ readonly name: "ownerAddr";
5
+ readonly type: "address";
6
+ }];
7
+ readonly stateMutability: "nonpayable";
8
+ readonly type: "constructor";
9
+ }, {
14
10
  readonly inputs: readonly [];
15
- readonly name: 'OwnerOnly';
16
- readonly type: 'error';
17
- },
18
- {
11
+ readonly name: "OwnerOnly";
12
+ readonly type: "error";
13
+ }, {
19
14
  readonly anonymous: false;
20
- readonly inputs: readonly [
21
- {
15
+ readonly inputs: readonly [{
22
16
  readonly indexed: true;
23
- readonly internalType: 'address';
24
- readonly name: 'previousOwner';
25
- readonly type: 'address';
26
- },
27
- {
17
+ readonly internalType: "address";
18
+ readonly name: "previousOwner";
19
+ readonly type: "address";
20
+ }, {
28
21
  readonly indexed: true;
29
- readonly internalType: 'address';
30
- readonly name: 'newOwner';
31
- readonly type: 'address';
32
- },
33
- ];
34
- readonly name: 'OwnershipTransferred';
35
- readonly type: 'event';
36
- },
37
- {
22
+ readonly internalType: "address";
23
+ readonly name: "newOwner";
24
+ readonly type: "address";
25
+ }];
26
+ readonly name: "OwnershipTransferred";
27
+ readonly type: "event";
28
+ }, {
38
29
  readonly inputs: readonly [];
39
- readonly name: 'FEES_DIVISOR';
40
- readonly outputs: readonly [
41
- {
42
- readonly internalType: 'uint256';
43
- readonly name: '';
44
- readonly type: 'uint256';
45
- },
46
- ];
47
- readonly stateMutability: 'view';
48
- readonly type: 'function';
49
- },
50
- {
51
- readonly inputs: readonly [
52
- {
53
- readonly internalType: 'uint256';
54
- readonly name: 'amount';
55
- readonly type: 'uint256';
56
- },
57
- {
58
- readonly internalType: 'bytes32';
59
- readonly name: 'categoryId';
60
- readonly type: 'bytes32';
61
- },
62
- {
63
- readonly internalType: 'address';
64
- readonly name: 'specificAddr';
65
- readonly type: 'address';
66
- },
67
- ];
68
- readonly name: 'getContextFeeAmount';
69
- readonly outputs: readonly [
70
- {
71
- readonly internalType: 'uint256';
72
- readonly name: 'feePercent';
73
- readonly type: 'uint256';
74
- },
75
- {
76
- readonly internalType: 'uint256';
77
- readonly name: 'feeAmount';
78
- readonly type: 'uint256';
79
- },
80
- ];
81
- readonly stateMutability: 'view';
82
- readonly type: 'function';
83
- },
84
- {
85
- readonly inputs: readonly [
86
- {
87
- readonly internalType: 'bytes32';
88
- readonly name: 'categoryId';
89
- readonly type: 'bytes32';
90
- },
91
- {
92
- readonly internalType: 'address';
93
- readonly name: 'specificAddr';
94
- readonly type: 'address';
95
- },
96
- ];
97
- readonly name: 'getContextFeeRate';
98
- readonly outputs: readonly [
99
- {
100
- readonly internalType: 'uint256';
101
- readonly name: '';
102
- readonly type: 'uint256';
103
- },
104
- ];
105
- readonly stateMutability: 'view';
106
- readonly type: 'function';
107
- },
108
- {
30
+ readonly name: "FEES_DIVISOR";
31
+ readonly outputs: readonly [{
32
+ readonly internalType: "uint256";
33
+ readonly name: "";
34
+ readonly type: "uint256";
35
+ }];
36
+ readonly stateMutability: "view";
37
+ readonly type: "function";
38
+ }, {
39
+ readonly inputs: readonly [{
40
+ readonly internalType: "uint256";
41
+ readonly name: "amount";
42
+ readonly type: "uint256";
43
+ }, {
44
+ readonly internalType: "bytes32";
45
+ readonly name: "categoryId";
46
+ readonly type: "bytes32";
47
+ }, {
48
+ readonly internalType: "address";
49
+ readonly name: "specificAddr";
50
+ readonly type: "address";
51
+ }];
52
+ readonly name: "getContextFeeAmount";
53
+ readonly outputs: readonly [{
54
+ readonly internalType: "uint256";
55
+ readonly name: "feePercent";
56
+ readonly type: "uint256";
57
+ }, {
58
+ readonly internalType: "uint256";
59
+ readonly name: "feeAmount";
60
+ readonly type: "uint256";
61
+ }];
62
+ readonly stateMutability: "view";
63
+ readonly type: "function";
64
+ }, {
65
+ readonly inputs: readonly [{
66
+ readonly internalType: "bytes32";
67
+ readonly name: "categoryId";
68
+ readonly type: "bytes32";
69
+ }, {
70
+ readonly internalType: "address";
71
+ readonly name: "specificAddr";
72
+ readonly type: "address";
73
+ }];
74
+ readonly name: "getContextFeeRate";
75
+ readonly outputs: readonly [{
76
+ readonly internalType: "uint256";
77
+ readonly name: "";
78
+ readonly type: "uint256";
79
+ }];
80
+ readonly stateMutability: "view";
81
+ readonly type: "function";
82
+ }, {
109
83
  readonly inputs: readonly [];
110
- readonly name: 'owner';
111
- readonly outputs: readonly [
112
- {
113
- readonly internalType: 'address';
114
- readonly name: '';
115
- readonly type: 'address';
116
- },
117
- ];
118
- readonly stateMutability: 'view';
119
- readonly type: 'function';
120
- },
121
- {
122
- readonly inputs: readonly [
123
- {
124
- readonly internalType: 'uint256';
125
- readonly name: 'feePercent';
126
- readonly type: 'uint256';
127
- },
128
- {
129
- readonly internalType: 'bytes32';
130
- readonly name: 'categoryId';
131
- readonly type: 'bytes32';
132
- },
133
- {
134
- readonly internalType: 'address';
135
- readonly name: 'specificAddr';
136
- readonly type: 'address';
137
- },
138
- ];
139
- readonly name: 'setContextFeeRate';
84
+ readonly name: "owner";
85
+ readonly outputs: readonly [{
86
+ readonly internalType: "address";
87
+ readonly name: "";
88
+ readonly type: "address";
89
+ }];
90
+ readonly stateMutability: "view";
91
+ readonly type: "function";
92
+ }, {
93
+ readonly inputs: readonly [{
94
+ readonly internalType: "uint256";
95
+ readonly name: "feePercent";
96
+ readonly type: "uint256";
97
+ }, {
98
+ readonly internalType: "bytes32";
99
+ readonly name: "categoryId";
100
+ readonly type: "bytes32";
101
+ }, {
102
+ readonly internalType: "address";
103
+ readonly name: "specificAddr";
104
+ readonly type: "address";
105
+ }];
106
+ readonly name: "setContextFeeRate";
140
107
  readonly outputs: readonly [];
141
- readonly stateMutability: 'nonpayable';
142
- readonly type: 'function';
143
- },
144
- {
145
- readonly inputs: readonly [
146
- {
147
- readonly internalType: 'address';
148
- readonly name: 'newOwner';
149
- readonly type: 'address';
150
- },
151
- ];
152
- readonly name: 'transferOwnership';
108
+ readonly stateMutability: "nonpayable";
109
+ readonly type: "function";
110
+ }, {
111
+ readonly inputs: readonly [{
112
+ readonly internalType: "address";
113
+ readonly name: "newOwner";
114
+ readonly type: "address";
115
+ }];
116
+ readonly name: "transferOwnership";
153
117
  readonly outputs: readonly [];
154
- readonly stateMutability: 'nonpayable';
155
- readonly type: 'function';
156
- },
157
- ];
118
+ readonly stateMutability: "nonpayable";
119
+ readonly type: "function";
120
+ }];