@centrifuge/sdk 0.0.0-alpha.8 → 0.1.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 (455) hide show
  1. package/README.md +16 -13
  2. package/dist/Centrifuge.d.ts +309 -231
  3. package/dist/Centrifuge.d.ts.map +1 -1
  4. package/dist/Centrifuge.js +700 -155
  5. package/dist/Centrifuge.js.map +1 -1
  6. package/dist/Centrifuge.test.d.ts +2 -0
  7. package/dist/Centrifuge.test.d.ts.map +1 -0
  8. package/dist/Centrifuge.test.js +531 -0
  9. package/dist/Centrifuge.test.js.map +1 -0
  10. package/dist/abi/Accounting.abi.d.ts +3 -0
  11. package/dist/abi/Accounting.abi.d.ts.map +1 -0
  12. package/dist/abi/Accounting.abi.js +33 -0
  13. package/dist/abi/Accounting.abi.js.map +1 -0
  14. package/dist/abi/AsyncRequestManager.abi.d.ts +3 -0
  15. package/dist/abi/AsyncRequestManager.abi.d.ts.map +1 -0
  16. package/dist/abi/AsyncRequestManager.abi.js +78 -0
  17. package/dist/abi/AsyncRequestManager.abi.js.map +1 -0
  18. package/dist/abi/AsyncVault.abi.d.ts +3 -0
  19. package/dist/abi/AsyncVault.abi.d.ts.map +1 -0
  20. package/dist/abi/AsyncVault.abi.js +101 -0
  21. package/dist/abi/AsyncVault.abi.js.map +1 -0
  22. package/dist/abi/BalanceSheet.abi.d.ts +3 -0
  23. package/dist/abi/BalanceSheet.abi.d.ts.map +1 -0
  24. package/dist/abi/BalanceSheet.abi.js +55 -0
  25. package/dist/abi/BalanceSheet.abi.js.map +1 -0
  26. package/dist/abi/Currency.abi.d.ts +3 -0
  27. package/dist/abi/Currency.abi.d.ts.map +1 -0
  28. package/dist/abi/Currency.abi.js +16 -0
  29. package/dist/abi/Currency.abi.js.map +1 -0
  30. package/dist/abi/ERC6909.abi.d.ts +3 -0
  31. package/dist/abi/ERC6909.abi.d.ts.map +1 -0
  32. package/dist/abi/ERC6909.abi.js +22 -0
  33. package/dist/abi/ERC6909.abi.js.map +1 -0
  34. package/dist/abi/GasService.abi.d.ts +3 -0
  35. package/dist/abi/GasService.abi.d.ts.map +1 -0
  36. package/dist/abi/GasService.abi.js +32 -0
  37. package/dist/abi/GasService.abi.js.map +1 -0
  38. package/dist/abi/Gateway.abi.d.ts +3 -0
  39. package/dist/abi/Gateway.abi.d.ts.map +1 -0
  40. package/dist/abi/Gateway.abi.js +62 -0
  41. package/dist/abi/Gateway.abi.js.map +1 -0
  42. package/dist/abi/Holdings.abi.d.ts +3 -0
  43. package/dist/abi/Holdings.abi.d.ts.map +1 -0
  44. package/dist/abi/Holdings.abi.js +43 -0
  45. package/dist/abi/Holdings.abi.js.map +1 -0
  46. package/dist/abi/Hub.abi.d.ts +3 -0
  47. package/dist/abi/Hub.abi.d.ts.map +1 -0
  48. package/dist/abi/Hub.abi.js +89 -0
  49. package/dist/abi/Hub.abi.js.map +1 -0
  50. package/dist/abi/HubRegistry.abi.d.ts +3 -0
  51. package/dist/abi/HubRegistry.abi.d.ts.map +1 -0
  52. package/dist/abi/HubRegistry.abi.js +39 -0
  53. package/dist/abi/HubRegistry.abi.js.map +1 -0
  54. package/dist/abi/MerkleProofManager.abi.d.ts +3 -0
  55. package/dist/abi/MerkleProofManager.abi.d.ts.map +1 -0
  56. package/dist/abi/MerkleProofManager.abi.js +26 -0
  57. package/dist/abi/MerkleProofManager.abi.js.map +1 -0
  58. package/dist/abi/MessageDispatcher.abi.d.ts +3 -0
  59. package/dist/abi/MessageDispatcher.abi.d.ts.map +1 -0
  60. package/dist/abi/MessageDispatcher.abi.js +49 -0
  61. package/dist/abi/MessageDispatcher.abi.js.map +1 -0
  62. package/dist/abi/MultiAdapter.abi.d.ts +3 -0
  63. package/dist/abi/MultiAdapter.abi.d.ts.map +1 -0
  64. package/dist/abi/MultiAdapter.abi.js +53 -0
  65. package/dist/abi/MultiAdapter.abi.js.map +1 -0
  66. package/dist/abi/OnOffRampManager.abi.d.ts +3 -0
  67. package/dist/abi/OnOffRampManager.abi.d.ts.map +1 -0
  68. package/dist/abi/OnOffRampManager.abi.js +31 -0
  69. package/dist/abi/OnOffRampManager.abi.js.map +1 -0
  70. package/dist/abi/OnOffRampManagerFactory.abi.d.ts +3 -0
  71. package/dist/abi/OnOffRampManagerFactory.abi.d.ts.map +1 -0
  72. package/dist/abi/OnOffRampManagerFactory.abi.js +2 -0
  73. package/dist/abi/OnOffRampManagerFactory.abi.js.map +1 -0
  74. package/dist/abi/PoolEscrow.abi.d.ts +3 -0
  75. package/dist/abi/PoolEscrow.abi.d.ts.map +1 -0
  76. package/dist/abi/PoolEscrow.abi.js +32 -0
  77. package/dist/abi/PoolEscrow.abi.js.map +1 -0
  78. package/dist/abi/PoolEscrowFactory.abi.d.ts +3 -0
  79. package/dist/abi/PoolEscrowFactory.abi.d.ts.map +1 -0
  80. package/dist/abi/PoolEscrowFactory.abi.js +19 -0
  81. package/dist/abi/PoolEscrowFactory.abi.js.map +1 -0
  82. package/dist/abi/RestrictionManager.abi.d.ts +3 -0
  83. package/dist/abi/RestrictionManager.abi.d.ts.map +1 -0
  84. package/dist/abi/RestrictionManager.abi.js +23 -0
  85. package/dist/abi/RestrictionManager.abi.js.map +1 -0
  86. package/dist/abi/ShareClassManager.abi.d.ts +3 -0
  87. package/dist/abi/ShareClassManager.abi.d.ts.map +1 -0
  88. package/dist/abi/ShareClassManager.abi.js +89 -0
  89. package/dist/abi/ShareClassManager.abi.js.map +1 -0
  90. package/dist/abi/Spoke.abi.d.ts +3 -0
  91. package/dist/abi/Spoke.abi.d.ts.map +1 -0
  92. package/dist/abi/Spoke.abi.js +90 -0
  93. package/dist/abi/Spoke.abi.js.map +1 -0
  94. package/dist/abi/SyncRequestManager.abi.d.ts +3 -0
  95. package/dist/abi/SyncRequestManager.abi.d.ts.map +1 -0
  96. package/dist/abi/SyncRequestManager.abi.js +61 -0
  97. package/dist/abi/SyncRequestManager.abi.js.map +1 -0
  98. package/dist/abi/Valuation.abi.d.ts +3 -0
  99. package/dist/abi/Valuation.abi.d.ts.map +1 -0
  100. package/dist/abi/Valuation.abi.js +2 -0
  101. package/dist/abi/Valuation.abi.js.map +1 -0
  102. package/dist/abi/VaultRouter.abi.d.ts +3 -0
  103. package/dist/abi/VaultRouter.abi.d.ts.map +1 -0
  104. package/dist/abi/VaultRouter.abi.js +50 -0
  105. package/dist/abi/VaultRouter.abi.js.map +1 -0
  106. package/dist/abi/index.d.ts +9027 -8
  107. package/dist/abi/index.d.ts.map +1 -1
  108. package/dist/abi/index.js +48 -16
  109. package/dist/abi/index.js.map +1 -1
  110. package/dist/config/chains.d.ts +202 -941
  111. package/dist/config/chains.d.ts.map +1 -1
  112. package/dist/config/chains.js +2 -2
  113. package/dist/config/chains.js.map +1 -1
  114. package/dist/config/protocol.d.ts +3 -0
  115. package/dist/config/protocol.d.ts.map +1 -0
  116. package/dist/config/protocol.js +7 -0
  117. package/dist/config/protocol.js.map +1 -0
  118. package/dist/constants.d.ts +1 -0
  119. package/dist/constants.d.ts.map +1 -1
  120. package/dist/constants.js +1 -0
  121. package/dist/constants.js.map +1 -1
  122. package/dist/entities/BalanceSheet.d.ts +48 -0
  123. package/dist/entities/BalanceSheet.d.ts.map +1 -0
  124. package/dist/entities/BalanceSheet.js +94 -0
  125. package/dist/entities/BalanceSheet.js.map +1 -0
  126. package/dist/entities/BalanceSheet.test.d.ts +2 -0
  127. package/dist/entities/BalanceSheet.test.d.ts.map +1 -0
  128. package/dist/entities/BalanceSheet.test.js +64 -0
  129. package/dist/entities/BalanceSheet.test.js.map +1 -0
  130. package/dist/{Entity.d.ts → entities/Entity.d.ts} +1 -1
  131. package/dist/entities/Entity.d.ts.map +1 -0
  132. package/dist/{Entity.js → entities/Entity.js} +0 -3
  133. package/dist/entities/Entity.js.map +1 -0
  134. package/dist/{IndexerQueries → entities/IndexerQueries}/assetSnapshots.d.ts +14 -14
  135. package/dist/entities/IndexerQueries/assetSnapshots.d.ts.map +1 -0
  136. package/dist/{IndexerQueries → entities/IndexerQueries}/assetSnapshots.js +15 -17
  137. package/dist/entities/IndexerQueries/assetSnapshots.js.map +1 -0
  138. package/dist/{IndexerQueries → entities/IndexerQueries}/assetTransactions.d.ts +7 -6
  139. package/dist/entities/IndexerQueries/assetTransactions.d.ts.map +1 -0
  140. package/dist/{IndexerQueries → entities/IndexerQueries}/assetTransactions.js +8 -7
  141. package/dist/entities/IndexerQueries/assetTransactions.js.map +1 -0
  142. package/dist/{IndexerQueries → entities/IndexerQueries}/epochs.d.ts +7 -7
  143. package/dist/entities/IndexerQueries/epochs.d.ts.map +1 -0
  144. package/dist/{IndexerQueries → entities/IndexerQueries}/epochs.js +7 -7
  145. package/dist/entities/IndexerQueries/epochs.js.map +1 -0
  146. package/dist/{IndexerQueries → entities/IndexerQueries}/index.d.ts +24 -24
  147. package/dist/entities/IndexerQueries/index.d.ts.map +1 -0
  148. package/dist/{IndexerQueries → entities/IndexerQueries}/index.js +7 -7
  149. package/dist/entities/IndexerQueries/index.js.map +1 -0
  150. package/dist/{IndexerQueries → entities/IndexerQueries}/investorTransactions.d.ts +4 -4
  151. package/dist/entities/IndexerQueries/investorTransactions.d.ts.map +1 -0
  152. package/dist/{IndexerQueries → entities/IndexerQueries}/investorTransactions.js +4 -4
  153. package/dist/entities/IndexerQueries/investorTransactions.js.map +1 -0
  154. package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeSnapshots.d.ts +8 -8
  155. package/dist/entities/IndexerQueries/poolFeeSnapshots.d.ts.map +1 -0
  156. package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeSnapshots.js +8 -8
  157. package/dist/entities/IndexerQueries/poolFeeSnapshots.js.map +1 -0
  158. package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeTransactions.d.ts +3 -3
  159. package/dist/entities/IndexerQueries/poolFeeTransactions.d.ts.map +1 -0
  160. package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeTransactions.js +3 -3
  161. package/dist/entities/IndexerQueries/poolFeeTransactions.js.map +1 -0
  162. package/dist/{IndexerQueries → entities/IndexerQueries}/poolSnapshots.d.ts +30 -24
  163. package/dist/entities/IndexerQueries/poolSnapshots.d.ts.map +1 -0
  164. package/dist/{IndexerQueries → entities/IndexerQueries}/poolSnapshots.js +29 -23
  165. package/dist/entities/IndexerQueries/poolSnapshots.js.map +1 -0
  166. package/dist/{IndexerQueries → entities/IndexerQueries}/trancheCurrencyBalance.d.ts +15 -15
  167. package/dist/entities/IndexerQueries/trancheCurrencyBalance.d.ts.map +1 -0
  168. package/dist/{IndexerQueries → entities/IndexerQueries}/trancheCurrencyBalance.js +8 -8
  169. package/dist/entities/IndexerQueries/trancheCurrencyBalance.js.map +1 -0
  170. package/dist/{IndexerQueries → entities/IndexerQueries}/trancheSnapshots.d.ts +6 -6
  171. package/dist/entities/IndexerQueries/trancheSnapshots.d.ts.map +1 -0
  172. package/dist/{IndexerQueries → entities/IndexerQueries}/trancheSnapshots.js +6 -6
  173. package/dist/entities/IndexerQueries/trancheSnapshots.js.map +1 -0
  174. package/dist/entities/Investor.d.ts +47 -0
  175. package/dist/entities/Investor.d.ts.map +1 -0
  176. package/dist/entities/Investor.js +93 -0
  177. package/dist/entities/Investor.js.map +1 -0
  178. package/dist/entities/Investor.test.d.ts +2 -0
  179. package/dist/entities/Investor.test.d.ts.map +1 -0
  180. package/dist/entities/Investor.test.js +78 -0
  181. package/dist/entities/Investor.test.js.map +1 -0
  182. package/dist/entities/MerkleProofManager.d.ts +37 -0
  183. package/dist/entities/MerkleProofManager.d.ts.map +1 -0
  184. package/dist/entities/MerkleProofManager.js +210 -0
  185. package/dist/entities/MerkleProofManager.js.map +1 -0
  186. package/dist/entities/MerkleProofManager.test.d.ts +2 -0
  187. package/dist/entities/MerkleProofManager.test.d.ts.map +1 -0
  188. package/dist/entities/MerkleProofManager.test.js +241 -0
  189. package/dist/entities/MerkleProofManager.test.js.map +1 -0
  190. package/dist/entities/OnOffRampManager.d.ts +34 -0
  191. package/dist/entities/OnOffRampManager.d.ts.map +1 -0
  192. package/dist/entities/OnOffRampManager.js +191 -0
  193. package/dist/entities/OnOffRampManager.js.map +1 -0
  194. package/dist/entities/OnOffRampManager.test.d.ts +2 -0
  195. package/dist/entities/OnOffRampManager.test.d.ts.map +1 -0
  196. package/dist/entities/OnOffRampManager.test.js +170 -0
  197. package/dist/entities/OnOffRampManager.test.js.map +1 -0
  198. package/dist/entities/Pool.d.ts +157 -0
  199. package/dist/entities/Pool.d.ts.map +1 -0
  200. package/dist/entities/Pool.js +591 -0
  201. package/dist/entities/Pool.js.map +1 -0
  202. package/dist/entities/Pool.test.d.ts +2 -0
  203. package/dist/entities/Pool.test.d.ts.map +1 -0
  204. package/dist/entities/Pool.test.js +271 -0
  205. package/dist/entities/Pool.test.js.map +1 -0
  206. package/dist/entities/PoolNetwork.d.ts +77 -0
  207. package/dist/entities/PoolNetwork.d.ts.map +1 -0
  208. package/dist/entities/PoolNetwork.js +360 -0
  209. package/dist/entities/PoolNetwork.js.map +1 -0
  210. package/dist/entities/PoolNetwork.test.d.ts +2 -0
  211. package/dist/entities/PoolNetwork.test.d.ts.map +1 -0
  212. package/dist/entities/PoolNetwork.test.js +166 -0
  213. package/dist/entities/PoolNetwork.test.js.map +1 -0
  214. package/dist/entities/Reports/PoolReports.d.ts +8 -0
  215. package/dist/entities/Reports/PoolReports.d.ts.map +1 -0
  216. package/dist/entities/Reports/PoolReports.js +14 -0
  217. package/dist/entities/Reports/PoolReports.js.map +1 -0
  218. package/dist/entities/Reports/PoolSharePricesReport.d.ts +25 -0
  219. package/dist/entities/Reports/PoolSharePricesReport.d.ts.map +1 -0
  220. package/dist/entities/Reports/PoolSharePricesReport.js +64 -0
  221. package/dist/entities/Reports/PoolSharePricesReport.js.map +1 -0
  222. package/dist/entities/Reports/PoolSharePricesReport.test.d.ts +2 -0
  223. package/dist/entities/Reports/PoolSharePricesReport.test.d.ts.map +1 -0
  224. package/dist/entities/Reports/PoolSharePricesReport.test.js +35 -0
  225. package/dist/entities/Reports/PoolSharePricesReport.test.js.map +1 -0
  226. package/dist/{Reports → entities/Reports}/Processor.d.ts +1 -1
  227. package/dist/entities/Reports/Processor.d.ts.map +1 -0
  228. package/dist/{Reports → entities/Reports}/Processor.js +27 -13
  229. package/dist/entities/Reports/Processor.js.map +1 -0
  230. package/dist/entities/Reports/Processor.test.d.ts +2 -0
  231. package/dist/entities/Reports/Processor.test.d.ts.map +1 -0
  232. package/dist/entities/Reports/Processor.test.js +767 -0
  233. package/dist/entities/Reports/Processor.test.js.map +1 -0
  234. package/dist/entities/Reports/Reports.test.d.ts +2 -0
  235. package/dist/entities/Reports/Reports.test.d.ts.map +1 -0
  236. package/dist/entities/Reports/Reports.test.js +559 -0
  237. package/dist/entities/Reports/Reports.test.js.map +1 -0
  238. package/dist/{Reports → entities/Reports}/index.d.ts +2 -2
  239. package/dist/entities/Reports/index.d.ts.map +1 -0
  240. package/dist/{Reports → entities/Reports}/index.js +4 -4
  241. package/dist/entities/Reports/index.js.map +1 -0
  242. package/dist/entities/Reports/types.d.ts +9 -0
  243. package/dist/entities/Reports/types.d.ts.map +1 -0
  244. package/dist/entities/Reports/types.js +2 -0
  245. package/dist/entities/Reports/types.js.map +1 -0
  246. package/dist/entities/Reports/utils.d.ts +20 -0
  247. package/dist/entities/Reports/utils.d.ts.map +1 -0
  248. package/dist/entities/Reports/utils.js +47 -0
  249. package/dist/entities/Reports/utils.js.map +1 -0
  250. package/dist/entities/ShareClass.d.ts +215 -0
  251. package/dist/entities/ShareClass.d.ts.map +1 -0
  252. package/dist/entities/ShareClass.js +1321 -0
  253. package/dist/entities/ShareClass.js.map +1 -0
  254. package/dist/entities/ShareClass.test.d.ts +2 -0
  255. package/dist/entities/ShareClass.test.d.ts.map +1 -0
  256. package/dist/entities/ShareClass.test.js +528 -0
  257. package/dist/entities/ShareClass.test.js.map +1 -0
  258. package/dist/entities/Vault.d.ts +92 -0
  259. package/dist/entities/Vault.d.ts.map +1 -0
  260. package/dist/entities/Vault.js +433 -0
  261. package/dist/entities/Vault.js.map +1 -0
  262. package/dist/entities/Vault.test.d.ts +2 -0
  263. package/dist/entities/Vault.test.d.ts.map +1 -0
  264. package/dist/entities/Vault.test.js +309 -0
  265. package/dist/entities/Vault.test.js.map +1 -0
  266. package/dist/index.d.ts +15 -8
  267. package/dist/index.d.ts.map +1 -1
  268. package/dist/index.js +13 -5
  269. package/dist/index.js.map +1 -1
  270. package/dist/tests/forkServer.d.mts +2 -0
  271. package/dist/tests/forkServer.d.mts.map +1 -0
  272. package/dist/tests/forkServer.mjs +104 -0
  273. package/dist/tests/forkServer.mjs.map +1 -0
  274. package/dist/tests/mocks/mockAssetSnapshots.d.ts +1 -1
  275. package/dist/tests/mocks/mockAssetSnapshots.d.ts.map +1 -1
  276. package/dist/tests/mocks/mockAssetSnapshots.js +27 -27
  277. package/dist/tests/mocks/mockAssetSnapshots.js.map +1 -1
  278. package/dist/tests/mocks/mockAssetTransactions.d.ts +1 -1
  279. package/dist/tests/mocks/mockAssetTransactions.d.ts.map +1 -1
  280. package/dist/tests/mocks/mockAssetTransactions.js +17 -14
  281. package/dist/tests/mocks/mockAssetTransactions.js.map +1 -1
  282. package/dist/tests/mocks/mockEpochs.d.ts +1 -1
  283. package/dist/tests/mocks/mockEpochs.d.ts.map +1 -1
  284. package/dist/tests/mocks/mockEpochs.js +13 -13
  285. package/dist/tests/mocks/mockEpochs.js.map +1 -1
  286. package/dist/tests/mocks/mockInvestorCurrencyBalance.d.ts +1 -1
  287. package/dist/tests/mocks/mockInvestorCurrencyBalance.d.ts.map +1 -1
  288. package/dist/tests/mocks/mockInvestorCurrencyBalance.js +15 -15
  289. package/dist/tests/mocks/mockInvestorCurrencyBalance.js.map +1 -1
  290. package/dist/tests/mocks/mockInvestorTransactions.d.ts +1 -1
  291. package/dist/tests/mocks/mockInvestorTransactions.d.ts.map +1 -1
  292. package/dist/tests/mocks/mockInvestorTransactions.js +5 -5
  293. package/dist/tests/mocks/mockInvestorTransactions.js.map +1 -1
  294. package/dist/tests/mocks/mockPoolFeeSnapshot.d.ts +1 -1
  295. package/dist/tests/mocks/mockPoolFeeSnapshot.d.ts.map +1 -1
  296. package/dist/tests/mocks/mockPoolFeeSnapshot.js +29 -29
  297. package/dist/tests/mocks/mockPoolFeeSnapshot.js.map +1 -1
  298. package/dist/tests/mocks/mockPoolFeeTransactions.d.ts +3 -3
  299. package/dist/tests/mocks/mockPoolFeeTransactions.d.ts.map +1 -1
  300. package/dist/tests/mocks/mockPoolFeeTransactions.js +3 -3
  301. package/dist/tests/mocks/mockPoolFeeTransactions.js.map +1 -1
  302. package/dist/tests/mocks/mockPoolMetadata.d.ts.map +1 -1
  303. package/dist/tests/mocks/mockPoolMetadata.js +7 -17
  304. package/dist/tests/mocks/mockPoolMetadata.js.map +1 -1
  305. package/dist/tests/mocks/mockPoolSnapshots.d.ts +1 -1
  306. package/dist/tests/mocks/mockPoolSnapshots.d.ts.map +1 -1
  307. package/dist/tests/mocks/mockPoolSnapshots.js +47 -45
  308. package/dist/tests/mocks/mockPoolSnapshots.js.map +1 -1
  309. package/dist/tests/mocks/mockTrancheSnapshots.d.ts +1 -1
  310. package/dist/tests/mocks/mockTrancheSnapshots.d.ts.map +1 -1
  311. package/dist/tests/mocks/mockTrancheSnapshots.js +21 -21
  312. package/dist/tests/mocks/mockTrancheSnapshots.js.map +1 -1
  313. package/dist/tests/setup.d.ts.map +1 -1
  314. package/dist/tests/setup.js +4 -3
  315. package/dist/tests/setup.js.map +1 -1
  316. package/dist/tests/tenderly.d.ts +15 -2
  317. package/dist/tests/tenderly.d.ts.map +1 -1
  318. package/dist/tests/tenderly.js +74 -67
  319. package/dist/tests/tenderly.js.map +1 -1
  320. package/dist/tests/utils.d.ts +3 -0
  321. package/dist/tests/utils.d.ts.map +1 -0
  322. package/dist/tests/utils.js +4 -0
  323. package/dist/tests/utils.js.map +1 -0
  324. package/dist/types/holdings.d.ts +9 -0
  325. package/dist/types/holdings.d.ts.map +1 -0
  326. package/dist/types/holdings.js +10 -0
  327. package/dist/types/holdings.js.map +1 -0
  328. package/dist/types/index.d.ts +52 -5
  329. package/dist/types/index.d.ts.map +1 -1
  330. package/dist/types/indexer.d.ts +4189 -0
  331. package/dist/types/indexer.d.ts.map +1 -0
  332. package/dist/types/indexer.js +56 -0
  333. package/dist/types/indexer.js.map +1 -0
  334. package/dist/types/poolInput.d.ts +79 -0
  335. package/dist/types/poolInput.d.ts.map +1 -0
  336. package/dist/types/poolInput.js +2 -0
  337. package/dist/types/poolInput.js.map +1 -0
  338. package/dist/types/poolMetadata.d.ts +41 -13
  339. package/dist/types/poolMetadata.d.ts.map +1 -1
  340. package/dist/types/reports.d.ts +71 -66
  341. package/dist/types/reports.d.ts.map +1 -1
  342. package/dist/types/transaction.d.ts +102 -3
  343. package/dist/types/transaction.d.ts.map +1 -1
  344. package/dist/types/transaction.js +55 -1
  345. package/dist/types/transaction.js.map +1 -1
  346. package/dist/utils/BigInt.d.ts +17 -23
  347. package/dist/utils/BigInt.d.ts.map +1 -1
  348. package/dist/utils/BigInt.js +18 -25
  349. package/dist/utils/BigInt.js.map +1 -1
  350. package/dist/utils/BigInt.test.d.ts +2 -0
  351. package/dist/utils/BigInt.test.d.ts.map +1 -0
  352. package/dist/utils/BigInt.test.js +298 -0
  353. package/dist/utils/BigInt.test.js.map +1 -0
  354. package/dist/utils/currencies.d.ts +5 -0
  355. package/dist/utils/currencies.d.ts.map +1 -0
  356. package/dist/utils/currencies.js +7 -0
  357. package/dist/utils/currencies.js.map +1 -0
  358. package/dist/utils/decimal.d.ts +2 -2
  359. package/dist/utils/decimal.d.ts.map +1 -1
  360. package/dist/utils/decimal.js.map +1 -1
  361. package/dist/utils/index.d.ts +4 -0
  362. package/dist/utils/index.d.ts.map +1 -0
  363. package/dist/utils/index.js +24 -0
  364. package/dist/utils/index.js.map +1 -0
  365. package/dist/utils/ipfs.d.ts +7 -0
  366. package/dist/utils/ipfs.d.ts.map +1 -0
  367. package/dist/utils/ipfs.js +64 -0
  368. package/dist/utils/ipfs.js.map +1 -0
  369. package/dist/utils/ipfs.test.d.ts +2 -0
  370. package/dist/utils/ipfs.test.d.ts.map +1 -0
  371. package/dist/utils/ipfs.test.js +54 -0
  372. package/dist/utils/ipfs.test.js.map +1 -0
  373. package/dist/utils/permit.d.ts +13 -0
  374. package/dist/utils/permit.d.ts.map +1 -0
  375. package/dist/utils/permit.js +82 -0
  376. package/dist/utils/permit.js.map +1 -0
  377. package/dist/utils/permit.test.d.ts +2 -0
  378. package/dist/utils/permit.test.d.ts.map +1 -0
  379. package/dist/utils/permit.test.js +22 -0
  380. package/dist/utils/permit.test.js.map +1 -0
  381. package/dist/utils/rx.d.ts +3 -3
  382. package/dist/utils/rx.d.ts.map +1 -1
  383. package/dist/utils/rx.js +5 -1
  384. package/dist/utils/rx.js.map +1 -1
  385. package/dist/utils/transaction.d.ts +20 -10
  386. package/dist/utils/transaction.d.ts.map +1 -1
  387. package/dist/utils/transaction.js +162 -23
  388. package/dist/utils/transaction.js.map +1 -1
  389. package/dist/utils/types.d.ts +39 -0
  390. package/dist/utils/types.d.ts.map +1 -0
  391. package/dist/utils/types.js +89 -0
  392. package/dist/utils/types.js.map +1 -0
  393. package/dist/utils/types.test.d.ts +2 -0
  394. package/dist/utils/types.test.d.ts.map +1 -0
  395. package/dist/utils/types.test.js +89 -0
  396. package/dist/utils/types.test.js.map +1 -0
  397. package/package.json +12 -12
  398. package/dist/Account.d.ts +0 -11
  399. package/dist/Account.d.ts.map +0 -1
  400. package/dist/Account.js +0 -46
  401. package/dist/Account.js.map +0 -1
  402. package/dist/Entity.d.ts.map +0 -1
  403. package/dist/Entity.js.map +0 -1
  404. package/dist/IndexerQueries/assetSnapshots.d.ts.map +0 -1
  405. package/dist/IndexerQueries/assetSnapshots.js.map +0 -1
  406. package/dist/IndexerQueries/assetTransactions.d.ts.map +0 -1
  407. package/dist/IndexerQueries/assetTransactions.js.map +0 -1
  408. package/dist/IndexerQueries/epochs.d.ts.map +0 -1
  409. package/dist/IndexerQueries/epochs.js.map +0 -1
  410. package/dist/IndexerQueries/index.d.ts.map +0 -1
  411. package/dist/IndexerQueries/index.js.map +0 -1
  412. package/dist/IndexerQueries/investorTransactions.d.ts.map +0 -1
  413. package/dist/IndexerQueries/investorTransactions.js.map +0 -1
  414. package/dist/IndexerQueries/poolFeeSnapshots.d.ts.map +0 -1
  415. package/dist/IndexerQueries/poolFeeSnapshots.js.map +0 -1
  416. package/dist/IndexerQueries/poolFeeTransactions.d.ts.map +0 -1
  417. package/dist/IndexerQueries/poolFeeTransactions.js.map +0 -1
  418. package/dist/IndexerQueries/poolSnapshots.d.ts.map +0 -1
  419. package/dist/IndexerQueries/poolSnapshots.js.map +0 -1
  420. package/dist/IndexerQueries/trancheCurrencyBalance.d.ts.map +0 -1
  421. package/dist/IndexerQueries/trancheCurrencyBalance.js.map +0 -1
  422. package/dist/IndexerQueries/trancheSnapshots.d.ts.map +0 -1
  423. package/dist/IndexerQueries/trancheSnapshots.js.map +0 -1
  424. package/dist/Pool.d.ts +0 -25
  425. package/dist/Pool.d.ts.map +0 -1
  426. package/dist/Pool.js +0 -79
  427. package/dist/Pool.js.map +0 -1
  428. package/dist/PoolNetwork.d.ts +0 -54
  429. package/dist/PoolNetwork.d.ts.map +0 -1
  430. package/dist/PoolNetwork.js +0 -238
  431. package/dist/PoolNetwork.js.map +0 -1
  432. package/dist/Reports/Processor.d.ts.map +0 -1
  433. package/dist/Reports/Processor.js.map +0 -1
  434. package/dist/Reports/index.d.ts.map +0 -1
  435. package/dist/Reports/index.js.map +0 -1
  436. package/dist/Vault.d.ts +0 -84
  437. package/dist/Vault.d.ts.map +0 -1
  438. package/dist/Vault.js +0 -331
  439. package/dist/Vault.js.map +0 -1
  440. package/dist/abi/CentrifugeRouter.abi.json +0 -43
  441. package/dist/abi/Currency.abi.json +0 -14
  442. package/dist/abi/Gateway.abi.json +0 -1
  443. package/dist/abi/InvestmentManager.abi.json +0 -4
  444. package/dist/abi/LiquidityPool.abi.json +0 -79
  445. package/dist/abi/PoolManager.abi.json +0 -55
  446. package/dist/abi/RestrictionManager.abi.json +0 -22
  447. package/dist/abi/Router.abi.json +0 -1
  448. package/dist/config/lp.d.ts +0 -17
  449. package/dist/config/lp.d.ts.map +0 -1
  450. package/dist/config/lp.js +0 -35
  451. package/dist/config/lp.js.map +0 -1
  452. package/dist/utils/pinToApi.d.ts +0 -2
  453. package/dist/utils/pinToApi.d.ts.map +0 -1
  454. package/dist/utils/pinToApi.js +0 -10
  455. package/dist/utils/pinToApi.js.map +0 -1
@@ -0,0 +1,62 @@
1
+ export default [
2
+ // 'receive() external payable',
3
+ // 'function BATCH_LOCATORS_SLOT() view returns (bytes32)',
4
+ // 'function GLOBAL_POT() view returns (uint64)',
5
+ // 'function adapter() view returns (address)',
6
+ // 'function addUnpaidMessage(uint16 centrifugeId, bytes message)',
7
+ // 'function deny(address user)',
8
+ // 'function endBatching()',
9
+ // 'function endTransactionPayment()',
10
+ // 'function extraGasLimit() view returns (uint128)',
11
+ // 'function failedMessages(uint16 centrifugeId, bytes32 messageHash) view returns (uint256)',
12
+ // 'function file(bytes32 what, address instance)',
13
+ // 'function fuel() view returns (uint256)',
14
+ // 'function gasService() view returns (address)',
15
+ // 'function handle(uint16 centrifugeId, bytes batch)',
16
+ // 'function isBatching() view returns (bool)',
17
+ // 'function processor() view returns (address)',
18
+ // 'function recoverTokens(address token, address receiver, uint256 amount)',
19
+ // 'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
20
+ // 'function rely(address user)',
21
+ 'function repay(uint16 centrifugeId, bytes batch) payable',
22
+ 'function retry(uint16 centrifugeId, bytes message)',
23
+ // 'function root() view returns (address)',
24
+ // 'function send(uint16 centrifugeId, bytes message)',
25
+ // 'function setExtraGasLimit(uint128 gas)',
26
+ // 'function setRefundAddress(uint64 poolId, address refund)',
27
+ // 'function startBatching()',
28
+ // 'function startTransactionPayment(address payer) payable',
29
+ // 'function subsidizePool(uint64 poolId) payable',
30
+ // 'function subsidy(uint64) view returns (uint96 value, address refund)',
31
+ // 'function transactionRefund() view returns (address)',
32
+ 'function underpaid(uint16 centrifugeId, bytes32 batchHash) view returns (uint128 counter, uint128 gasLimit)',
33
+ // 'function wards(address) view returns (uint256)',
34
+ // 'event Deny(address indexed user)',
35
+ // 'event ExecuteMessage(uint16 indexed centrifugeId, bytes message)',
36
+ // 'event FailMessage(uint16 indexed centrifugeId, bytes message, bytes error)',
37
+ // 'event File(bytes32 indexed what, address addr)',
38
+ // 'event PrepareMessage(uint16 indexed centrifugeId, uint64 poolId, bytes message)',
39
+ // 'event Rely(address indexed user)',
40
+ // 'event RepayBatch(uint16 indexed centrifugeId, bytes batch)',
41
+ // 'event SetRefundAddress(uint64 poolId, address refund)',
42
+ // 'event SubsidizePool(uint64 indexed poolId, address indexed sender, uint256 amount)',
43
+ // 'event UnderpaidBatch(uint16 indexed centrifugeId, bytes batch)',
44
+ // 'error EmptyMessage()',
45
+ // 'error ExceedsMaxGasLimit()',
46
+ // 'error FileUnrecognizedParam()',
47
+ // 'error InsufficientFundsForRepayment()',
48
+ // 'error InvalidMessage(uint8 code)',
49
+ // 'error NoBatched()',
50
+ // 'error NoCode()',
51
+ // 'error NotAuthorized()',
52
+ // 'error NotEnoughTransactionGas()',
53
+ // 'error NotFailedMessage()',
54
+ // 'error NotUnderpaidBatch()',
55
+ // 'error Paused()',
56
+ // 'error RefundAddressNotSet()',
57
+ // 'error SafeTransferEthFailed()',
58
+ // 'error SliceOutOfBounds()',
59
+ // 'error SliceOverflow()',
60
+ // 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
61
+ ];
62
+ //# sourceMappingURL=Gateway.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gateway.abi.js","sourceRoot":"","sources":["../../src/abi/Gateway.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gCAAgC;IAChC,2DAA2D;IAC3D,iDAAiD;IACjD,+CAA+C;IAC/C,mEAAmE;IACnE,iCAAiC;IACjC,4BAA4B;IAC5B,sCAAsC;IACtC,qDAAqD;IACrD,8FAA8F;IAC9F,mDAAmD;IACnD,4CAA4C;IAC5C,kDAAkD;IAClD,uDAAuD;IACvD,+CAA+C;IAC/C,iDAAiD;IACjD,6EAA6E;IAC7E,8FAA8F;IAC9F,iCAAiC;IACjC,0DAA0D;IAC1D,oDAAoD;IACpD,4CAA4C;IAC5C,uDAAuD;IACvD,4CAA4C;IAC5C,8DAA8D;IAC9D,8BAA8B;IAC9B,6DAA6D;IAC7D,mDAAmD;IACnD,0EAA0E;IAC1E,yDAAyD;IACzD,6GAA6G;IAC7G,oDAAoD;IACpD,sCAAsC;IACtC,sEAAsE;IACtE,gFAAgF;IAChF,oDAAoD;IACpD,qFAAqF;IACrF,sCAAsC;IACtC,gEAAgE;IAChE,2DAA2D;IAC3D,wFAAwF;IACxF,oEAAoE;IACpE,0BAA0B;IAC1B,gCAAgC;IAChC,mCAAmC;IACnC,2CAA2C;IAC3C,sCAAsC;IACtC,uBAAuB;IACvB,oBAAoB;IACpB,2BAA2B;IAC3B,qCAAqC;IACrC,8BAA8B;IAC9B,+BAA+B;IAC/B,oBAAoB;IACpB,iCAAiC;IACjC,mCAAmC;IACnC,8BAA8B;IAC9B,2BAA2B;IAC3B,sFAAsF;CAC9E,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function accountId(uint64, bytes16, uint128, uint8 kind) view returns (uint32)", "function amount(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 amount_)", "function decrease(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)", "function deny(address user)", "function holding(uint64, bytes16, uint128) view returns (uint128 assetAmount, uint128 assetAmountValue, address valuation, bool isLiability)", "function hubRegistry() view returns (address)", "function increase(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)", "function initialize(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, (uint32 accountId, uint8 kind)[] accounts)", "function isInitialized(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function isLiability(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function rely(address user)", "function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId_)", "function setSnapshot(uint64 poolId, bytes16 scId, uint16 centrifugeId, bool isSnapshot, uint64 nonce)", "function setSnapshotHook(uint64 poolId, address hook)", "function snapshot(uint64, bytes16, uint16 centrifugeId) view returns (bool isSnapshot, uint64 nonce)", "function snapshotHook(uint64) view returns (address)", "function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (bool isPositive, uint128 diffValue)", "function updateValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_)", "function valuation(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)", "function value(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 value_)", "function wards(address) view returns (uint256)", "event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 decreasedValue)", "event Deny(address indexed user)", "event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 increasedValue)", "event Initialize(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability, (uint32 accountId, uint8 kind)[] accounts)", "event Rely(address indexed user)", "event SetAccountId(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, uint8 kind, uint32 accountId)", "event SetSnapshot(uint64 indexed poolId, bytes16 indexed scId, uint16 indexed centrifugeId, bool isSnapshot, uint64 nonce)", "event SetSnapshotHook(uint64 indexed poolId, address hook)", "event Update(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, bool isPositive, uint128 diffValue)", "event UpdateValuation(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address valuation)", "error AlreadyInitialized()", "error HoldingNotFound()", "error InvalidNonce(uint64 expected, uint64 actual)", "error MulDiv_Overflow()", "error NotAuthorized()", "error Uint128_Overflow()", "error WrongAssetId()", "error WrongShareClassId()", "error WrongValuation()"];
2
+ export default _default;
3
+ //# sourceMappingURL=Holdings.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Holdings.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":";AAAA,wBAyCU"}
@@ -0,0 +1,43 @@
1
+ export default [
2
+ 'function accountId(uint64, bytes16, uint128, uint8 kind) view returns (uint32)',
3
+ 'function amount(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 amount_)',
4
+ 'function decrease(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)',
5
+ 'function deny(address user)',
6
+ 'function holding(uint64, bytes16, uint128) view returns (uint128 assetAmount, uint128 assetAmountValue, address valuation, bool isLiability)',
7
+ 'function hubRegistry() view returns (address)',
8
+ 'function increase(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)',
9
+ 'function initialize(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, (uint32 accountId, uint8 kind)[] accounts)',
10
+ 'function isInitialized(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)',
11
+ 'function isLiability(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)',
12
+ 'function rely(address user)',
13
+ 'function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId_)',
14
+ 'function setSnapshot(uint64 poolId, bytes16 scId, uint16 centrifugeId, bool isSnapshot, uint64 nonce)',
15
+ 'function setSnapshotHook(uint64 poolId, address hook)',
16
+ 'function snapshot(uint64, bytes16, uint16 centrifugeId) view returns (bool isSnapshot, uint64 nonce)',
17
+ 'function snapshotHook(uint64) view returns (address)',
18
+ 'function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (bool isPositive, uint128 diffValue)',
19
+ 'function updateValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_)',
20
+ 'function valuation(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)',
21
+ 'function value(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 value_)',
22
+ 'function wards(address) view returns (uint256)',
23
+ 'event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 decreasedValue)',
24
+ 'event Deny(address indexed user)',
25
+ 'event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 increasedValue)',
26
+ 'event Initialize(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability, (uint32 accountId, uint8 kind)[] accounts)',
27
+ 'event Rely(address indexed user)',
28
+ 'event SetAccountId(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, uint8 kind, uint32 accountId)',
29
+ 'event SetSnapshot(uint64 indexed poolId, bytes16 indexed scId, uint16 indexed centrifugeId, bool isSnapshot, uint64 nonce)',
30
+ 'event SetSnapshotHook(uint64 indexed poolId, address hook)',
31
+ 'event Update(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, bool isPositive, uint128 diffValue)',
32
+ 'event UpdateValuation(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address valuation)',
33
+ 'error AlreadyInitialized()',
34
+ 'error HoldingNotFound()',
35
+ 'error InvalidNonce(uint64 expected, uint64 actual)',
36
+ 'error MulDiv_Overflow()',
37
+ 'error NotAuthorized()',
38
+ 'error Uint128_Overflow()',
39
+ 'error WrongAssetId()',
40
+ 'error WrongShareClassId()',
41
+ 'error WrongValuation()',
42
+ ];
43
+ //# sourceMappingURL=Holdings.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Holdings.abi.js","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gFAAgF;IAChF,8FAA8F;IAC9F,2IAA2I;IAC3I,6BAA6B;IAC7B,8IAA8I;IAC9I,+CAA+C;IAC/C,2IAA2I;IAC3I,qJAAqJ;IACrJ,0FAA0F;IAC1F,wFAAwF;IACxF,6BAA6B;IAC7B,oGAAoG;IACpG,uGAAuG;IACvG,uDAAuD;IACvD,sGAAsG;IACtG,sDAAsD;IACtD,4GAA4G;IAC5G,4FAA4F;IAC5F,yFAAyF;IACzF,4FAA4F;IAC5F,gDAAgD;IAChD,kJAAkJ;IAClJ,kCAAkC;IAClC,kJAAkJ;IAClJ,iKAAiK;IACjK,kCAAkC;IAClC,wHAAwH;IACxH,4HAA4H;IAC5H,4DAA4D;IAC5D,wHAAwH;IACxH,gHAAgH;IAChH,4BAA4B;IAC5B,yBAAyB;IACzB,oDAAoD;IACpD,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0B;IAC1B,sBAAsB;IACtB,2BAA2B;IAC3B,wBAAwB;CAChB,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function accounting() view returns (address)", "function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable returns (bytes16 scId)", "function approveDeposits(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount) payable returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)", "function approveRedeems(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount) payable returns (uint128 pendingShareAmount)", "function createAccount(uint64 poolId, uint32 account, bool isDebitNormal) payable", "function createPool(uint64 poolId, address admin, uint128 currency) payable", "function deny(address user)", "function file(bytes32 what, address data)", "function forceCancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId) payable", "function forceCancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId) payable", "function gateway() view returns (address)", "function holdings() view returns (address)", "function hubHelpers() view returns (address)", "function hubRegistry() view returns (address)", "function initializeHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 gainAccount, uint32 lossAccount) payable", "function initializeLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable", "function initiateTransferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount, uint128 extraGasLimit)", "function issueShares(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare, uint128 extraGasLimit) payable returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)", "function multicall(bytes[] data) payable", "function notifyAssetPrice(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function notifyDeposit(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyPool(uint64 poolId, uint16 centrifugeId) payable", "function notifyRedeem(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyShareClass(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function notifyShareMetadata(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function notifySharePrice(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function poolEscrowFactory() view returns (address)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function registerAsset(uint128 assetId, uint8 decimals)", "function rely(address user)", "function request(uint64 poolId, bytes16 scId, uint128 assetId, bytes payload) payable", "function revokeShares(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare, uint128 extraGasLimit) payable returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)", "function sender() view returns (address)", "function setAccountMetadata(uint64 poolId, uint32 account, bytes metadata) payable", "function setHoldingAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId) payable", "function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge) payable", "function setMaxSharePriceAge(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint64 maxPriceAge) payable", "function setPoolMetadata(uint64 poolId, bytes metadata) payable", "function setRequestManager(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 manager) payable", "function setSnapshotHook(uint64 poolId, address hook) payable", "function shareClassManager() view returns (address)", "function updateBalanceSheetManager(uint16 centrifugeId, uint64 poolId, bytes32 who, bool canManage) payable", "function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload, uint128 extraGasLimit) payable", "function updateHoldingAmount(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease, bool isSnapshot, uint64 nonce)", "function updateHoldingIsLiability(uint64 poolId, bytes16 scId, uint128 assetId, bool isLiability) payable", "function updateHoldingValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation) payable", "function updateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function updateHubManager(uint64 poolId, address who, bool canManage) payable", "function updateJournal(uint64 poolId, (uint128 value, uint32 accountId)[] debits, (uint128 value, uint32 accountId)[] credits)", "function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload, uint128 extraGasLimit) payable", "function updateShareClassMetadata(uint64 poolId, bytes16 scId, string name, string symbol) payable", "function updateShareHook(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function updateSharePrice(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable", "function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 amount, bool isIssuance, bool isSnapshot, uint64 nonce)", "function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind, uint128 extraGasLimit) payable", "function wards(address) view returns (uint256)", "event Deny(address indexed user)", "event File(bytes32 what, address addr)", "event ForwardTransferShares(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 receiver, uint128 amount)", "event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)", "event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)", "event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)", "event NotifyShareMetadata(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)", "event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)", "event Rely(address indexed user)", "event SetMaxAssetPriceAge(uint64 indexed poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)", "event SetMaxSharePriceAge(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint64 maxPriceAge)", "event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)", "event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)", "event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)", "event UpdateVault(uint64 indexed poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind)", "error AccountDoesNotExist()", "error AssetNotFound()", "error CallFailedWithEmptyRevert()", "error FileUnrecognizedParam()", "error InvalidAccountCombination()", "error InvalidPoolId()", "error NoCode()", "error NotAuthorized()", "error NotManager()", "error PoolAlreadyUnlocked()", "error SafeTransferEthFailed()", "error ShareClassNotFound()", "error UnauthorizedSender()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
2
+ export default _default;
3
+ //# sourceMappingURL=Hub.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hub.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":";AAAA,wBAuFU"}
@@ -0,0 +1,89 @@
1
+ export default [
2
+ 'function accounting() view returns (address)',
3
+ 'function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable returns (bytes16 scId)',
4
+ 'function approveDeposits(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount) payable returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)',
5
+ 'function approveRedeems(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount) payable returns (uint128 pendingShareAmount)',
6
+ 'function createAccount(uint64 poolId, uint32 account, bool isDebitNormal) payable',
7
+ 'function createPool(uint64 poolId, address admin, uint128 currency) payable',
8
+ 'function deny(address user)',
9
+ 'function file(bytes32 what, address data)',
10
+ 'function forceCancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId) payable',
11
+ 'function forceCancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId) payable',
12
+ 'function gateway() view returns (address)',
13
+ 'function holdings() view returns (address)',
14
+ 'function hubHelpers() view returns (address)',
15
+ 'function hubRegistry() view returns (address)',
16
+ 'function initializeHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 gainAccount, uint32 lossAccount) payable',
17
+ 'function initializeLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable',
18
+ 'function initiateTransferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount, uint128 extraGasLimit)',
19
+ 'function issueShares(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare, uint128 extraGasLimit) payable returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)',
20
+ 'function multicall(bytes[] data) payable',
21
+ 'function notifyAssetPrice(uint64 poolId, bytes16 scId, uint128 assetId) payable',
22
+ 'function notifyDeposit(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable',
23
+ 'function notifyPool(uint64 poolId, uint16 centrifugeId) payable',
24
+ 'function notifyRedeem(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable',
25
+ 'function notifyShareClass(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable',
26
+ 'function notifyShareMetadata(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable',
27
+ 'function notifySharePrice(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable',
28
+ 'function poolEscrowFactory() view returns (address)',
29
+ 'function recoverTokens(address token, address receiver, uint256 amount)',
30
+ 'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
31
+ 'function registerAsset(uint128 assetId, uint8 decimals)',
32
+ 'function rely(address user)',
33
+ 'function request(uint64 poolId, bytes16 scId, uint128 assetId, bytes payload) payable',
34
+ 'function revokeShares(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare, uint128 extraGasLimit) payable returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)',
35
+ 'function sender() view returns (address)',
36
+ 'function setAccountMetadata(uint64 poolId, uint32 account, bytes metadata) payable',
37
+ 'function setHoldingAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId) payable',
38
+ 'function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge) payable',
39
+ 'function setMaxSharePriceAge(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint64 maxPriceAge) payable',
40
+ 'function setPoolMetadata(uint64 poolId, bytes metadata) payable',
41
+ 'function setRequestManager(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 manager) payable',
42
+ 'function setSnapshotHook(uint64 poolId, address hook) payable',
43
+ 'function shareClassManager() view returns (address)',
44
+ 'function updateBalanceSheetManager(uint16 centrifugeId, uint64 poolId, bytes32 who, bool canManage) payable',
45
+ 'function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload, uint128 extraGasLimit) payable',
46
+ 'function updateHoldingAmount(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease, bool isSnapshot, uint64 nonce)',
47
+ 'function updateHoldingIsLiability(uint64 poolId, bytes16 scId, uint128 assetId, bool isLiability) payable',
48
+ 'function updateHoldingValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation) payable',
49
+ 'function updateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId) payable',
50
+ 'function updateHubManager(uint64 poolId, address who, bool canManage) payable',
51
+ 'function updateJournal(uint64 poolId, (uint128 value, uint32 accountId)[] debits, (uint128 value, uint32 accountId)[] credits)',
52
+ 'function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload, uint128 extraGasLimit) payable',
53
+ 'function updateShareClassMetadata(uint64 poolId, bytes16 scId, string name, string symbol) payable',
54
+ 'function updateShareHook(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable',
55
+ 'function updateSharePrice(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable',
56
+ 'function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 amount, bool isIssuance, bool isSnapshot, uint64 nonce)',
57
+ 'function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind, uint128 extraGasLimit) payable',
58
+ 'function wards(address) view returns (uint256)',
59
+ 'event Deny(address indexed user)',
60
+ 'event File(bytes32 what, address addr)',
61
+ 'event ForwardTransferShares(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 receiver, uint128 amount)',
62
+ 'event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)',
63
+ 'event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)',
64
+ 'event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)',
65
+ 'event NotifyShareMetadata(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)',
66
+ 'event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)',
67
+ 'event Rely(address indexed user)',
68
+ 'event SetMaxAssetPriceAge(uint64 indexed poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)',
69
+ 'event SetMaxSharePriceAge(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint64 maxPriceAge)',
70
+ 'event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)',
71
+ 'event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)',
72
+ 'event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)',
73
+ 'event UpdateVault(uint64 indexed poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind)',
74
+ 'error AccountDoesNotExist()',
75
+ 'error AssetNotFound()',
76
+ 'error CallFailedWithEmptyRevert()',
77
+ 'error FileUnrecognizedParam()',
78
+ 'error InvalidAccountCombination()',
79
+ 'error InvalidPoolId()',
80
+ 'error NoCode()',
81
+ 'error NotAuthorized()',
82
+ 'error NotManager()',
83
+ 'error PoolAlreadyUnlocked()',
84
+ 'error SafeTransferEthFailed()',
85
+ 'error ShareClassNotFound()',
86
+ 'error UnauthorizedSender()',
87
+ 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
88
+ ];
89
+ //# sourceMappingURL=Hub.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hub.abi.js","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,8CAA8C;IAC9C,gHAAgH;IAChH,+MAA+M;IAC/M,gLAAgL;IAChL,mFAAmF;IACnF,6EAA6E;IAC7E,6BAA6B;IAC7B,2CAA2C;IAC3C,mHAAmH;IACnH,iHAAiH;IACjH,2CAA2C;IAC3C,4CAA4C;IAC5C,8CAA8C;IAC9C,+CAA+C;IAC/C,wLAAwL;IACxL,uJAAuJ;IACvJ,4IAA4I;IAC5I,sPAAsP;IACtP,0CAA0C;IAC1C,iFAAiF;IACjF,kHAAkH;IAClH,iEAAiE;IACjE,iHAAiH;IACjH,mGAAmG;IACnG,wFAAwF;IACxF,qFAAqF;IACrF,qDAAqD;IACrD,yEAAyE;IACzE,0FAA0F;IAC1F,yDAAyD;IACzD,6BAA6B;IAC7B,uFAAuF;IACvF,sPAAsP;IACtP,0CAA0C;IAC1C,oFAAoF;IACpF,kHAAkH;IAClH,wGAAwG;IACxG,4GAA4G;IAC5G,iEAAiE;IACjE,mGAAmG;IACnG,+DAA+D;IAC/D,qDAAqD;IACrD,6GAA6G;IAC7G,yIAAyI;IACzI,4LAA4L;IAC5L,2GAA2G;IAC3G,0GAA0G;IAC1G,mFAAmF;IACnF,+EAA+E;IAC/E,gIAAgI;IAChI,4HAA4H;IAC5H,oGAAoG;IACpG,kGAAkG;IAClG,yFAAyF;IACzF,yIAAyI;IACzI,uIAAuI;IACvI,gDAAgD;IAChD,kCAAkC;IAClC,wCAAwC;IACxC,iIAAiI;IACjI,sIAAsI;IACtI,sEAAsE;IACtE,0FAA0F;IAC1F,yHAAyH;IACzH,gHAAgH;IAChH,kCAAkC;IAClC,qGAAqG;IACrG,iHAAiH;IACjH,uHAAuH;IACvH,0GAA0G;IAC1G,uGAAuG;IACvG,6GAA6G;IAC7G,6BAA6B;IAC7B,uBAAuB;IACvB,mCAAmC;IACnC,+BAA+B;IAC/B,mCAAmC;IACnC,uBAAuB;IACvB,gBAAgB;IAChB,uBAAuB;IACvB,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,kFAAkF;CAC1E,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["error AssetAlreadyRegistered()", "error AssetNotFound()", "error EmptyAccount()", "error EmptyCurrency()", "error EmptyShareClassManager()", "error NonExistingPool(uint64 id)", "error NotAuthorized()", "error PoolAlreadyRegistered()", "error Uint128_Overflow()", "event Deny(address indexed user)", "event NewAsset(uint128 indexed assetId, uint8 decimals)", "event NewPool(uint64 poolId, address indexed manager, uint128 indexed currency)", "event Rely(address indexed user)", "event SetMetadata(uint64 indexed poolId, bytes metadata)", "event UpdateCurrency(uint64 indexed poolId, uint128 currency)", "event UpdateDependency(bytes32 indexed what, address dependency)", "event UpdateManager(uint64 indexed poolId, address indexed manager, bool canManage)", "function currency(uint64) view returns (uint128)", "function decimals(uint128 assetId) view returns (uint8 decimals_)", "function decimals(uint256 asset_) view returns (uint8 decimals_)", "function decimals(uint64 poolId_) view returns (uint8 decimals_)", "function deny(address user)", "function dependency(bytes32) view returns (address)", "function exists(uint64 poolId_) view returns (bool)", "function isRegistered(uint128 assetId) view returns (bool)", "function manager(uint64, address) view returns (bool)", "function metadata(uint64) view returns (bytes)", "function poolId(uint16 centrifugeId, uint48 postfix) pure returns (uint64 poolId_)", "function registerAsset(uint128 assetId, uint8 decimals_)", "function registerPool(uint64 poolId_, address manager_, uint128 currency_)", "function rely(address user)", "function setMetadata(uint64 poolId_, bytes metadata_)", "function updateCurrency(uint64 poolId_, uint128 currency_)", "function updateDependency(bytes32 what, address dependency_)", "function updateManager(uint64 poolId_, address manager_, bool canManage)", "function wards(address) view returns (uint256)"];
2
+ export default _default;
3
+ //# sourceMappingURL=HubRegistry.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HubRegistry.abi.d.ts","sourceRoot":"","sources":["../../src/abi/HubRegistry.abi.ts"],"names":[],"mappings":";AAAA,wBAqCU"}
@@ -0,0 +1,39 @@
1
+ export default [
2
+ 'error AssetAlreadyRegistered()',
3
+ 'error AssetNotFound()',
4
+ 'error EmptyAccount()',
5
+ 'error EmptyCurrency()',
6
+ 'error EmptyShareClassManager()',
7
+ 'error NonExistingPool(uint64 id)',
8
+ 'error NotAuthorized()',
9
+ 'error PoolAlreadyRegistered()',
10
+ 'error Uint128_Overflow()',
11
+ 'event Deny(address indexed user)',
12
+ 'event NewAsset(uint128 indexed assetId, uint8 decimals)',
13
+ 'event NewPool(uint64 poolId, address indexed manager, uint128 indexed currency)',
14
+ 'event Rely(address indexed user)',
15
+ 'event SetMetadata(uint64 indexed poolId, bytes metadata)',
16
+ 'event UpdateCurrency(uint64 indexed poolId, uint128 currency)',
17
+ 'event UpdateDependency(bytes32 indexed what, address dependency)',
18
+ 'event UpdateManager(uint64 indexed poolId, address indexed manager, bool canManage)',
19
+ 'function currency(uint64) view returns (uint128)',
20
+ 'function decimals(uint128 assetId) view returns (uint8 decimals_)',
21
+ 'function decimals(uint256 asset_) view returns (uint8 decimals_)',
22
+ 'function decimals(uint64 poolId_) view returns (uint8 decimals_)',
23
+ 'function deny(address user)',
24
+ 'function dependency(bytes32) view returns (address)',
25
+ 'function exists(uint64 poolId_) view returns (bool)',
26
+ 'function isRegistered(uint128 assetId) view returns (bool)',
27
+ 'function manager(uint64, address) view returns (bool)',
28
+ 'function metadata(uint64) view returns (bytes)',
29
+ 'function poolId(uint16 centrifugeId, uint48 postfix) pure returns (uint64 poolId_)',
30
+ 'function registerAsset(uint128 assetId, uint8 decimals_)',
31
+ 'function registerPool(uint64 poolId_, address manager_, uint128 currency_)',
32
+ 'function rely(address user)',
33
+ 'function setMetadata(uint64 poolId_, bytes metadata_)',
34
+ 'function updateCurrency(uint64 poolId_, uint128 currency_)',
35
+ 'function updateDependency(bytes32 what, address dependency_)',
36
+ 'function updateManager(uint64 poolId_, address manager_, bool canManage)',
37
+ 'function wards(address) view returns (uint256)',
38
+ ];
39
+ //# sourceMappingURL=HubRegistry.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HubRegistry.abi.js","sourceRoot":"","sources":["../../src/abi/HubRegistry.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gCAAgC;IAChC,uBAAuB;IACvB,sBAAsB;IACtB,uBAAuB;IACvB,gCAAgC;IAChC,kCAAkC;IAClC,uBAAuB;IACvB,+BAA+B;IAC/B,0BAA0B;IAC1B,kCAAkC;IAClC,yDAAyD;IACzD,iFAAiF;IACjF,kCAAkC;IAClC,0DAA0D;IAC1D,+DAA+D;IAC/D,kEAAkE;IAClE,qFAAqF;IACrF,kDAAkD;IAClD,mEAAmE;IACnE,kEAAkE;IAClE,kEAAkE;IAClE,6BAA6B;IAC7B,qDAAqD;IACrD,qDAAqD;IACrD,4DAA4D;IAC5D,uDAAuD;IACvD,gDAAgD;IAChD,oFAAoF;IACpF,0DAA0D;IAC1D,4EAA4E;IAC5E,6BAA6B;IAC7B,uDAAuD;IACvD,4DAA4D;IAC5D,8DAA8D;IAC9D,0EAA0E;IAC1E,gDAAgD;CACxC,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function execute((address decoder, address target, bytes targetData, uint256 value, bytes32[] proof)[] calls)", "function policy(address strategist) view returns (bytes32 root)"];
2
+ export default _default;
3
+ //# sourceMappingURL=MerkleProofManager.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MerkleProofManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/MerkleProofManager.abi.ts"],"names":[],"mappings":";AAAA,wBAwBU"}
@@ -0,0 +1,26 @@
1
+ export default [
2
+ // 'receive() external payable',
3
+ // 'function contractUpdater() view returns (address)',
4
+ 'function execute((address decoder, address target, bytes targetData, uint256 value, bytes32[] proof)[] calls)',
5
+ 'function policy(address strategist) view returns (bytes32 root)',
6
+ // 'function poolId() view returns (uint64)',
7
+ // 'function update(uint64 poolId_, bytes16, bytes payload)',
8
+ // 'event ExecuteCall(address indexed target, bytes4 indexed selector, bytes targetData, uint256 value)',
9
+ // 'event UpdatePolicy(address indexed strategist, bytes32 oldRoot, bytes32 newRoot)',
10
+ // 'error CallFailed()',
11
+ // 'error DecodingFailed()',
12
+ // 'error InsufficientBalance()',
13
+ // 'error InvalidDecodersLength()',
14
+ // 'error InvalidPoolId()',
15
+ // 'error InvalidProof((address decoder, address target, bool valueNonZero, bytes4 selector, bytes addresses) leaf, bytes32[] proof)',
16
+ // 'error InvalidProofLength()',
17
+ // 'error InvalidTargetDataLength()',
18
+ // 'error InvalidValuesLength()',
19
+ // 'error NotAStrategist()',
20
+ // 'error NotAuthorized()',
21
+ // 'error SliceOutOfBounds()',
22
+ // 'error UnknownMessageType()',
23
+ // 'error UnknownUpdateContractType()',
24
+ // 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
25
+ ];
26
+ //# sourceMappingURL=MerkleProofManager.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MerkleProofManager.abi.js","sourceRoot":"","sources":["../../src/abi/MerkleProofManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gCAAgC;IAChC,uDAAuD;IACvD,+GAA+G;IAC/G,iEAAiE;IACjE,6CAA6C;IAC7C,6DAA6D;IAC7D,yGAAyG;IACzG,sFAAsF;IACtF,wBAAwB;IACxB,4BAA4B;IAC5B,iCAAiC;IACjC,mCAAmC;IACnC,2BAA2B;IAC3B,sIAAsI;IACtI,gCAAgC;IAChC,qCAAqC;IACrC,iCAAiC;IACjC,4BAA4B;IAC5B,2BAA2B;IAC3B,8BAA8B;IAC9B,gCAAgC;IAChC,uCAAuC;IACvC,sFAAsF;CAC9E,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function localCentrifugeId() view returns (uint16)"];
2
+ export default _default;
3
+ //# sourceMappingURL=MessageDispatcher.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageDispatcher.abi.d.ts","sourceRoot":"","sources":["../../src/abi/MessageDispatcher.abi.ts"],"names":[],"mappings":";AAAA,wBA+CU"}
@@ -0,0 +1,49 @@
1
+ export default [
2
+ // 'error FileUnrecognizedParam()',
3
+ // 'error NotAuthorized()',
4
+ // 'error Uint64_Overflow()',
5
+ // 'event Deny(address indexed user)',
6
+ // 'event File(bytes32 indexed what, address addr)',
7
+ // 'event Rely(address indexed user)',
8
+ // 'function balanceSheet() view returns (address)',
9
+ // 'function deny(address user)',
10
+ // 'function estimate(uint16 centrifugeId, bytes payload) view returns (uint256 amount)',
11
+ // 'function file(bytes32 what, address data)',
12
+ // 'function gateway() view returns (address)',
13
+ // 'function hub() view returns (address)',
14
+ // 'function investmentManager() view returns (address)',
15
+ 'function localCentrifugeId() view returns (uint16)',
16
+ // 'function spoke() view returns (address)',
17
+ // 'function rely(address user)',
18
+ // 'function root() view returns (address)',
19
+ // 'function sendApprovedDeposits(uint64 poolId, bytes16 scId, uint128 assetId, uint128 assetAmount)',
20
+ // 'function sendCancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 assetId)',
21
+ // 'function sendCancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 assetId)',
22
+ // 'function sendCancelUpgrade(uint16 centrifugeId, bytes32 target)',
23
+ // 'function sendDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 assetId, uint128 amount)',
24
+ // 'function sendDisputeMessageRecovery(uint16 centrifugeId, uint16 adapterCentrifugeId, bytes32 adapter, bytes32 hash)',
25
+ // 'function sendFulfilledCancelDepositRequest(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint128 cancelledAmount)',
26
+ // 'function sendFulfilledCancelRedeemRequest(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint128 cancelledShares)',
27
+ // 'function sendFulfilledDepositRequest(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint128 assetAmount, uint128 shareAmount)',
28
+ // 'function sendFulfilledRedeemRequest(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint128 assetAmount, uint128 shareAmount)',
29
+ // 'function sendInitiateMessageRecovery(uint16 centrifugeId, uint16 adapterCentrifugeId, bytes32 adapter, bytes32 hash)',
30
+ // 'function sendJournalEntry(uint64 poolId, (uint128 amount, uint32 accountId)[] debits, (uint128 amount, uint32 accountId)[] credits)',
31
+ // 'function sendNotifyPool(uint16 centrifugeId, uint64 poolId)',
32
+ // 'function sendNotifyPricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, uint128 price)',
33
+ // 'function sendNotifyPricePoolPerShare(uint16 chainId, uint64 poolId, bytes16 scId, uint128 sharePrice)',
34
+ // 'function sendNotifyShareClass(uint16 centrifugeId, uint64 poolId, bytes16 scId, string name, string symbol, uint8 decimals, bytes32 salt, bytes32 hook)',
35
+ // 'function sendRecoverTokens(uint16 centrifugeId, bytes32 target, bytes32 token, uint256 tokenId, bytes32 to, uint256 amount)',
36
+ // 'function sendRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 assetId, uint128 amount)',
37
+ // 'function sendRegisterAsset(uint16 centrifugeId, uint128 assetId, uint8 decimals)',
38
+ // 'function sendRevokedShares(uint64 poolId, bytes16 scId, uint128 assetId, uint128 assetAmount)',
39
+ // 'function sendScheduleUpgrade(uint16 centrifugeId, bytes32 target)',
40
+ // 'function sendTransferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)',
41
+ // 'function sendUpdateContract(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 target, bytes payload)',
42
+ // 'function sendUpdateHoldingAmount(uint64 poolId, bytes16 scId, uint128 assetId, address provider, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease, ((uint128 amount, uint32 accountId)[] debits, (uint128 amount, uint32 accountId)[] credits) meta)',
43
+ // 'function sendUpdateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)',
44
+ // 'function sendUpdateRestriction(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes payload)',
45
+ // 'function sendUpdateShares(uint64 poolId, bytes16 scId, address receiver, uint128 pricePoolPerShare, uint128 shares, bool isIssuance)',
46
+ // 'function tokenRecoverer() view returns (address)',
47
+ // 'function wards(address) view returns (uint256)',
48
+ ];
49
+ //# sourceMappingURL=MessageDispatcher.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageDispatcher.abi.js","sourceRoot":"","sources":["../../src/abi/MessageDispatcher.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,mCAAmC;IACnC,2BAA2B;IAC3B,6BAA6B;IAC7B,sCAAsC;IACtC,oDAAoD;IACpD,sCAAsC;IACtC,oDAAoD;IACpD,iCAAiC;IACjC,yFAAyF;IACzF,+CAA+C;IAC/C,+CAA+C;IAC/C,2CAA2C;IAC3C,yDAAyD;IACzD,oDAAoD;IACpD,6CAA6C;IAC7C,iCAAiC;IACjC,4CAA4C;IAC5C,sGAAsG;IACtG,uGAAuG;IACvG,sGAAsG;IACtG,qEAAqE;IACrE,iHAAiH;IACjH,yHAAyH;IACzH,yIAAyI;IACzI,wIAAwI;IACxI,oJAAoJ;IACpJ,mJAAmJ;IACnJ,0HAA0H;IAC1H,yIAAyI;IACzI,iEAAiE;IACjE,uGAAuG;IACvG,2GAA2G;IAC3G,6JAA6J;IAC7J,iIAAiI;IACjI,gHAAgH;IAChH,sFAAsF;IACtF,mGAAmG;IACnG,uEAAuE;IACvE,qHAAqH;IACrH,kHAAkH;IAClH,oQAAoQ;IACpQ,8GAA8G;IAC9G,qGAAqG;IACrG,0IAA0I;IAC1I,sDAAsD;IACtD,oDAAoD;CAC5C,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function estimate(uint16 centrifugeId, bytes payload, uint256 gasLimit) view returns (uint256 total)"];
2
+ export default _default;
3
+ //# sourceMappingURL=MultiAdapter.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiAdapter.abi.d.ts","sourceRoot":"","sources":["../../src/abi/MultiAdapter.abi.ts"],"names":[],"mappings":";AAAA,wBAmDU"}
@@ -0,0 +1,53 @@
1
+ export default [
2
+ // 'function PRIMARY_ADAPTER_ID() view returns (uint8)',
3
+ // 'function RECOVERY_CHALLENGE_PERIOD() view returns (uint256)',
4
+ // 'function activeSessionId(uint16 centrifugeId) view returns (uint64)',
5
+ // 'function adapters(uint16 centrifugeId, uint256) view returns (address)',
6
+ // 'function deny(address user)',
7
+ // 'function disputeRecovery(uint16 centrifugeId, address adapter, bytes32 payloadHash)',
8
+ 'function estimate(uint16 centrifugeId, bytes payload, uint256 gasLimit) view returns (uint256 total)',
9
+ // 'function executeRecovery(uint16 centrifugeId, address adapter, bytes payload)',
10
+ // 'function file(bytes32 what, address instance)',
11
+ // 'function file(bytes32 what, uint16 centrifugeId, address[] addresses)',
12
+ // 'function gateway() view returns (address)',
13
+ // 'function handle(uint16 centrifugeId, bytes payload)',
14
+ // 'function inbound(uint16 centrifugeId, bytes32 payloadHash) view returns (uint64 sessionId, bytes pending)',
15
+ // 'function initiateRecovery(uint16 centrifugeId, address adapter, bytes32 payloadHash)',
16
+ // 'function localCentrifugeId() view returns (uint16)',
17
+ // 'function quorum(uint16 centrifugeId) view returns (uint8)',
18
+ // 'function recoveries(uint16 centrifugeId, address adapter, bytes32 payloadHash) view returns (uint256 timestamp)',
19
+ // 'function rely(address user)',
20
+ // 'function send(uint16 centrifugeId, bytes payload, uint256 gasLimit, address refund) payable returns (bytes32)',
21
+ // 'function votes(uint16 centrifugeId, bytes32 payloadHash) view returns (uint16[8])',
22
+ // 'function wards(address) view returns (uint256)',
23
+ // 'event Deny(address indexed user)',
24
+ // 'event DisputeRecovery(uint16 centrifugeId, bytes32 payloadHash, address adapter)',
25
+ // 'event ExecuteRecovery(uint16 centrifugeId, bytes message, address adapter)',
26
+ // 'event File(bytes32 indexed what, address addr)',
27
+ // 'event File(bytes32 indexed what, uint16 centrifugeId, address[] adapters)',
28
+ // 'event HandlePayload(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes payload, address adapter)',
29
+ // 'event HandleProof(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes32 payloadHash, address adapter)',
30
+ // 'event InitiateRecovery(uint16 centrifugeId, bytes32 payloadHash, address adapter)',
31
+ // 'event Rely(address indexed user)',
32
+ // 'event SendPayload(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes payload, address adapter, bytes32 adapterData, address refund)',
33
+ // 'event SendProof(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes32 payloadHash, address adapter, bytes32 adapterData)',
34
+ // 'error EmptyAdapterSet()',
35
+ // 'error ExceedsMax()',
36
+ // 'error FileUnrecognizedParam()',
37
+ // 'error InvalidAdapter()',
38
+ // 'error InvalidMessage(uint8 code)',
39
+ // 'error InvalidValues()',
40
+ // 'error NoDuplicatesAllowed()',
41
+ // 'error NonPayloadAdapter()',
42
+ // 'error NonProofAdapter()',
43
+ // 'error NotAuthorized()',
44
+ // 'error NotEntrypoint()',
45
+ // 'error RecoveryChallengePeriodNotEnded()',
46
+ // 'error RecoveryNotInitiated()',
47
+ // 'error RecoveryPayloadRecovered()',
48
+ // 'error SliceOutOfBounds()',
49
+ // 'error Uint8_Overflow()',
50
+ // 'error UnknownChainId()',
51
+ // 'error UnknownMessageProofType()',
52
+ ];
53
+ //# sourceMappingURL=MultiAdapter.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiAdapter.abi.js","sourceRoot":"","sources":["../../src/abi/MultiAdapter.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,wDAAwD;IACxD,iEAAiE;IACjE,yEAAyE;IACzE,4EAA4E;IAC5E,iCAAiC;IACjC,yFAAyF;IACzF,sGAAsG;IACtG,mFAAmF;IACnF,mDAAmD;IACnD,2EAA2E;IAC3E,+CAA+C;IAC/C,yDAAyD;IACzD,+GAA+G;IAC/G,0FAA0F;IAC1F,wDAAwD;IACxD,+DAA+D;IAC/D,qHAAqH;IACrH,iCAAiC;IACjC,mHAAmH;IACnH,uFAAuF;IACvF,oDAAoD;IACpD,sCAAsC;IACtC,sFAAsF;IACtF,gFAAgF;IAChF,oDAAoD;IACpD,+EAA+E;IAC/E,iHAAiH;IACjH,qHAAqH;IACrH,uFAAuF;IACvF,sCAAsC;IACtC,oJAAoJ;IACpJ,wIAAwI;IACxI,6BAA6B;IAC7B,wBAAwB;IACxB,mCAAmC;IACnC,4BAA4B;IAC5B,sCAAsC;IACtC,2BAA2B;IAC3B,iCAAiC;IACjC,+BAA+B;IAC/B,6BAA6B;IAC7B,2BAA2B;IAC3B,2BAA2B;IAC3B,6CAA6C;IAC7C,kCAAkC;IAClC,sCAAsC;IACtC,8BAA8B;IAC9B,4BAA4B;IAC5B,4BAA4B;IAC5B,qCAAqC;CAC7B,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function balanceSheet() view returns (address)", "function contractUpdater() view returns (address)", "function deposit(address asset, uint256, uint128 amount, address)", "function offramp(address asset, address receiver) view returns (bool isEnabled)", "function onramp(address asset) view returns (bool)", "function poolId() view returns (uint64)", "function relayer(address relayer) view returns (bool)", "function scId() view returns (bytes16)", "function supportsInterface(bytes4 interfaceId) pure returns (bool)", "function update(uint64 poolId_, bytes16 scId_, bytes payload)", "function withdraw(address asset, uint256, uint128 amount, address receiver)", "event UpdateOfframp(address indexed asset, address receiver, bool isEnabled)", "event UpdateOnramp(address indexed asset, bool isEnabled)", "event UpdateRelayer(address indexed relayer, bool isEnabled)", "error ERC6909NotSupported()", "error InvalidAmount()", "error InvalidOfframpDestination()", "error InvalidPoolId()", "error InvalidShareClassId()", "error NoCode()", "error NotAllowedOnrampAsset()", "error NotContractUpdater()", "error NotRelayer()", "error SliceOutOfBounds()", "error UnknownMessageType()", "error UnknownUpdateContractKind()", "error UnknownUpdateContractType()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
2
+ export default _default;
3
+ //# sourceMappingURL=OnOffRampManager.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnOffRampManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/OnOffRampManager.abi.ts"],"names":[],"mappings":";AAAA,wBA6BU"}
@@ -0,0 +1,31 @@
1
+ export default [
2
+ 'function balanceSheet() view returns (address)',
3
+ 'function contractUpdater() view returns (address)',
4
+ 'function deposit(address asset, uint256, uint128 amount, address)',
5
+ 'function offramp(address asset, address receiver) view returns (bool isEnabled)',
6
+ 'function onramp(address asset) view returns (bool)',
7
+ 'function poolId() view returns (uint64)',
8
+ 'function relayer(address relayer) view returns (bool)',
9
+ 'function scId() view returns (bytes16)',
10
+ 'function supportsInterface(bytes4 interfaceId) pure returns (bool)',
11
+ 'function update(uint64 poolId_, bytes16 scId_, bytes payload)',
12
+ 'function withdraw(address asset, uint256, uint128 amount, address receiver)',
13
+ 'event UpdateOfframp(address indexed asset, address receiver, bool isEnabled)',
14
+ 'event UpdateOnramp(address indexed asset, bool isEnabled)',
15
+ 'event UpdateRelayer(address indexed relayer, bool isEnabled)',
16
+ 'error ERC6909NotSupported()',
17
+ 'error InvalidAmount()',
18
+ 'error InvalidOfframpDestination()',
19
+ 'error InvalidPoolId()',
20
+ 'error InvalidShareClassId()',
21
+ 'error NoCode()',
22
+ 'error NotAllowedOnrampAsset()',
23
+ 'error NotContractUpdater()',
24
+ 'error NotRelayer()',
25
+ 'error SliceOutOfBounds()',
26
+ 'error UnknownMessageType()',
27
+ 'error UnknownUpdateContractKind()',
28
+ 'error UnknownUpdateContractType()',
29
+ 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
30
+ ];
31
+ //# sourceMappingURL=OnOffRampManager.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnOffRampManager.abi.js","sourceRoot":"","sources":["../../src/abi/OnOffRampManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gDAAgD;IAChD,mDAAmD;IACnD,mEAAmE;IACnE,iFAAiF;IACjF,oDAAoD;IACpD,yCAAyC;IACzC,uDAAuD;IACvD,wCAAwC;IACxC,oEAAoE;IACpE,+DAA+D;IAC/D,6EAA6E;IAC7E,8EAA8E;IAC9E,2DAA2D;IAC3D,8DAA8D;IAC9D,6BAA6B;IAC7B,uBAAuB;IACvB,mCAAmC;IACnC,uBAAuB;IACvB,6BAA6B;IAC7B,gBAAgB;IAChB,+BAA+B;IAC/B,4BAA4B;IAC5B,oBAAoB;IACpB,0BAA0B;IAC1B,4BAA4B;IAC5B,mCAAmC;IACnC,mCAAmC;IACnC,kFAAkF;CAC1E,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function newManager(uint64 poolId, bytes16 scId) returns (address)"];
2
+ export default _default;
3
+ //# sourceMappingURL=OnOffRampManagerFactory.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnOffRampManagerFactory.abi.d.ts","sourceRoot":"","sources":["../../src/abi/OnOffRampManagerFactory.abi.ts"],"names":[],"mappings":";AAAA,wBAA8F"}
@@ -0,0 +1,2 @@
1
+ export default ['function newManager(uint64 poolId, bytes16 scId) returns (address)'];
2
+ //# sourceMappingURL=OnOffRampManagerFactory.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnOffRampManagerFactory.abi.js","sourceRoot":"","sources":["../../src/abi/OnOffRampManagerFactory.abi.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,oEAAoE,CAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function holding(bytes16 scId, address asset, uint256 tokenId) view returns (uint128 total, uint128 reserved)", "event DecreaseReserve(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint256 delta, uint128 value)", "event Deposit(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint128 value)", "event IncreaseReserve(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint256 delta, uint128 value)", "event Withdraw(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint128 value)"];
2
+ export default _default;
3
+ //# sourceMappingURL=PoolEscrow.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoolEscrow.abi.d.ts","sourceRoot":"","sources":["../../src/abi/PoolEscrow.abi.ts"],"names":[],"mappings":";AAAA,wBA8BU"}
@@ -0,0 +1,32 @@
1
+ export default [
2
+ // 'receive() external payable',
3
+ // 'function authTransferTo(address asset, uint256 tokenId, address receiver, uint256 amount)',
4
+ // 'function availableBalanceOf(bytes16 scId, address asset, uint256 tokenId) view returns (uint128)',
5
+ // 'function deny(address user)',
6
+ // 'function deposit(bytes16 scId, address asset, uint256 tokenId, uint128 value)',
7
+ 'function holding(bytes16 scId, address asset, uint256 tokenId) view returns (uint128 total, uint128 reserved)',
8
+ // 'function poolId() view returns (uint64)',
9
+ // 'function recoverTokens(address token, address receiver, uint256 amount)',
10
+ // 'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
11
+ // 'function rely(address user)',
12
+ // 'function reserve(bytes16 scId, address asset, uint256 tokenId, uint128 value)',
13
+ // 'function unreserve(bytes16 scId, address asset, uint256 tokenId, uint128 value)',
14
+ // 'function wards(address) view returns (uint256)',
15
+ // 'function withdraw(bytes16 scId, address asset, uint256 tokenId, uint128 value)',
16
+ // 'event AuthTransferTo(address indexed asset, uint256 indexed tokenId, address receiver, uint256 value)',
17
+ 'event DecreaseReserve(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint256 delta, uint128 value)',
18
+ // 'event Deny(address indexed user)',
19
+ 'event Deposit(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint128 value)',
20
+ 'event IncreaseReserve(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint256 delta, uint128 value)',
21
+ // 'event ReceiveNativeTokens(address who, uint256 amount)',
22
+ // 'event Rely(address indexed user)',
23
+ 'event Withdraw(address indexed asset, uint256 indexed tokenId, uint64 indexed poolId, bytes16 scId, uint128 value)',
24
+ // 'error InsufficientBalance(address asset, uint256 tokenId, uint256 value, uint256 balance)',
25
+ // 'error InsufficientDeposit()',
26
+ // 'error InsufficientReservedAmount()',
27
+ // 'error NoCode()',
28
+ // 'error NotAuthorized()',
29
+ // 'error SafeTransferEthFailed()',
30
+ // 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
31
+ ];
32
+ //# sourceMappingURL=PoolEscrow.abi.js.map