@centrifuge/sdk 0.0.0-alpha.5 → 0.0.0-alpha.51
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.
- package/README.md +19 -8
- package/dist/Centrifuge.d.ts +281 -427
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/Centrifuge.js +643 -145
- package/dist/Centrifuge.js.map +1 -1
- package/dist/Centrifuge.test.d.ts +2 -0
- package/dist/Centrifuge.test.d.ts.map +1 -0
- package/dist/Centrifuge.test.js +529 -0
- package/dist/Centrifuge.test.js.map +1 -0
- package/dist/abi/Accounting.abi.d.ts +3 -0
- package/dist/abi/Accounting.abi.d.ts.map +1 -0
- package/dist/abi/Accounting.abi.js +33 -0
- package/dist/abi/Accounting.abi.js.map +1 -0
- package/dist/abi/AsyncRequestManager.abi.d.ts +3 -0
- package/dist/abi/AsyncRequestManager.abi.d.ts.map +1 -0
- package/dist/abi/AsyncRequestManager.abi.js +78 -0
- package/dist/abi/AsyncRequestManager.abi.js.map +1 -0
- package/dist/abi/AsyncVault.abi.d.ts +3 -0
- package/dist/abi/AsyncVault.abi.d.ts.map +1 -0
- package/dist/abi/AsyncVault.abi.js +101 -0
- package/dist/abi/AsyncVault.abi.js.map +1 -0
- package/dist/abi/BalanceSheet.abi.d.ts +3 -0
- package/dist/abi/BalanceSheet.abi.d.ts.map +1 -0
- package/dist/abi/BalanceSheet.abi.js +55 -0
- package/dist/abi/BalanceSheet.abi.js.map +1 -0
- package/dist/abi/Currency.abi.d.ts +3 -0
- package/dist/abi/Currency.abi.d.ts.map +1 -0
- package/dist/abi/Currency.abi.js +16 -0
- package/dist/abi/Currency.abi.js.map +1 -0
- package/dist/abi/ERC6909.abi.d.ts +3 -0
- package/dist/abi/ERC6909.abi.d.ts.map +1 -0
- package/dist/abi/ERC6909.abi.js +22 -0
- package/dist/abi/ERC6909.abi.js.map +1 -0
- package/dist/abi/GasService.abi.d.ts +3 -0
- package/dist/abi/GasService.abi.d.ts.map +1 -0
- package/dist/abi/GasService.abi.js +32 -0
- package/dist/abi/GasService.abi.js.map +1 -0
- package/dist/abi/Holdings.abi.d.ts +3 -0
- package/dist/abi/Holdings.abi.d.ts.map +1 -0
- package/dist/abi/Holdings.abi.js +43 -0
- package/dist/abi/Holdings.abi.js.map +1 -0
- package/dist/abi/Hub.abi.d.ts +3 -0
- package/dist/abi/Hub.abi.d.ts.map +1 -0
- package/dist/abi/Hub.abi.js +89 -0
- package/dist/abi/Hub.abi.js.map +1 -0
- package/dist/abi/HubRegistry.abi.d.ts +3 -0
- package/dist/abi/HubRegistry.abi.d.ts.map +1 -0
- package/dist/abi/HubRegistry.abi.js +39 -0
- package/dist/abi/HubRegistry.abi.js.map +1 -0
- package/dist/abi/MessageDispatcher.abi.d.ts +3 -0
- package/dist/abi/MessageDispatcher.abi.d.ts.map +1 -0
- package/dist/abi/MessageDispatcher.abi.js +49 -0
- package/dist/abi/MessageDispatcher.abi.js.map +1 -0
- package/dist/abi/MultiAdapter.abi.d.ts +3 -0
- package/dist/abi/MultiAdapter.abi.d.ts.map +1 -0
- package/dist/abi/MultiAdapter.abi.js +53 -0
- package/dist/abi/MultiAdapter.abi.js.map +1 -0
- package/dist/abi/PoolEscrow.abi.d.ts +3 -0
- package/dist/abi/PoolEscrow.abi.d.ts.map +1 -0
- package/dist/abi/PoolEscrow.abi.js +32 -0
- package/dist/abi/PoolEscrow.abi.js.map +1 -0
- package/dist/abi/PoolEscrowFactory.abi.d.ts +3 -0
- package/dist/abi/PoolEscrowFactory.abi.d.ts.map +1 -0
- package/dist/abi/PoolEscrowFactory.abi.js +19 -0
- package/dist/abi/PoolEscrowFactory.abi.js.map +1 -0
- package/dist/abi/RestrictionManager.abi.d.ts +3 -0
- package/dist/abi/RestrictionManager.abi.d.ts.map +1 -0
- package/dist/abi/RestrictionManager.abi.js +23 -0
- package/dist/abi/RestrictionManager.abi.js.map +1 -0
- package/dist/abi/ShareClassManager.abi.d.ts +3 -0
- package/dist/abi/ShareClassManager.abi.d.ts.map +1 -0
- package/dist/abi/ShareClassManager.abi.js +89 -0
- package/dist/abi/ShareClassManager.abi.js.map +1 -0
- package/dist/abi/Spoke.abi.d.ts +3 -0
- package/dist/abi/Spoke.abi.d.ts.map +1 -0
- package/dist/abi/Spoke.abi.js +90 -0
- package/dist/abi/Spoke.abi.js.map +1 -0
- package/dist/abi/SyncRequestManager.abi.d.ts +3 -0
- package/dist/abi/SyncRequestManager.abi.d.ts.map +1 -0
- package/dist/abi/SyncRequestManager.abi.js +61 -0
- package/dist/abi/SyncRequestManager.abi.js.map +1 -0
- package/dist/abi/Valuation.abi.d.ts +3 -0
- package/dist/abi/Valuation.abi.d.ts.map +1 -0
- package/dist/abi/Valuation.abi.js +2 -0
- package/dist/abi/Valuation.abi.js.map +1 -0
- package/dist/abi/VaultRouter.abi.d.ts +3 -0
- package/dist/abi/VaultRouter.abi.d.ts.map +1 -0
- package/dist/abi/VaultRouter.abi.js +50 -0
- package/dist/abi/VaultRouter.abi.js.map +1 -0
- package/dist/abi/index.d.ts +8696 -8
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +40 -16
- package/dist/abi/index.js.map +1 -1
- package/dist/config/chains.d.ts +184 -925
- package/dist/config/chains.d.ts.map +1 -1
- package/dist/config/chains.js +2 -2
- package/dist/config/chains.js.map +1 -1
- package/dist/config/protocol.d.ts +3 -0
- package/dist/config/protocol.d.ts.map +1 -0
- package/dist/config/protocol.js +7 -0
- package/dist/config/protocol.js.map +1 -0
- package/dist/entities/BalanceSheet.d.ts +48 -0
- package/dist/entities/BalanceSheet.d.ts.map +1 -0
- package/dist/entities/BalanceSheet.js +94 -0
- package/dist/entities/BalanceSheet.js.map +1 -0
- package/dist/entities/BalanceSheet.test.d.ts +2 -0
- package/dist/entities/BalanceSheet.test.d.ts.map +1 -0
- package/dist/entities/BalanceSheet.test.js +64 -0
- package/dist/entities/BalanceSheet.test.js.map +1 -0
- package/dist/entities/Entity.d.ts +8 -0
- package/dist/entities/Entity.d.ts.map +1 -0
- package/dist/{Entity.js → entities/Entity.js} +5 -3
- package/dist/entities/Entity.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/assetSnapshots.d.ts +14 -14
- package/dist/entities/IndexerQueries/assetSnapshots.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/assetSnapshots.js +16 -16
- package/dist/entities/IndexerQueries/assetSnapshots.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/assetTransactions.d.ts +9 -6
- package/dist/entities/IndexerQueries/assetTransactions.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/assetTransactions.js +8 -7
- package/dist/entities/IndexerQueries/assetTransactions.js.map +1 -0
- package/dist/entities/IndexerQueries/epochs.d.ts +45 -0
- package/dist/entities/IndexerQueries/epochs.d.ts.map +1 -0
- package/dist/entities/IndexerQueries/epochs.js +51 -0
- package/dist/entities/IndexerQueries/epochs.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/index.d.ts +24 -22
- package/dist/entities/IndexerQueries/index.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/index.js +10 -6
- package/dist/entities/IndexerQueries/index.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/investorTransactions.d.ts +4 -4
- package/dist/entities/IndexerQueries/investorTransactions.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/investorTransactions.js +4 -4
- package/dist/entities/IndexerQueries/investorTransactions.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeSnapshots.d.ts +8 -8
- package/dist/entities/IndexerQueries/poolFeeSnapshots.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeSnapshots.js +8 -8
- package/dist/entities/IndexerQueries/poolFeeSnapshots.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeTransactions.d.ts +3 -3
- package/dist/entities/IndexerQueries/poolFeeTransactions.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolFeeTransactions.js +3 -3
- package/dist/entities/IndexerQueries/poolFeeTransactions.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolSnapshots.d.ts +30 -24
- package/dist/entities/IndexerQueries/poolSnapshots.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/poolSnapshots.js +29 -23
- package/dist/entities/IndexerQueries/poolSnapshots.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/trancheCurrencyBalance.d.ts +15 -17
- package/dist/entities/IndexerQueries/trancheCurrencyBalance.d.ts.map +1 -0
- package/dist/entities/IndexerQueries/trancheCurrencyBalance.js +63 -0
- package/dist/entities/IndexerQueries/trancheCurrencyBalance.js.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/trancheSnapshots.d.ts +6 -6
- package/dist/entities/IndexerQueries/trancheSnapshots.d.ts.map +1 -0
- package/dist/{IndexerQueries → entities/IndexerQueries}/trancheSnapshots.js +6 -6
- package/dist/entities/IndexerQueries/trancheSnapshots.js.map +1 -0
- package/dist/entities/Investor.d.ts +33 -0
- package/dist/entities/Investor.d.ts.map +1 -0
- package/dist/entities/Investor.js +59 -0
- package/dist/entities/Investor.js.map +1 -0
- package/dist/entities/Investor.test.d.ts +2 -0
- package/dist/entities/Investor.test.d.ts.map +1 -0
- package/dist/entities/Investor.test.js +74 -0
- package/dist/entities/Investor.test.js.map +1 -0
- package/dist/entities/MerkleProofManager.d.ts +30 -0
- package/dist/entities/MerkleProofManager.d.ts.map +1 -0
- package/dist/entities/MerkleProofManager.js +140 -0
- package/dist/entities/MerkleProofManager.js.map +1 -0
- package/dist/entities/MerkleProofManager.test.d.ts +2 -0
- package/dist/entities/MerkleProofManager.test.d.ts.map +1 -0
- package/dist/entities/MerkleProofManager.test.js +27 -0
- package/dist/entities/MerkleProofManager.test.js.map +1 -0
- package/dist/entities/Pool.d.ts +155 -0
- package/dist/entities/Pool.d.ts.map +1 -0
- package/dist/entities/Pool.js +590 -0
- package/dist/entities/Pool.js.map +1 -0
- package/dist/entities/Pool.test.d.ts +2 -0
- package/dist/entities/Pool.test.d.ts.map +1 -0
- package/dist/entities/Pool.test.js +270 -0
- package/dist/entities/Pool.test.js.map +1 -0
- package/dist/entities/PoolNetwork.d.ts +73 -0
- package/dist/entities/PoolNetwork.d.ts.map +1 -0
- package/dist/entities/PoolNetwork.js +318 -0
- package/dist/entities/PoolNetwork.js.map +1 -0
- package/dist/entities/PoolNetwork.test.d.ts +2 -0
- package/dist/entities/PoolNetwork.test.d.ts.map +1 -0
- package/dist/entities/PoolNetwork.test.js +112 -0
- package/dist/entities/PoolNetwork.test.js.map +1 -0
- package/dist/entities/Reports/PoolReports.d.ts +8 -0
- package/dist/entities/Reports/PoolReports.d.ts.map +1 -0
- package/dist/entities/Reports/PoolReports.js +14 -0
- package/dist/entities/Reports/PoolReports.js.map +1 -0
- package/dist/entities/Reports/PoolSharePricesReport.d.ts +25 -0
- package/dist/entities/Reports/PoolSharePricesReport.d.ts.map +1 -0
- package/dist/entities/Reports/PoolSharePricesReport.js +64 -0
- package/dist/entities/Reports/PoolSharePricesReport.js.map +1 -0
- package/dist/entities/Reports/PoolSharePricesReport.test.d.ts +2 -0
- package/dist/entities/Reports/PoolSharePricesReport.test.d.ts.map +1 -0
- package/dist/entities/Reports/PoolSharePricesReport.test.js +35 -0
- package/dist/entities/Reports/PoolSharePricesReport.test.js.map +1 -0
- package/dist/{Reports → entities/Reports}/Processor.d.ts +3 -1
- package/dist/entities/Reports/Processor.d.ts.map +1 -0
- package/dist/{Reports → entities/Reports}/Processor.js +100 -22
- package/dist/entities/Reports/Processor.js.map +1 -0
- package/dist/entities/Reports/Processor.test.d.ts +2 -0
- package/dist/entities/Reports/Processor.test.d.ts.map +1 -0
- package/dist/entities/Reports/Processor.test.js +767 -0
- package/dist/entities/Reports/Processor.test.js.map +1 -0
- package/dist/entities/Reports/Reports.test.d.ts +2 -0
- package/dist/entities/Reports/Reports.test.d.ts.map +1 -0
- package/dist/entities/Reports/Reports.test.js +559 -0
- package/dist/entities/Reports/Reports.test.js.map +1 -0
- package/dist/entities/Reports/index.d.ts +21 -0
- package/dist/entities/Reports/index.d.ts.map +1 -0
- package/dist/{Reports → entities/Reports}/index.js +25 -7
- package/dist/entities/Reports/index.js.map +1 -0
- package/dist/entities/Reports/types.d.ts +9 -0
- package/dist/entities/Reports/types.d.ts.map +1 -0
- package/dist/entities/Reports/types.js +2 -0
- package/dist/entities/Reports/types.js.map +1 -0
- package/dist/entities/Reports/utils.d.ts +20 -0
- package/dist/entities/Reports/utils.d.ts.map +1 -0
- package/dist/entities/Reports/utils.js +47 -0
- package/dist/entities/Reports/utils.js.map +1 -0
- package/dist/entities/ShareClass.d.ts +196 -0
- package/dist/entities/ShareClass.d.ts.map +1 -0
- package/dist/entities/ShareClass.js +1189 -0
- package/dist/entities/ShareClass.js.map +1 -0
- package/dist/entities/ShareClass.test.d.ts +2 -0
- package/dist/entities/ShareClass.test.d.ts.map +1 -0
- package/dist/entities/ShareClass.test.js +500 -0
- package/dist/entities/ShareClass.test.js.map +1 -0
- package/dist/entities/Vault.d.ts +92 -0
- package/dist/entities/Vault.d.ts.map +1 -0
- package/dist/entities/Vault.js +434 -0
- package/dist/entities/Vault.js.map +1 -0
- package/dist/entities/Vault.test.d.ts +2 -0
- package/dist/entities/Vault.test.d.ts.map +1 -0
- package/dist/entities/Vault.test.js +306 -0
- package/dist/entities/Vault.test.js.map +1 -0
- package/dist/index.d.ts +15 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/tests/forkServer.d.mts +2 -0
- package/dist/tests/forkServer.d.mts.map +1 -0
- package/dist/tests/forkServer.mjs +104 -0
- package/dist/tests/forkServer.mjs.map +1 -0
- package/dist/tests/mocks/mockAssetSnapshots.d.ts +1 -1
- package/dist/tests/mocks/mockAssetSnapshots.d.ts.map +1 -1
- package/dist/tests/mocks/mockAssetSnapshots.js +27 -27
- package/dist/tests/mocks/mockAssetSnapshots.js.map +1 -1
- package/dist/tests/mocks/mockAssetTransactions.d.ts +1 -1
- package/dist/tests/mocks/mockAssetTransactions.d.ts.map +1 -1
- package/dist/tests/mocks/mockAssetTransactions.js +24 -19
- package/dist/tests/mocks/mockAssetTransactions.js.map +1 -1
- package/dist/tests/mocks/mockEpochs.d.ts +3 -0
- package/dist/tests/mocks/mockEpochs.d.ts.map +1 -0
- package/dist/tests/mocks/mockEpochs.js +26 -0
- package/dist/tests/mocks/mockEpochs.js.map +1 -0
- package/dist/tests/mocks/mockInvestorCurrencyBalance.d.ts +1 -1
- package/dist/tests/mocks/mockInvestorCurrencyBalance.d.ts.map +1 -1
- package/dist/tests/mocks/mockInvestorCurrencyBalance.js +15 -15
- package/dist/tests/mocks/mockInvestorCurrencyBalance.js.map +1 -1
- package/dist/tests/mocks/mockInvestorTransactions.d.ts +1 -1
- package/dist/tests/mocks/mockInvestorTransactions.d.ts.map +1 -1
- package/dist/tests/mocks/mockInvestorTransactions.js +5 -5
- package/dist/tests/mocks/mockInvestorTransactions.js.map +1 -1
- package/dist/tests/mocks/mockPoolFeeSnapshot.d.ts +1 -1
- package/dist/tests/mocks/mockPoolFeeSnapshot.d.ts.map +1 -1
- package/dist/tests/mocks/mockPoolFeeSnapshot.js +29 -29
- package/dist/tests/mocks/mockPoolFeeSnapshot.js.map +1 -1
- package/dist/tests/mocks/mockPoolFeeTransactions.d.ts +3 -3
- package/dist/tests/mocks/mockPoolFeeTransactions.d.ts.map +1 -1
- package/dist/tests/mocks/mockPoolFeeTransactions.js +3 -3
- package/dist/tests/mocks/mockPoolFeeTransactions.js.map +1 -1
- package/dist/tests/mocks/mockPoolMetadata.d.ts.map +1 -1
- package/dist/tests/mocks/mockPoolMetadata.js +7 -17
- package/dist/tests/mocks/mockPoolMetadata.js.map +1 -1
- package/dist/tests/mocks/mockPoolSnapshots.d.ts +1 -1
- package/dist/tests/mocks/mockPoolSnapshots.d.ts.map +1 -1
- package/dist/tests/mocks/mockPoolSnapshots.js +47 -45
- package/dist/tests/mocks/mockPoolSnapshots.js.map +1 -1
- package/dist/tests/mocks/mockTrancheSnapshots.d.ts +1 -1
- package/dist/tests/mocks/mockTrancheSnapshots.d.ts.map +1 -1
- package/dist/tests/mocks/mockTrancheSnapshots.js +21 -21
- package/dist/tests/mocks/mockTrancheSnapshots.js.map +1 -1
- package/dist/tests/setup.d.ts.map +1 -1
- package/dist/tests/setup.js +4 -3
- package/dist/tests/setup.js.map +1 -1
- package/dist/tests/tenderly.d.ts +15 -2
- package/dist/tests/tenderly.d.ts.map +1 -1
- package/dist/tests/tenderly.js +74 -67
- package/dist/tests/tenderly.js.map +1 -1
- package/dist/tests/utils.d.ts +3 -0
- package/dist/tests/utils.d.ts.map +1 -0
- package/dist/tests/utils.js +4 -0
- package/dist/tests/utils.js.map +1 -0
- package/dist/types/holdings.d.ts +9 -0
- package/dist/types/holdings.d.ts.map +1 -0
- package/dist/types/holdings.js +10 -0
- package/dist/types/holdings.js.map +1 -0
- package/dist/types/index.d.ts +64 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/indexer.d.ts +4189 -0
- package/dist/types/indexer.d.ts.map +1 -0
- package/dist/types/indexer.js +56 -0
- package/dist/types/indexer.js.map +1 -0
- package/dist/types/poolInput.d.ts +71 -0
- package/dist/types/poolInput.d.ts.map +1 -0
- package/dist/types/poolInput.js +2 -0
- package/dist/types/poolInput.js.map +1 -0
- package/dist/types/poolMetadata.d.ts +14 -13
- package/dist/types/poolMetadata.d.ts.map +1 -1
- package/dist/types/reports.d.ts +130 -69
- package/dist/types/reports.d.ts.map +1 -1
- package/dist/types/transaction.d.ts +60 -3
- package/dist/types/transaction.d.ts.map +1 -1
- package/dist/types/transaction.js +55 -1
- package/dist/types/transaction.js.map +1 -1
- package/dist/utils/BigInt.d.ts +16 -35
- package/dist/utils/BigInt.d.ts.map +1 -1
- package/dist/utils/BigInt.js +18 -25
- package/dist/utils/BigInt.js.map +1 -1
- package/dist/utils/BigInt.test.d.ts +2 -0
- package/dist/utils/BigInt.test.d.ts.map +1 -0
- package/dist/utils/BigInt.test.js +298 -0
- package/dist/utils/BigInt.test.js.map +1 -0
- package/dist/utils/currencies.d.ts +5 -0
- package/dist/utils/currencies.d.ts.map +1 -0
- package/dist/utils/currencies.js +7 -0
- package/dist/utils/currencies.js.map +1 -0
- package/dist/utils/decimal.d.ts +2 -2
- package/dist/utils/decimal.d.ts.map +1 -1
- package/dist/utils/decimal.js.map +1 -1
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +24 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/ipfs.d.ts +7 -0
- package/dist/utils/ipfs.d.ts.map +1 -0
- package/dist/utils/ipfs.js +64 -0
- package/dist/utils/ipfs.js.map +1 -0
- package/dist/utils/ipfs.test.d.ts +2 -0
- package/dist/utils/ipfs.test.d.ts.map +1 -0
- package/dist/utils/ipfs.test.js +54 -0
- package/dist/utils/ipfs.test.js.map +1 -0
- package/dist/utils/permit.d.ts +13 -0
- package/dist/utils/permit.d.ts.map +1 -0
- package/dist/utils/permit.js +82 -0
- package/dist/utils/permit.js.map +1 -0
- package/dist/utils/permit.test.d.ts +2 -0
- package/dist/utils/permit.test.d.ts.map +1 -0
- package/dist/utils/permit.test.js +22 -0
- package/dist/utils/permit.test.js.map +1 -0
- package/dist/utils/rx.d.ts +1 -1
- package/dist/utils/rx.d.ts.map +1 -1
- package/dist/utils/rx.js +4 -0
- package/dist/utils/rx.js.map +1 -1
- package/dist/utils/transaction.d.ts +15 -10
- package/dist/utils/transaction.d.ts.map +1 -1
- package/dist/utils/transaction.js +57 -21
- package/dist/utils/transaction.js.map +1 -1
- package/dist/utils/types.d.ts +39 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/types.js +89 -0
- package/dist/utils/types.js.map +1 -0
- package/dist/utils/types.test.d.ts +2 -0
- package/dist/utils/types.test.d.ts.map +1 -0
- package/dist/utils/types.test.js +89 -0
- package/dist/utils/types.test.js.map +1 -0
- package/package.json +14 -9
- package/dist/Account.d.ts +0 -11
- package/dist/Account.d.ts.map +0 -1
- package/dist/Account.js +0 -46
- package/dist/Account.js.map +0 -1
- package/dist/Entity.d.ts +0 -12
- package/dist/Entity.d.ts.map +0 -1
- package/dist/Entity.js.map +0 -1
- package/dist/IndexerQueries/assetSnapshots.d.ts.map +0 -1
- package/dist/IndexerQueries/assetSnapshots.js.map +0 -1
- package/dist/IndexerQueries/assetTransactions.d.ts.map +0 -1
- package/dist/IndexerQueries/assetTransactions.js.map +0 -1
- package/dist/IndexerQueries/index.d.ts.map +0 -1
- package/dist/IndexerQueries/index.js.map +0 -1
- package/dist/IndexerQueries/investorTransactions.d.ts.map +0 -1
- package/dist/IndexerQueries/investorTransactions.js.map +0 -1
- package/dist/IndexerQueries/poolFeeSnapshots.d.ts.map +0 -1
- package/dist/IndexerQueries/poolFeeSnapshots.js.map +0 -1
- package/dist/IndexerQueries/poolFeeTransactions.d.ts.map +0 -1
- package/dist/IndexerQueries/poolFeeTransactions.js.map +0 -1
- package/dist/IndexerQueries/poolSnapshots.d.ts.map +0 -1
- package/dist/IndexerQueries/poolSnapshots.js.map +0 -1
- package/dist/IndexerQueries/trancheCurrencyBalance.d.ts.map +0 -1
- package/dist/IndexerQueries/trancheCurrencyBalance.js +0 -103
- package/dist/IndexerQueries/trancheCurrencyBalance.js.map +0 -1
- package/dist/IndexerQueries/trancheSnapshots.d.ts.map +0 -1
- package/dist/IndexerQueries/trancheSnapshots.js.map +0 -1
- package/dist/Pool.d.ts +0 -27
- package/dist/Pool.d.ts.map +0 -1
- package/dist/Pool.js +0 -76
- package/dist/Pool.js.map +0 -1
- package/dist/PoolNetwork.d.ts +0 -82
- package/dist/PoolNetwork.d.ts.map +0 -1
- package/dist/PoolNetwork.js +0 -236
- package/dist/PoolNetwork.js.map +0 -1
- package/dist/Reports/Processor.d.ts.map +0 -1
- package/dist/Reports/Processor.js.map +0 -1
- package/dist/Reports/index.d.ts +0 -27
- package/dist/Reports/index.d.ts.map +0 -1
- package/dist/Reports/index.js.map +0 -1
- package/dist/Vault.d.ts +0 -96
- package/dist/Vault.d.ts.map +0 -1
- package/dist/Vault.js +0 -330
- package/dist/Vault.js.map +0 -1
- package/dist/abi/CentrifugeRouter.abi.json +0 -43
- package/dist/abi/Currency.abi.json +0 -14
- package/dist/abi/Gateway.abi.json +0 -1
- package/dist/abi/InvestmentManager.abi.json +0 -4
- package/dist/abi/LiquidityPool.abi.json +0 -79
- package/dist/abi/PoolManager.abi.json +0 -55
- package/dist/abi/RestrictionManager.abi.json +0 -22
- package/dist/abi/Router.abi.json +0 -1
- package/dist/config/lp.d.ts +0 -17
- package/dist/config/lp.d.ts.map +0 -1
- package/dist/config/lp.js +0 -35
- package/dist/config/lp.js.map +0 -1
- package/dist/utils/pinToApi.d.ts +0 -2
- package/dist/utils/pinToApi.d.ts.map +0 -1
- package/dist/utils/pinToApi.js +0 -10
- package/dist/utils/pinToApi.js.map +0 -1
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PoolEscrow.abi.js","sourceRoot":"","sources":["../../src/abi/PoolEscrow.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gCAAgC;IAChC,+FAA+F;IAC/F,sGAAsG;IACtG,iCAAiC;IACjC,mFAAmF;IACnF,+GAA+G;IAC/G,6CAA6C;IAC7C,6EAA6E;IAC7E,8FAA8F;IAC9F,iCAAiC;IACjC,mFAAmF;IACnF,qFAAqF;IACrF,oDAAoD;IACpD,oFAAoF;IACpF,2GAA2G;IAC3G,0IAA0I;IAC1I,sCAAsC;IACtC,mHAAmH;IACnH,0IAA0I;IAC1I,4DAA4D;IAC5D,sCAAsC;IACtC,oHAAoH;IACpH,+FAA+F;IAC/F,iCAAiC;IACjC,wCAAwC;IACxC,oBAAoB;IACpB,2BAA2B;IAC3B,mCAAmC;IACnC,sFAAsF;CAC9E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PoolEscrowFactory.abi.d.ts","sourceRoot":"","sources":["../../src/abi/PoolEscrowFactory.abi.ts"],"names":[],"mappings":";AAAA,wBAiBU"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
// 'function balanceSheet() view returns (address)',
|
|
3
|
+
// 'function deny(address user)',
|
|
4
|
+
'function escrow(uint64 poolId) view returns (address)',
|
|
5
|
+
// 'function file(bytes32 what, address data)',
|
|
6
|
+
// 'function gateway() view returns (address)',
|
|
7
|
+
// 'function newEscrow(uint64 poolId) returns (address)',
|
|
8
|
+
// 'function rely(address user)',
|
|
9
|
+
// 'function root() view returns (address)',
|
|
10
|
+
// 'function wards(address) view returns (uint256)',
|
|
11
|
+
// 'event Deny(address indexed user)',
|
|
12
|
+
// 'event DeployPoolEscrow(uint64 indexed poolId, address indexed escrow)',
|
|
13
|
+
// 'event File(bytes32 what, address data)',
|
|
14
|
+
// 'event Rely(address indexed user)',
|
|
15
|
+
// 'error EscrowAlreadyDeployed()',
|
|
16
|
+
// 'error FileUnrecognizedParam()',
|
|
17
|
+
// 'error NotAuthorized()',
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=PoolEscrowFactory.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PoolEscrowFactory.abi.js","sourceRoot":"","sources":["../../src/abi/PoolEscrowFactory.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,oDAAoD;IACpD,iCAAiC;IACjC,uDAAuD;IACvD,+CAA+C;IAC/C,+CAA+C;IAC/C,yDAAyD;IACzD,iCAAiC;IACjC,4CAA4C;IAC5C,oDAAoD;IACpD,sCAAsC;IACtC,2EAA2E;IAC3E,4CAA4C;IAC5C,sCAAsC;IACtC,mCAAmC;IACnC,mCAAmC;IACnC,2BAA2B;CACnB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: readonly ["event UpdateMember(address indexed token, address indexed user, uint64 validUntil)", "function isMember(address token, address user) view returns (bool isValid, uint64 validUntil)"];
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=RestrictionManager.abi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestrictionManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/RestrictionManager.abi.ts"],"names":[],"mappings":";AAAA,wBAqBU"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
// "event Deny(address indexed user)",
|
|
3
|
+
// "event Freeze(address indexed token, address indexed user)",
|
|
4
|
+
// "event Rely(address indexed user)",
|
|
5
|
+
// "event Unfreeze(address indexed token, address indexed user)",
|
|
6
|
+
'event UpdateMember(address indexed token, address indexed user, uint64 validUntil)',
|
|
7
|
+
// "function FREEZE_BIT() view returns (uint8)",
|
|
8
|
+
// "function checkERC20Transfer(address from, address to, uint256, (bytes16 from, bytes16 to) hookData) view returns (bool)",
|
|
9
|
+
// "function deny(address user)",
|
|
10
|
+
// "function freeze(address token, address user)",
|
|
11
|
+
// "function isFrozen(address token, address user) view returns (bool)",
|
|
12
|
+
'function isMember(address token, address user) view returns (bool isValid, uint64 validUntil)',
|
|
13
|
+
// "function onERC20AuthTransfer(address, address, address, uint256, (bytes16 from, bytes16 to)) pure returns (bytes4)",
|
|
14
|
+
// "function onERC20Transfer(address from, address to, uint256 value, (bytes16 from, bytes16 to) hookData) returns (bytes4)",
|
|
15
|
+
// "function rely(address user)",
|
|
16
|
+
// "function root() view returns (address)",
|
|
17
|
+
// "function supportsInterface(bytes4 interfaceId) pure returns (bool)",
|
|
18
|
+
// "function unfreeze(address token, address user)",
|
|
19
|
+
// "function updateMember(address token, address user, uint64 validUntil)",
|
|
20
|
+
// "function updateRestriction(address token, bytes update)",
|
|
21
|
+
// "function wards(address) view returns (uint256)"
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=RestrictionManager.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestrictionManager.abi.js","sourceRoot":"","sources":["../../src/abi/RestrictionManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,sCAAsC;IACtC,+DAA+D;IAC/D,sCAAsC;IACtC,iEAAiE;IACjE,oFAAoF;IACpF,gDAAgD;IAChD,6HAA6H;IAC7H,iCAAiC;IACjC,kDAAkD;IAClD,wEAAwE;IACxE,+FAA+F;IAC/F,wHAAwH;IACxH,6HAA6H;IAC7H,iCAAiC;IACjC,4CAA4C;IAC5C,wEAAwE;IACxE,oDAAoD;IACpD,2EAA2E;IAC3E,6DAA6D;IAC7D,mDAAmD;CAC3C,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: readonly ["function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) returns (bytes16 scId_)", "function allowForceDepositCancel(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool cancelled)", "function allowForceRedeemCancel(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool cancelled)", "function approveDeposits(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount, uint128 pricePoolPerAsset) returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)", "function approveRedeems(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount, uint128 pricePoolPerAsset) returns (uint128 pendingShareAmount)", "function cancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)", "function cancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)", "function claimDeposit(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 payoutShareAmount, uint128 paymentAssetAmount, uint128 cancelledAssetAmount, bool canClaimAgain)", "function claimRedeem(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 payoutAssetAmount, uint128 paymentShareAmount, uint128 cancelledShareAmount, bool canClaimAgain)", "function deny(address user)", "function depositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)", "function epochId(bytes16 scId, uint128 assetId) view returns (uint32 deposit, uint32 redeem, uint32 issue, uint32 revoke)", "function epochInvestAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingAssetAmount, uint128 approvedAssetAmount, uint128 approvedPoolAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 issuedAt)", "function epochRedeemAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingShareAmount, uint128 approvedShareAmount, uint128 payoutAssetAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 revokedAt)", "function exists(uint64 poolId, bytes16 scId_) view returns (bool)", "function forceCancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)", "function forceCancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)", "function hubRegistry() view returns (address)", "function issuance(bytes16 scId, uint16 centrifugeId) view returns (uint128)", "function issueShares(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)", "function maxDepositClaims(bytes16 scId_, bytes32 investor, uint128 depositAssetId) view returns (uint32)", "function maxRedeemClaims(bytes16 scId_, bytes32 investor, uint128 payoutAssetId) view returns (uint32)", "function metadata(bytes16 scId) view returns (string name, string symbol, bytes32 salt)", "function metrics(bytes16 scId) view returns (uint128 totalIssuance, uint128 navPerShare)", "function nowDepositEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowIssueEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowRedeemEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowRevokeEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function pendingDeposit(bytes16 scId, uint128 depositAssetId) view returns (uint128 pending)", "function pendingRedeem(bytes16 scId, uint128 payoutAssetId) view returns (uint128 pending)", "function previewNextShareClassId(uint64 poolId) view returns (bytes16 scId)", "function previewShareClassId(uint64 poolId, uint32 index) pure returns (bytes16 scId)", "function queuedDepositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)", "function queuedRedeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)", "function redeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)", "function rely(address user)", "function requestDeposit(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 depositAssetId)", "function requestRedeem(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 payoutAssetId)", "function revokeShares(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)", "function salts(bytes32 salt) view returns (bool)", "function shareClassCount(uint64 poolId) view returns (uint32)", "function shareClassIds(uint64 poolId, bytes16) view returns (bool)", "function updateMetadata(uint64 poolId, bytes16 scId_, string name, string symbol)", "function updateSharePrice(uint64 poolId, bytes16 scId_, uint128 navPoolPerShare)", "function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId_, uint128 amount, bool isIssuance)", "function wards(address) view returns (uint256)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index, string name, string symbol, bytes32 salt)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index)", "event ApproveDeposits(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 approvedPoolAmount, uint128 approvedAssetAmount, uint128 pendingAssetAmount)", "event ApproveRedeems(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 approvedShareAmount, uint128 pendingShareAmount)", "event ClaimDeposit(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed depositAssetId, uint128 paymentAssetAmount, uint128 pendingAssetAmount, uint128 claimedShareAmount, uint64 issuedAt)", "event ClaimRedeem(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed payoutAssetId, uint128 paymentShareAmount, uint128 pendingShareAmount, uint128 claimedAssetAmount, uint64 revokedAt)", "event Deny(address indexed user)", "event IssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 issuedShareAmount)", "event Rely(address indexed user)", "event RemoteIssueShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 issuedShareAmount)", "event RemoteRevokeShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 revokedAssetAmount)", "event RevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 revokedShareAmount, uint128 revokedAssetAmount, uint128 revokedPoolAmount)", "event UpdateDepositRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserAssetAmount, uint128 pendingTotalAssetAmount, uint128 queuedUserAssetAmount, bool pendingCancellation)", "event UpdateMetadata(uint64 indexed poolId, bytes16 indexed scId, string name, string symbol)", "event UpdateRedeemRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserShareAmount, uint128 pendingTotalShareAmount, uint128 queuedUserShareAmount, bool pendingCancellation)", "event UpdateShareClass(uint64 indexed poolId, bytes16 indexed scId, uint128 navPoolPerShare)", "error AlreadyIssued()", "error AlreadyUsedSalt()", "error ApprovalRequired()", "error CancellationInitializationRequired()", "error CancellationQueued()", "error DecreaseMoreThanIssued()", "error EpochNotFound()", "error EpochNotInSequence(uint32 providedEpoch, uint32 nowEpoch)", "error InsufficientPending()", "error InvalidMetadataName()", "error InvalidMetadataSize()", "error InvalidMetadataSymbol()", "error InvalidSalt()", "error IssuanceRequired()", "error MulDiv_Overflow()", "error NoOrderFound()", "error NotAuthorized()", "error PoolMissing()", "error RevocationRequired()", "error RevokeMoreThanIssued()", "error ShareClassNotFound()", "error Uint128_Overflow()", "error Uint64_Overflow()", "error ZeroApprovalAmount()"];
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ShareClassManager.abi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareClassManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":";AAAA,wBAuFU"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
'function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) returns (bytes16 scId_)',
|
|
3
|
+
'function allowForceDepositCancel(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool cancelled)',
|
|
4
|
+
'function allowForceRedeemCancel(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool cancelled)',
|
|
5
|
+
'function approveDeposits(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount, uint128 pricePoolPerAsset) returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)',
|
|
6
|
+
'function approveRedeems(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount, uint128 pricePoolPerAsset) returns (uint128 pendingShareAmount)',
|
|
7
|
+
'function cancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)',
|
|
8
|
+
'function cancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)',
|
|
9
|
+
'function claimDeposit(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 payoutShareAmount, uint128 paymentAssetAmount, uint128 cancelledAssetAmount, bool canClaimAgain)',
|
|
10
|
+
'function claimRedeem(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 payoutAssetAmount, uint128 paymentShareAmount, uint128 cancelledShareAmount, bool canClaimAgain)',
|
|
11
|
+
'function deny(address user)',
|
|
12
|
+
'function depositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)',
|
|
13
|
+
'function epochId(bytes16 scId, uint128 assetId) view returns (uint32 deposit, uint32 redeem, uint32 issue, uint32 revoke)',
|
|
14
|
+
'function epochInvestAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingAssetAmount, uint128 approvedAssetAmount, uint128 approvedPoolAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 issuedAt)',
|
|
15
|
+
'function epochRedeemAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingShareAmount, uint128 approvedShareAmount, uint128 payoutAssetAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 revokedAt)',
|
|
16
|
+
'function exists(uint64 poolId, bytes16 scId_) view returns (bool)',
|
|
17
|
+
'function forceCancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)',
|
|
18
|
+
'function forceCancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)',
|
|
19
|
+
'function hubRegistry() view returns (address)',
|
|
20
|
+
'function issuance(bytes16 scId, uint16 centrifugeId) view returns (uint128)',
|
|
21
|
+
'function issueShares(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)',
|
|
22
|
+
'function maxDepositClaims(bytes16 scId_, bytes32 investor, uint128 depositAssetId) view returns (uint32)',
|
|
23
|
+
'function maxRedeemClaims(bytes16 scId_, bytes32 investor, uint128 payoutAssetId) view returns (uint32)',
|
|
24
|
+
'function metadata(bytes16 scId) view returns (string name, string symbol, bytes32 salt)',
|
|
25
|
+
'function metrics(bytes16 scId) view returns (uint128 totalIssuance, uint128 navPerShare)',
|
|
26
|
+
'function nowDepositEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)',
|
|
27
|
+
'function nowIssueEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)',
|
|
28
|
+
'function nowRedeemEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)',
|
|
29
|
+
'function nowRevokeEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)',
|
|
30
|
+
'function pendingDeposit(bytes16 scId, uint128 depositAssetId) view returns (uint128 pending)',
|
|
31
|
+
'function pendingRedeem(bytes16 scId, uint128 payoutAssetId) view returns (uint128 pending)',
|
|
32
|
+
'function previewNextShareClassId(uint64 poolId) view returns (bytes16 scId)',
|
|
33
|
+
'function previewShareClassId(uint64 poolId, uint32 index) pure returns (bytes16 scId)',
|
|
34
|
+
'function queuedDepositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)',
|
|
35
|
+
'function queuedRedeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)',
|
|
36
|
+
'function redeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)',
|
|
37
|
+
'function rely(address user)',
|
|
38
|
+
'function requestDeposit(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 depositAssetId)',
|
|
39
|
+
'function requestRedeem(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 payoutAssetId)',
|
|
40
|
+
'function revokeShares(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)',
|
|
41
|
+
'function salts(bytes32 salt) view returns (bool)',
|
|
42
|
+
'function shareClassCount(uint64 poolId) view returns (uint32)',
|
|
43
|
+
'function shareClassIds(uint64 poolId, bytes16) view returns (bool)',
|
|
44
|
+
'function updateMetadata(uint64 poolId, bytes16 scId_, string name, string symbol)',
|
|
45
|
+
'function updateSharePrice(uint64 poolId, bytes16 scId_, uint128 navPoolPerShare)',
|
|
46
|
+
'function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId_, uint128 amount, bool isIssuance)',
|
|
47
|
+
'function wards(address) view returns (uint256)',
|
|
48
|
+
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index, string name, string symbol, bytes32 salt)',
|
|
49
|
+
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index)',
|
|
50
|
+
'event ApproveDeposits(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 approvedPoolAmount, uint128 approvedAssetAmount, uint128 pendingAssetAmount)',
|
|
51
|
+
'event ApproveRedeems(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 approvedShareAmount, uint128 pendingShareAmount)',
|
|
52
|
+
'event ClaimDeposit(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed depositAssetId, uint128 paymentAssetAmount, uint128 pendingAssetAmount, uint128 claimedShareAmount, uint64 issuedAt)',
|
|
53
|
+
'event ClaimRedeem(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed payoutAssetId, uint128 paymentShareAmount, uint128 pendingShareAmount, uint128 claimedAssetAmount, uint64 revokedAt)',
|
|
54
|
+
'event Deny(address indexed user)',
|
|
55
|
+
'event IssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 issuedShareAmount)',
|
|
56
|
+
'event Rely(address indexed user)',
|
|
57
|
+
'event RemoteIssueShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 issuedShareAmount)',
|
|
58
|
+
'event RemoteRevokeShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 revokedAssetAmount)',
|
|
59
|
+
'event RevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 revokedShareAmount, uint128 revokedAssetAmount, uint128 revokedPoolAmount)',
|
|
60
|
+
'event UpdateDepositRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserAssetAmount, uint128 pendingTotalAssetAmount, uint128 queuedUserAssetAmount, bool pendingCancellation)',
|
|
61
|
+
'event UpdateMetadata(uint64 indexed poolId, bytes16 indexed scId, string name, string symbol)',
|
|
62
|
+
'event UpdateRedeemRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserShareAmount, uint128 pendingTotalShareAmount, uint128 queuedUserShareAmount, bool pendingCancellation)',
|
|
63
|
+
'event UpdateShareClass(uint64 indexed poolId, bytes16 indexed scId, uint128 navPoolPerShare)',
|
|
64
|
+
'error AlreadyIssued()',
|
|
65
|
+
'error AlreadyUsedSalt()',
|
|
66
|
+
'error ApprovalRequired()',
|
|
67
|
+
'error CancellationInitializationRequired()',
|
|
68
|
+
'error CancellationQueued()',
|
|
69
|
+
'error DecreaseMoreThanIssued()',
|
|
70
|
+
'error EpochNotFound()',
|
|
71
|
+
'error EpochNotInSequence(uint32 providedEpoch, uint32 nowEpoch)',
|
|
72
|
+
'error InsufficientPending()',
|
|
73
|
+
'error InvalidMetadataName()',
|
|
74
|
+
'error InvalidMetadataSize()',
|
|
75
|
+
'error InvalidMetadataSymbol()',
|
|
76
|
+
'error InvalidSalt()',
|
|
77
|
+
'error IssuanceRequired()',
|
|
78
|
+
'error MulDiv_Overflow()',
|
|
79
|
+
'error NoOrderFound()',
|
|
80
|
+
'error NotAuthorized()',
|
|
81
|
+
'error PoolMissing()',
|
|
82
|
+
'error RevocationRequired()',
|
|
83
|
+
'error RevokeMoreThanIssued()',
|
|
84
|
+
'error ShareClassNotFound()',
|
|
85
|
+
'error Uint128_Overflow()',
|
|
86
|
+
'error Uint64_Overflow()',
|
|
87
|
+
'error ZeroApprovalAmount()',
|
|
88
|
+
];
|
|
89
|
+
//# sourceMappingURL=ShareClassManager.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareClassManager.abi.js","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,yGAAyG;IACzG,wHAAwH;IACxH,sHAAsH;IACtH,mOAAmO;IACnO,oMAAoM;IACpM,8IAA8I;IAC9I,4IAA4I;IAC5I,iNAAiN;IACjN,+MAA+M;IAC/M,6BAA6B;IAC7B,mIAAmI;IACnI,2HAA2H;IAC3H,qPAAqP;IACrP,qPAAqP;IACrP,mEAAmE;IACnE,mJAAmJ;IACnJ,iJAAiJ;IACjJ,+CAA+C;IAC/C,6EAA6E;IAC7E,wNAAwN;IACxN,0GAA0G;IAC1G,wGAAwG;IACxG,yFAAyF;IACzF,0FAA0F;IAC1F,uFAAuF;IACvF,qFAAqF;IACrF,sFAAsF;IACtF,sFAAsF;IACtF,8FAA8F;IAC9F,4FAA4F;IAC5F,6EAA6E;IAC7E,uFAAuF;IACvF,wIAAwI;IACxI,sIAAsI;IACtI,iIAAiI;IACjI,6BAA6B;IAC7B,iHAAiH;IACjH,+GAA+G;IAC/G,wNAAwN;IACxN,kDAAkD;IAClD,+DAA+D;IAC/D,oEAAoE;IACpE,mFAAmF;IACnF,kFAAkF;IAClF,2GAA2G;IAC3G,gDAAgD;IAChD,kIAAkI;IAClI,wFAAwF;IACxF,uMAAuM;IACvM,yKAAyK;IACzK,sOAAsO;IACtO,qOAAqO;IACrO,kCAAkC;IAClC,4LAA4L;IAC5L,kCAAkC;IAClC,sHAAsH;IACtH,wHAAwH;IACxH,oPAAoP;IACpP,mQAAmQ;IACnQ,+FAA+F;IAC/F,iQAAiQ;IACjQ,8FAA8F;IAC9F,uBAAuB;IACvB,yBAAyB;IACzB,0BAA0B;IAC1B,4CAA4C;IAC5C,4BAA4B;IAC5B,gCAAgC;IAChC,uBAAuB;IACvB,iEAAiE;IACjE,6BAA6B;IAC7B,6BAA6B;IAC7B,6BAA6B;IAC7B,+BAA+B;IAC/B,qBAAqB;IACrB,0BAA0B;IAC1B,yBAAyB;IACzB,sBAAsB;IACtB,uBAAuB;IACvB,qBAAqB;IACrB,4BAA4B;IAC5B,8BAA8B;IAC9B,4BAA4B;IAC5B,0BAA0B;IAC1B,yBAAyB;IACzB,4BAA4B;CACpB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: readonly ["function addPool(uint64 poolId)", "function addShareClass(uint64 poolId, bytes16 scId, string name, string symbol, uint8 decimals, bytes32 salt, address hook)", "function assetToId(address asset, uint256 tokenId) view returns (uint128 assetId)", "function deny(address user)", "function deployVault(uint64 poolId, bytes16 scId, uint128 assetId, address factory) returns (address)", "function executeTransferShares(uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)", "function file(bytes32 what, address factory, bool status)", "function file(bytes32 what, address data)", "function gateway() view returns (address)", "function idToAsset(uint128 assetId) view returns (address asset, uint256 tokenId)", "function isLinked(address vault) view returns (bool)", "function isPoolActive(uint64 poolId) view returns (bool)", "function linkToken(uint64 poolId, bytes16 scId, address shareToken_)", "function linkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)", "function markersPricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)", "function markersPricePoolPerShare(uint64 poolId, bytes16 scId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)", "function poolEscrowFactory() view returns (address)", "function pools(uint64 poolId) view returns (uint256 createdAt)", "function pricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 price)", "function pricePoolPerShare(uint64 poolId, bytes16 scId, bool checkValidity) view returns (uint128 price)", "function pricesPoolPer(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 pricePoolPerAsset_, uint128 pricePoolPerShare_)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function registerAsset(uint16 centrifugeId, address asset, uint256 tokenId) payable returns (uint128 assetId)", "function registerVault(uint64 poolId, bytes16 scId, uint128 assetId, address asset, uint256 tokenId, address factory, address vault)", "function rely(address user)", "function sender() view returns (address)", "function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)", "function setMaxSharePriceAge(uint64 poolId, bytes16 scId, uint64 maxPriceAge)", "function shareToken(uint64 poolId, bytes16 scId) view returns (address)", "function tokenFactory() view returns (address)", "function transferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount) payable", "function unlinkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)", "function updateContract(uint64 poolId, bytes16 scId, address target, bytes update)", "function updatePricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, uint128 poolPerAsset_, uint64 computedAt)", "function updatePricePoolPerShare(uint64 poolId, bytes16 scId, uint128 price, uint64 computedAt)", "function updateRestriction(uint64 poolId, bytes16 scId, bytes update)", "function updateShareHook(uint64 poolId, bytes16 scId, address hook)", "function updateShareMetadata(uint64 poolId, bytes16 scId, string name, string symbol)", "function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, address vaultOrFactory, uint8 kind)", "function vaultDetails(address vault) view returns ((uint128 assetId, address asset, uint256 tokenId, bool isLinked) details)", "function vaultFactory(address factory) view returns (bool)", "function wards(address) view returns (uint256)", "event AddPool(uint64 indexed poolId)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, address token)", "event Deny(address indexed user)", "event DeployVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address factory, address vault, uint8 kind)", "event ExecuteTransferShares(uint64 indexed poolId, bytes16 indexed scId, address indexed receiver, uint128 amount)", "event File(bytes32 indexed what, address data)", "event File(bytes32 indexed what, address factory, bool status)", "event LinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)", "event RegisterAsset(uint128 indexed assetId, address indexed asset, uint256 indexed tokenId, string name, string symbol, uint8 decimals, bool isInitialization)", "event Rely(address indexed user)", "event TransferShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, address indexed sender, bytes32 destinationAddress, uint128 amount)", "event UnlinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)", "event UpdateAssetPrice(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint256 price, uint64 computedAt)", "event UpdateContract(uint64 indexed poolId, bytes16 indexed scId, address target, bytes payload)", "event UpdateMaxAssetPriceAge(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint64 maxPriceAge)", "event UpdateMaxSharePriceAge(uint64 indexed poolId, bytes16 indexed scId, uint64 maxPriceAge)", "event UpdateSharePrice(uint64 indexed poolId, bytes16 indexed scId, uint256 price, uint64 computedAt)", "error AssetMissingDecimals()", "error CannotSetOlderPrice()", "error CrossChainTransferNotAllowed()", "error FileUnrecognizedParam()", "error InvalidFactory()", "error InvalidHook()", "error InvalidPool()", "error InvalidPrice()", "error LocalTransferNotAllowed()", "error MalformedVaultUpdateMessage()", "error NoCode()", "error NotAuthorized()", "error OldHook()", "error OldMetadata()", "error PoolAlreadyAdded()", "error SafeTransferEthFailed()", "error ShareClassAlreadyRegistered()", "error ShareTokenDoesNotExist()", "error ShareTokenTransferFailed()", "error TooFewDecimals()", "error TooManyDecimals()", "error TransferFromFailed()", "error UnauthorizedSender()", "error UnknownAsset()", "error UnknownToken()", "error UnknownVault()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=Spoke.abi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spoke.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Spoke.abi.ts"],"names":[],"mappings":";AAAA,wBAwFU"}
|