wormhole-explorer/blockchain-watcher/src/infrastructure/repositories/index.ts

17 lines
505 B
TypeScript

// Monkey patching BigInt serialization
if (!("toJSON" in BigInt.prototype)) {
Object.defineProperty(BigInt.prototype, "toJSON", {
get() {
return () => String(this);
},
});
}
export * from "./FileMetadataRepository";
export * from "./SnsEventRepository";
export * from "./EvmJsonRPCBlockRepository";
export * from "./PromStatRepository";
export * from "./StaticJobRepository";
export * from "./solana/Web3SolanaSlotRepository";
export * from "./solana/RateLimitedSolanaSlotRepository";