UNPKG

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

Version:

EVM support for the CCTPR corridor of the CCTP SDK

971 lines 113 kB
import type { Network } from "@stable-io/cctp-sdk-definitions"; export declare const chainDataLayout: readonly [{ readonly name: "extraChains"; readonly binary: "array"; readonly lengthSize: 1; readonly layout: { readonly binary: "bytes"; readonly layout: { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "array"; readonly length: 12; readonly layout: { readonly binary: "uint"; readonly size: 2; }; }]; readonly custom: { readonly to: (raw: { item: readonly [number, number, number, number, number, number, number, number, number, number, number, number]; }) => readonly [number, number, number, number, number, number, number, number, number, number, number, number]; readonly from: (item: readonly [number, number, number, number, number, number, number, number, number, number, number, number]) => { item: readonly [number, number, number, number, number, number, number, number, number, number, number, number]; }; }; }; readonly custom: { readonly to: (ci: import("@stable-io/map-utils").RoArray<number>) => number[]; readonly from: (ci: import("@stable-io/map-utils").RoArray<number>) => number[]; }; }; }, { readonly name: "feeAdjustments"; readonly binary: "array"; readonly lengthSize: 1; readonly layout: { readonly binary: "array"; readonly length: 4; readonly layout: { readonly binary: "bytes"; readonly layout: { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "array"; readonly length: 10; readonly layout: readonly [{ readonly binary: "int"; readonly size: 2; readonly custom: { to: (val: number) => import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; from: (amount: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>) => number; }; readonly name: "absoluteUsdc"; }, { readonly binary: "uint"; readonly size: 1; readonly name: "relativePercent"; }]; }]; readonly custom: { readonly to: (raw: { item: readonly [{ readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }]; }) => readonly [{ readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }]; readonly from: (item: readonly [{ readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }]) => { item: readonly [{ readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }, { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }]; }; }; }; readonly custom: { readonly to: (fa: import("@stable-io/map-utils").RoArray<import("./feeAdjustments.js").FeeAdjustment>) => { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }[]; readonly from: (fa: import("@stable-io/map-utils").RoArray<import("./feeAdjustments.js").FeeAdjustment>) => { readonly absoluteUsdc: import("@stable-io/amount").Amount<{ readonly name: "Usdc"; readonly units: readonly [{ readonly symbol: "USDC"; readonly scale: 1; }, { readonly symbol: "\u00B5USDC"; readonly scale: bigint | import("@stable-io/amount").Rational; }]; readonly human: "USDC"; readonly atomic: "\u00B5USDC"; readonly stringify: (val: import("@stable-io/amount").Rational) => string; }>; readonly relativePercent: number; }[]; }; }; }; }]; export declare const constructorLayout: <N extends Network>(network: N) => readonly [{ readonly custom: 0n | 1n; readonly omit: true; readonly binary: "uint"; readonly size: 32; readonly name: "isMainnet"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "owner"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "feeAdjuster"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "feeRecipient"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "offChainQuoter"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "usdc"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "tokenMessengerV1"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "tokenMessengerV2"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sdk-evm").EvmAddress; from: (addr: import("@stable-io/cctp-sdk-evm").EvmAddress) => Uint8Array<ArrayBufferLike>; }; }]; readonly custom: { readonly to: (raw: { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }) => import("@stable-io/cctp-sdk-evm").EvmAddress; readonly from: (item: import("@stable-io/cctp-sdk-evm").EvmAddress) => { item: import("@stable-io/cctp-sdk-evm").EvmAddress; }; }; readonly name: "avaxRouter"; }, { readonly binary: "bytes"; readonly layout: readonly [{ readonly name: "padding"; readonly binary: "bytes"; readonly custom: Uint8Array<ArrayBuffer>; readonly omit: true; }, { readonly name: "item"; } & { readonly binary: "bytes"; readonly size: 20; readonly custom: { to: (encoded: Uint8Array) => import("@stable-io/cctp-sd