UNPKG

@stable-io/cctp-sdk-cctpr-evm

Version:

EVM support for the CCTPR corridor of the CCTP SDK

28 lines 1.38 kB
import type { Network } from "@stable-io/cctp-sdk-definitions"; import { getCorridors } from "./getCorridors.js"; import { transfer } from "./transfer.js"; export * from "./registry.js"; export type { CorridorStats } from "./getCorridors.js"; export * from "./contractSdk/index.js"; export * from "./contractSdk/index.js"; /** * @todo: this import looks weird. */ export { extraDomains, feeAdjustmentTypes } from "./contractSdk/layouts/common.js"; export type { Corridor, GovernanceCommand, FeeAdjustment, FeeAdjustmentType } from "./contractSdk/layouts/index.js"; export type { SupportedEvmDomain } from "./contractSdk/index.js"; export { corridors } from "./contractSdk/layouts/common.js"; export type { GaslessQuoteVariant } from "./contractSdk/layouts/transfer.js"; export { routerHookDataLayout } from "./contractSdk/layouts/routerHookData.js"; export { chainDataLayout } from "./contractSdk/layouts/constructor.js"; /** * We need to specify this due to ts(7056): * > The inferred type of this node exceeds the maximum length the compiler will serialize. * > An explicit type annotation is needed. */ export interface CctprEvmModule<N extends Network> { getCorridors: ReturnType<typeof getCorridors<N>>; transfer: ReturnType<typeof transfer<N>>; } export declare const init: <N extends Network>(network: N) => CctprEvmModule<N>; //# sourceMappingURL=index.d.ts.map