@opendatalabs/vana-sdk 0.1.0-alpha.fd33fc9 → 2.0.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 (351) hide show
  1. package/dist/browser.cjs.map +1 -1
  2. package/dist/browser.d.ts +33 -1
  3. package/dist/browser.js.map +1 -1
  4. package/dist/chains/index.cjs.map +1 -1
  5. package/dist/chains/index.d.ts +30 -1
  6. package/dist/chains/index.js.map +1 -1
  7. package/dist/client/__tests__/enhancedResponse.test.d.ts +1 -0
  8. package/dist/client/enhancedResponse.cjs +164 -0
  9. package/dist/client/enhancedResponse.cjs.map +1 -0
  10. package/dist/client/enhancedResponse.d.ts +120 -0
  11. package/dist/client/enhancedResponse.js +138 -0
  12. package/dist/client/enhancedResponse.js.map +1 -0
  13. package/dist/config/chains.cjs.map +1 -1
  14. package/dist/config/chains.d.ts +99 -0
  15. package/dist/config/chains.js.map +1 -1
  16. package/dist/contracts/contractController.cjs.map +1 -1
  17. package/dist/contracts/contractController.d.ts +66 -10
  18. package/dist/contracts/contractController.js.map +1 -1
  19. package/dist/controllers/__tests__/data-consistency-integration.test.d.ts +7 -0
  20. package/dist/controllers/__tests__/operations.processQueue.test.d.ts +1 -0
  21. package/dist/controllers/base.cjs +33 -0
  22. package/dist/controllers/base.cjs.map +1 -1
  23. package/dist/controllers/base.d.ts +10 -0
  24. package/dist/controllers/base.js +33 -0
  25. package/dist/controllers/base.js.map +1 -1
  26. package/dist/controllers/data.cjs +417 -276
  27. package/dist/controllers/data.cjs.map +1 -1
  28. package/dist/controllers/data.d.ts +246 -193
  29. package/dist/controllers/data.js +430 -279
  30. package/dist/controllers/data.js.map +1 -1
  31. package/dist/controllers/operations.cjs +430 -0
  32. package/dist/controllers/operations.cjs.map +1 -0
  33. package/dist/controllers/operations.d.ts +229 -0
  34. package/dist/controllers/operations.js +406 -0
  35. package/dist/controllers/operations.js.map +1 -0
  36. package/dist/controllers/permissions.cjs +690 -209
  37. package/dist/controllers/permissions.cjs.map +1 -1
  38. package/dist/controllers/permissions.d.ts +196 -68
  39. package/dist/controllers/permissions.js +690 -209
  40. package/dist/controllers/permissions.js.map +1 -1
  41. package/dist/controllers/protocol.cjs.map +1 -1
  42. package/dist/controllers/protocol.d.ts +27 -28
  43. package/dist/controllers/protocol.js.map +1 -1
  44. package/dist/controllers/schemas.cjs +104 -25
  45. package/dist/controllers/schemas.cjs.map +1 -1
  46. package/dist/controllers/schemas.d.ts +88 -40
  47. package/dist/controllers/schemas.js +104 -25
  48. package/dist/controllers/schemas.js.map +1 -1
  49. package/dist/controllers/server.cjs +269 -58
  50. package/dist/controllers/server.cjs.map +1 -1
  51. package/dist/controllers/server.d.ts +157 -52
  52. package/dist/controllers/server.js +269 -58
  53. package/dist/controllers/server.js.map +1 -1
  54. package/dist/core/__tests__/health.test.d.ts +1 -0
  55. package/dist/core/__tests__/inMemoryNonceManager.test.d.ts +1 -0
  56. package/dist/core/__tests__/nonceManager.test.d.ts +1 -0
  57. package/dist/core/__tests__/pollingManager.test.d.ts +4 -0
  58. package/dist/core/apiClient.cjs +53 -3
  59. package/dist/core/apiClient.cjs.map +1 -1
  60. package/dist/core/apiClient.d.ts +132 -7
  61. package/dist/core/apiClient.js +53 -3
  62. package/dist/core/apiClient.js.map +1 -1
  63. package/dist/core/generics.cjs +30 -3
  64. package/dist/core/generics.cjs.map +1 -1
  65. package/dist/core/generics.d.ts +95 -6
  66. package/dist/core/generics.js +30 -3
  67. package/dist/core/generics.js.map +1 -1
  68. package/dist/core/health.cjs +289 -0
  69. package/dist/core/health.cjs.map +1 -0
  70. package/dist/core/health.d.ts +143 -0
  71. package/dist/core/health.js +265 -0
  72. package/dist/core/health.js.map +1 -0
  73. package/dist/core/inMemoryNonceManager.cjs +138 -0
  74. package/dist/core/inMemoryNonceManager.cjs.map +1 -0
  75. package/dist/core/inMemoryNonceManager.d.ts +69 -0
  76. package/dist/core/inMemoryNonceManager.js +114 -0
  77. package/dist/core/inMemoryNonceManager.js.map +1 -0
  78. package/dist/core/nonceManager.cjs +304 -0
  79. package/dist/core/nonceManager.cjs.map +1 -0
  80. package/dist/core/nonceManager.d.ts +116 -0
  81. package/dist/core/nonceManager.js +280 -0
  82. package/dist/core/nonceManager.js.map +1 -0
  83. package/dist/core/pollingManager.cjs +292 -0
  84. package/dist/core/pollingManager.cjs.map +1 -0
  85. package/dist/core/pollingManager.d.ts +120 -0
  86. package/dist/core/pollingManager.js +268 -0
  87. package/dist/core/pollingManager.js.map +1 -0
  88. package/dist/core.cjs +55 -1
  89. package/dist/core.cjs.map +1 -1
  90. package/dist/core.d.ts +54 -3
  91. package/dist/core.js +55 -1
  92. package/dist/core.js.map +1 -1
  93. package/dist/crypto/ecies/base.cjs +16 -3
  94. package/dist/crypto/ecies/base.cjs.map +1 -1
  95. package/dist/crypto/ecies/base.js +16 -3
  96. package/dist/crypto/ecies/base.js.map +1 -1
  97. package/dist/errors.cjs +29 -0
  98. package/dist/errors.cjs.map +1 -1
  99. package/dist/errors.d.ts +64 -0
  100. package/dist/errors.js +28 -0
  101. package/dist/errors.js.map +1 -1
  102. package/dist/generated/abi/ComputeInstructionRegistryImplementation.cjs.map +1 -1
  103. package/dist/generated/abi/ComputeInstructionRegistryImplementation.js.map +1 -1
  104. package/dist/generated/abi/DLPPerformanceImplementation.cjs +42 -0
  105. package/dist/generated/abi/DLPPerformanceImplementation.cjs.map +1 -1
  106. package/dist/generated/abi/DLPPerformanceImplementation.d.ts +32 -0
  107. package/dist/generated/abi/DLPPerformanceImplementation.js +42 -0
  108. package/dist/generated/abi/DLPPerformanceImplementation.js.map +1 -1
  109. package/dist/generated/abi/DLPRegistryImplementation.cjs +5 -5
  110. package/dist/generated/abi/DLPRegistryImplementation.cjs.map +1 -1
  111. package/dist/generated/abi/DLPRegistryImplementation.d.ts +4 -4
  112. package/dist/generated/abi/DLPRegistryImplementation.js +5 -5
  113. package/dist/generated/abi/DLPRegistryImplementation.js.map +1 -1
  114. package/dist/generated/abi/DLPRewardDeployerImplementation.cjs +166 -2
  115. package/dist/generated/abi/DLPRewardDeployerImplementation.cjs.map +1 -1
  116. package/dist/generated/abi/DLPRewardDeployerImplementation.d.ts +129 -2
  117. package/dist/generated/abi/DLPRewardDeployerImplementation.js +166 -2
  118. package/dist/generated/abi/DLPRewardDeployerImplementation.js.map +1 -1
  119. package/dist/generated/abi/DataPortabilityGranteesImplementation.cjs +167 -19
  120. package/dist/generated/abi/DataPortabilityGranteesImplementation.cjs.map +1 -1
  121. package/dist/generated/abi/DataPortabilityGranteesImplementation.d.ts +127 -14
  122. package/dist/generated/abi/DataPortabilityGranteesImplementation.js +167 -19
  123. package/dist/generated/abi/DataPortabilityGranteesImplementation.js.map +1 -1
  124. package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs +0 -19
  125. package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs.map +1 -1
  126. package/dist/generated/abi/DataPortabilityPermissionsImplementation.d.ts +0 -14
  127. package/dist/generated/abi/DataPortabilityPermissionsImplementation.js +0 -19
  128. package/dist/generated/abi/DataPortabilityPermissionsImplementation.js.map +1 -1
  129. package/dist/generated/abi/DataPortabilityServersImplementation.cjs +0 -19
  130. package/dist/generated/abi/DataPortabilityServersImplementation.cjs.map +1 -1
  131. package/dist/generated/abi/DataPortabilityServersImplementation.d.ts +0 -14
  132. package/dist/generated/abi/DataPortabilityServersImplementation.js +0 -19
  133. package/dist/generated/abi/DataPortabilityServersImplementation.js.map +1 -1
  134. package/dist/generated/abi/DataRegistryImplementation.cjs +0 -13
  135. package/dist/generated/abi/DataRegistryImplementation.cjs.map +1 -1
  136. package/dist/generated/abi/DataRegistryImplementation.d.ts +0 -10
  137. package/dist/generated/abi/DataRegistryImplementation.js +0 -13
  138. package/dist/generated/abi/DataRegistryImplementation.js.map +1 -1
  139. package/dist/generated/abi/SwapHelperImplementation.cjs +0 -43
  140. package/dist/generated/abi/SwapHelperImplementation.cjs.map +1 -1
  141. package/dist/generated/abi/SwapHelperImplementation.d.ts +0 -35
  142. package/dist/generated/abi/SwapHelperImplementation.js +0 -43
  143. package/dist/generated/abi/SwapHelperImplementation.js.map +1 -1
  144. package/dist/generated/abi/VanaEpochImplementation.cjs +195 -0
  145. package/dist/generated/abi/VanaEpochImplementation.cjs.map +1 -1
  146. package/dist/generated/abi/VanaEpochImplementation.d.ts +151 -0
  147. package/dist/generated/abi/VanaEpochImplementation.js +195 -0
  148. package/dist/generated/abi/VanaEpochImplementation.js.map +1 -1
  149. package/dist/generated/abi/VanaPoolEntityImplementation.cjs +22 -65
  150. package/dist/generated/abi/VanaPoolEntityImplementation.cjs.map +1 -1
  151. package/dist/generated/abi/VanaPoolEntityImplementation.d.ts +17 -51
  152. package/dist/generated/abi/VanaPoolEntityImplementation.js +22 -65
  153. package/dist/generated/abi/VanaPoolEntityImplementation.js.map +1 -1
  154. package/dist/generated/abi/VanaPoolStakingImplementation.cjs +113 -1
  155. package/dist/generated/abi/VanaPoolStakingImplementation.cjs.map +1 -1
  156. package/dist/generated/abi/VanaPoolStakingImplementation.d.ts +85 -1
  157. package/dist/generated/abi/VanaPoolStakingImplementation.js +113 -1
  158. package/dist/generated/abi/VanaPoolStakingImplementation.js.map +1 -1
  159. package/dist/generated/abi/index.d.ts +546 -146
  160. package/dist/generated/event-types.cjs.map +1 -1
  161. package/dist/generated/event-types.d.ts +14 -8
  162. package/dist/generated/eventRegistry.cjs +42 -18
  163. package/dist/generated/eventRegistry.cjs.map +1 -1
  164. package/dist/generated/eventRegistry.js +42 -18
  165. package/dist/generated/eventRegistry.js.map +1 -1
  166. package/dist/generated/server/server-exports.cjs +22 -0
  167. package/dist/generated/server/server-exports.cjs.map +1 -1
  168. package/dist/generated/server/server-exports.d.ts +27 -10
  169. package/dist/generated/server/server-exports.js +17 -0
  170. package/dist/generated/server/server-exports.js.map +1 -1
  171. package/dist/generated/server/server.cjs.map +1 -1
  172. package/dist/generated/server/server.d.ts +771 -402
  173. package/dist/generated/subgraph.cjs +797 -32
  174. package/dist/generated/subgraph.cjs.map +1 -1
  175. package/dist/generated/subgraph.d.ts +135 -0
  176. package/dist/generated/subgraph.js +792 -32
  177. package/dist/generated/subgraph.js.map +1 -1
  178. package/dist/index.browser.d.ts +2 -0
  179. package/dist/index.browser.js +10 -0
  180. package/dist/index.browser.js.map +1 -1
  181. package/dist/index.cjs.map +1 -1
  182. package/dist/index.js.map +1 -1
  183. package/dist/index.node.cjs +26 -0
  184. package/dist/index.node.cjs.map +1 -1
  185. package/dist/index.node.d.ts +49 -5
  186. package/dist/index.node.js +25 -1
  187. package/dist/index.node.js.map +1 -1
  188. package/dist/lib/__tests__/redisAtomicStore.test.d.ts +1 -0
  189. package/dist/lib/redisAtomicStore.cjs +201 -0
  190. package/dist/lib/redisAtomicStore.cjs.map +1 -0
  191. package/dist/lib/redisAtomicStore.d.ts +120 -0
  192. package/dist/lib/redisAtomicStore.js +177 -0
  193. package/dist/lib/redisAtomicStore.js.map +1 -0
  194. package/dist/node.cjs.map +1 -1
  195. package/dist/node.d.ts +39 -1
  196. package/dist/node.js.map +1 -1
  197. package/dist/platform/browser.cjs +160 -2
  198. package/dist/platform/browser.cjs.map +1 -1
  199. package/dist/platform/browser.d.ts +232 -12
  200. package/dist/platform/browser.js +160 -2
  201. package/dist/platform/browser.js.map +1 -1
  202. package/dist/platform/interface.cjs.map +1 -1
  203. package/dist/platform/interface.d.ts +283 -90
  204. package/dist/platform/node.cjs +163 -2
  205. package/dist/platform/node.cjs.map +1 -1
  206. package/dist/platform/node.d.ts +69 -6
  207. package/dist/platform/node.js +163 -2
  208. package/dist/platform/node.js.map +1 -1
  209. package/dist/server/relayerHandler.cjs +315 -81
  210. package/dist/server/relayerHandler.cjs.map +1 -1
  211. package/dist/server/relayerHandler.d.ts +35 -2
  212. package/dist/server/relayerHandler.js +315 -81
  213. package/dist/server/relayerHandler.js.map +1 -1
  214. package/dist/storage/index.cjs +3 -0
  215. package/dist/storage/index.cjs.map +1 -1
  216. package/dist/storage/index.d.ts +1 -0
  217. package/dist/storage/index.js +2 -0
  218. package/dist/storage/index.js.map +1 -1
  219. package/dist/storage/manager.cjs +108 -25
  220. package/dist/storage/manager.cjs.map +1 -1
  221. package/dist/storage/manager.d.ts +119 -25
  222. package/dist/storage/manager.js +108 -25
  223. package/dist/storage/manager.js.map +1 -1
  224. package/dist/storage/providers/callback-storage.cjs +86 -15
  225. package/dist/storage/providers/callback-storage.cjs.map +1 -1
  226. package/dist/storage/providers/callback-storage.d.ts +109 -20
  227. package/dist/storage/providers/callback-storage.js +86 -15
  228. package/dist/storage/providers/callback-storage.js.map +1 -1
  229. package/dist/storage/providers/dropbox.cjs +237 -0
  230. package/dist/storage/providers/dropbox.cjs.map +1 -0
  231. package/dist/storage/providers/dropbox.d.ts +39 -0
  232. package/dist/storage/providers/dropbox.js +215 -0
  233. package/dist/storage/providers/dropbox.js.map +1 -0
  234. package/dist/storage/providers/dropbox.test.d.ts +1 -0
  235. package/dist/storage/providers/pinata.cjs.map +1 -1
  236. package/dist/storage/providers/pinata.d.ts +12 -14
  237. package/dist/storage/providers/pinata.js.map +1 -1
  238. package/dist/tests/data-upload-owner-validation.test.d.ts +1 -0
  239. package/dist/tests/permissions-transaction-options.test.d.ts +1 -0
  240. package/dist/types/atomicStore.cjs +31 -0
  241. package/dist/types/atomicStore.cjs.map +1 -0
  242. package/dist/types/atomicStore.d.ts +236 -0
  243. package/dist/types/atomicStore.js +7 -0
  244. package/dist/types/atomicStore.js.map +1 -0
  245. package/dist/types/blockchain.cjs.map +1 -1
  246. package/dist/types/blockchain.d.ts +39 -11
  247. package/dist/types/chains.cjs.map +1 -1
  248. package/dist/types/chains.d.ts +74 -7
  249. package/dist/types/chains.js.map +1 -1
  250. package/dist/types/config.cjs.map +1 -1
  251. package/dist/types/config.d.ts +38 -4
  252. package/dist/types/config.js.map +1 -1
  253. package/dist/types/contracts.cjs.map +1 -1
  254. package/dist/types/contracts.d.ts +71 -7
  255. package/dist/types/controller-context.cjs.map +1 -1
  256. package/dist/types/controller-context.d.ts +4 -1
  257. package/dist/types/data.cjs.map +1 -1
  258. package/dist/types/data.d.ts +11 -10
  259. package/dist/types/generics.cjs.map +1 -1
  260. package/dist/types/generics.d.ts +81 -10
  261. package/dist/types/index.cjs.map +1 -1
  262. package/dist/types/index.d.ts +31 -3
  263. package/dist/types/index.js.map +1 -1
  264. package/dist/types/operationStore.cjs +17 -0
  265. package/dist/types/operationStore.cjs.map +1 -0
  266. package/dist/types/operationStore.d.ts +171 -0
  267. package/dist/types/operationStore.js +1 -0
  268. package/dist/types/operationStore.js.map +1 -0
  269. package/dist/types/operations.cjs +3 -15
  270. package/dist/types/operations.cjs.map +1 -1
  271. package/dist/types/operations.d.ts +131 -39
  272. package/dist/types/operations.js +2 -13
  273. package/dist/types/operations.js.map +1 -1
  274. package/dist/types/options.cjs +17 -0
  275. package/dist/types/options.cjs.map +1 -0
  276. package/dist/types/options.d.ts +308 -0
  277. package/dist/types/options.js +1 -0
  278. package/dist/types/options.js.map +1 -0
  279. package/dist/types/permissions.cjs.map +1 -1
  280. package/dist/types/permissions.d.ts +19 -20
  281. package/dist/types/personal.cjs.map +1 -1
  282. package/dist/types/personal.d.ts +150 -14
  283. package/dist/types/relayer.cjs.map +1 -1
  284. package/dist/types/relayer.d.ts +145 -24
  285. package/dist/types/storage.cjs.map +1 -1
  286. package/dist/types/storage.d.ts +9 -21
  287. package/dist/types/storage.js.map +1 -1
  288. package/dist/types/utils.cjs.map +1 -1
  289. package/dist/types/utils.d.ts +0 -45
  290. package/dist/utils/__tests__/chainQuery.test.d.ts +1 -0
  291. package/dist/utils/__tests__/subgraphConsistency.test.d.ts +4 -0
  292. package/dist/utils/__tests__/subgraphPagination.test.d.ts +4 -0
  293. package/dist/utils/chainQuery.cjs +107 -0
  294. package/dist/utils/chainQuery.cjs.map +1 -0
  295. package/dist/utils/chainQuery.d.ts +31 -0
  296. package/dist/utils/chainQuery.js +82 -0
  297. package/dist/utils/chainQuery.js.map +1 -0
  298. package/dist/utils/grantFiles.cjs +4 -1
  299. package/dist/utils/grantFiles.cjs.map +1 -1
  300. package/dist/utils/grantFiles.d.ts +10 -20
  301. package/dist/utils/grantFiles.js +4 -1
  302. package/dist/utils/grantFiles.js.map +1 -1
  303. package/dist/utils/grantValidation.cjs.map +1 -1
  304. package/dist/utils/grantValidation.d.ts +95 -16
  305. package/dist/utils/grantValidation.js.map +1 -1
  306. package/dist/utils/grants.cjs.map +1 -1
  307. package/dist/utils/grants.d.ts +93 -12
  308. package/dist/utils/grants.js.map +1 -1
  309. package/dist/utils/ipfs.cjs +2 -4
  310. package/dist/utils/ipfs.cjs.map +1 -1
  311. package/dist/utils/ipfs.d.ts +1 -1
  312. package/dist/utils/ipfs.js +2 -4
  313. package/dist/utils/ipfs.js.map +1 -1
  314. package/dist/utils/lazy-import.cjs.map +1 -1
  315. package/dist/utils/lazy-import.d.ts +32 -7
  316. package/dist/utils/lazy-import.js.map +1 -1
  317. package/dist/utils/signatureCache.cjs +8 -2
  318. package/dist/utils/signatureCache.cjs.map +1 -1
  319. package/dist/utils/signatureCache.d.ts +49 -8
  320. package/dist/utils/signatureCache.js +8 -2
  321. package/dist/utils/signatureCache.js.map +1 -1
  322. package/dist/utils/subgraphConsistency.cjs +184 -0
  323. package/dist/utils/subgraphConsistency.cjs.map +1 -0
  324. package/dist/utils/subgraphConsistency.d.ts +65 -0
  325. package/dist/utils/subgraphConsistency.js +155 -0
  326. package/dist/utils/subgraphConsistency.js.map +1 -0
  327. package/dist/utils/subgraphMetaCache.cjs +101 -0
  328. package/dist/utils/subgraphMetaCache.cjs.map +1 -0
  329. package/dist/utils/subgraphMetaCache.d.ts +56 -0
  330. package/dist/utils/subgraphMetaCache.js +76 -0
  331. package/dist/utils/subgraphMetaCache.js.map +1 -0
  332. package/dist/utils/subgraphPagination.cjs +104 -0
  333. package/dist/utils/subgraphPagination.cjs.map +1 -0
  334. package/dist/utils/subgraphPagination.d.ts +78 -0
  335. package/dist/utils/subgraphPagination.js +78 -0
  336. package/dist/utils/subgraphPagination.js.map +1 -0
  337. package/dist/utils/transactionHelpers.cjs.map +1 -1
  338. package/dist/utils/transactionHelpers.d.ts +12 -12
  339. package/dist/utils/transactionHelpers.js.map +1 -1
  340. package/dist/utils/typedDataConverter.cjs.map +1 -1
  341. package/dist/utils/typedDataConverter.d.ts +39 -3
  342. package/dist/utils/typedDataConverter.js.map +1 -1
  343. package/dist/utils/urlResolver.cjs +7 -0
  344. package/dist/utils/urlResolver.cjs.map +1 -1
  345. package/dist/utils/urlResolver.d.ts +22 -4
  346. package/dist/utils/urlResolver.js +7 -0
  347. package/dist/utils/urlResolver.js.map +1 -1
  348. package/dist/utils/wallet.cjs.map +1 -1
  349. package/dist/utils/wallet.d.ts +78 -16
  350. package/dist/utils/wallet.js.map +1 -1
  351. package/package.json +3 -1
@@ -660,20 +660,6 @@ declare const contractAbis: {
660
660
  }];
661
661
  readonly stateMutability: "view";
662
662
  readonly type: "function";
663
- }, {
664
- readonly inputs: readonly [{
665
- readonly internalType: "bytes[]";
666
- readonly name: "data";
667
- readonly type: "bytes[]";
668
- }];
669
- readonly name: "multicall";
670
- readonly outputs: readonly [{
671
- readonly internalType: "bytes[]";
672
- readonly name: "results";
673
- readonly type: "bytes[]";
674
- }];
675
- readonly stateMutability: "nonpayable";
676
- readonly type: "function";
677
663
  }, {
678
664
  readonly inputs: readonly [];
679
665
  readonly name: "pause";
@@ -1596,20 +1582,6 @@ declare const contractAbis: {
1596
1582
  }];
1597
1583
  readonly stateMutability: "view";
1598
1584
  readonly type: "function";
1599
- }, {
1600
- readonly inputs: readonly [{
1601
- readonly internalType: "bytes[]";
1602
- readonly name: "data";
1603
- readonly type: "bytes[]";
1604
- }];
1605
- readonly name: "multicall";
1606
- readonly outputs: readonly [{
1607
- readonly internalType: "bytes[]";
1608
- readonly name: "results";
1609
- readonly type: "bytes[]";
1610
- }];
1611
- readonly stateMutability: "nonpayable";
1612
- readonly type: "function";
1613
1585
  }, {
1614
1586
  readonly inputs: readonly [];
1615
1587
  readonly name: "pause";
@@ -2187,6 +2159,10 @@ declare const contractAbis: {
2187
2159
  }];
2188
2160
  readonly name: "UUPSUnsupportedProxiableUUID";
2189
2161
  readonly type: "error";
2162
+ }, {
2163
+ readonly inputs: readonly [];
2164
+ readonly name: "UnauthorizedRegistration";
2165
+ readonly type: "error";
2190
2166
  }, {
2191
2167
  readonly inputs: readonly [];
2192
2168
  readonly name: "ZeroAddress";
@@ -2443,6 +2419,37 @@ declare const contractAbis: {
2443
2419
  }];
2444
2420
  readonly stateMutability: "view";
2445
2421
  readonly type: "function";
2422
+ }, {
2423
+ readonly inputs: readonly [{
2424
+ readonly internalType: "address";
2425
+ readonly name: "granteeAddress";
2426
+ readonly type: "address";
2427
+ }];
2428
+ readonly name: "granteeByAddressV2";
2429
+ readonly outputs: readonly [{
2430
+ readonly components: readonly [{
2431
+ readonly internalType: "address";
2432
+ readonly name: "owner";
2433
+ readonly type: "address";
2434
+ }, {
2435
+ readonly internalType: "address";
2436
+ readonly name: "granteeAddress";
2437
+ readonly type: "address";
2438
+ }, {
2439
+ readonly internalType: "string";
2440
+ readonly name: "publicKey";
2441
+ readonly type: "string";
2442
+ }, {
2443
+ readonly internalType: "uint256";
2444
+ readonly name: "permissionsCount";
2445
+ readonly type: "uint256";
2446
+ }];
2447
+ readonly internalType: "struct IDataPortabilityGrantees.GranteeInfoV2";
2448
+ readonly name: "";
2449
+ readonly type: "tuple";
2450
+ }];
2451
+ readonly stateMutability: "view";
2452
+ readonly type: "function";
2446
2453
  }, {
2447
2454
  readonly inputs: readonly [{
2448
2455
  readonly internalType: "uint256";
@@ -2474,6 +2481,37 @@ declare const contractAbis: {
2474
2481
  }];
2475
2482
  readonly stateMutability: "view";
2476
2483
  readonly type: "function";
2484
+ }, {
2485
+ readonly inputs: readonly [{
2486
+ readonly internalType: "uint256";
2487
+ readonly name: "granteeId";
2488
+ readonly type: "uint256";
2489
+ }];
2490
+ readonly name: "granteeInfoV2";
2491
+ readonly outputs: readonly [{
2492
+ readonly components: readonly [{
2493
+ readonly internalType: "address";
2494
+ readonly name: "owner";
2495
+ readonly type: "address";
2496
+ }, {
2497
+ readonly internalType: "address";
2498
+ readonly name: "granteeAddress";
2499
+ readonly type: "address";
2500
+ }, {
2501
+ readonly internalType: "string";
2502
+ readonly name: "publicKey";
2503
+ readonly type: "string";
2504
+ }, {
2505
+ readonly internalType: "uint256";
2506
+ readonly name: "permissionsCount";
2507
+ readonly type: "uint256";
2508
+ }];
2509
+ readonly internalType: "struct IDataPortabilityGrantees.GranteeInfoV2";
2510
+ readonly name: "";
2511
+ readonly type: "tuple";
2512
+ }];
2513
+ readonly stateMutability: "view";
2514
+ readonly type: "function";
2477
2515
  }, {
2478
2516
  readonly inputs: readonly [{
2479
2517
  readonly internalType: "uint256";
@@ -2502,6 +2540,36 @@ declare const contractAbis: {
2502
2540
  }];
2503
2541
  readonly stateMutability: "view";
2504
2542
  readonly type: "function";
2543
+ }, {
2544
+ readonly inputs: readonly [{
2545
+ readonly internalType: "uint256";
2546
+ readonly name: "granteeId";
2547
+ readonly type: "uint256";
2548
+ }, {
2549
+ readonly internalType: "uint256";
2550
+ readonly name: "offset";
2551
+ readonly type: "uint256";
2552
+ }, {
2553
+ readonly internalType: "uint256";
2554
+ readonly name: "limit";
2555
+ readonly type: "uint256";
2556
+ }];
2557
+ readonly name: "granteePermissionsPaginated";
2558
+ readonly outputs: readonly [{
2559
+ readonly internalType: "uint256[]";
2560
+ readonly name: "permissionIds";
2561
+ readonly type: "uint256[]";
2562
+ }, {
2563
+ readonly internalType: "uint256";
2564
+ readonly name: "totalCount";
2565
+ readonly type: "uint256";
2566
+ }, {
2567
+ readonly internalType: "bool";
2568
+ readonly name: "hasMore";
2569
+ readonly type: "bool";
2570
+ }];
2571
+ readonly stateMutability: "view";
2572
+ readonly type: "function";
2505
2573
  }, {
2506
2574
  readonly inputs: readonly [{
2507
2575
  readonly internalType: "uint256";
@@ -2543,6 +2611,37 @@ declare const contractAbis: {
2543
2611
  }];
2544
2612
  readonly stateMutability: "view";
2545
2613
  readonly type: "function";
2614
+ }, {
2615
+ readonly inputs: readonly [{
2616
+ readonly internalType: "uint256";
2617
+ readonly name: "granteeId";
2618
+ readonly type: "uint256";
2619
+ }];
2620
+ readonly name: "granteesV2";
2621
+ readonly outputs: readonly [{
2622
+ readonly components: readonly [{
2623
+ readonly internalType: "address";
2624
+ readonly name: "owner";
2625
+ readonly type: "address";
2626
+ }, {
2627
+ readonly internalType: "address";
2628
+ readonly name: "granteeAddress";
2629
+ readonly type: "address";
2630
+ }, {
2631
+ readonly internalType: "string";
2632
+ readonly name: "publicKey";
2633
+ readonly type: "string";
2634
+ }, {
2635
+ readonly internalType: "uint256";
2636
+ readonly name: "permissionsCount";
2637
+ readonly type: "uint256";
2638
+ }];
2639
+ readonly internalType: "struct IDataPortabilityGrantees.GranteeInfoV2";
2640
+ readonly name: "";
2641
+ readonly type: "tuple";
2642
+ }];
2643
+ readonly stateMutability: "view";
2644
+ readonly type: "function";
2546
2645
  }, {
2547
2646
  readonly inputs: readonly [{
2548
2647
  readonly internalType: "bytes32";
@@ -2589,20 +2688,6 @@ declare const contractAbis: {
2589
2688
  }];
2590
2689
  readonly stateMutability: "view";
2591
2690
  readonly type: "function";
2592
- }, {
2593
- readonly inputs: readonly [{
2594
- readonly internalType: "bytes[]";
2595
- readonly name: "data";
2596
- readonly type: "bytes[]";
2597
- }];
2598
- readonly name: "multicall";
2599
- readonly outputs: readonly [{
2600
- readonly internalType: "bytes[]";
2601
- readonly name: "results";
2602
- readonly type: "bytes[]";
2603
- }];
2604
- readonly stateMutability: "nonpayable";
2605
- readonly type: "function";
2606
2691
  }, {
2607
2692
  readonly inputs: readonly [];
2608
2693
  readonly name: "pause";
@@ -3127,16 +3212,6 @@ declare const contractAbis: {
3127
3212
  }];
3128
3213
  readonly stateMutability: "view";
3129
3214
  readonly type: "function";
3130
- }, {
3131
- readonly inputs: readonly [];
3132
- readonly name: "PGE_ROLE";
3133
- readonly outputs: readonly [{
3134
- readonly internalType: "bytes32";
3135
- readonly name: "";
3136
- readonly type: "bytes32";
3137
- }];
3138
- readonly stateMutability: "view";
3139
- readonly type: "function";
3140
3215
  }, {
3141
3216
  readonly inputs: readonly [];
3142
3217
  readonly name: "REFINEMENT_SERVICE_ROLE";
@@ -11583,6 +11658,10 @@ declare const contractAbis: {
11583
11658
  readonly inputs: readonly [];
11584
11659
  readonly name: "EpochNotEnded";
11585
11660
  readonly type: "error";
11661
+ }, {
11662
+ readonly inputs: readonly [];
11663
+ readonly name: "EpochNotFinalized";
11664
+ readonly type: "error";
11586
11665
  }, {
11587
11666
  readonly inputs: readonly [{
11588
11667
  readonly internalType: "uint256";
@@ -11615,6 +11694,18 @@ declare const contractAbis: {
11615
11694
  readonly inputs: readonly [];
11616
11695
  readonly name: "InvalidInitialization";
11617
11696
  readonly type: "error";
11697
+ }, {
11698
+ readonly inputs: readonly [];
11699
+ readonly name: "LastEpochAlreadySet";
11700
+ readonly type: "error";
11701
+ }, {
11702
+ readonly inputs: readonly [{
11703
+ readonly internalType: "uint256";
11704
+ readonly name: "lastEpoch";
11705
+ readonly type: "uint256";
11706
+ }];
11707
+ readonly name: "LastEpochExceeded";
11708
+ readonly type: "error";
11618
11709
  }, {
11619
11710
  readonly inputs: readonly [];
11620
11711
  readonly name: "NotInitializing";
@@ -11623,6 +11714,18 @@ declare const contractAbis: {
11623
11714
  readonly inputs: readonly [];
11624
11715
  readonly name: "ReentrancyGuardReentrantCall";
11625
11716
  readonly type: "error";
11717
+ }, {
11718
+ readonly inputs: readonly [{
11719
+ readonly internalType: "uint256";
11720
+ readonly name: "a";
11721
+ readonly type: "uint256";
11722
+ }, {
11723
+ readonly internalType: "uint256";
11724
+ readonly name: "b";
11725
+ readonly type: "uint256";
11726
+ }];
11727
+ readonly name: "Test";
11728
+ readonly type: "error";
11626
11729
  }, {
11627
11730
  readonly inputs: readonly [];
11628
11731
  readonly name: "UUPSUnauthorizedCallContext";
@@ -11670,6 +11773,31 @@ declare const contractAbis: {
11670
11773
  }];
11671
11774
  readonly name: "EpochDayUpdated";
11672
11775
  readonly type: "event";
11776
+ }, {
11777
+ readonly anonymous: false;
11778
+ readonly inputs: readonly [{
11779
+ readonly indexed: false;
11780
+ readonly internalType: "uint256";
11781
+ readonly name: "epochId";
11782
+ readonly type: "uint256";
11783
+ }, {
11784
+ readonly indexed: false;
11785
+ readonly internalType: "uint256";
11786
+ readonly name: "dlpId";
11787
+ readonly type: "uint256";
11788
+ }, {
11789
+ readonly indexed: false;
11790
+ readonly internalType: "uint256";
11791
+ readonly name: "oldBonusAmount";
11792
+ readonly type: "uint256";
11793
+ }, {
11794
+ readonly indexed: false;
11795
+ readonly internalType: "uint256";
11796
+ readonly name: "newBonusAmount";
11797
+ readonly type: "uint256";
11798
+ }];
11799
+ readonly name: "EpochDlpBonusUpdated";
11800
+ readonly type: "event";
11673
11801
  }, {
11674
11802
  readonly anonymous: false;
11675
11803
  readonly inputs: readonly [{
@@ -11785,6 +11913,16 @@ declare const contractAbis: {
11785
11913
  }];
11786
11914
  readonly name: "Initialized";
11787
11915
  readonly type: "event";
11916
+ }, {
11917
+ readonly anonymous: false;
11918
+ readonly inputs: readonly [{
11919
+ readonly indexed: false;
11920
+ readonly internalType: "uint256";
11921
+ readonly name: "lastEpoch";
11922
+ readonly type: "uint256";
11923
+ }];
11924
+ readonly name: "LastEpochSet";
11925
+ readonly type: "event";
11788
11926
  }, {
11789
11927
  readonly anonymous: false;
11790
11928
  readonly inputs: readonly [{
@@ -11895,6 +12033,16 @@ declare const contractAbis: {
11895
12033
  }];
11896
12034
  readonly stateMutability: "view";
11897
12035
  readonly type: "function";
12036
+ }, {
12037
+ readonly inputs: readonly [];
12038
+ readonly name: "DLP_REWARD_DEPLOYER_ROLE";
12039
+ readonly outputs: readonly [{
12040
+ readonly internalType: "bytes32";
12041
+ readonly name: "";
12042
+ readonly type: "bytes32";
12043
+ }];
12044
+ readonly stateMutability: "view";
12045
+ readonly type: "function";
11898
12046
  }, {
11899
12047
  readonly inputs: readonly [];
11900
12048
  readonly name: "MAINTAINER_ROLE";
@@ -11915,6 +12063,24 @@ declare const contractAbis: {
11915
12063
  }];
11916
12064
  readonly stateMutability: "view";
11917
12065
  readonly type: "function";
12066
+ }, {
12067
+ readonly inputs: readonly [{
12068
+ readonly internalType: "uint256";
12069
+ readonly name: "epochId";
12070
+ readonly type: "uint256";
12071
+ }, {
12072
+ readonly internalType: "uint256";
12073
+ readonly name: "dlpId";
12074
+ readonly type: "uint256";
12075
+ }, {
12076
+ readonly internalType: "uint256";
12077
+ readonly name: "amount";
12078
+ readonly type: "uint256";
12079
+ }];
12080
+ readonly name: "addEpochDlpBonusAmount";
12081
+ readonly outputs: readonly [];
12082
+ readonly stateMutability: "nonpayable";
12083
+ readonly type: "function";
11918
12084
  }, {
11919
12085
  readonly inputs: readonly [];
11920
12086
  readonly name: "createEpochs";
@@ -11985,6 +12151,20 @@ declare const contractAbis: {
11985
12151
  }];
11986
12152
  readonly stateMutability: "view";
11987
12153
  readonly type: "function";
12154
+ }, {
12155
+ readonly inputs: readonly [{
12156
+ readonly internalType: "uint256";
12157
+ readonly name: "epochId";
12158
+ readonly type: "uint256";
12159
+ }];
12160
+ readonly name: "epochDlpIdsWithBonus";
12161
+ readonly outputs: readonly [{
12162
+ readonly internalType: "uint256[]";
12163
+ readonly name: "";
12164
+ readonly type: "uint256[]";
12165
+ }];
12166
+ readonly stateMutability: "view";
12167
+ readonly type: "function";
11988
12168
  }, {
11989
12169
  readonly inputs: readonly [{
11990
12170
  readonly internalType: "uint256";
@@ -12011,7 +12191,15 @@ declare const contractAbis: {
12011
12191
  readonly type: "uint256";
12012
12192
  }, {
12013
12193
  readonly internalType: "uint256";
12014
- readonly name: "distributedAmount";
12194
+ readonly name: "bonusAmount";
12195
+ readonly type: "uint256";
12196
+ }, {
12197
+ readonly internalType: "uint256";
12198
+ readonly name: "distributedAmount";
12199
+ readonly type: "uint256";
12200
+ }, {
12201
+ readonly internalType: "uint256";
12202
+ readonly name: "distributedPenaltyAmount";
12015
12203
  readonly type: "uint256";
12016
12204
  }];
12017
12205
  readonly internalType: "struct IVanaEpoch.EpochDlpInfo";
@@ -12168,6 +12356,34 @@ declare const contractAbis: {
12168
12356
  readonly outputs: readonly [];
12169
12357
  readonly stateMutability: "nonpayable";
12170
12358
  readonly type: "function";
12359
+ }, {
12360
+ readonly inputs: readonly [];
12361
+ readonly name: "lastEpoch";
12362
+ readonly outputs: readonly [{
12363
+ readonly internalType: "uint256";
12364
+ readonly name: "";
12365
+ readonly type: "uint256";
12366
+ }];
12367
+ readonly stateMutability: "view";
12368
+ readonly type: "function";
12369
+ }, {
12370
+ readonly inputs: readonly [{
12371
+ readonly internalType: "uint256";
12372
+ readonly name: "epochId";
12373
+ readonly type: "uint256";
12374
+ }, {
12375
+ readonly internalType: "uint256";
12376
+ readonly name: "dlpId";
12377
+ readonly type: "uint256";
12378
+ }, {
12379
+ readonly internalType: "uint256";
12380
+ readonly name: "amount";
12381
+ readonly type: "uint256";
12382
+ }];
12383
+ readonly name: "overrideEpochDlpBonusAmount";
12384
+ readonly outputs: readonly [];
12385
+ readonly stateMutability: "nonpayable";
12386
+ readonly type: "function";
12171
12387
  }, {
12172
12388
  readonly inputs: readonly [{
12173
12389
  readonly internalType: "uint256";
@@ -12271,6 +12487,16 @@ declare const contractAbis: {
12271
12487
  readonly outputs: readonly [];
12272
12488
  readonly stateMutability: "nonpayable";
12273
12489
  readonly type: "function";
12490
+ }, {
12491
+ readonly inputs: readonly [{
12492
+ readonly internalType: "uint256";
12493
+ readonly name: "_lastEpoch";
12494
+ readonly type: "uint256";
12495
+ }];
12496
+ readonly name: "setLastEpoch";
12497
+ readonly outputs: readonly [];
12498
+ readonly stateMutability: "nonpayable";
12499
+ readonly type: "function";
12274
12500
  }, {
12275
12501
  readonly inputs: readonly [{
12276
12502
  readonly internalType: "bytes4";
@@ -12501,6 +12727,10 @@ declare const contractAbis: {
12501
12727
  readonly inputs: readonly [];
12502
12728
  readonly name: "InvalidDepositAmount";
12503
12729
  readonly type: "error";
12730
+ }, {
12731
+ readonly inputs: readonly [];
12732
+ readonly name: "InvalidDlpId";
12733
+ readonly type: "error";
12504
12734
  }, {
12505
12735
  readonly inputs: readonly [];
12506
12736
  readonly name: "InvalidDlpStatus";
@@ -12525,10 +12755,6 @@ declare const contractAbis: {
12525
12755
  readonly inputs: readonly [];
12526
12756
  readonly name: "InvalidTokenAddress";
12527
12757
  readonly type: "error";
12528
- }, {
12529
- readonly inputs: readonly [];
12530
- readonly name: "LastEpochMustBeFinalized";
12531
- readonly type: "error";
12532
12758
  }, {
12533
12759
  readonly inputs: readonly [];
12534
12760
  readonly name: "NotDlpOwner";
@@ -14936,6 +15162,14 @@ declare const contractAbis: {
14936
15162
  }];
14937
15163
  readonly name: "DlpNotEligible";
14938
15164
  readonly type: "error";
15165
+ }, {
15166
+ readonly inputs: readonly [{
15167
+ readonly internalType: "uint256";
15168
+ readonly name: "dlpId";
15169
+ readonly type: "uint256";
15170
+ }];
15171
+ readonly name: "DuplicateDlpId";
15172
+ readonly type: "error";
14939
15173
  }, {
14940
15174
  readonly inputs: readonly [{
14941
15175
  readonly internalType: "address";
@@ -14988,6 +15222,10 @@ declare const contractAbis: {
14988
15222
  readonly inputs: readonly [];
14989
15223
  readonly name: "InvalidMetricWeights";
14990
15224
  readonly type: "error";
15225
+ }, {
15226
+ readonly inputs: readonly [];
15227
+ readonly name: "InvalidPenaltyScores";
15228
+ readonly type: "error";
14991
15229
  }, {
14992
15230
  readonly inputs: readonly [];
14993
15231
  readonly name: "InvalidTradingVolumeScore";
@@ -15000,6 +15238,26 @@ declare const contractAbis: {
15000
15238
  readonly inputs: readonly [];
15001
15239
  readonly name: "NotInitializing";
15002
15240
  readonly type: "error";
15241
+ }, {
15242
+ readonly inputs: readonly [{
15243
+ readonly internalType: "uint256";
15244
+ readonly name: "epochId";
15245
+ readonly type: "uint256";
15246
+ }, {
15247
+ readonly internalType: "uint256";
15248
+ readonly name: "dlpId";
15249
+ readonly type: "uint256";
15250
+ }, {
15251
+ readonly internalType: "uint256";
15252
+ readonly name: "penaltyAmount";
15253
+ readonly type: "uint256";
15254
+ }, {
15255
+ readonly internalType: "uint256";
15256
+ readonly name: "distributedPenaltyAmount";
15257
+ readonly type: "uint256";
15258
+ }];
15259
+ readonly name: "PenaltyAmountLessThanPenaltyDistributed";
15260
+ readonly type: "error";
15003
15261
  }, {
15004
15262
  readonly inputs: readonly [];
15005
15263
  readonly name: "UUPSUnauthorizedCallContext";
@@ -15829,6 +16087,10 @@ declare const contractAbis: {
15829
16087
  readonly inputs: readonly [];
15830
16088
  readonly name: "EpochNotFinalized";
15831
16089
  readonly type: "error";
16090
+ }, {
16091
+ readonly inputs: readonly [];
16092
+ readonly name: "EpochRewardsNotInitialized";
16093
+ readonly type: "error";
15832
16094
  }, {
15833
16095
  readonly inputs: readonly [];
15834
16096
  readonly name: "ExpectedPause";
@@ -15857,6 +16119,46 @@ declare const contractAbis: {
15857
16119
  readonly inputs: readonly [];
15858
16120
  readonly name: "NothingToWithdraw";
15859
16121
  readonly type: "error";
16122
+ }, {
16123
+ readonly inputs: readonly [{
16124
+ readonly internalType: "uint256";
16125
+ readonly name: "dlpId";
16126
+ readonly type: "uint256";
16127
+ }, {
16128
+ readonly internalType: "uint256";
16129
+ readonly name: "trancheCount";
16130
+ readonly type: "uint256";
16131
+ }, {
16132
+ readonly internalType: "uint256";
16133
+ readonly name: "nextTrancheMinBlock";
16134
+ readonly type: "uint256";
16135
+ }];
16136
+ readonly name: "NumberOfBlocksBetweenTranchesNotPassed";
16137
+ readonly type: "error";
16138
+ }, {
16139
+ readonly inputs: readonly [];
16140
+ readonly name: "ReentrancyGuardReentrantCall";
16141
+ readonly type: "error";
16142
+ }, {
16143
+ readonly inputs: readonly [];
16144
+ readonly name: "RolloverNotPossible";
16145
+ readonly type: "error";
16146
+ }, {
16147
+ readonly inputs: readonly [{
16148
+ readonly internalType: "uint256";
16149
+ readonly name: "dlpId";
16150
+ readonly type: "uint256";
16151
+ }, {
16152
+ readonly internalType: "uint256";
16153
+ readonly name: "trancheCount";
16154
+ readonly type: "uint256";
16155
+ }, {
16156
+ readonly internalType: "uint256";
16157
+ readonly name: "trancheMinBlock";
16158
+ readonly type: "uint256";
16159
+ }];
16160
+ readonly name: "TrancheIntervalNotStarted";
16161
+ readonly type: "error";
15860
16162
  }, {
15861
16163
  readonly inputs: readonly [];
15862
16164
  readonly name: "UUPSUnauthorizedCallContext";
@@ -15939,6 +16241,26 @@ declare const contractAbis: {
15939
16241
  }];
15940
16242
  readonly name: "EpochDlpRewardDistributed";
15941
16243
  readonly type: "event";
16244
+ }, {
16245
+ readonly anonymous: false;
16246
+ readonly inputs: readonly [{
16247
+ readonly indexed: true;
16248
+ readonly internalType: "uint256";
16249
+ readonly name: "epochId";
16250
+ readonly type: "uint256";
16251
+ }, {
16252
+ readonly indexed: false;
16253
+ readonly internalType: "uint256";
16254
+ readonly name: "numberOfTranches";
16255
+ readonly type: "uint256";
16256
+ }, {
16257
+ readonly indexed: false;
16258
+ readonly internalType: "uint256";
16259
+ readonly name: "remediationWindow";
16260
+ readonly type: "uint256";
16261
+ }];
16262
+ readonly name: "EpochRewardsInitialized";
16263
+ readonly type: "event";
15942
16264
  }, {
15943
16265
  readonly anonymous: false;
15944
16266
  readonly inputs: readonly [{
@@ -16172,6 +16494,10 @@ declare const contractAbis: {
16172
16494
  readonly internalType: "uint256";
16173
16495
  readonly name: "totalDistributedAmount";
16174
16496
  readonly type: "uint256";
16497
+ }, {
16498
+ readonly internalType: "uint256";
16499
+ readonly name: "distributedPenaltyAmount";
16500
+ readonly type: "uint256";
16175
16501
  }, {
16176
16502
  readonly internalType: "uint256";
16177
16503
  readonly name: "tranchesCount";
@@ -16183,6 +16509,33 @@ declare const contractAbis: {
16183
16509
  }];
16184
16510
  readonly stateMutability: "view";
16185
16511
  readonly type: "function";
16512
+ }, {
16513
+ readonly inputs: readonly [{
16514
+ readonly internalType: "uint256";
16515
+ readonly name: "epochId";
16516
+ readonly type: "uint256";
16517
+ }];
16518
+ readonly name: "epochRewards";
16519
+ readonly outputs: readonly [{
16520
+ readonly components: readonly [{
16521
+ readonly internalType: "uint256";
16522
+ readonly name: "distributionInterval";
16523
+ readonly type: "uint256";
16524
+ }, {
16525
+ readonly internalType: "uint256";
16526
+ readonly name: "numberOfTranches";
16527
+ readonly type: "uint256";
16528
+ }, {
16529
+ readonly internalType: "uint256";
16530
+ readonly name: "remediationWindow";
16531
+ readonly type: "uint256";
16532
+ }];
16533
+ readonly internalType: "struct IDLPRewardDeployer.EpochRewardInfo";
16534
+ readonly name: "";
16535
+ readonly type: "tuple";
16536
+ }];
16537
+ readonly stateMutability: "view";
16538
+ readonly type: "function";
16186
16539
  }, {
16187
16540
  readonly inputs: readonly [{
16188
16541
  readonly internalType: "bytes32";
@@ -16248,7 +16601,7 @@ declare const contractAbis: {
16248
16601
  readonly type: "address";
16249
16602
  }, {
16250
16603
  readonly internalType: "uint256";
16251
- readonly name: "newNumberOfTranches";
16604
+ readonly name: "newNumberOfBlocksBetweenTranches";
16252
16605
  readonly type: "uint256";
16253
16606
  }, {
16254
16607
  readonly internalType: "uint256";
@@ -16263,6 +16616,28 @@ declare const contractAbis: {
16263
16616
  readonly outputs: readonly [];
16264
16617
  readonly stateMutability: "nonpayable";
16265
16618
  readonly type: "function";
16619
+ }, {
16620
+ readonly inputs: readonly [{
16621
+ readonly internalType: "uint256";
16622
+ readonly name: "epochId";
16623
+ readonly type: "uint256";
16624
+ }, {
16625
+ readonly internalType: "uint256";
16626
+ readonly name: "distributionInterval";
16627
+ readonly type: "uint256";
16628
+ }, {
16629
+ readonly internalType: "uint256";
16630
+ readonly name: "numberOfTranches";
16631
+ readonly type: "uint256";
16632
+ }, {
16633
+ readonly internalType: "uint256";
16634
+ readonly name: "remediationWindow";
16635
+ readonly type: "uint256";
16636
+ }];
16637
+ readonly name: "initializeEpochRewards";
16638
+ readonly outputs: readonly [];
16639
+ readonly stateMutability: "nonpayable";
16640
+ readonly type: "function";
16266
16641
  }, {
16267
16642
  readonly inputs: readonly [];
16268
16643
  readonly name: "maximumSlippagePercentage";
@@ -16275,7 +16650,7 @@ declare const contractAbis: {
16275
16650
  readonly type: "function";
16276
16651
  }, {
16277
16652
  readonly inputs: readonly [];
16278
- readonly name: "numberOfTranches";
16653
+ readonly name: "numberOfBlocksBetweenTranches";
16279
16654
  readonly outputs: readonly [{
16280
16655
  readonly internalType: "uint256";
16281
16656
  readonly name: "";
@@ -16407,6 +16782,16 @@ declare const contractAbis: {
16407
16782
  readonly outputs: readonly [];
16408
16783
  readonly stateMutability: "nonpayable";
16409
16784
  readonly type: "function";
16785
+ }, {
16786
+ readonly inputs: readonly [{
16787
+ readonly internalType: "uint256";
16788
+ readonly name: "newNumberOfBlocksBetweenTranches";
16789
+ readonly type: "uint256";
16790
+ }];
16791
+ readonly name: "updateNumberOfBlocksBetweenTranches";
16792
+ readonly outputs: readonly [];
16793
+ readonly stateMutability: "nonpayable";
16794
+ readonly type: "function";
16410
16795
  }, {
16411
16796
  readonly inputs: readonly [{
16412
16797
  readonly internalType: "uint256";
@@ -17399,41 +17784,6 @@ declare const contractAbis: {
17399
17784
  }];
17400
17785
  readonly name: "RoleRevoked";
17401
17786
  readonly type: "event";
17402
- }, {
17403
- readonly anonymous: false;
17404
- readonly inputs: readonly [{
17405
- readonly indexed: true;
17406
- readonly internalType: "address";
17407
- readonly name: "sender";
17408
- readonly type: "address";
17409
- }, {
17410
- readonly indexed: true;
17411
- readonly internalType: "address";
17412
- readonly name: "recipient";
17413
- readonly type: "address";
17414
- }, {
17415
- readonly indexed: true;
17416
- readonly internalType: "address";
17417
- readonly name: "tokenIn";
17418
- readonly type: "address";
17419
- }, {
17420
- readonly indexed: false;
17421
- readonly internalType: "uint256";
17422
- readonly name: "amountIn";
17423
- readonly type: "uint256";
17424
- }, {
17425
- readonly indexed: false;
17426
- readonly internalType: "address";
17427
- readonly name: "tokenOut";
17428
- readonly type: "address";
17429
- }, {
17430
- readonly indexed: false;
17431
- readonly internalType: "uint256";
17432
- readonly name: "amountOut";
17433
- readonly type: "uint256";
17434
- }];
17435
- readonly name: "Swap";
17436
- readonly type: "event";
17437
17787
  }, {
17438
17788
  readonly anonymous: false;
17439
17789
  readonly inputs: readonly [{
@@ -19029,7 +19379,7 @@ declare const contractAbis: {
19029
19379
  readonly type: "function";
19030
19380
  }, {
19031
19381
  readonly inputs: readonly [];
19032
- readonly name: "VANA_POOL_ENTITY";
19382
+ readonly name: "VANA_POOL_ENTITY_ROLE";
19033
19383
  readonly outputs: readonly [{
19034
19384
  readonly internalType: "bytes32";
19035
19385
  readonly name: "";
@@ -19037,6 +19387,48 @@ declare const contractAbis: {
19037
19387
  }];
19038
19388
  readonly stateMutability: "view";
19039
19389
  readonly type: "function";
19390
+ }, {
19391
+ readonly inputs: readonly [{
19392
+ readonly internalType: "uint256";
19393
+ readonly name: "index";
19394
+ readonly type: "uint256";
19395
+ }];
19396
+ readonly name: "activeStakersListAt";
19397
+ readonly outputs: readonly [{
19398
+ readonly internalType: "address";
19399
+ readonly name: "";
19400
+ readonly type: "address";
19401
+ }];
19402
+ readonly stateMutability: "view";
19403
+ readonly type: "function";
19404
+ }, {
19405
+ readonly inputs: readonly [];
19406
+ readonly name: "activeStakersListCount";
19407
+ readonly outputs: readonly [{
19408
+ readonly internalType: "uint256";
19409
+ readonly name: "";
19410
+ readonly type: "uint256";
19411
+ }];
19412
+ readonly stateMutability: "view";
19413
+ readonly type: "function";
19414
+ }, {
19415
+ readonly inputs: readonly [{
19416
+ readonly internalType: "uint256";
19417
+ readonly name: "from";
19418
+ readonly type: "uint256";
19419
+ }, {
19420
+ readonly internalType: "uint256";
19421
+ readonly name: "to";
19422
+ readonly type: "uint256";
19423
+ }];
19424
+ readonly name: "activeStakersListValues";
19425
+ readonly outputs: readonly [{
19426
+ readonly internalType: "address[]";
19427
+ readonly name: "";
19428
+ readonly type: "address[]";
19429
+ }];
19430
+ readonly stateMutability: "view";
19431
+ readonly type: "function";
19040
19432
  }, {
19041
19433
  readonly inputs: readonly [{
19042
19434
  readonly internalType: "bytes32";
@@ -19083,6 +19475,48 @@ declare const contractAbis: {
19083
19475
  }];
19084
19476
  readonly stateMutability: "view";
19085
19477
  readonly type: "function";
19478
+ }, {
19479
+ readonly inputs: readonly [{
19480
+ readonly internalType: "uint256";
19481
+ readonly name: "index";
19482
+ readonly type: "uint256";
19483
+ }];
19484
+ readonly name: "inactiveStakersListAt";
19485
+ readonly outputs: readonly [{
19486
+ readonly internalType: "address";
19487
+ readonly name: "";
19488
+ readonly type: "address";
19489
+ }];
19490
+ readonly stateMutability: "view";
19491
+ readonly type: "function";
19492
+ }, {
19493
+ readonly inputs: readonly [];
19494
+ readonly name: "inactiveStakersListCount";
19495
+ readonly outputs: readonly [{
19496
+ readonly internalType: "uint256";
19497
+ readonly name: "";
19498
+ readonly type: "uint256";
19499
+ }];
19500
+ readonly stateMutability: "view";
19501
+ readonly type: "function";
19502
+ }, {
19503
+ readonly inputs: readonly [{
19504
+ readonly internalType: "uint256";
19505
+ readonly name: "from";
19506
+ readonly type: "uint256";
19507
+ }, {
19508
+ readonly internalType: "uint256";
19509
+ readonly name: "to";
19510
+ readonly type: "uint256";
19511
+ }];
19512
+ readonly name: "inactiveStakersListValues";
19513
+ readonly outputs: readonly [{
19514
+ readonly internalType: "address[]";
19515
+ readonly name: "";
19516
+ readonly type: "address[]";
19517
+ }];
19518
+ readonly stateMutability: "view";
19519
+ readonly type: "function";
19086
19520
  }, {
19087
19521
  readonly inputs: readonly [{
19088
19522
  readonly internalType: "address";
@@ -19754,20 +20188,6 @@ declare const contractAbis: {
19754
20188
  }];
19755
20189
  readonly stateMutability: "view";
19756
20190
  readonly type: "function";
19757
- }, {
19758
- readonly inputs: readonly [{
19759
- readonly internalType: "uint256";
19760
- readonly name: "exponent";
19761
- readonly type: "uint256";
19762
- }];
19763
- readonly name: "_calculateExponential";
19764
- readonly outputs: readonly [{
19765
- readonly internalType: "uint256";
19766
- readonly name: "r";
19767
- readonly type: "uint256";
19768
- }];
19769
- readonly stateMutability: "pure";
19770
- readonly type: "function";
19771
20191
  }, {
19772
20192
  readonly inputs: readonly [];
19773
20193
  readonly name: "activeEntitiesValues";
@@ -19805,18 +20225,32 @@ declare const contractAbis: {
19805
20225
  }, {
19806
20226
  readonly inputs: readonly [{
19807
20227
  readonly internalType: "uint256";
19808
- readonly name: "apy";
20228
+ readonly name: "exponent";
19809
20229
  readonly type: "uint256";
19810
- }, {
20230
+ }];
20231
+ readonly name: "calculateExponential";
20232
+ readonly outputs: readonly [{
20233
+ readonly internalType: "uint256";
20234
+ readonly name: "r";
20235
+ readonly type: "uint256";
20236
+ }];
20237
+ readonly stateMutability: "pure";
20238
+ readonly type: "function";
20239
+ }, {
20240
+ readonly inputs: readonly [{
19811
20241
  readonly internalType: "uint256";
19812
20242
  readonly name: "principal";
19813
20243
  readonly type: "uint256";
20244
+ }, {
20245
+ readonly internalType: "uint256";
20246
+ readonly name: "apy";
20247
+ readonly type: "uint256";
19814
20248
  }, {
19815
20249
  readonly internalType: "uint256";
19816
20250
  readonly name: "time";
19817
20251
  readonly type: "uint256";
19818
20252
  }];
19819
- readonly name: "calculateContinuousCompoundingYield";
20253
+ readonly name: "calculateYield";
19820
20254
  readonly outputs: readonly [{
19821
20255
  readonly internalType: "uint256";
19822
20256
  readonly name: "";
@@ -20071,40 +20505,6 @@ declare const contractAbis: {
20071
20505
  }];
20072
20506
  readonly stateMutability: "view";
20073
20507
  readonly type: "function";
20074
- }, {
20075
- readonly inputs: readonly [{
20076
- readonly internalType: "uint256";
20077
- readonly name: "entityId";
20078
- readonly type: "uint256";
20079
- }, {
20080
- readonly internalType: "string";
20081
- readonly name: "name";
20082
- readonly type: "string";
20083
- }, {
20084
- readonly internalType: "uint256";
20085
- readonly name: "maxAPY";
20086
- readonly type: "uint256";
20087
- }, {
20088
- readonly internalType: "uint256";
20089
- readonly name: "lockedRewardPool";
20090
- readonly type: "uint256";
20091
- }, {
20092
- readonly internalType: "uint256";
20093
- readonly name: "activeRewardPool";
20094
- readonly type: "uint256";
20095
- }, {
20096
- readonly internalType: "uint256";
20097
- readonly name: "totalShares";
20098
- readonly type: "uint256";
20099
- }, {
20100
- readonly internalType: "uint256";
20101
- readonly name: "lastUpdateTimestamp";
20102
- readonly type: "uint256";
20103
- }];
20104
- readonly name: "overrideEntity";
20105
- readonly outputs: readonly [];
20106
- readonly stateMutability: "nonpayable";
20107
- readonly type: "function";
20108
20508
  }, {
20109
20509
  readonly inputs: readonly [];
20110
20510
  readonly name: "pause";