@stable-io/cctp-sdk-cctpr-evm
Version:
EVM support for the CCTPR corridor of the CCTP SDK
1,549 lines • 84.5 kB
TypeScript
import type { DeriveType } from "binary-layout";
import { Network } from "@stable-io/cctp-sdk-definitions";
export declare const governanceCommandLayout: <N extends Network>(network: N) => {
readonly binary: "switch";
readonly idSize: 1;
readonly idTag: "command";
readonly layouts: readonly [readonly [readonly [17, "updateFeeAdjustments"], readonly [{
readonly binary: "uint";
readonly size: 1;
readonly endianness: "big";
readonly custom: {
readonly to: (encoded: number) => "v1" | "v2Direct" | "avaxHop" | "gasDropoff";
readonly from: (name: "v1" | "v2Direct" | "avaxHop" | "gasDropoff") => number;
};
readonly name: "feeType";
}, {
readonly name: "mappingIndex";
readonly binary: "uint";
readonly size: 1;
}, {
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;
}[];
};
readonly name: "adjustments";
}]], readonly [readonly [18, "sweepTokens"], readonly [{
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 name: "tokenAddress";
}, {
readonly binary: "uint";
readonly size: 32;
readonly name: "amount";
}]], readonly [readonly [19, "updateFeeRecipient"], readonly [{
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 name: "address";
}]], readonly [readonly [20, "updateFeeAdjuster"], readonly [{
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 name: "address";
}]], readonly [readonly [21, "updateOffChainQuoter"], readonly [{
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 name: "address";
}]], readonly [readonly [22, "proposeOwnershipTransfer"], readonly [{
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 name: "address";
}]], readonly [readonly [23, "acceptOwnershipTransfer"], readonly []], readonly [readonly [24, "cancelOwnershipTransfer"], readonly []], readonly [readonly [25, "setChainIdForDomain"], readonly [{
readonly custom: {
to: (val: number) => "Codex" | "Sonic" | "Worldchain";
from: (val: "Codex" | "Sonic" | "Worldchain") => number;
};
readonly binary: "uint";
readonly size: 4;
readonly name: "domain";
}, {
readonly name: "chainId";
readonly binary: "uint";
readonly size: 2;
}]]];
};
export type GovernanceCommand<N extends Network> = DeriveType<ReturnType<typeof governanceCommandLayout<N>>>;
export declare const governanceCommandArrayLayout: <N extends Network>(network: N) => {
readonly binary: "array";
readonly layout: {
readonly binary: "switch";
readonly idSize: 1;
readonly idTag: "command";
readonly layouts: readonly [readonly [readonly [17, "updateFeeAdjustments"], readonly [{
readonly binary: "uint";
readonly size: 1;
readonly endianness: "big";
readonly custom: {
readonly to: (encoded: number) => "v1" | "v2Direct" | "avaxHop" | "gasDropoff";
readonly from: (name: "v1" | "v2Direct" | "avaxHop" | "gasDropoff") => number;
};
readonly name: "feeType";
}, {
readonly name: "mappingIndex";
readonly binary: "uint";
readonly size: 1;
}, {
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;
}[];
};
readonly name: "adjustments";
}]], readonly [readonly [18, "sweepTokens"], readonly [{
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 name: "tokenAddress";
}, {
readonly binary: "uint";
readonly size: 32;
readonly name: "amount";
}]], readonly [readonly [19, "updateFeeRecipient"], readonly [{
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 name: "address";
}]], readonly [readonly [20, "updateFeeAdjuster"], readonly [{
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 name: "address";
}]], readonly [readonly [21, "updateOffChainQuoter"], readonly [{
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 name: "address";
}]], readonly [readonly [22, "proposeOwnershipTransfer"], readonly [{
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 name: "address";
}]], readonly [readonly [23, "acceptOwnershipTransfer"], readonly []], readonly [readonly [24, "cancelOwnershipTransfer"], readonly []], readonly [readonly [25, "setChainIdForDomain"], readonly [{
readonly custom: {
to: (val: number) => "Codex" | "Sonic" | "Worldchain";
from: (val: "Codex" | "Sonic" | "Worldchain") => number;
};
readonly binary: "uint";
readonly size: 4;
readonly name: "domain";
}, {
readonly name: "chainId";
readonly binary: "uint";
readonly size: 2;
}]]];
};
};
//# sourceMappingURL=governance.d.ts.map