-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e4b291
commit 486a30f
Showing
16 changed files
with
349 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,53 @@ | ||
import { Centrifuge } from './Centrifuge.js' | ||
export type { CurrencyMetadata } from './config/lp.js' | ||
export * from './Pool.js' | ||
export * from './PoolNetwork.js' | ||
export * from './types/index.js' | ||
export * from './types/query.js' | ||
export * from './types/transaction.js' | ||
export * from './Reports/index.js' | ||
export type { Client, Config, HexString } from './types/index.js' | ||
export type { Query } from './types/query.js' | ||
export type { | ||
AssetListReport, | ||
AssetListReportBase, | ||
AssetListReportFilter, | ||
AssetListReportPrivateCredit, | ||
AssetListReportPublicCredit, | ||
AssetTransactionReport, | ||
AssetTransactionReportFilter, | ||
BalanceSheetReport, | ||
CashflowReport, | ||
CashflowReportBase, | ||
CashflowReportPrivateCredit, | ||
CashflowReportPublicCredit, | ||
FeeTransactionReport, | ||
FeeTransactionReportFilter, | ||
InvestorListReport, | ||
InvestorListReportFilter, | ||
InvestorTransactionsReport, | ||
InvestorTransactionsReportFilter, | ||
ProfitAndLossReport, | ||
ProfitAndLossReportBase, | ||
ProfitAndLossReportPrivateCredit, | ||
ProfitAndLossReportPublicCredit, | ||
ReportFilter, | ||
TokenPriceReport, | ||
TokenPriceReportFilter, | ||
} from './types/reports.js' | ||
export type { | ||
EIP1193ProviderLike, | ||
OperationConfirmedStatus, | ||
OperationPendingStatus, | ||
OperationSignedMessageStatus, | ||
OperationSigningMessageStatus, | ||
OperationSigningStatus, | ||
OperationStatus, | ||
OperationStatusType, | ||
OperationSwitchChainStatus, | ||
Signer, | ||
Transaction, | ||
} from './types/transaction.js' | ||
export { Currency, Perquintill, Price, Rate } from './utils/BigInt.js' | ||
export type { GroupBy } from './utils/date.js' | ||
export * from './Vault.js' | ||
|
||
export { Centrifuge } | ||
export default Centrifuge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
import { Chain, PublicClient } from 'viem' | ||
|
||
export type Config = { | ||
environment: 'mainnet' | 'demo' | 'dev' | ||
rpcUrls?: Record<number | string, string> | ||
indexerUrl: string | ||
ipfsUrl: string | ||
} | ||
|
||
export type UserProvidedConfig = Partial<Config> | ||
export type EnvConfig = { | ||
indexerUrl: string | ||
alchemyKey: string | ||
infuraKey: string | ||
defaultChain: number | ||
ipfsUrl: string | ||
} | ||
export type DerivedConfig = Config & EnvConfig | ||
export type Client = PublicClient<any, Chain> | ||
export type HexString = `0x${string}` |
Oops, something went wrong.