import type { FunctionCall } from '../abi/function_call.js'; import type { AuthWitness } from '../auth_witness/auth_witness.js'; import { AztecAddress } from '../aztec-address/index.js'; import type { Capsule } from './capsule.js'; import type { HashedValues } from './hashed_values.js'; /** * Represents data necessary to perform an action in the network successfully. * This class can be considered Aztec's "minimal execution unit". * */ export declare class ExecutionPayload { /** The function calls to be executed. */ calls: FunctionCall[]; /** Any transient auth witnesses needed for this execution */ authWitnesses: AuthWitness[]; /** Data passed through an oracle for this execution. */ capsules: Capsule[]; /** Extra hashed values to be injected in the execution cache */ extraHashedArgs: HashedValues[]; /** * The address that is paying for the fee in this execution payload (if any). * If undefined, the wallet software executing the payload will have to add a fee payment method */ feePayer?: AztecAddress | undefined; constructor( /** The function calls to be executed. */ calls: FunctionCall[], /** Any transient auth witnesses needed for this execution */ authWitnesses: AuthWitness[], /** Data passed through an oracle for this execution. */ capsules: Capsule[], /** Extra hashed values to be injected in the execution cache */ extraHashedArgs?: HashedValues[], /** * The address that is paying for the fee in this execution payload (if any). * If undefined, the wallet software executing the payload will have to add a fee payment method */ feePayer?: AztecAddress | undefined); static empty(): ExecutionPayload; } /** * Merges an array ExecutionPayloads combining their calls, authWitnesses, capsules and extraArgHashes. * @throws Error if multiple payloads have different fee payers set */ export declare function mergeExecutionPayloads(requests: ExecutionPayload[]): ExecutionPayload; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0aW9uX3BheWxvYWQuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90eC9leGVjdXRpb25fcGF5bG9hZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RCxPQUFPLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNuRSxPQUFPLEVBQUUsWUFBWSx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