import { Address, Chain, PrivateKeyAccount, PublicClient, Transport } from 'viem'; /** * This type is for the parameters of the setAnyTrustFastConfirmerPrepareTransactionRequest function */ export type SetAnyTrustFastConfirmerPrepareTransactionRequestParams = { publicClient: PublicClient; account: PrivateKeyAccount; rollup: Address; upgradeExecutor: Address; fastConfirmer: Address; }; /** * Prepares the transaction to set the AnyTrust fast confirmer address in the rollup contract * * Returns the transaction to sign and send to the blockchain. * * @param {SetAnyTrustFastConfirmerPrepareTransactionRequestParams} setAnyTrustFastConfirmerPrepareTransactionRequestParams {@link SetAnyTrustFastConfirmerPrepareTransactionRequestParams} * @param {PublicClient} setAnyTrustFastConfirmerPrepareTransactionRequestParams.publicClient - A Viem Public Client * @param {PrivateKeyAccount} setAnyTrustFastConfirmerPrepareTransactionRequestParams.account - The private key of the chain owner or an account with the executor role in the UpgradeExecutor * @param {Address} setAnyTrustFastConfirmerPrepareTransactionRequestParams.rollup - Address of the Rollup contract * @param {Address} setAnyTrustFastConfirmerPrepareTransactionRequestParams.upgradeExecutor - Address of the UpgradeExecutor contract * @param {Address} setAnyTrustFastConfirmerPrepareTransactionRequestParams.fastConfirmer - Address of the fast confirmer validator (usually a Safe multisig) * * @returns Promise<{@link TransactionRequest}> - the transaction to sign and send to the blockchain. */ export declare function setAnyTrustFastConfirmerPrepareTransactionRequest({ publicClient, account, rollup, upgradeExecutor, fastConfirmer, }: SetAnyTrustFastConfirmerPrepareTransactionRequestParams): Promise<{ chainId: 1 | 1337 | 412346 | 333333 | 8453 | 42161 | 42170 | 84532 | 11155111 | 421614; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: undefined; type?: "legacy" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; } | { chainId: 1 | 1337 | 412346 | 333333 | 8453 | 42161 | 42170 | 84532 | 11155111 | 421614; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: import("viem").AccessList | undefined; type?: "eip2930" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; } | { chainId: 1 | 1337 | 412346 | 333333 | 8453 | 42161 | 42170 | 84532 | 11155111 | 421614; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; accessList?: import("viem").AccessList | undefined; type?: "eip1559" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; }>;