diff --git a/biome.json b/biome.json index 8d5a285c..e95c96f8 100644 --- a/biome.json +++ b/biome.json @@ -7,7 +7,8 @@ "./target/*", "**/tmp/*", "*.spec.json", - "**/.papi/descriptors/**/*" + "**/.papi/descriptors/**/*", + "**/contract-bindings/**/*" ] }, "organizeImports": { diff --git a/operator/Cargo.lock b/operator/Cargo.lock index 91e02930..b0c9ddcc 100644 --- a/operator/Cargo.lock +++ b/operator/Cargo.lock @@ -2434,6 +2434,7 @@ dependencies = [ "jsonrpsee 0.24.9", "log", "mmr-rpc", + "openssl-sys", "pallet-beefy-mmr", "pallet-ethereum", "pallet-im-online", @@ -7305,6 +7306,15 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +[[package]] +name = "openssl-src" +version = "300.4.2+3.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168ce4e058f975fe43e89d9ccf78ca668601887ae736090aacc23ae353c298e2" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.108" @@ -7313,6 +7323,7 @@ checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/operator/Cargo.toml b/operator/Cargo.toml index 64e817ff..4583d483 100644 --- a/operator/Cargo.toml +++ b/operator/Cargo.toml @@ -50,6 +50,9 @@ jsonrpsee = { version = "0.24.3" } libsecp256k1 = { version = "0.7", default-features = false } log = { version = "0.4.25" } milagro-bls = { version = "1.5.4", default-features = false, package = "snowbridge-milagro-bls" } +openssl-sys = { version = "0.9", features = [ + "vendored", +] } # This is just to set the "vendored" feature required for the crossbuild, so that OpenSSL builds from source parity-bytes = { version = "0.1.2", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", diff --git a/operator/node/Cargo.toml b/operator/node/Cargo.toml index ded82d99..285aab7f 100644 --- a/operator/node/Cargo.toml +++ b/operator/node/Cargo.toml @@ -29,6 +29,7 @@ futures = { features = ["thread-pool"], workspace = true } hex-literal = { workspace = true } jsonrpsee = { features = ["server"], workspace = true } log = { workspace = true } +openssl-sys = { workspace = true } serde_json = { workspace = true, default-features = true } url = { workspace = true } diff --git a/test/README.md b/test/README.md index 4a8e5d90..c77178c8 100644 --- a/test/README.md +++ b/test/README.md @@ -15,6 +15,11 @@ - [Bun](https://bun.sh/): TypeScript runtime and package manager - [Docker](https://www.docker.com/): For container management +##### MacOS + +> [!IMPORTANT] +> If you are running this on a Mac, `zig` is a pre-requisite for crossbuilding the node. Instructions for installation can be found [here](https://ziglang.org/learn/getting-started/). + ## QuickStart Run: diff --git a/test/cli/handlers/launch/datahaven.ts b/test/cli/handlers/launch/datahaven.ts index ce6ff396..6fb487fd 100644 --- a/test/cli/handlers/launch/datahaven.ts +++ b/test/cli/handlers/launch/datahaven.ts @@ -6,6 +6,7 @@ import { $ } from "bun"; import { type PolkadotClient, createClient } from "polkadot-api"; import { withPolkadotSdkCompat } from "polkadot-api/polkadot-sdk-compat"; import { getWsProvider } from "polkadot-api/ws-provider/web"; +import { cargoCrossbuild } from "scripts/cargo-crossbuild"; import invariant from "tiny-invariant"; import { waitForContainerToStart } from "utils"; import { confirmWithTimeout, logger, printDivider, printHeader } from "utils"; @@ -14,6 +15,8 @@ import { publicKeyToAddress } from "viem/accounts"; import type { LaunchOptions } from "."; import type { LaunchedNetwork } from "./launchedNetwork"; +const LOG_LEVEL = Bun.env.LOG_LEVEL || "info"; + const COMMON_LAUNCH_ARGS = [ "--unsafe-force-node-key-generation", "--tmp", @@ -45,6 +48,286 @@ const FALLBACK_DATAHAVEN_AUTHORITY_PUBLIC_KEYS: Record = { ferdie: "0x03bc9d0ca094bd5b8b3225d7651eac5d18c1c04bf8ae8f8b263eebca4e1410ed0c" } as const; +/** + * Launches a DataHaven solochain network for testing. + * + * @param options - Configuration options for launching the network. + * @param launchedNetwork - An instance of LaunchedNetwork to track the network's state. + */ +export const launchDataHavenSolochain = async ( + options: LaunchOptions, + launchedNetwork: LaunchedNetwork +) => { + printHeader("Starting DataHaven Network"); + + let shouldLaunchDataHaven = options.datahaven; + + if ((await checkDataHavenRunning()) && !options.alwaysClean) { + logger.info("โ„น๏ธ DataHaven network (Docker containers) is already running."); + + logger.trace("Checking if datahaven option was set via flags"); + if (options.datahaven === false) { + logger.info("Keeping existing DataHaven containers."); + + await registerNodes(launchedNetwork); + printDivider(); + return; + } + + if (options.datahaven === true) { + logger.info("Proceeding to clean and relaunch DataHaven containers..."); + await cleanDataHavenContainers(); + } else { + const shouldRelaunch = await confirmWithTimeout( + "Do you want to clean and relaunch the DataHaven containers?", + true, + 10 + ); + + if (!shouldRelaunch) { + logger.info("Keeping existing DataHaven containers."); + + await registerNodes(launchedNetwork); + printDivider(); + return; + } + logger.info("Proceeding to clean and relaunch DataHaven containers..."); + await cleanDataHavenContainers(); + } + } + + if (shouldLaunchDataHaven === undefined) { + shouldLaunchDataHaven = await confirmWithTimeout( + "Do you want to launch the DataHaven network?", + true, + 10 + ); + } else { + logger.info( + `Using flag option: ${shouldLaunchDataHaven ? "will launch" : "will not launch"} DataHaven network` + ); + } + + if (!shouldLaunchDataHaven) { + logger.info("Skipping DataHaven network launch. Done!"); + printDivider(); + return; + } + + invariant(options.datahavenImageTag, "โŒ DataHaven image tag not defined"); + + await buildLocalImage(options); + await checkTagExists(options.datahavenImageTag); + + for (const id of CLI_AUTHORITY_IDS) { + logger.info(`Starting ${id}...`); + const containerName = `datahaven-${id}`; + + const command: string[] = [ + "docker", + "run", + "-d", + "--name", + containerName, + ...(id === "alice" ? ["-p", `${DEFAULT_PUBLIC_WS_PORT}:9944`] : []), + options.datahavenImageTag, + `--${id}`, + ...COMMON_LAUNCH_ARGS + ]; + + logger.debug($`sh -c "${command.join(" ")}"`.text()); + + await waitForContainerToStart(containerName); + + // TODO: Un-comment this when it doesn't stop process from hanging + // This is working on SH, but not here so probably a Bun defect + // + // const listeningLine = await waitForLog({ + // search: "Running JSON-RPC server: addr=0.0.0.0:", + // containerName, + // timeoutSeconds: 30 + // }); + // logger.debug(listeningLine); + } + + for (let i = 0; i < 30; i++) { + logger.info("Waiting for datahaven to start..."); + if (await isNetworkReady(DEFAULT_PUBLIC_WS_PORT)) { + logger.success( + `DataHaven network started, primary node accessible on port ${DEFAULT_PUBLIC_WS_PORT}` + ); + + await registerNodes(launchedNetwork); + + // Call setupDataHavenValidatorConfig now that nodes are up + logger.info("Proceeding with DataHaven validator configuration setup..."); + await setupDataHavenValidatorConfig(launchedNetwork); + + printDivider(); + return; + } + logger.debug("Node not ready, waiting 1 second..."); + await new Promise((resolve) => setTimeout(resolve, 1000)); + } + + throw new Error("DataHaven network failed to start after 30 seconds"); +}; + +/** + * Checks if any DataHaven containers are currently running. + * + * @returns True if any DataHaven containers are running, false otherwise. + */ +const checkDataHavenRunning = async (): Promise => { + // Check for any container whose name starts with "datahaven-" + const PIDS = await $`docker ps -q --filter "name=^datahaven-"`.text(); + return PIDS.trim().length > 0; +}; + +/** + * Stops and removes all DataHaven containers. + */ +const cleanDataHavenContainers = async (): Promise => { + logger.info("๐Ÿงน Stopping and removing existing DataHaven containers..."); + const containerIds = (await $`docker ps -a -q --filter "name=^datahaven-"`.text()).trim(); + logger.debug(`Container IDs: ${containerIds}`); + if (containerIds.length > 0) { + const idsArray = containerIds + .split("\n") + .map((id) => id.trim()) + .filter((id) => id.length > 0); + for (const id of idsArray) { + logger.debug(`Stopping container ${id}`); + logger.debug(await $`docker stop ${id}`.nothrow().text()); + logger.debug(await $`docker rm ${id}`.nothrow().text()); + } + } + logger.info("โœ… Existing DataHaven containers stopped and removed."); +}; + +/** + * Checks if the DataHaven network is ready by sending a POST request to the system_chain method. + * + * @param port - The port number to check. + * @returns True if the network is ready, false otherwise. + */ +export const isNetworkReady = async (port: number): Promise => { + const wsUrl = `ws://127.0.0.1:${port}`; + let client: PolkadotClient | undefined; + try { + // Use withPolkadotSdkCompat for consistency, though _request might not strictly need it. + client = createClient(withPolkadotSdkCompat(getWsProvider(wsUrl))); + const chainName = await client._request("system_chain", []); + logger.debug(`isNetworkReady PAPI check successful for port ${port}, chain: ${chainName}`); + client.destroy(); + return !!chainName; // Ensure it's a boolean and chainName is truthy + } catch (error) { + logger.debug(`isNetworkReady PAPI check failed for port ${port}: ${error}`); + if (client) { + client.destroy(); + } + return false; + } +}; + +const buildLocalImage = async (options: LaunchOptions) => { + let shouldBuildDataHaven = options.buildDatahaven; + + if (shouldBuildDataHaven === undefined) { + shouldBuildDataHaven = await confirmWithTimeout( + "Do you want to build the DataHaven node local Docker image?", + true, + 10 + ); + } else { + logger.info( + `Using flag option: ${shouldBuildDataHaven ? "will build" : "will not build"} DataHaven node local Docker image` + ); + } + + if (!shouldBuildDataHaven) { + logger.info("Skipping DataHaven node local Docker image build. Done!"); + return; + } + + await cargoCrossbuild({ datahavenBuildExtraArgs: options.datahavenBuildExtraArgs }); + + logger.info("๐Ÿณ Building DataHaven node local Docker image..."); + if (LOG_LEVEL === "trace") { + await $`bun build:docker:operator`; + } else { + await $`bun build:docker:operator`.quiet(); + } + logger.success("DataHaven node local Docker image build completed successfully"); +}; + +/** + * Checks if an image exists locally or on Docker Hub. + * + * @param tag - The tag of the image to check. + * @returns A promise that resolves when the image is found. + */ +const checkTagExists = async (tag: string) => { + const cleaned = tag.trim(); + logger.debug(`Checking if image ${cleaned} is available locally`); + const { exitCode: localExists } = await $`docker image inspect ${cleaned}`.nothrow().quiet(); + + if (localExists !== 0) { + logger.debug(`Checking if image ${cleaned} is available on docker hub`); + const result = await $`docker manifest inspect ${cleaned}`.nothrow().quiet(); + invariant( + result.exitCode === 0, + `โŒ Image ${tag} not found.\n Does this image exist?\n Are you logged and have access to the repository?` + ); + } + + logger.success(`Image ${tag} found locally`); +}; + +const registerNodes = async (launchedNetwork: LaunchedNetwork) => { + const targetContainerName = "datahaven-alice"; + const aliceHostWsPort = 9944; // Standard host port for Alice's WS, as set during launch. + + logger.debug(`Checking Docker status for container: ${targetContainerName}`); + // Use ^ and $ for an exact name match in the filter. + const dockerPsOutput = await $`docker ps -q --filter "name=^${targetContainerName}$"`.text(); + const isContainerRunning = dockerPsOutput.trim().length > 0; + + if (!isContainerRunning) { + // If the target Docker container is not running, we cannot register it. + throw new Error( + `โŒ Docker container ${targetContainerName} is not running. Cannot register node.` + ); + } + + // If the Docker container is running, proceed to register it in launchedNetwork. + // We use the standard host WS port that "datahaven-alice" is expected to use. + logger.info( + `โœ… Docker container ${targetContainerName} is running. Registering with WS port ${aliceHostWsPort}.` + ); + launchedNetwork.addContainer(targetContainerName, { ws: aliceHostWsPort }); + logger.success(`๐Ÿ‘ Node ${targetContainerName} successfully registered in launchedNetwork.`); +}; + +// Function to convert compressed public key to Ethereum address +export const compressedPubKeyToEthereumAddress = (compressedPubKey: string): string => { + // Ensure the input is a hex string and remove "0x" prefix + const compressedKeyHex = compressedPubKey.startsWith("0x") + ? compressedPubKey.substring(2) + : compressedPubKey; + + // Decompress the public key + const point = secp256k1.ProjectivePoint.fromHex(compressedKeyHex); + // toRawBytes(false) returns the uncompressed key (64 bytes, x and y coordinates) + const uncompressedPubKeyBytes = point.toRawBytes(false); + const uncompressedPubKeyHex = toHex(uncompressedPubKeyBytes); // Prefixes with "0x" + + // Compute the Ethereum address from the uncompressed public key + // publicKeyToAddress expects a 0x-prefixed hex string representing the 64-byte uncompressed public key + const address = publicKeyToAddress(uncompressedPubKeyHex); + return address; +}; + /** * Prepares the configuration for DataHaven authorities by converting their * compressed public keys to Ethereum addresses and saving them to a JSON file. @@ -155,257 +438,3 @@ export async function setupDataHavenValidatorConfig( throw new Error(`Failed to update authority hashes in ${configFilePath}.`); } } - -/** - * Launches a DataHaven solochain network for testing. - * - * @param options - Configuration options for launching the network. - * @param launchedNetwork - An instance of LaunchedNetwork to track the network's state. - */ -export const launchDataHavenSolochain = async ( - options: LaunchOptions, - launchedNetwork: LaunchedNetwork -) => { - printHeader("Starting DataHaven Network"); - - let shouldLaunchDataHaven = options.datahaven; - - if ((await checkDataHavenRunning()) && !options.alwaysClean) { - logger.info("โ„น๏ธ DataHaven network (Docker containers) is already running."); - - logger.trace("Checking if datahaven option was set via flags"); - if (options.datahaven === false) { - logger.info("Keeping existing DataHaven containers."); - - await registerNodes(launchedNetwork); - printDivider(); - return; - } - - if (options.datahaven === true) { - logger.info("Proceeding to clean and relaunch DataHaven containers..."); - await cleanDataHavenContainers(); - } else { - const shouldRelaunch = await confirmWithTimeout( - "Do you want to clean and relaunch the DataHaven containers?", - true, - 10 - ); - - if (!shouldRelaunch) { - logger.info("Keeping existing DataHaven containers."); - - await registerNodes(launchedNetwork); - printDivider(); - return; - } - logger.info("Proceeding to clean and relaunch DataHaven containers..."); - await cleanDataHavenContainers(); - } - } - - if (shouldLaunchDataHaven === undefined) { - shouldLaunchDataHaven = await confirmWithTimeout( - "Do you want to launch the DataHaven network?", - true, - 10 - ); - } else { - logger.info( - `Using flag option: ${shouldLaunchDataHaven ? "will launch" : "will not launch"} DataHaven network` - ); - } - - if (!shouldLaunchDataHaven) { - logger.info("Skipping DataHaven network launch. Done!"); - printDivider(); - return; - } - - invariant(options.datahavenImageTag, "โŒ Datahaven image tag not defined"); - - await checkTagExists(options.datahavenImageTag); - - const logsPath = `tmp/logs/${launchedNetwork.getRunId()}/`; - logger.debug(`Ensuring logs directory exists: ${logsPath}`); - await $`mkdir -p ${logsPath}`.quiet(); - - for (const id of CLI_AUTHORITY_IDS) { - logger.info(`Starting ${id}...`); - const containerName = `datahaven-${id}`; - - const command: string[] = [ - "docker", - "run", - "-d", - "--platform", - "linux/amd64", - "--name", - containerName, - ...(id === "alice" ? ["-p", `${DEFAULT_PUBLIC_WS_PORT}:9944`] : []), - options.datahavenImageTag, - `--${id}`, - ...COMMON_LAUNCH_ARGS - ]; - - logger.debug($`sh -c "${command.join(" ")}"`.text()); - - await waitForContainerToStart(containerName); - - // TODO: Un-comment this when it doesn't stop process from hanging - // This is working on SH, but not here so probably a Bun defect - // - // const listeningLine = await waitForLog({ - // search: "Running JSON-RPC server: addr=0.0.0.0:", - // containerName, - // timeoutSeconds: 30 - // }); - // logger.debug(listeningLine); - } - - for (let i = 0; i < 30; i++) { - logger.info("Waiting for datahaven to start..."); - if (await isNetworkReady(DEFAULT_PUBLIC_WS_PORT)) { - logger.success( - `DataHaven network started, primary node accessible on port ${DEFAULT_PUBLIC_WS_PORT}` - ); - - await registerNodes(launchedNetwork); - - // Call setupDataHavenValidatorConfig now that nodes are up - logger.info("Proceeding with DataHaven validator configuration setup..."); - await setupDataHavenValidatorConfig(launchedNetwork); - - printDivider(); - return; - } - logger.debug("Node not ready, waiting 1 second..."); - await new Promise((resolve) => setTimeout(resolve, 1000)); - } - - throw new Error("Datahaven network failed to start after 30 seconds"); -}; - -/** - * Checks if any DataHaven containers are currently running. - * - * @returns True if any DataHaven containers are running, false otherwise. - */ -const checkDataHavenRunning = async (): Promise => { - // Check for any container whose name starts with "datahaven-" - const PIDS = await $`docker ps -q --filter "name=^datahaven-"`.text(); - return PIDS.trim().length > 0; -}; - -/** - * Stops and removes all DataHaven containers. - */ -const cleanDataHavenContainers = async (): Promise => { - logger.info("๐Ÿงน Stopping and removing existing DataHaven containers..."); - const containerIds = (await $`docker ps -a -q --filter "name=^datahaven-"`.text()).trim(); - logger.debug(`Container IDs: ${containerIds}`); - if (containerIds.length > 0) { - const idsArray = containerIds - .split("\n") - .map((id) => id.trim()) - .filter((id) => id.length > 0); - for (const id of idsArray) { - logger.debug(`Stopping container ${id}`); - logger.debug(await $`docker stop ${id}`.nothrow().text()); - logger.debug(await $`docker rm ${id}`.nothrow().text()); - } - } - logger.info("โœ… Existing DataHaven containers stopped and removed."); -}; - -/** - * Checks if the DataHaven network is ready by sending a POST request to the system_chain method. - * - * @param port - The port number to check. - * @returns True if the network is ready, false otherwise. - */ -export const isNetworkReady = async (port: number): Promise => { - const wsUrl = `ws://127.0.0.1:${port}`; - let client: PolkadotClient | undefined; - try { - // Use withPolkadotSdkCompat for consistency, though _request might not strictly need it. - client = createClient(withPolkadotSdkCompat(getWsProvider(wsUrl))); - const chainName = await client._request("system_chain", []); - logger.debug(`isNetworkReady PAPI check successful for port ${port}, chain: ${chainName}`); - client.destroy(); - return !!chainName; // Ensure it's a boolean and chainName is truthy - } catch (error) { - logger.debug(`isNetworkReady PAPI check failed for port ${port}: ${error}`); - if (client) { - client.destroy(); - } - return false; - } -}; - -/** - * Checks if an image exists locally or on Docker Hub. - * - * @param tag - The tag of the image to check. - * @returns A promise that resolves when the image is found. - */ -const checkTagExists = async (tag: string) => { - const cleaned = tag.trim(); - logger.debug(`Checking if image ${cleaned} is available locally`); - const { exitCode: localExists } = await $`docker image inspect ${cleaned}`.nothrow().quiet(); - - if (localExists !== 0) { - logger.debug(`Checking if image ${cleaned} is available on docker hub`); - const result = await $`docker manifest inspect ${cleaned}`.nothrow().quiet(); - invariant( - result.exitCode === 0, - `โŒ Image ${tag} not found.\n Does this image exist?\n Are you logged and have access to the repository?` - ); - } - - logger.success(`Image ${tag} found locally`); -}; - -const registerNodes = async (launchedNetwork: LaunchedNetwork) => { - const targetContainerName = "datahaven-alice"; - const aliceHostWsPort = 9944; // Standard host port for Alice's WS, as set during launch. - - logger.debug(`Checking Docker status for container: ${targetContainerName}`); - // Use ^ and $ for an exact name match in the filter. - const dockerPsOutput = await $`docker ps -q --filter "name=^${targetContainerName}$"`.text(); - const isContainerRunning = dockerPsOutput.trim().length > 0; - - if (!isContainerRunning) { - // If the target Docker container is not running, we cannot register it. - throw new Error( - `โŒ Docker container ${targetContainerName} is not running. Cannot register node.` - ); - } - - // If the Docker container is running, proceed to register it in launchedNetwork. - // We use the standard host WS port that "datahaven-alice" is expected to use. - logger.info( - `โœ… Docker container ${targetContainerName} is running. Registering with WS port ${aliceHostWsPort}.` - ); - launchedNetwork.addContainer(targetContainerName, { ws: aliceHostWsPort }); - logger.success(`๐Ÿ‘ Node ${targetContainerName} successfully registered in launchedNetwork.`); -}; - -// Function to convert compressed public key to Ethereum address -export const compressedPubKeyToEthereumAddress = (compressedPubKey: string): string => { - // Ensure the input is a hex string and remove "0x" prefix - const compressedKeyHex = compressedPubKey.startsWith("0x") - ? compressedPubKey.substring(2) - : compressedPubKey; - - // Decompress the public key - const point = secp256k1.ProjectivePoint.fromHex(compressedKeyHex); - // toRawBytes(false) returns the uncompressed key (64 bytes, x and y coordinates) - const uncompressedPubKeyBytes = point.toRawBytes(false); - const uncompressedPubKeyHex = toHex(uncompressedPubKeyBytes); // Prefixes with "0x" - - // Compute the Ethereum address from the uncompressed public key - // publicKeyToAddress expects a 0x-prefixed hex string representing the 64-byte uncompressed public key - const address = publicKeyToAddress(uncompressedPubKeyHex); - return address; -}; diff --git a/test/cli/handlers/launch/index.ts b/test/cli/handlers/launch/index.ts index 1728aafe..6f4c929a 100644 --- a/test/cli/handlers/launch/index.ts +++ b/test/cli/handlers/launch/index.ts @@ -22,7 +22,9 @@ export interface LaunchOptions { skipCleaning?: boolean; alwaysClean?: boolean; datahaven?: boolean; + buildDatahaven?: boolean; datahavenImageTag?: string; + datahavenBuildExtraArgs?: string; kurtosisNetworkArgs?: string; slotTime?: number; } diff --git a/test/cli/index.ts b/test/cli/index.ts index d86fdded..ac632263 100644 --- a/test/cli/index.ts +++ b/test/cli/index.ts @@ -14,8 +14,10 @@ function parseIntValue(value: string): number { // So far we only have the launch command // we can expand this to more commands in the future const program = new Command() - .option("--d, --datahaven", "(Re)Launch Datahaven network") - .option("--nd, --no-datahaven", "Skip launching Datahaven network") + .option("--d, --datahaven", "(Re)Launch DataHaven network") + .option("--nd, --no-datahaven", "Skip launching DataHaven network") + .option("--bd, --build-datahaven", "Build DataHaven node local Docker image") + .option("--nbd, --no-build-datahaven", "Skip building DataHaven node local Docker image") .option("--lk, --launch-kurtosis", "Launch Kurtosis Ethereum network with EL and CL clients") .option("--nlk, --no-launch-kurtosis", "Skip launching Kurtosis Ethereum network") .option("--dc, --deploy-contracts", "Deploy smart contracts") @@ -30,6 +32,11 @@ const program = new Command() .option("--nr, --no-relayer", "Skip Snowbridge Relayers") .option("--b, --blockscout", "Enable Blockscout") .option("--slot-time ", "Set slot time in seconds", parseIntValue) + .option( + "--datahaven-build-extra-args ", + "Extra args for DataHaven node Cargo build (the plain command is `cargo build --release` for linux, `cargo zigbuild --target x86_64-unknown-linux-gnu --release` for mac)", + "--features=fast-runtime" + ) .option("--kurtosis-network-args ", "CustomKurtosis network args") .option("--verified", "Verify smart contracts with Blockscout") .option("--always-clean", "Always clean Kurtosis", false) diff --git a/test/contract-bindings/generated.ts b/test/contract-bindings/generated.ts index 63cedadb..d8419176 100644 --- a/test/contract-bindings/generated.ts +++ b/test/contract-bindings/generated.ts @@ -1,9 +1,9 @@ import { createReadContract, + createWriteContract, createSimulateContract, createWatchContractEvent, - createWriteContract -} from "wagmi/codegen"; +} from 'wagmi/codegen' ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AVSDirectory @@ -11,336 +11,345 @@ import { export const avsDirectoryAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_delegation", - internalType: "contract IDelegationManager", - type: "address" + name: '_delegation', + internalType: 'contract IDelegationManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, - { name: "_version", internalType: "string", type: "string" } + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "OPERATOR_AVS_REGISTRATION_TYPEHASH", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'OPERATOR_AVS_REGISTRATION_TYPEHASH', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "OPERATOR_SET_FORCE_DEREGISTRATION_TYPEHASH", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'OPERATOR_SET_FORCE_DEREGISTRATION_TYPEHASH', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "OPERATOR_SET_REGISTRATION_TYPEHASH", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'OPERATOR_SET_REGISTRATION_TYPEHASH', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "operator", internalType: "address", type: "address" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'operator', internalType: 'address', type: 'address' }, ], - name: "avsOperatorStatus", + name: 'avsOperatorStatus', outputs: [ { - name: "", - internalType: "enum IAVSDirectoryTypes.OperatorAVSRegistrationStatus", - type: "uint8" - } + name: '', + internalType: 'enum IAVSDirectoryTypes.OperatorAVSRegistrationStatus', + type: 'uint8', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" }, - { name: "salt", internalType: "bytes32", type: "bytes32" }, - { name: "expiry", internalType: "uint256", type: "uint256" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, ], - name: "calculateOperatorAVSRegistrationDigestHash", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'calculateOperatorAVSRegistrationDigestHash', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "salt", internalType: "bytes32", type: "bytes32" }], - name: "cancelSalt", + type: 'function', + inputs: [{ name: 'salt', internalType: 'bytes32', type: 'bytes32' }], + name: 'cancelSalt', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "delegation", + name: 'delegation', outputs: [ { - name: "", - internalType: "contract IDelegationManager", - type: "address" - } + name: '', + internalType: 'contract IDelegationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "deregisterOperatorFromAVS", + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'deregisterOperatorFromAVS', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "domainSeparator", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'domainSeparator', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "initialPausedStatus", internalType: "uint256", type: "uint256" } + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: 'initialPausedStatus', internalType: 'uint256', type: 'uint256' }, ], - name: "initialize", + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "salt", internalType: "bytes32", type: "bytes32" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, ], - name: "operatorSaltIsSpent", - outputs: [{ name: "isSpent", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'operatorSaltIsSpent', + outputs: [{ name: 'isSpent', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "pauseAll", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'pauseAll', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSignature", - internalType: "struct ISignatureUtilsMixinTypes.SignatureWithSaltAndExpiry", - type: "tuple", + name: 'operatorSignature', + internalType: + 'struct ISignatureUtilsMixinTypes.SignatureWithSaltAndExpiry', + type: 'tuple', components: [ - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "salt", internalType: "bytes32", type: "bytes32" }, - { name: "expiry", internalType: "uint256", type: "uint256" } - ] - } + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: "registerOperatorToAVS", + name: 'registerOperatorToAVS', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "metadataURI", internalType: "string", type: "string" }], - name: "updateAVSMetadataURI", + type: 'function', + inputs: [{ name: 'metadataURI', internalType: 'string', type: 'string' }], + name: 'updateAVSMetadataURI', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ - { name: "avs", internalType: "address", type: "address", indexed: true }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, { - name: "metadataURI", - internalType: "string", - type: "string", - indexed: false - } - ], - name: "AVSMetadataURIUpdated" - }, - { - type: "event", - anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'metadataURI', + internalType: 'string', + type: 'string', + indexed: false, }, - { name: "avs", internalType: "address", type: "address", indexed: true }, - { - name: "status", - internalType: "enum IAVSDirectoryTypes.OperatorAVSRegistrationStatus", - type: "uint8", - indexed: false - } ], - name: "OperatorAVSRegistrationStatusUpdated" + name: 'AVSMetadataURIUpdated', }, { - type: "event", + type: 'event', + anonymous: false, + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', + }, + { + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, + { + name: 'status', + internalType: 'enum IAVSDirectoryTypes.OperatorAVSRegistrationStatus', + type: 'uint8', + indexed: false, + }, + ], + name: 'OperatorAVSRegistrationStatusUpdated', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidSignature" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "OperatorAlreadyRegisteredToAVS" }, - { type: "error", inputs: [], name: "OperatorNotRegisteredToAVS" }, - { type: "error", inputs: [], name: "OperatorNotRegisteredToEigenLayer" }, - { type: "error", inputs: [], name: "SaltSpent" }, - { type: "error", inputs: [], name: "SignatureExpired" }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidSignature' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'OperatorAlreadyRegisteredToAVS' }, + { type: 'error', inputs: [], name: 'OperatorNotRegisteredToAVS' }, + { type: 'error', inputs: [], name: 'OperatorNotRegisteredToEigenLayer' }, + { type: 'error', inputs: [], name: 'SaltSpent' }, + { type: 'error', inputs: [], name: 'SignatureExpired' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" - } -] as const; + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Agent @@ -348,40 +357,40 @@ export const avsDirectoryAbi = [ export const agentAbi = [ { - type: "constructor", - inputs: [{ name: "agentID", internalType: "bytes32", type: "bytes32" }], - stateMutability: "nonpayable" + type: 'constructor', + inputs: [{ name: 'agentID', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'nonpayable', }, - { type: "receive", stateMutability: "payable" }, + { type: 'receive', stateMutability: 'payable' }, { - type: "function", + type: 'function', inputs: [], - name: "AGENT_ID", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'AGENT_ID', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "GATEWAY", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'GATEWAY', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "executor", internalType: "address", type: "address" }, - { name: "data", internalType: "bytes", type: "bytes" } + { name: 'executor', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, ], - name: "invoke", + name: 'invoke', outputs: [ - { name: "", internalType: "bool", type: "bool" }, - { name: "", internalType: "bytes", type: "bytes" } + { name: '', internalType: 'bool', type: 'bool' }, + { name: '', internalType: 'bytes', type: 'bytes' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, - { type: "error", inputs: [], name: "Unauthorized" } -] as const; + { type: 'error', inputs: [], name: 'Unauthorized' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AgentExecutor @@ -389,47 +398,47 @@ export const agentAbi = [ export const agentExecutorAbi = [ { - type: "function", + type: 'function', inputs: [ - { name: "target", internalType: "address", type: "address" }, - { name: "data", internalType: "bytes", type: "bytes" }, - { name: "value", internalType: "uint256", type: "uint256" } + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'value', internalType: 'uint256', type: 'uint256' }, ], - name: "callContract", + name: 'callContract', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "deposit", + name: 'deposit', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [ - { name: "recipient", internalType: "address payable", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } + { name: 'recipient', internalType: 'address payable', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], - name: "transferEther", + name: 'transferEther', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "token", internalType: "address", type: "address" }, - { name: "recipient", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint128", type: "uint128" } + { name: 'token', internalType: 'address', type: 'address' }, + { name: 'recipient', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint128', type: 'uint128' }, ], - name: "transferToken", + name: 'transferToken', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, - { type: "error", inputs: [], name: "NativeTransferFailed" }, - { type: "error", inputs: [], name: "TokenTransferFailed" } -] as const; + { type: 'error', inputs: [], name: 'NativeTransferFailed' }, + { type: 'error', inputs: [], name: 'TokenTransferFailed' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AllocationManager @@ -437,1132 +446,1146 @@ export const agentExecutorAbi = [ export const allocationManagerAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_delegation", - internalType: "contract IDelegationManager", - type: "address" + name: '_delegation', + internalType: 'contract IDelegationManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, { - name: "_permissionController", - internalType: "contract IPermissionController", - type: "address" + name: '_permissionController', + internalType: 'contract IPermissionController', + type: 'address', }, - { name: "_DEALLOCATION_DELAY", internalType: "uint32", type: "uint32" }, + { name: '_DEALLOCATION_DELAY', internalType: 'uint32', type: 'uint32' }, { - name: "_ALLOCATION_CONFIGURATION_DELAY", - internalType: "uint32", - type: "uint32" + name: '_ALLOCATION_CONFIGURATION_DELAY', + internalType: 'uint32', + type: 'uint32', }, - { name: "_version", internalType: "string", type: "string" } + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "ALLOCATION_CONFIGURATION_DELAY", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'ALLOCATION_CONFIGURATION_DELAY', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "DEALLOCATION_DELAY", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'DEALLOCATION_DELAY', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ], - name: "addStrategiesToOperatorSet", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "numToClear", internalType: "uint16[]", type: "uint16[]" } ], - name: "clearDeallocationQueue", + name: 'addStrategiesToOperatorSet', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "params", - internalType: "struct IAllocationManagerTypes.CreateSetParams[]", - type: "tuple[]", + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { name: 'numToClear', internalType: 'uint16[]', type: 'uint16[]' }, + ], + name: 'clearDeallocationQueue', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { + name: 'params', + internalType: 'struct IAllocationManagerTypes.CreateSetParams[]', + type: 'tuple[]', components: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ] - } + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + ], + }, ], - name: "createOperatorSets", + name: 'createOperatorSets', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "delegation", + name: 'delegation', outputs: [ { - name: "", - internalType: "contract IDelegationManager", - type: "address" - } + name: '', + internalType: 'contract IDelegationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "params", - internalType: "struct IAllocationManagerTypes.DeregisterParams", - type: "tuple", + name: 'params', + internalType: 'struct IAllocationManagerTypes.DeregisterParams', + type: 'tuple', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, { - name: "operatorSetIds", - internalType: "uint32[]", - type: "uint32[]" - } - ] - } + name: 'operatorSetIds', + internalType: 'uint32[]', + type: 'uint32[]', + }, + ], + }, ], - name: "deregisterFromOperatorSets", + name: 'deregisterFromOperatorSets', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "avs", internalType: "address", type: "address" }], - name: "getAVSRegistrar", - outputs: [{ name: "", internalType: "contract IAVSRegistrar", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } + type: 'function', + inputs: [{ name: 'avs', internalType: 'address', type: 'address' }], + name: 'getAVSRegistrar', + outputs: [ + { name: '', internalType: 'contract IAVSRegistrar', type: 'address' }, ], - name: "getAllocatableMagnitude", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "getAllocatedSets", + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getAllocatableMagnitude', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'getAllocatedSets', outputs: [ { - name: "", - internalType: "struct OperatorSet[]", - type: "tuple[]", + name: '', + internalType: 'struct OperatorSet[]', + type: 'tuple[]', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, - { name: "operators", internalType: "address[]", type: "address[]" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } ], - name: "getAllocatedStake", - outputs: [{ name: "", internalType: "uint256[][]", type: "uint256[][]" }], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } - ], - name: "getAllocatedStrategies", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + { name: 'operators', internalType: 'address[]', type: 'address[]' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } ], - name: "getAllocation", + name: 'getAllocatedStake', + outputs: [{ name: '', internalType: 'uint256[][]', type: 'uint256[][]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + ], + name: 'getAllocatedStrategies', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getAllocation', outputs: [ { - name: "", - internalType: "struct IAllocationManagerTypes.Allocation", - type: "tuple", + name: '', + internalType: 'struct IAllocationManagerTypes.Allocation', + type: 'tuple', components: [ - { name: "currentMagnitude", internalType: "uint64", type: "uint64" }, - { name: "pendingDiff", internalType: "int128", type: "int128" }, - { name: "effectBlock", internalType: "uint32", type: "uint32" } - ] - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "getAllocationDelay", - outputs: [ - { name: "", internalType: "bool", type: "bool" }, - { name: "", internalType: "uint32", type: "uint32" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operators", internalType: "address[]", type: "address[]" }, - { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'currentMagnitude', internalType: 'uint64', type: 'uint64' }, + { name: 'pendingDiff', internalType: 'int128', type: 'int128' }, + { name: 'effectBlock', internalType: 'uint32', type: 'uint32' }, + ], }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } ], - name: "getAllocations", + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'getAllocationDelay', + outputs: [ + { name: '', internalType: 'bool', type: 'bool' }, + { name: '', internalType: 'uint32', type: 'uint32' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operators', internalType: 'address[]', type: 'address[]' }, + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getAllocations', outputs: [ { - name: "", - internalType: "struct IAllocationManagerTypes.Allocation[]", - type: "tuple[]", + name: '', + internalType: 'struct IAllocationManagerTypes.Allocation[]', + type: 'tuple[]', components: [ - { name: "currentMagnitude", internalType: "uint64", type: "uint64" }, - { name: "pendingDiff", internalType: "int128", type: "int128" }, - { name: "effectBlock", internalType: "uint32", type: "uint32" } - ] - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "getEncumberedMagnitude", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "getMaxMagnitude", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operators", internalType: "address[]", type: "address[]" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "getMaxMagnitudes", - outputs: [{ name: "", internalType: "uint64[]", type: "uint64[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ], - name: "getMaxMagnitudes", - outputs: [{ name: "", internalType: "uint64[]", type: "uint64[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + { name: 'currentMagnitude', internalType: 'uint64', type: 'uint64' }, + { name: 'pendingDiff', internalType: 'int128', type: 'int128' }, + { name: 'effectBlock', internalType: 'uint32', type: 'uint32' }, + ], }, - { name: "blockNumber", internalType: "uint32", type: "uint32" } ], - name: "getMaxMagnitudesAtBlock", - outputs: [{ name: "", internalType: "uint64[]", type: "uint64[]" }], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "getMemberCount", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'getEncumberedMagnitude', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "getMembers", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" + name: 'getMaxMagnitude', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ + { name: 'operators', internalType: 'address[]', type: 'address[]' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getMaxMagnitudes', + outputs: [{ name: '', internalType: 'uint64[]', type: 'uint64[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", - components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "operators", internalType: "address[]", type: "address[]" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { name: "futureBlock", internalType: "uint32", type: "uint32" } ], - name: "getMinimumSlashableStake", + name: 'getMaxMagnitudes', + outputs: [{ name: '', internalType: 'uint64[]', type: 'uint64[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { name: 'blockNumber', internalType: 'uint32', type: 'uint32' }, + ], + name: 'getMaxMagnitudesAtBlock', + outputs: [{ name: '', internalType: 'uint64[]', type: 'uint64[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + ], + name: 'getMemberCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + ], + name: 'getMembers', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', + components: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, + { name: 'operators', internalType: 'address[]', type: 'address[]' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { name: 'futureBlock', internalType: 'uint32', type: 'uint32' }, + ], + name: 'getMinimumSlashableStake', outputs: [ { - name: "slashableStake", - internalType: "uint256[][]", - type: "uint256[][]" - } + name: 'slashableStake', + internalType: 'uint256[][]', + type: 'uint256[][]', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "avs", internalType: "address", type: "address" }], - name: "getOperatorSetCount", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'avs', internalType: 'address', type: 'address' }], + name: 'getOperatorSetCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "getRegisteredSets", + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'getRegisteredSets', outputs: [ { - name: "", - internalType: "struct OperatorSet[]", - type: "tuple[]", + name: '', + internalType: 'struct OperatorSet[]', + type: 'tuple[]', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "getStrategiesInOperatorSet", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" + name: 'getStrategiesInOperatorSet', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "getStrategyAllocations", + name: 'getStrategyAllocations', outputs: [ { - name: "", - internalType: "struct OperatorSet[]", - type: "tuple[]", + name: '', + internalType: 'struct OperatorSet[]', + type: 'tuple[]', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, { - name: "", - internalType: "struct IAllocationManagerTypes.Allocation[]", - type: "tuple[]", + name: '', + internalType: 'struct IAllocationManagerTypes.Allocation[]', + type: 'tuple[]', components: [ - { name: "currentMagnitude", internalType: "uint64", type: "uint64" }, - { name: "pendingDiff", internalType: "int128", type: "int128" }, - { name: "effectBlock", internalType: "uint32", type: "uint32" } - ] - } + { name: 'currentMagnitude', internalType: 'uint64', type: 'uint64' }, + { name: 'pendingDiff', internalType: 'int128', type: 'int128' }, + { name: 'effectBlock', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "initialPausedStatus", internalType: "uint256", type: "uint256" } + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: 'initialPausedStatus', internalType: 'uint256', type: 'uint256' }, ], - name: "initialize", + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "isMemberOfOperatorSet", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isMemberOfOperatorSet', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "isOperatorSet", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isOperatorSet', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "isOperatorSlashable", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isOperatorSlashable', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "params", - internalType: "struct IAllocationManagerTypes.AllocateParams[]", - type: "tuple[]", + name: 'params', + internalType: 'struct IAllocationManagerTypes.AllocateParams[]', + type: 'tuple[]', components: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "newMagnitudes", internalType: "uint64[]", type: "uint64[]" } - ] - } + { name: 'newMagnitudes', internalType: 'uint64[]', type: 'uint64[]' }, + ], + }, ], - name: "modifyAllocations", + name: 'modifyAllocations', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "pauseAll", + name: 'pauseAll', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "permissionController", + name: 'permissionController', outputs: [ { - name: "", - internalType: "contract IPermissionController", - type: "address" - } + name: '', + internalType: 'contract IPermissionController', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "params", - internalType: "struct IAllocationManagerTypes.RegisterParams", - type: "tuple", + name: 'params', + internalType: 'struct IAllocationManagerTypes.RegisterParams', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, + { name: 'avs', internalType: 'address', type: 'address' }, { - name: "operatorSetIds", - internalType: "uint32[]", - type: "uint32[]" + name: 'operatorSetIds', + internalType: 'uint32[]', + type: 'uint32[]', }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - } + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, ], - name: "registerForOperatorSets", + name: 'registerForOperatorSets', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromOperatorSet", + name: 'removeStrategiesFromOperatorSet', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, + { name: 'avs', internalType: 'address', type: 'address' }, { - name: "registrar", - internalType: "contract IAVSRegistrar", - type: "address" - } + name: 'registrar', + internalType: 'contract IAVSRegistrar', + type: 'address', + }, ], - name: "setAVSRegistrar", + name: 'setAVSRegistrar', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "delay", internalType: "uint32", type: "uint32" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'delay', internalType: 'uint32', type: 'uint32' }, ], - name: "setAllocationDelay", + name: 'setAllocationDelay', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, + { name: 'avs', internalType: 'address', type: 'address' }, { - name: "params", - internalType: "struct IAllocationManagerTypes.SlashingParams", - type: "tuple", + name: 'params', + internalType: 'struct IAllocationManagerTypes.SlashingParams', + type: 'tuple', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "wadsToSlash", internalType: "uint256[]", type: "uint256[]" }, - { name: "description", internalType: "string", type: "string" } - ] - } + { name: 'wadsToSlash', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "slashOperator", + name: 'slashOperator', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "metadataURI", internalType: "string", type: "string" } + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, ], - name: "updateAVSMetadataURI", + name: 'unpause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [ + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'metadataURI', internalType: 'string', type: 'string' }, + ], + name: 'updateAVSMetadataURI', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ - { name: "avs", internalType: "address", type: "address", indexed: true }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, { - name: "metadataURI", - internalType: "string", - type: "string", - indexed: false - } - ], - name: "AVSMetadataURIUpdated" - }, - { - type: "event", - anonymous: false, - inputs: [ - { name: "avs", internalType: "address", type: "address", indexed: false }, - { - name: "registrar", - internalType: "contract IAVSRegistrar", - type: "address", - indexed: false - } - ], - name: "AVSRegistrarSet" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: false + name: 'metadataURI', + internalType: 'string', + type: 'string', + indexed: false, }, - { name: "delay", internalType: "uint32", type: "uint32", indexed: false }, - { - name: "effectBlock", - internalType: "uint32", - type: "uint32", - indexed: false - } ], - name: "AllocationDelaySet" + name: 'AVSMetadataURIUpdated', }, { - type: "event", + type: 'event', + anonymous: false, + inputs: [ + { name: 'avs', internalType: 'address', type: 'address', indexed: false }, + { + name: 'registrar', + internalType: 'contract IAVSRegistrar', + type: 'address', + indexed: false, + }, + ], + name: 'AVSRegistrarSet', + }, + { + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: false + name: 'operator', + internalType: 'address', + type: 'address', + indexed: false, + }, + { name: 'delay', internalType: 'uint32', type: 'uint32', indexed: false }, + { + name: 'effectBlock', + internalType: 'uint32', + type: 'uint32', + indexed: false, + }, + ], + name: 'AllocationDelaySet', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "magnitude", - internalType: "uint64", - type: "uint64", - indexed: false + name: 'magnitude', + internalType: 'uint64', + type: 'uint64', + indexed: false, }, { - name: "effectBlock", - internalType: "uint32", - type: "uint32", - indexed: false - } + name: 'effectBlock', + internalType: 'uint32', + type: 'uint32', + indexed: false, + }, ], - name: "AllocationUpdated" + name: 'AllocationUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: false + name: 'operator', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "encumberedMagnitude", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'encumberedMagnitude', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "EncumberedMagnitudeUpdated" + name: 'EncumberedMagnitudeUpdated', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: false + name: 'operator', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "maxMagnitude", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'maxMagnitude', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "MaxMagnitudeUpdated" + name: 'MaxMagnitudeUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "OperatorAddedToOperatorSet" + name: 'OperatorAddedToOperatorSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "OperatorRemovedFromOperatorSet" + name: 'OperatorRemovedFromOperatorSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "OperatorSetCreated" + name: 'OperatorSetCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: false + name: 'operator', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]", - indexed: false + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + indexed: false, }, { - name: "wadSlashed", - internalType: "uint256[]", - type: "uint256[]", - indexed: false + name: 'wadSlashed', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, { - name: "description", - internalType: "string", - type: "string", - indexed: false - } + name: 'description', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "OperatorSlashed" + name: 'OperatorSlashed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - } + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, ], - name: "StrategyAddedToOperatorSet" + name: 'StrategyAddedToOperatorSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - } + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, ], - name: "StrategyRemovedFromOperatorSet" + name: 'StrategyRemovedFromOperatorSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "AlreadyMemberOfSet" }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "Empty" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InputArrayLengthMismatch" }, - { type: "error", inputs: [], name: "InsufficientMagnitude" }, - { type: "error", inputs: [], name: "InvalidAVSRegistrar" }, - { type: "error", inputs: [], name: "InvalidCaller" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidOperator" }, - { type: "error", inputs: [], name: "InvalidOperatorSet" }, - { type: "error", inputs: [], name: "InvalidPermissions" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidSnapshotOrdering" }, - { type: "error", inputs: [], name: "InvalidWadToSlash" }, - { type: "error", inputs: [], name: "ModificationAlreadyPending" }, - { type: "error", inputs: [], name: "NonexistentAVSMetadata" }, - { type: "error", inputs: [], name: "NotMemberOfSet" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "OperatorNotSlashable" }, - { type: "error", inputs: [], name: "OutOfBounds" }, - { type: "error", inputs: [], name: "SameMagnitude" }, - { type: "error", inputs: [], name: "StrategiesMustBeInAscendingOrder" }, - { type: "error", inputs: [], name: "StrategyAlreadyInOperatorSet" }, - { type: "error", inputs: [], name: "StrategyNotInOperatorSet" }, + { type: 'error', inputs: [], name: 'AlreadyMemberOfSet' }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'Empty' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InputArrayLengthMismatch' }, + { type: 'error', inputs: [], name: 'InsufficientMagnitude' }, + { type: 'error', inputs: [], name: 'InvalidAVSRegistrar' }, + { type: 'error', inputs: [], name: 'InvalidCaller' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidOperator' }, + { type: 'error', inputs: [], name: 'InvalidOperatorSet' }, + { type: 'error', inputs: [], name: 'InvalidPermissions' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidSnapshotOrdering' }, + { type: 'error', inputs: [], name: 'InvalidWadToSlash' }, + { type: 'error', inputs: [], name: 'ModificationAlreadyPending' }, + { type: 'error', inputs: [], name: 'NonexistentAVSMetadata' }, + { type: 'error', inputs: [], name: 'NotMemberOfSet' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'OperatorNotSlashable' }, + { type: 'error', inputs: [], name: 'OutOfBounds' }, + { type: 'error', inputs: [], name: 'SameMagnitude' }, + { type: 'error', inputs: [], name: 'StrategiesMustBeInAscendingOrder' }, + { type: 'error', inputs: [], name: 'StrategyAlreadyInOperatorSet' }, + { type: 'error', inputs: [], name: 'StrategyNotInOperatorSet' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', }, - { type: "error", inputs: [], name: "UninitializedAllocationDelay" } -] as const; + { type: 'error', inputs: [], name: 'UninitializedAllocationDelay' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // BeefyClient @@ -1570,347 +1593,349 @@ export const allocationManagerAbi = [ export const beefyClientAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ - { name: "_randaoCommitDelay", internalType: "uint256", type: "uint256" }, + { name: '_randaoCommitDelay', internalType: 'uint256', type: 'uint256' }, { - name: "_randaoCommitExpiration", - internalType: "uint256", - type: "uint256" + name: '_randaoCommitExpiration', + internalType: 'uint256', + type: 'uint256', }, { - name: "_minNumRequiredSignatures", - internalType: "uint256", - type: "uint256" + name: '_minNumRequiredSignatures', + internalType: 'uint256', + type: 'uint256', }, - { name: "_initialBeefyBlock", internalType: "uint64", type: "uint64" }, + { name: '_initialBeefyBlock', internalType: 'uint64', type: 'uint64' }, { - name: "_initialValidatorSet", - internalType: "struct BeefyClient.ValidatorSet", - type: "tuple", + name: '_initialValidatorSet', + internalType: 'struct BeefyClient.ValidatorSet', + type: 'tuple', components: [ - { name: "id", internalType: "uint128", type: "uint128" }, - { name: "length", internalType: "uint128", type: "uint128" }, - { name: "root", internalType: "bytes32", type: "bytes32" } - ] + { name: 'id', internalType: 'uint128', type: 'uint128' }, + { name: 'length', internalType: 'uint128', type: 'uint128' }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, + ], }, { - name: "_nextValidatorSet", - internalType: "struct BeefyClient.ValidatorSet", - type: "tuple", + name: '_nextValidatorSet', + internalType: 'struct BeefyClient.ValidatorSet', + type: 'tuple', components: [ - { name: "id", internalType: "uint128", type: "uint128" }, - { name: "length", internalType: "uint128", type: "uint128" }, - { name: "root", internalType: "bytes32", type: "bytes32" } - ] - } + { name: 'id', internalType: 'uint128', type: 'uint128' }, + { name: 'length', internalType: 'uint128', type: 'uint128' }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, + ], + }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "MMR_ROOT_ID", - outputs: [{ name: "", internalType: "bytes2", type: "bytes2" }], - stateMutability: "view" + name: 'MMR_ROOT_ID', + outputs: [{ name: '', internalType: 'bytes2', type: 'bytes2' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "commitmentHash", internalType: "bytes32", type: "bytes32" }], - name: "commitPrevRandao", + type: 'function', + inputs: [ + { name: 'commitmentHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'commitPrevRandao', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "commitmentHash", internalType: "bytes32", type: "bytes32" }, - { name: "bitfield", internalType: "uint256[]", type: "uint256[]" } + { name: 'commitmentHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'bitfield', internalType: 'uint256[]', type: 'uint256[]' }, ], - name: "createFinalBitfield", - outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }], - stateMutability: "view" + name: 'createFinalBitfield', + outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "bitsToSet", internalType: "uint256[]", type: "uint256[]" }, - { name: "length", internalType: "uint256", type: "uint256" } + { name: 'bitsToSet', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'length', internalType: 'uint256', type: 'uint256' }, ], - name: "createInitialBitfield", - outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }], - stateMutability: "pure" + name: 'createInitialBitfield', + outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'pure', }, { - type: "function", + type: 'function', inputs: [], - name: "currentValidatorSet", + name: 'currentValidatorSet', outputs: [ - { name: "id", internalType: "uint128", type: "uint128" }, - { name: "length", internalType: "uint128", type: "uint128" }, - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'id', internalType: 'uint128', type: 'uint128' }, + { name: 'length', internalType: 'uint128', type: 'uint128' }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "usageCounters", - internalType: "struct Uint16Array", - type: "tuple", + name: 'usageCounters', + internalType: 'struct Uint16Array', + type: 'tuple', components: [ - { name: "data", internalType: "uint256[]", type: "uint256[]" }, - { name: "length", internalType: "uint256", type: "uint256" } - ] - } + { name: 'data', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'length', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "latestBeefyBlock", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'latestBeefyBlock', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "latestMMRRoot", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'latestMMRRoot', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "minNumRequiredSignatures", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'minNumRequiredSignatures', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "nextValidatorSet", + name: 'nextValidatorSet', outputs: [ - { name: "id", internalType: "uint128", type: "uint128" }, - { name: "length", internalType: "uint128", type: "uint128" }, - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'id', internalType: 'uint128', type: 'uint128' }, + { name: 'length', internalType: 'uint128', type: 'uint128' }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "usageCounters", - internalType: "struct Uint16Array", - type: "tuple", + name: 'usageCounters', + internalType: 'struct Uint16Array', + type: 'tuple', components: [ - { name: "data", internalType: "uint256[]", type: "uint256[]" }, - { name: "length", internalType: "uint256", type: "uint256" } - ] - } + { name: 'data', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'length', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "randaoCommitDelay", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'randaoCommitDelay', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "randaoCommitExpiration", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'randaoCommitExpiration', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "commitment", - internalType: "struct BeefyClient.Commitment", - type: "tuple", + name: 'commitment', + internalType: 'struct BeefyClient.Commitment', + type: 'tuple', components: [ - { name: "blockNumber", internalType: "uint32", type: "uint32" }, - { name: "validatorSetID", internalType: "uint64", type: "uint64" }, + { name: 'blockNumber', internalType: 'uint32', type: 'uint32' }, + { name: 'validatorSetID', internalType: 'uint64', type: 'uint64' }, { - name: "payload", - internalType: "struct BeefyClient.PayloadItem[]", - type: "tuple[]", + name: 'payload', + internalType: 'struct BeefyClient.PayloadItem[]', + type: 'tuple[]', components: [ - { name: "payloadID", internalType: "bytes2", type: "bytes2" }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - } - ] + { name: 'payloadID', internalType: 'bytes2', type: 'bytes2' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, + ], }, - { name: "bitfield", internalType: "uint256[]", type: "uint256[]" }, + { name: 'bitfield', internalType: 'uint256[]', type: 'uint256[]' }, { - name: "proofs", - internalType: "struct BeefyClient.ValidatorProof[]", - type: "tuple[]", + name: 'proofs', + internalType: 'struct BeefyClient.ValidatorProof[]', + type: 'tuple[]', components: [ - { name: "v", internalType: "uint8", type: "uint8" }, - { name: "r", internalType: "bytes32", type: "bytes32" }, - { name: "s", internalType: "bytes32", type: "bytes32" }, - { name: "index", internalType: "uint256", type: "uint256" }, - { name: "account", internalType: "address", type: "address" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" } - ] + { name: 'v', internalType: 'uint8', type: 'uint8' }, + { name: 'r', internalType: 'bytes32', type: 'bytes32' }, + { name: 's', internalType: 'bytes32', type: 'bytes32' }, + { name: 'index', internalType: 'uint256', type: 'uint256' }, + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], }, { - name: "leaf", - internalType: "struct BeefyClient.MMRLeaf", - type: "tuple", + name: 'leaf', + internalType: 'struct BeefyClient.MMRLeaf', + type: 'tuple', components: [ - { name: "version", internalType: "uint8", type: "uint8" }, - { name: "parentNumber", internalType: "uint32", type: "uint32" }, - { name: "parentHash", internalType: "bytes32", type: "bytes32" }, + { name: 'version', internalType: 'uint8', type: 'uint8' }, + { name: 'parentNumber', internalType: 'uint32', type: 'uint32' }, + { name: 'parentHash', internalType: 'bytes32', type: 'bytes32' }, { - name: "nextAuthoritySetID", - internalType: "uint64", - type: "uint64" + name: 'nextAuthoritySetID', + internalType: 'uint64', + type: 'uint64', }, { - name: "nextAuthoritySetLen", - internalType: "uint32", - type: "uint32" + name: 'nextAuthoritySetLen', + internalType: 'uint32', + type: 'uint32', }, { - name: "nextAuthoritySetRoot", - internalType: "bytes32", - type: "bytes32" + name: 'nextAuthoritySetRoot', + internalType: 'bytes32', + type: 'bytes32', }, { - name: "parachainHeadsRoot", - internalType: "bytes32", - type: "bytes32" - } - ] + name: 'parachainHeadsRoot', + internalType: 'bytes32', + type: 'bytes32', + }, + ], }, - { name: "leafProof", internalType: "bytes32[]", type: "bytes32[]" }, - { name: "leafProofOrder", internalType: "uint256", type: "uint256" } + { name: 'leafProof', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'leafProofOrder', internalType: 'uint256', type: 'uint256' }, ], - name: "submitFinal", + name: 'submitFinal', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "commitment", - internalType: "struct BeefyClient.Commitment", - type: "tuple", + name: 'commitment', + internalType: 'struct BeefyClient.Commitment', + type: 'tuple', components: [ - { name: "blockNumber", internalType: "uint32", type: "uint32" }, - { name: "validatorSetID", internalType: "uint64", type: "uint64" }, + { name: 'blockNumber', internalType: 'uint32', type: 'uint32' }, + { name: 'validatorSetID', internalType: 'uint64', type: 'uint64' }, { - name: "payload", - internalType: "struct BeefyClient.PayloadItem[]", - type: "tuple[]", + name: 'payload', + internalType: 'struct BeefyClient.PayloadItem[]', + type: 'tuple[]', components: [ - { name: "payloadID", internalType: "bytes2", type: "bytes2" }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - } - ] + { name: 'payloadID', internalType: 'bytes2', type: 'bytes2' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, + ], }, - { name: "bitfield", internalType: "uint256[]", type: "uint256[]" }, + { name: 'bitfield', internalType: 'uint256[]', type: 'uint256[]' }, { - name: "proof", - internalType: "struct BeefyClient.ValidatorProof", - type: "tuple", + name: 'proof', + internalType: 'struct BeefyClient.ValidatorProof', + type: 'tuple', components: [ - { name: "v", internalType: "uint8", type: "uint8" }, - { name: "r", internalType: "bytes32", type: "bytes32" }, - { name: "s", internalType: "bytes32", type: "bytes32" }, - { name: "index", internalType: "uint256", type: "uint256" }, - { name: "account", internalType: "address", type: "address" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" } - ] - } + { name: 'v', internalType: 'uint8', type: 'uint8' }, + { name: 'r', internalType: 'bytes32', type: 'bytes32' }, + { name: 's', internalType: 'bytes32', type: 'bytes32' }, + { name: 'index', internalType: 'uint256', type: 'uint256' }, + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + }, ], - name: "submitInitial", + name: 'submitInitial', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "ticketID", internalType: "bytes32", type: "bytes32" }], - name: "tickets", + type: 'function', + inputs: [{ name: 'ticketID', internalType: 'bytes32', type: 'bytes32' }], + name: 'tickets', outputs: [ - { name: "blockNumber", internalType: "uint64", type: "uint64" }, - { name: "validatorSetLen", internalType: "uint32", type: "uint32" }, - { name: "numRequiredSignatures", internalType: "uint32", type: "uint32" }, - { name: "prevRandao", internalType: "uint256", type: "uint256" }, - { name: "bitfieldHash", internalType: "bytes32", type: "bytes32" } + { name: 'blockNumber', internalType: 'uint64', type: 'uint64' }, + { name: 'validatorSetLen', internalType: 'uint32', type: 'uint32' }, + { name: 'numRequiredSignatures', internalType: 'uint32', type: 'uint32' }, + { name: 'prevRandao', internalType: 'uint256', type: 'uint256' }, + { name: 'bitfieldHash', internalType: 'bytes32', type: 'bytes32' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "leafHash", internalType: "bytes32", type: "bytes32" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" }, - { name: "proofOrder", internalType: "uint256", type: "uint256" } + { name: 'leafHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'proofOrder', internalType: 'uint256', type: 'uint256' }, ], - name: "verifyMMRLeafProof", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'verifyMMRLeafProof', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "mmrRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false + name: 'mmrRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, }, { - name: "blockNumber", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'blockNumber', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "NewMMRRoot" + name: 'NewMMRRoot', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "relayer", - internalType: "address", - type: "address", - indexed: false + name: 'relayer', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "blockNumber", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'blockNumber', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "NewTicket" + name: 'NewTicket', }, - { type: "error", inputs: [], name: "CommitmentNotRelevant" }, - { type: "error", inputs: [], name: "IndexOutOfBounds" }, - { type: "error", inputs: [], name: "InvalidBitfield" }, - { type: "error", inputs: [], name: "InvalidBitfieldLength" }, - { type: "error", inputs: [], name: "InvalidCommitment" }, - { type: "error", inputs: [], name: "InvalidMMRLeaf" }, - { type: "error", inputs: [], name: "InvalidMMRLeafProof" }, - { type: "error", inputs: [], name: "InvalidMMRRootLength" }, - { type: "error", inputs: [], name: "InvalidSignature" }, - { type: "error", inputs: [], name: "InvalidTicket" }, - { type: "error", inputs: [], name: "InvalidValidatorProof" }, - { type: "error", inputs: [], name: "InvalidValidatorProofLength" }, - { type: "error", inputs: [], name: "NotEnoughClaims" }, - { type: "error", inputs: [], name: "PrevRandaoAlreadyCaptured" }, - { type: "error", inputs: [], name: "PrevRandaoNotCaptured" }, - { type: "error", inputs: [], name: "ProofSizeExceeded" }, - { type: "error", inputs: [], name: "StaleCommitment" }, - { type: "error", inputs: [], name: "TicketExpired" }, - { type: "error", inputs: [], name: "UnsupportedCompactEncoding" }, - { type: "error", inputs: [], name: "WaitPeriodNotOver" } -] as const; + { type: 'error', inputs: [], name: 'CommitmentNotRelevant' }, + { type: 'error', inputs: [], name: 'IndexOutOfBounds' }, + { type: 'error', inputs: [], name: 'InvalidBitfield' }, + { type: 'error', inputs: [], name: 'InvalidBitfieldLength' }, + { type: 'error', inputs: [], name: 'InvalidCommitment' }, + { type: 'error', inputs: [], name: 'InvalidMMRLeaf' }, + { type: 'error', inputs: [], name: 'InvalidMMRLeafProof' }, + { type: 'error', inputs: [], name: 'InvalidMMRRootLength' }, + { type: 'error', inputs: [], name: 'InvalidSignature' }, + { type: 'error', inputs: [], name: 'InvalidTicket' }, + { type: 'error', inputs: [], name: 'InvalidValidatorProof' }, + { type: 'error', inputs: [], name: 'InvalidValidatorProofLength' }, + { type: 'error', inputs: [], name: 'NotEnoughClaims' }, + { type: 'error', inputs: [], name: 'PrevRandaoAlreadyCaptured' }, + { type: 'error', inputs: [], name: 'PrevRandaoNotCaptured' }, + { type: 'error', inputs: [], name: 'ProofSizeExceeded' }, + { type: 'error', inputs: [], name: 'StaleCommitment' }, + { type: 'error', inputs: [], name: 'TicketExpired' }, + { type: 'error', inputs: [], name: 'UnsupportedCompactEncoding' }, + { type: 'error', inputs: [], name: 'WaitPeriodNotOver' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DataHavenServiceManager @@ -1918,870 +1943,898 @@ export const beefyClientAbi = [ export const dataHavenServiceManagerAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "__rewardsCoordinator", - internalType: "contract IRewardsCoordinator", - type: "address" + name: '__rewardsCoordinator', + internalType: 'contract IRewardsCoordinator', + type: 'address', }, { - name: "__permissionController", - internalType: "contract IPermissionController", - type: "address" + name: '__permissionController', + internalType: 'contract IPermissionController', + type: 'address', }, { - name: "__allocationManager", - internalType: "contract IAllocationManager", - type: "address" - } + name: '__allocationManager', + internalType: 'contract IAllocationManager', + type: 'address', + }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "BSPS_SET_ID", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'BSPS_SET_ID', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "DATAHAVEN_AVS_METADATA", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'DATAHAVEN_AVS_METADATA', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "MSPS_SET_ID", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'MSPS_SET_ID', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "VALIDATORS_SET_ID", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'VALIDATORS_SET_ID', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "bsp", internalType: "address", type: "address" }], - name: "addBspToAllowlist", + type: 'function', + inputs: [{ name: 'bsp', internalType: 'address', type: 'address' }], + name: 'addBspToAllowlist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "msp", internalType: "address", type: "address" }], - name: "addMspToAllowlist", + type: 'function', + inputs: [{ name: 'msp', internalType: 'address', type: 'address' }], + name: 'addMspToAllowlist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "admin", internalType: "address", type: "address" }], - name: "addPendingAdmin", + type: 'function', + inputs: [{ name: 'admin', internalType: 'address', type: 'address' }], + name: 'addPendingAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "addStrategiesToBspsSupportedStrategies", + name: 'addStrategiesToBspsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "addStrategiesToMspsSupportedStrategies", + name: 'addStrategiesToMspsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "addStrategiesToOperatorSet", + name: 'addStrategiesToOperatorSet', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "addStrategiesToValidatorsSupportedStrategies", + name: 'addStrategiesToValidatorsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "validator", internalType: "address", type: "address" }], - name: "addValidatorToAllowlist", + type: 'function', + inputs: [{ name: 'validator', internalType: 'address', type: 'address' }], + name: 'addValidatorToAllowlist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "avs", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'avs', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "bspsAllowlist", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'bspsAllowlist', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "bspsSupportedStrategies", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "buildNewValidatorSetMessage", - outputs: [{ name: "", internalType: "bytes", type: "bytes" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, - { name: "operatorPoints", internalType: "uint256", type: "uint256" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" } + name: 'bspsSupportedStrategies', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, ], - name: "claimOperatorRewards", - outputs: [], - stateMutability: "nonpayable" + stateMutability: 'view', }, { - type: "function", + type: 'function', + inputs: [], + name: 'buildNewValidatorSetMessage', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, + { name: 'operatorPoints', internalType: 'uint256', type: 'uint256' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + name: 'claimOperatorRewards', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [ { - name: "rewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission[]", - type: "tuple[]", + name: 'rewardsSubmissions', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } - ] - } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "createAVSRewardsSubmission", + name: 'createAVSRewardsSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, { - name: "operatorDirectedRewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]", - type: "tuple[]", + name: 'operatorDirectedRewardsSubmissions', + internalType: + 'struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "operatorRewards", - internalType: "struct IRewardsCoordinatorTypes.OperatorReward[]", - type: "tuple[]", + name: 'operatorRewards', + internalType: 'struct IRewardsCoordinatorTypes.OperatorReward[]', + type: 'tuple[]', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ] + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + ], }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" }, - { name: "description", internalType: "string", type: "string" } - ] - } + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "createOperatorDirectedOperatorSetRewardsSubmission", + name: 'createOperatorDirectedOperatorSetRewardsSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "params", - internalType: "struct IAllocationManagerTypes.CreateSetParams[]", - type: "tuple[]", + name: 'params', + internalType: 'struct IAllocationManagerTypes.CreateSetParams[]', + type: 'tuple[]', components: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ] - } - ], - name: "createOperatorSets", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" }, - { name: "operatorSetIds", internalType: "uint32[]", type: "uint32[]" } - ], - name: "deregisterOperator", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "deregisterOperatorFromAVS", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "operatorSetIds", internalType: "uint32[]", type: "uint32[]" } - ], - name: "deregisterOperatorFromOperatorSets", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "requestId", internalType: "uint256", type: "uint256" }], - name: "fulfilSlashingRequest", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "getOperatorRestakedStrategies", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "getRestakeableStrategies", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "rewardsInitiator", internalType: "address", type: "address" }, - { - name: "validatorsStrategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "bspsStrategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "mspsStrategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "_snowbridgeGatewayAddress", - internalType: "address", - type: "address" - } - ], - name: "initialise", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "mspsAllowlist", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "mspsSupportedStrategies", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "", internalType: "uint32", type: "uint32" }], - name: "operatorSetToRewardsRegistry", - outputs: [{ name: "", internalType: "contract IRewardsRegistry", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { - name: "params", - internalType: "struct IAllocationManagerTypes.SlashingParams", - type: "tuple", - components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "wadsToSlash", internalType: "uint256[]", type: "uint256[]" }, - { name: "description", internalType: "string", type: "string" } - ] - } + ], + }, ], - name: "queueSlashingRequest", + name: 'createOperatorSets', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" }, - { name: "operatorSetIds", internalType: "uint32[]", type: "uint32[]" }, - { name: "data", internalType: "bytes", type: "bytes" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'operatorSetIds', internalType: 'uint32[]', type: 'uint32[]' }, ], - name: "registerOperator", + name: 'deregisterOperator', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'deregisterOperatorFromAVS', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [ - { name: "", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'operatorSetIds', internalType: 'uint32[]', type: 'uint32[]' }, + ], + name: 'deregisterOperatorFromOperatorSets', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'requestId', internalType: 'uint256', type: 'uint256' }], + name: 'fulfilSlashingRequest', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'getOperatorRestakedStrategies', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'getRestakeableStrategies', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: 'rewardsInitiator', internalType: 'address', type: 'address' }, { - name: "", - internalType: "struct ISignatureUtilsMixinTypes.SignatureWithSaltAndExpiry", - type: "tuple", + name: 'validatorsStrategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'bspsStrategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'mspsStrategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: '_snowbridgeGatewayAddress', + internalType: 'address', + type: 'address', + }, + ], + name: 'initialise', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'mspsAllowlist', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'mspsSupportedStrategies', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + name: 'operatorSetToRewardsRegistry', + outputs: [ + { name: '', internalType: 'contract IRewardsRegistry', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'params', + internalType: 'struct IAllocationManagerTypes.SlashingParams', + type: 'tuple', components: [ - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "salt", internalType: "bytes32", type: "bytes32" }, - { name: "expiry", internalType: "uint256", type: "uint256" } - ] - } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { name: 'wadsToSlash', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "registerOperatorToAVS", + name: 'queueSlashingRequest', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "admin", internalType: "address", type: "address" }], - name: "removeAdmin", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "appointee", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'operatorSetIds', internalType: 'uint32[]', type: 'uint32[]' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, ], - name: "removeAppointee", + name: 'registerOperator', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "bsp", internalType: "address", type: "address" }], - name: "removeBspFromAllowlist", + type: 'function', + inputs: [ + { name: '', internalType: 'address', type: 'address' }, + { + name: '', + internalType: + 'struct ISignatureUtilsMixinTypes.SignatureWithSaltAndExpiry', + type: 'tuple', + components: [ + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + ], + }, + ], + name: 'registerOperatorToAVS', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "msp", internalType: "address", type: "address" }], - name: "removeMspFromAllowlist", + type: 'function', + inputs: [{ name: 'admin', internalType: 'address', type: 'address' }], + name: 'removeAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "pendingAdmin", internalType: "address", type: "address" }], - name: "removePendingAdmin", + type: 'function', + inputs: [ + { name: 'appointee', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, + ], + name: 'removeAppointee', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [{ name: 'bsp', internalType: 'address', type: 'address' }], + name: 'removeBspFromAllowlist', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'msp', internalType: 'address', type: 'address' }], + name: 'removeMspFromAllowlist', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'pendingAdmin', internalType: 'address', type: 'address' }, + ], + name: 'removePendingAdmin', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromBspsSupportedStrategies", + name: 'removeStrategiesFromBspsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromMspsSupportedStrategies", + name: 'removeStrategiesFromMspsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromOperatorSet", + name: 'removeStrategiesFromOperatorSet', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: '_strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromValidatorsSupportedStrategies", + name: 'removeStrategiesFromValidatorsSupportedStrategies', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "validator", internalType: "address", type: "address" }], - name: "removeValidatorFromAllowlist", + type: 'function', + inputs: [{ name: 'validator', internalType: 'address', type: 'address' }], + name: 'removeValidatorFromAllowlist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "rewardsInitiator", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'rewardsInitiator', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "executionFee", internalType: "uint128", type: "uint128" }, - { name: "relayerFee", internalType: "uint128", type: "uint128" } + { name: 'executionFee', internalType: 'uint128', type: 'uint128' }, + { name: 'relayerFee', internalType: 'uint128', type: 'uint128' }, ], - name: "sendNewValidatorSet", + name: 'sendNewValidatorSet', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [ - { name: "appointee", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'appointee', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, ], - name: "setAppointee", + name: 'setAppointee', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "claimer", internalType: "address", type: "address" }], - name: "setClaimerFor", + type: 'function', + inputs: [{ name: 'claimer', internalType: 'address', type: 'address' }], + name: 'setClaimerFor', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, - { name: "rewardsAgent", internalType: "address", type: "address" } + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, + { name: 'rewardsAgent', internalType: 'address', type: 'address' }, ], - name: "setRewardsAgent", + name: 'setRewardsAgent', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newRewardsInitiator", internalType: "address", type: "address" }], - name: "setRewardsInitiator", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'newRewardsInitiator', internalType: 'address', type: 'address' }, + ], + name: 'setRewardsInitiator', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "rewardsRegistry", - internalType: "contract IRewardsRegistry", - type: "address" - } + name: 'rewardsRegistry', + internalType: 'contract IRewardsRegistry', + type: 'address', + }, ], - name: "setRewardsRegistry", + name: 'setRewardsRegistry', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "slasher", - internalType: "contract IVetoableSlasher", - type: "address" - } + name: 'slasher', + internalType: 'contract IVetoableSlasher', + type: 'address', + }, ], - name: "setSlasher", + name: 'setSlasher', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_newSnowbridgeGateway", - internalType: "address", - type: "address" - } + name: '_newSnowbridgeGateway', + internalType: 'address', + type: 'address', + }, ], - name: "setSnowbridgeGateway", + name: 'setSnowbridgeGateway', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "snowbridgeGateway", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'snowbridgeGateway', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "avsAddress", internalType: "address", type: "address" }], - name: "supportsAVS", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'avsAddress', internalType: 'address', type: 'address' }], + name: 'supportsAVS', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "_metadataURI", internalType: "string", type: "string" }], - name: "updateAVSMetadataURI", + type: 'function', + inputs: [{ name: '_metadataURI', internalType: 'string', type: 'string' }], + name: 'updateAVSMetadataURI', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "solochainAddress", internalType: "bytes32", type: "bytes32" }], - name: "updateSolochainAddressForValidator", + type: 'function', + inputs: [ + { name: 'solochainAddress', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'updateSolochainAddressForValidator', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "validatorEthAddressToSolochainAddress", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'validatorEthAddressToSolochainAddress', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "validatorsAllowlist", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'validatorsAllowlist', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "validatorsSupportedStrategies", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" + name: 'validatorsSupportedStrategies', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + ], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "bsp", internalType: "address", type: "address", indexed: true }], - name: "BspAddedToAllowlist" + inputs: [ + { name: 'bsp', internalType: 'address', type: 'address', indexed: true }, + ], + name: 'BspAddedToAllowlist', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "bsp", internalType: "address", type: "address", indexed: true }], - name: "BspRemovedFromAllowlist" + inputs: [ + { name: 'bsp', internalType: 'address', type: 'address', indexed: true }, + ], + name: 'BspRemovedFromAllowlist', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "msp", internalType: "address", type: "address", indexed: true }], - name: "MspAddedToAllowlist" + inputs: [ + { name: 'msp', internalType: 'address', type: 'address', indexed: true }, + ], + name: 'MspAddedToAllowlist', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "msp", internalType: "address", type: "address", indexed: true }], - name: "MspRemovedFromAllowlist" + inputs: [ + { name: 'msp', internalType: 'address', type: 'address', indexed: true }, + ], + name: 'MspRemovedFromAllowlist', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: true - } + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: true, + }, ], - name: "OperatorDeregistered" + name: 'OperatorDeregistered', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: true - } + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: true, + }, ], - name: "OperatorRegistered" + name: 'OperatorRegistered', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "prevRewardsInitiator", - internalType: "address", - type: "address", - indexed: false + name: 'prevRewardsInitiator', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "newRewardsInitiator", - internalType: "address", - type: "address", - indexed: false - } + name: 'newRewardsInitiator', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "RewardsInitiatorUpdated" + name: 'RewardsInitiatorUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: true + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: true, }, { - name: "rewardsRegistry", - internalType: "address", - type: "address", - indexed: true - } + name: 'rewardsRegistry', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "RewardsRegistrySet" + name: 'RewardsRegistrySet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "snowbridgeGateway", - internalType: "address", - type: "address", - indexed: true - } + name: 'snowbridgeGateway', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "SnowbridgeGatewaySet" + name: 'SnowbridgeGatewaySet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "validator", - internalType: "address", - type: "address", - indexed: true - } + name: 'validator', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "ValidatorAddedToAllowlist" + name: 'ValidatorAddedToAllowlist', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "validator", - internalType: "address", - type: "address", - indexed: true - } + name: 'validator', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "ValidatorRemovedFromAllowlist" + name: 'ValidatorRemovedFromAllowlist', }, - { type: "error", inputs: [], name: "CallerIsNotValidator" }, - { type: "error", inputs: [], name: "CantDeregisterFromMultipleOperatorSets" }, - { type: "error", inputs: [], name: "CantRegisterToMultipleOperatorSets" }, - { type: "error", inputs: [], name: "DelayPeriodNotPassed" }, - { type: "error", inputs: [], name: "IncorrectAVSAddress" }, - { type: "error", inputs: [], name: "InvalidOperatorSetId" }, - { type: "error", inputs: [], name: "NoRewardsRegistryForOperatorSet" }, - { type: "error", inputs: [], name: "OnlyRegistryCoordinator" }, - { type: "error", inputs: [], name: "OnlyRewardsInitiator" }, - { type: "error", inputs: [], name: "OnlyStakeRegistry" }, - { type: "error", inputs: [], name: "OperatorNotInAllowlist" }, - { type: "error", inputs: [], name: "OperatorNotInOperatorSet" } -] as const; + { type: 'error', inputs: [], name: 'CallerIsNotValidator' }, + { type: 'error', inputs: [], name: 'CantDeregisterFromMultipleOperatorSets' }, + { type: 'error', inputs: [], name: 'CantRegisterToMultipleOperatorSets' }, + { type: 'error', inputs: [], name: 'DelayPeriodNotPassed' }, + { type: 'error', inputs: [], name: 'IncorrectAVSAddress' }, + { type: 'error', inputs: [], name: 'InvalidOperatorSetId' }, + { type: 'error', inputs: [], name: 'NoRewardsRegistryForOperatorSet' }, + { type: 'error', inputs: [], name: 'OnlyRegistryCoordinator' }, + { type: 'error', inputs: [], name: 'OnlyRewardsInitiator' }, + { type: 'error', inputs: [], name: 'OnlyStakeRegistry' }, + { type: 'error', inputs: [], name: 'OperatorNotInAllowlist' }, + { type: 'error', inputs: [], name: 'OperatorNotInOperatorSet' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DelegationManager @@ -2789,1084 +2842,1110 @@ export const dataHavenServiceManagerAbi = [ export const delegationManagerAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_strategyManager", - internalType: "contract IStrategyManager", - type: "address" + name: '_strategyManager', + internalType: 'contract IStrategyManager', + type: 'address', }, { - name: "_eigenPodManager", - internalType: "contract IEigenPodManager", - type: "address" + name: '_eigenPodManager', + internalType: 'contract IEigenPodManager', + type: 'address', }, { - name: "_allocationManager", - internalType: "contract IAllocationManager", - type: "address" + name: '_allocationManager', + internalType: 'contract IAllocationManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, { - name: "_permissionController", - internalType: "contract IPermissionController", - type: "address" + name: '_permissionController', + internalType: 'contract IPermissionController', + type: 'address', }, - { name: "_MIN_WITHDRAWAL_DELAY", internalType: "uint32", type: "uint32" }, - { name: "_version", internalType: "string", type: "string" } + { name: '_MIN_WITHDRAWAL_DELAY', internalType: 'uint32', type: 'uint32' }, + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "DELEGATION_APPROVAL_TYPEHASH", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'DELEGATION_APPROVAL_TYPEHASH', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "allocationManager", + name: 'allocationManager', outputs: [ { - name: "", - internalType: "contract IAllocationManager", - type: "address" - } + name: '', + internalType: 'contract IAllocationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "beaconChainETHStrategy", - outputs: [{ name: "", internalType: "contract IStrategy", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "operator", internalType: "address", type: "address" }, - { name: "approver", internalType: "address", type: "address" }, - { name: "approverSalt", internalType: "bytes32", type: "bytes32" }, - { name: "expiry", internalType: "uint256", type: "uint256" } - ], - name: "calculateDelegationApprovalDigestHash", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { - name: "withdrawal", - internalType: "struct IDelegationManagerTypes.Withdrawal", - type: "tuple", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - } - ], - name: "calculateWithdrawalRoot", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "pure" - }, - { - type: "function", - inputs: [ - { - name: "withdrawal", - internalType: "struct IDelegationManagerTypes.Withdrawal", - type: "tuple", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - }, - { name: "tokens", internalType: "contract IERC20[]", type: "address[]" }, - { name: "receiveAsTokens", internalType: "bool", type: "bool" } - ], - name: "completeQueuedWithdrawal", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { - name: "withdrawals", - internalType: "struct IDelegationManagerTypes.Withdrawal[]", - type: "tuple[]", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - }, - { - name: "tokens", - internalType: "contract IERC20[][]", - type: "address[][]" - }, - { name: "receiveAsTokens", internalType: "bool[]", type: "bool[]" } - ], - name: "completeQueuedWithdrawals", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "withdrawableShares", - internalType: "uint256[]", - type: "uint256[]" - } - ], - name: "convertToDepositShares", - outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "cumulativeWithdrawalsQueued", - outputs: [{ name: "totalQueued", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "curDepositShares", internalType: "uint256", type: "uint256" }, - { - name: "beaconChainSlashingFactorDecrease", - internalType: "uint64", - type: "uint64" - } - ], - name: "decreaseDelegatedShares", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "approverSignatureAndExpiry", - internalType: "struct ISignatureUtilsMixinTypes.SignatureWithExpiry", - type: "tuple", - components: [ - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "expiry", internalType: "uint256", type: "uint256" } - ] - }, - { name: "approverSalt", internalType: "bytes32", type: "bytes32" } - ], - name: "delegateTo", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "delegatedTo", - outputs: [{ name: "operator", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "delegationApprover", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "delegationApprover", internalType: "address", type: "address" }, - { name: "salt", internalType: "bytes32", type: "bytes32" } - ], - name: "delegationApproverSaltIsSpent", - outputs: [{ name: "spent", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "depositScalingFactor", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "domainSeparator", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "eigenPodManager", - outputs: [{ name: "", internalType: "contract IEigenPodManager", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "getDepositedShares", + name: 'beaconChainETHStrategy', outputs: [ - { name: "", internalType: "contract IStrategy[]", type: "address[]" }, - { name: "", internalType: "uint256[]", type: "uint256[]" } + { name: '', internalType: 'contract IStrategy', type: 'address' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'approver', internalType: 'address', type: 'address' }, + { name: 'approverSalt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, ], - name: "getOperatorShares", - outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }], - stateMutability: "view" + name: 'calculateDelegationApprovalDigestHash', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operators", internalType: "address[]", type: "address[]" }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ], - name: "getOperatorsShares", - outputs: [{ name: "", internalType: "uint256[][]", type: "uint256[][]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "withdrawalRoot", internalType: "bytes32", type: "bytes32" }], - name: "getQueuedWithdrawal", - outputs: [ - { - name: "withdrawal", - internalType: "struct IDelegationManagerTypes.Withdrawal", - type: "tuple", + name: 'withdrawal', + internalType: 'struct IDelegationManagerTypes.Withdrawal', + type: 'tuple', components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - }, - { name: "shares", internalType: "uint256[]", type: "uint256[]" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "getQueuedWithdrawalRoots", - outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "getQueuedWithdrawals", - outputs: [ - { - name: "withdrawals", - internalType: "struct IDelegationManagerTypes.Withdrawal[]", - type: "tuple[]", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - }, - { name: "shares", internalType: "uint256[][]", type: "uint256[][]" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "getSlashableSharesInQueue", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - } - ], - name: "getWithdrawableShares", - outputs: [ - { - name: "withdrawableShares", - internalType: "uint256[]", - type: "uint256[]" - }, - { name: "depositShares", internalType: "uint256[]", type: "uint256[]" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "prevDepositShares", internalType: "uint256", type: "uint256" }, - { name: "addedShares", internalType: "uint256", type: "uint256" } - ], - name: "increaseDelegatedShares", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "initialPausedStatus", internalType: "uint256", type: "uint256" } - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "isDelegated", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "isOperator", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "minWithdrawalDelayBlocks", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { - name: "newDelegationApprover", - internalType: "address", - type: "address" - } - ], - name: "modifyOperatorDetails", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } - ], - name: "operatorShares", - outputs: [{ name: "shares", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "pauseAll", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "withdrawalRoot", internalType: "bytes32", type: "bytes32" }], - name: "pendingWithdrawals", - outputs: [{ name: "pending", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "permissionController", - outputs: [ - { - name: "", - internalType: "contract IPermissionController", - type: "address" - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { - name: "params", - internalType: "struct IDelegationManagerTypes.QueuedWithdrawalParams[]", - type: "tuple[]", - components: [ - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "depositShares", - internalType: "uint256[]", - type: "uint256[]" - }, - { - name: "__deprecated_withdrawer", - internalType: "address", - type: "address" - } - ] - } - ], - name: "queueWithdrawals", - outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "withdrawalRoot", internalType: "bytes32", type: "bytes32" }], - name: "queuedWithdrawals", - outputs: [ - { - name: "withdrawal", - internalType: "struct IDelegationManagerTypes.Withdrawal", - type: "tuple", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } - ] - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "newOperator", internalType: "address", type: "address" }, - { - name: "newOperatorApproverSig", - internalType: "struct ISignatureUtilsMixinTypes.SignatureWithExpiry", - type: "tuple", - components: [ - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "expiry", internalType: "uint256", type: "uint256" } - ] - }, - { name: "approverSalt", internalType: "bytes32", type: "bytes32" } - ], - name: "redelegate", - outputs: [{ name: "withdrawalRoots", internalType: "bytes32[]", type: "bytes32[]" }], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { - name: "initDelegationApprover", - internalType: "address", - type: "address" - }, - { name: "allocationDelay", internalType: "uint32", type: "uint32" }, - { name: "metadataURI", internalType: "string", type: "string" } - ], - name: "registerAsOperator", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "prevMaxMagnitude", internalType: "uint64", type: "uint64" }, - { name: "newMaxMagnitude", internalType: "uint64", type: "uint64" } - ], - name: "slashOperatorShares", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "strategyManager", - outputs: [{ name: "", internalType: "contract IStrategyManager", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "undelegate", - outputs: [{ name: "withdrawalRoots", internalType: "bytes32[]", type: "bytes32[]" }], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "metadataURI", internalType: "string", type: "string" } - ], - name: "updateOperatorMetadataURI", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "newDelegationApprover", - internalType: "address", - type: "address", - indexed: false - } - ], - name: "DelegationApproverUpdated" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "staker", - internalType: "address", - type: "address", - indexed: false - }, - { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - }, - { - name: "newDepositScalingFactor", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "DepositScalingFactorUpdated" - }, - { - type: "event", - anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "metadataURI", - internalType: "string", - type: "string", - indexed: false - } - ], - name: "OperatorMetadataURIUpdated" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "delegationApprover", - internalType: "address", - type: "address", - indexed: false - } - ], - name: "OperatorRegistered" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "staker", - internalType: "address", - type: "address", - indexed: false - }, - { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - }, - { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "OperatorSharesDecreased" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "staker", - internalType: "address", - type: "address", - indexed: false - }, - { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - }, - { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "OperatorSharesIncreased" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "operator", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - }, - { - name: "totalSlashedShares", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "OperatorSharesSlashed" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } - ], - name: "OwnershipTransferred" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "account", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "Paused" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "withdrawalRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false - } - ], - name: "SlashingWithdrawalCompleted" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "withdrawalRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false - }, - { - name: "withdrawal", - internalType: "struct IDelegationManagerTypes.Withdrawal", - type: "tuple", - components: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "delegatedTo", internalType: "address", type: "address" }, - { name: "withdrawer", internalType: "address", type: "address" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "startBlock", internalType: "uint32", type: "uint32" }, - { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" - }, - { - name: "scaledShares", - internalType: "uint256[]", - type: "uint256[]" - } ], - indexed: false }, - { - name: "sharesToWithdraw", - internalType: "uint256[]", - type: "uint256[]", - indexed: false - } ], - name: "SlashingWithdrawalQueued" + name: 'calculateWithdrawalRoot', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'pure', }, { - type: "event", + type: 'function', + inputs: [ + { + name: 'withdrawal', + internalType: 'struct IDelegationManagerTypes.Withdrawal', + type: 'tuple', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + }, + { name: 'tokens', internalType: 'contract IERC20[]', type: 'address[]' }, + { name: 'receiveAsTokens', internalType: 'bool', type: 'bool' }, + ], + name: 'completeQueuedWithdrawal', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { + name: 'withdrawals', + internalType: 'struct IDelegationManagerTypes.Withdrawal[]', + type: 'tuple[]', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + }, + { + name: 'tokens', + internalType: 'contract IERC20[][]', + type: 'address[][]', + }, + { name: 'receiveAsTokens', internalType: 'bool[]', type: 'bool[]' }, + ], + name: 'completeQueuedWithdrawals', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'withdrawableShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + name: 'convertToDepositShares', + outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'cumulativeWithdrawalsQueued', + outputs: [ + { name: 'totalQueued', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'curDepositShares', internalType: 'uint256', type: 'uint256' }, + { + name: 'beaconChainSlashingFactorDecrease', + internalType: 'uint64', + type: 'uint64', + }, + ], + name: 'decreaseDelegatedShares', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'approverSignatureAndExpiry', + internalType: 'struct ISignatureUtilsMixinTypes.SignatureWithExpiry', + type: 'tuple', + components: [ + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + ], + }, + { name: 'approverSalt', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'delegateTo', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'delegatedTo', + outputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'delegationApprover', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'delegationApprover', internalType: 'address', type: 'address' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'delegationApproverSaltIsSpent', + outputs: [{ name: 'spent', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'depositScalingFactor', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'domainSeparator', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'eigenPodManager', + outputs: [ + { name: '', internalType: 'contract IEigenPodManager', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'getDepositedShares', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + { name: '', internalType: 'uint256[]', type: 'uint256[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + ], + name: 'getOperatorShares', + outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operators', internalType: 'address[]', type: 'address[]' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + ], + name: 'getOperatorsShares', + outputs: [{ name: '', internalType: 'uint256[][]', type: 'uint256[][]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'withdrawalRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'getQueuedWithdrawal', + outputs: [ + { + name: 'withdrawal', + internalType: 'struct IDelegationManagerTypes.Withdrawal', + type: 'tuple', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + }, + { name: 'shares', internalType: 'uint256[]', type: 'uint256[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'getQueuedWithdrawalRoots', + outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'getQueuedWithdrawals', + outputs: [ + { + name: 'withdrawals', + internalType: 'struct IDelegationManagerTypes.Withdrawal[]', + type: 'tuple[]', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + }, + { name: 'shares', internalType: 'uint256[][]', type: 'uint256[][]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getSlashableSharesInQueue', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + ], + name: 'getWithdrawableShares', + outputs: [ + { + name: 'withdrawableShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + { name: 'depositShares', internalType: 'uint256[]', type: 'uint256[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'prevDepositShares', internalType: 'uint256', type: 'uint256' }, + { name: 'addedShares', internalType: 'uint256', type: 'uint256' }, + ], + name: 'increaseDelegatedShares', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: 'initialPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'initialize', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'isDelegated', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'isOperator', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'minWithdrawalDelayBlocks', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { + name: 'newDelegationApprover', + internalType: 'address', + type: 'address', + }, + ], + name: 'modifyOperatorDetails', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'operatorShares', + outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'pauseAll', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'withdrawalRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'pendingWithdrawals', + outputs: [{ name: 'pending', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'permissionController', + outputs: [ + { + name: '', + internalType: 'contract IPermissionController', + type: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'params', + internalType: 'struct IDelegationManagerTypes.QueuedWithdrawalParams[]', + type: 'tuple[]', + components: [ + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'depositShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + { + name: '__deprecated_withdrawer', + internalType: 'address', + type: 'address', + }, + ], + }, + ], + name: 'queueWithdrawals', + outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'withdrawalRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'queuedWithdrawals', + outputs: [ + { + name: 'withdrawal', + internalType: 'struct IDelegationManagerTypes.Withdrawal', + type: 'tuple', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'newOperator', internalType: 'address', type: 'address' }, + { + name: 'newOperatorApproverSig', + internalType: 'struct ISignatureUtilsMixinTypes.SignatureWithExpiry', + type: 'tuple', + components: [ + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + ], + }, + { name: 'approverSalt', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'redelegate', + outputs: [ + { name: 'withdrawalRoots', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { + name: 'initDelegationApprover', + internalType: 'address', + type: 'address', + }, + { name: 'allocationDelay', internalType: 'uint32', type: 'uint32' }, + { name: 'metadataURI', internalType: 'string', type: 'string' }, + ], + name: 'registerAsOperator', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'renounceOwnership', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'prevMaxMagnitude', internalType: 'uint64', type: 'uint64' }, + { name: 'newMaxMagnitude', internalType: 'uint64', type: 'uint64' }, + ], + name: 'slashOperatorShares', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'strategyManager', + outputs: [ + { name: '', internalType: 'contract IStrategyManager', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'undelegate', + outputs: [ + { name: 'withdrawalRoots', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'metadataURI', internalType: 'string', type: 'string' }, + ], + name: 'updateOperatorMetadataURI', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'event', anonymous: false, inputs: [ { - name: "staker", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true - } + name: 'newDelegationApprover', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "StakerDelegated" + name: 'DelegationApproverUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "staker", - internalType: "address", - type: "address", - indexed: true + name: 'staker', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true - } + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, + { + name: 'newDepositScalingFactor', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "StakerForceUndelegated" + name: 'DepositScalingFactorUpdated', }, { - type: "event", + type: 'event', + anonymous: false, + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', + }, + { + type: 'event', anonymous: false, inputs: [ { - name: "staker", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true - } + name: 'metadataURI', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "StakerUndelegated" + name: 'OperatorMetadataURIUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'delegationApprover', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "Unpaused" + name: 'OperatorRegistered', }, - { type: "error", inputs: [], name: "ActivelyDelegated" }, - { type: "error", inputs: [], name: "CallerCannotUndelegate" }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "FullySlashed" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InputArrayLengthMismatch" }, - { type: "error", inputs: [], name: "InputArrayLengthZero" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidPermissions" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidSignature" }, - { type: "error", inputs: [], name: "InvalidSnapshotOrdering" }, - { type: "error", inputs: [], name: "NotActivelyDelegated" }, - { type: "error", inputs: [], name: "OnlyAllocationManager" }, - { type: "error", inputs: [], name: "OnlyEigenPodManager" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyStrategyManagerOrEigenPodManager" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "OperatorNotRegistered" }, - { type: "error", inputs: [], name: "OperatorsCannotUndelegate" }, - { type: "error", inputs: [], name: "SaltSpent" }, - { type: "error", inputs: [], name: "SignatureExpired" }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" + type: 'event', + anonymous: false, + inputs: [ + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: false, + }, + { + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, + { + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'OperatorSharesDecreased', }, - { type: "error", inputs: [], name: "WithdrawalDelayNotElapsed" }, - { type: "error", inputs: [], name: "WithdrawalNotQueued" }, - { type: "error", inputs: [], name: "WithdrawerNotCaller" } -] as const; + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: false, + }, + { + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, + { + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'OperatorSharesIncreased', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, + { + name: 'totalSlashedShares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'OperatorSharesSlashed', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, + ], + name: 'OwnershipTransferred', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'Paused', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'withdrawalRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + ], + name: 'SlashingWithdrawalCompleted', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'withdrawalRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + { + name: 'withdrawal', + internalType: 'struct IDelegationManagerTypes.Withdrawal', + type: 'tuple', + components: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'delegatedTo', internalType: 'address', type: 'address' }, + { name: 'withdrawer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'startBlock', internalType: 'uint32', type: 'uint32' }, + { + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, + { + name: 'scaledShares', + internalType: 'uint256[]', + type: 'uint256[]', + }, + ], + indexed: false, + }, + { + name: 'sharesToWithdraw', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, + ], + name: 'SlashingWithdrawalQueued', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + ], + name: 'StakerDelegated', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + ], + name: 'StakerForceUndelegated', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, + }, + ], + name: 'StakerUndelegated', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'Unpaused', + }, + { type: 'error', inputs: [], name: 'ActivelyDelegated' }, + { type: 'error', inputs: [], name: 'CallerCannotUndelegate' }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'FullySlashed' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InputArrayLengthMismatch' }, + { type: 'error', inputs: [], name: 'InputArrayLengthZero' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidPermissions' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidSignature' }, + { type: 'error', inputs: [], name: 'InvalidSnapshotOrdering' }, + { type: 'error', inputs: [], name: 'NotActivelyDelegated' }, + { type: 'error', inputs: [], name: 'OnlyAllocationManager' }, + { type: 'error', inputs: [], name: 'OnlyEigenPodManager' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyStrategyManagerOrEigenPodManager' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'OperatorNotRegistered' }, + { type: 'error', inputs: [], name: 'OperatorsCannotUndelegate' }, + { type: 'error', inputs: [], name: 'SaltSpent' }, + { type: 'error', inputs: [], name: 'SignatureExpired' }, + { + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', + }, + { type: 'error', inputs: [], name: 'WithdrawalDelayNotElapsed' }, + { type: 'error', inputs: [], name: 'WithdrawalNotQueued' }, + { type: 'error', inputs: [], name: 'WithdrawerNotCaller' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // EigenPod @@ -3874,589 +3953,601 @@ export const delegationManagerAbi = [ export const eigenPodAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_ethPOS", - internalType: "contract IETHPOSDeposit", - type: "address" + name: '_ethPOS', + internalType: 'contract IETHPOSDeposit', + type: 'address', }, { - name: "_eigenPodManager", - internalType: "contract IEigenPodManager", - type: "address" + name: '_eigenPodManager', + internalType: 'contract IEigenPodManager', + type: 'address', }, - { name: "_GENESIS_TIME", internalType: "uint64", type: "uint64" }, - { name: "_version", internalType: "string", type: "string" } + { name: '_GENESIS_TIME', internalType: 'uint64', type: 'uint64' }, + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, - { type: "receive", stateMutability: "payable" }, + { type: 'receive', stateMutability: 'payable' }, { - type: "function", + type: 'function', inputs: [], - name: "GENESIS_TIME", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'GENESIS_TIME', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "activeValidatorCount", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'activeValidatorCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "uint64", type: "uint64" }], - name: "checkpointBalanceExitedGwei", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + name: 'checkpointBalanceExitedGwei', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "currentCheckpoint", + name: 'currentCheckpoint', outputs: [ { - name: "", - internalType: "struct IEigenPodTypes.Checkpoint", - type: "tuple", + name: '', + internalType: 'struct IEigenPodTypes.Checkpoint', + type: 'tuple', components: [ - { name: "beaconBlockRoot", internalType: "bytes32", type: "bytes32" }, - { name: "proofsRemaining", internalType: "uint24", type: "uint24" }, - { name: "podBalanceGwei", internalType: "uint64", type: "uint64" }, - { name: "balanceDeltasGwei", internalType: "int64", type: "int64" }, + { name: 'beaconBlockRoot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'proofsRemaining', internalType: 'uint24', type: 'uint24' }, + { name: 'podBalanceGwei', internalType: 'uint64', type: 'uint64' }, + { name: 'balanceDeltasGwei', internalType: 'int64', type: 'int64' }, { - name: "prevBeaconBalanceGwei", - internalType: "uint64", - type: "uint64" - } - ] - } + name: 'prevBeaconBalanceGwei', + internalType: 'uint64', + type: 'uint64', + }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "currentCheckpointTimestamp", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'currentCheckpointTimestamp', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "eigenPodManager", - outputs: [{ name: "", internalType: "contract IEigenPodManager", type: "address" }], - stateMutability: "view" + name: 'eigenPodManager', + outputs: [ + { name: '', internalType: 'contract IEigenPodManager', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "ethPOS", - outputs: [{ name: "", internalType: "contract IETHPOSDeposit", type: "address" }], - stateMutability: "view" + name: 'ethPOS', + outputs: [ + { name: '', internalType: 'contract IETHPOSDeposit', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "timestamp", internalType: "uint64", type: "uint64" }], - name: "getParentBlockRoot", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'timestamp', internalType: 'uint64', type: 'uint64' }], + name: 'getParentBlockRoot', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "_podOwner", internalType: "address", type: "address" }], - name: "initialize", + type: 'function', + inputs: [{ name: '_podOwner', internalType: 'address', type: 'address' }], + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "lastCheckpointTimestamp", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'lastCheckpointTimestamp', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "podOwner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'podOwner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "proofSubmitter", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'proofSubmitter', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "tokenList", - internalType: "contract IERC20[]", - type: "address[]" + name: 'tokenList', + internalType: 'contract IERC20[]', + type: 'address[]', }, { - name: "amountsToWithdraw", - internalType: "uint256[]", - type: "uint256[]" + name: 'amountsToWithdraw', + internalType: 'uint256[]', + type: 'uint256[]', }, - { name: "recipient", internalType: "address", type: "address" } + { name: 'recipient', internalType: 'address', type: 'address' }, ], - name: "recoverTokens", + name: 'recoverTokens', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newProofSubmitter", internalType: "address", type: "address" }], - name: "setProofSubmitter", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "pubkey", internalType: "bytes", type: "bytes" }, - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "depositDataRoot", internalType: "bytes32", type: "bytes32" } + { name: 'newProofSubmitter', internalType: 'address', type: 'address' }, ], - name: "stake", + name: 'setProofSubmitter', outputs: [], - stateMutability: "payable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "revertIfNoBalance", internalType: "bool", type: "bool" }], - name: "startCheckpoint", + type: 'function', + inputs: [ + { name: 'pubkey', internalType: 'bytes', type: 'bytes' }, + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'depositDataRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'stake', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'payable', }, { - type: "function", - inputs: [{ name: "validatorPubkeyHash", internalType: "bytes32", type: "bytes32" }], - name: "validatorPubkeyHashToInfo", + type: 'function', + inputs: [{ name: 'revertIfNoBalance', internalType: 'bool', type: 'bool' }], + name: 'startCheckpoint', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'validatorPubkeyHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'validatorPubkeyHashToInfo', outputs: [ { - name: "", - internalType: "struct IEigenPodTypes.ValidatorInfo", - type: "tuple", + name: '', + internalType: 'struct IEigenPodTypes.ValidatorInfo', + type: 'tuple', components: [ - { name: "validatorIndex", internalType: "uint64", type: "uint64" }, + { name: 'validatorIndex', internalType: 'uint64', type: 'uint64' }, { - name: "restakedBalanceGwei", - internalType: "uint64", - type: "uint64" + name: 'restakedBalanceGwei', + internalType: 'uint64', + type: 'uint64', }, { - name: "lastCheckpointedAt", - internalType: "uint64", - type: "uint64" + name: 'lastCheckpointedAt', + internalType: 'uint64', + type: 'uint64', }, { - name: "status", - internalType: "enum IEigenPodTypes.VALIDATOR_STATUS", - type: "uint8" - } - ] - } + name: 'status', + internalType: 'enum IEigenPodTypes.VALIDATOR_STATUS', + type: 'uint8', + }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "validatorPubkey", internalType: "bytes", type: "bytes" }], - name: "validatorPubkeyToInfo", + type: 'function', + inputs: [{ name: 'validatorPubkey', internalType: 'bytes', type: 'bytes' }], + name: 'validatorPubkeyToInfo', outputs: [ { - name: "", - internalType: "struct IEigenPodTypes.ValidatorInfo", - type: "tuple", + name: '', + internalType: 'struct IEigenPodTypes.ValidatorInfo', + type: 'tuple', components: [ - { name: "validatorIndex", internalType: "uint64", type: "uint64" }, + { name: 'validatorIndex', internalType: 'uint64', type: 'uint64' }, { - name: "restakedBalanceGwei", - internalType: "uint64", - type: "uint64" + name: 'restakedBalanceGwei', + internalType: 'uint64', + type: 'uint64', }, { - name: "lastCheckpointedAt", - internalType: "uint64", - type: "uint64" + name: 'lastCheckpointedAt', + internalType: 'uint64', + type: 'uint64', }, { - name: "status", - internalType: "enum IEigenPodTypes.VALIDATOR_STATUS", - type: "uint8" - } - ] - } + name: 'status', + internalType: 'enum IEigenPodTypes.VALIDATOR_STATUS', + type: 'uint8', + }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "validatorPubkey", internalType: "bytes", type: "bytes" }], - name: "validatorStatus", + type: 'function', + inputs: [{ name: 'validatorPubkey', internalType: 'bytes', type: 'bytes' }], + name: 'validatorStatus', outputs: [ { - name: "", - internalType: "enum IEigenPodTypes.VALIDATOR_STATUS", - type: "uint8" - } + name: '', + internalType: 'enum IEigenPodTypes.VALIDATOR_STATUS', + type: 'uint8', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "pubkeyHash", internalType: "bytes32", type: "bytes32" }], - name: "validatorStatus", + type: 'function', + inputs: [{ name: 'pubkeyHash', internalType: 'bytes32', type: 'bytes32' }], + name: 'validatorStatus', outputs: [ { - name: "", - internalType: "enum IEigenPodTypes.VALIDATOR_STATUS", - type: "uint8" - } + name: '', + internalType: 'enum IEigenPodTypes.VALIDATOR_STATUS', + type: 'uint8', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "balanceContainerProof", - internalType: "struct BeaconChainProofs.BalanceContainerProof", - type: "tuple", + name: 'balanceContainerProof', + internalType: 'struct BeaconChainProofs.BalanceContainerProof', + type: 'tuple', components: [ { - name: "balanceContainerRoot", - internalType: "bytes32", - type: "bytes32" + name: 'balanceContainerRoot', + internalType: 'bytes32', + type: 'bytes32', }, - { name: "proof", internalType: "bytes", type: "bytes" } - ] + { name: 'proof', internalType: 'bytes', type: 'bytes' }, + ], }, { - name: "proofs", - internalType: "struct BeaconChainProofs.BalanceProof[]", - type: "tuple[]", + name: 'proofs', + internalType: 'struct BeaconChainProofs.BalanceProof[]', + type: 'tuple[]', components: [ - { name: "pubkeyHash", internalType: "bytes32", type: "bytes32" }, - { name: "balanceRoot", internalType: "bytes32", type: "bytes32" }, - { name: "proof", internalType: "bytes", type: "bytes" } - ] - } + { name: 'pubkeyHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'balanceRoot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'proof', internalType: 'bytes', type: 'bytes' }, + ], + }, ], - name: "verifyCheckpointProofs", + name: 'verifyCheckpointProofs', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "beaconTimestamp", internalType: "uint64", type: "uint64" }, + { name: 'beaconTimestamp', internalType: 'uint64', type: 'uint64' }, { - name: "stateRootProof", - internalType: "struct BeaconChainProofs.StateRootProof", - type: "tuple", + name: 'stateRootProof', + internalType: 'struct BeaconChainProofs.StateRootProof', + type: 'tuple', components: [ - { name: "beaconStateRoot", internalType: "bytes32", type: "bytes32" }, - { name: "proof", internalType: "bytes", type: "bytes" } - ] + { name: 'beaconStateRoot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'proof', internalType: 'bytes', type: 'bytes' }, + ], }, { - name: "proof", - internalType: "struct BeaconChainProofs.ValidatorProof", - type: "tuple", + name: 'proof', + internalType: 'struct BeaconChainProofs.ValidatorProof', + type: 'tuple', components: [ { - name: "validatorFields", - internalType: "bytes32[]", - type: "bytes32[]" + name: 'validatorFields', + internalType: 'bytes32[]', + type: 'bytes32[]', }, - { name: "proof", internalType: "bytes", type: "bytes" } - ] - } + { name: 'proof', internalType: 'bytes', type: 'bytes' }, + ], + }, ], - name: "verifyStaleBalance", + name: 'verifyStaleBalance', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "beaconTimestamp", internalType: "uint64", type: "uint64" }, + { name: 'beaconTimestamp', internalType: 'uint64', type: 'uint64' }, { - name: "stateRootProof", - internalType: "struct BeaconChainProofs.StateRootProof", - type: "tuple", + name: 'stateRootProof', + internalType: 'struct BeaconChainProofs.StateRootProof', + type: 'tuple', components: [ - { name: "beaconStateRoot", internalType: "bytes32", type: "bytes32" }, - { name: "proof", internalType: "bytes", type: "bytes" } - ] + { name: 'beaconStateRoot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'proof', internalType: 'bytes', type: 'bytes' }, + ], }, - { name: "validatorIndices", internalType: "uint40[]", type: "uint40[]" }, + { name: 'validatorIndices', internalType: 'uint40[]', type: 'uint40[]' }, { - name: "validatorFieldsProofs", - internalType: "bytes[]", - type: "bytes[]" + name: 'validatorFieldsProofs', + internalType: 'bytes[]', + type: 'bytes[]', }, { - name: "validatorFields", - internalType: "bytes32[][]", - type: "bytes32[][]" - } + name: 'validatorFields', + internalType: 'bytes32[][]', + type: 'bytes32[][]', + }, ], - name: "verifyWithdrawalCredentials", + name: 'verifyWithdrawalCredentials', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "recipient", internalType: "address", type: "address" }, - { name: "amountWei", internalType: "uint256", type: "uint256" } + { name: 'recipient', internalType: 'address', type: 'address' }, + { name: 'amountWei', internalType: 'uint256', type: 'uint256' }, ], - name: "withdrawRestakedBeaconChainETH", + name: 'withdrawRestakedBeaconChainETH', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "withdrawableRestakedExecutionLayerGwei", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'withdrawableRestakedExecutionLayerGwei', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "checkpointTimestamp", - internalType: "uint64", - type: "uint64", - indexed: true + name: 'checkpointTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: true, }, { - name: "beaconBlockRoot", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'beaconBlockRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "validatorCount", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'validatorCount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "CheckpointCreated" + name: 'CheckpointCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "checkpointTimestamp", - internalType: "uint64", - type: "uint64", - indexed: true + name: 'checkpointTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: true, }, { - name: "totalShareDeltaWei", - internalType: "int256", - type: "int256", - indexed: false - } + name: 'totalShareDeltaWei', + internalType: 'int256', + type: 'int256', + indexed: false, + }, ], - name: "CheckpointFinalized" + name: 'CheckpointFinalized', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "pubkey", internalType: "bytes", type: "bytes", indexed: false }], - name: "EigenPodStaked" + inputs: [ + { name: 'pubkey', internalType: 'bytes', type: 'bytes', indexed: false }, + ], + name: 'EigenPodStaked', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "amountReceived", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'amountReceived', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "NonBeaconChainETHReceived" + name: 'NonBeaconChainETHReceived', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "prevProofSubmitter", - internalType: "address", - type: "address", - indexed: false + name: 'prevProofSubmitter', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "newProofSubmitter", - internalType: "address", - type: "address", - indexed: false - } + name: 'newProofSubmitter', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "ProofSubmitterUpdated" + name: 'ProofSubmitterUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "recipient", - internalType: "address", - type: "address", - indexed: true + name: 'recipient', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "amount", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "RestakedBeaconChainETHWithdrawn" + name: 'RestakedBeaconChainETHWithdrawn', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "validatorIndex", - internalType: "uint40", - type: "uint40", - indexed: false + name: 'validatorIndex', + internalType: 'uint40', + type: 'uint40', + indexed: false, }, { - name: "balanceTimestamp", - internalType: "uint64", - type: "uint64", - indexed: false + name: 'balanceTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: false, }, { - name: "newValidatorBalanceGwei", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'newValidatorBalanceGwei', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "ValidatorBalanceUpdated" + name: 'ValidatorBalanceUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "checkpointTimestamp", - internalType: "uint64", - type: "uint64", - indexed: true + name: 'checkpointTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: true, }, { - name: "validatorIndex", - internalType: "uint40", - type: "uint40", - indexed: true - } + name: 'validatorIndex', + internalType: 'uint40', + type: 'uint40', + indexed: true, + }, ], - name: "ValidatorCheckpointed" + name: 'ValidatorCheckpointed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "validatorIndex", - internalType: "uint40", - type: "uint40", - indexed: false - } + name: 'validatorIndex', + internalType: 'uint40', + type: 'uint40', + indexed: false, + }, ], - name: "ValidatorRestaked" + name: 'ValidatorRestaked', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "checkpointTimestamp", - internalType: "uint64", - type: "uint64", - indexed: true + name: 'checkpointTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: true, }, { - name: "validatorIndex", - internalType: "uint40", - type: "uint40", - indexed: true - } + name: 'validatorIndex', + internalType: 'uint40', + type: 'uint40', + indexed: true, + }, ], - name: "ValidatorWithdrawn" + name: 'ValidatorWithdrawn', }, - { type: "error", inputs: [], name: "BeaconTimestampTooFarInPast" }, - { type: "error", inputs: [], name: "CannotCheckpointTwiceInSingleBlock" }, - { type: "error", inputs: [], name: "CheckpointAlreadyActive" }, - { type: "error", inputs: [], name: "CredentialsAlreadyVerified" }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "ForkTimestampZero" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InputArrayLengthMismatch" }, - { type: "error", inputs: [], name: "InsufficientWithdrawableBalance" }, - { type: "error", inputs: [], name: "InvalidEIP4788Response" }, - { type: "error", inputs: [], name: "InvalidProof" }, - { type: "error", inputs: [], name: "InvalidProofLength" }, - { type: "error", inputs: [], name: "InvalidProofLength" }, - { type: "error", inputs: [], name: "InvalidPubKeyLength" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidValidatorFieldsLength" }, - { type: "error", inputs: [], name: "MsgValueNot32ETH" }, - { type: "error", inputs: [], name: "NoActiveCheckpoint" }, - { type: "error", inputs: [], name: "NoBalanceToCheckpoint" }, - { type: "error", inputs: [], name: "OnlyEigenPodManager" }, - { type: "error", inputs: [], name: "OnlyEigenPodOwner" }, - { type: "error", inputs: [], name: "OnlyEigenPodOwnerOrProofSubmitter" }, + { type: 'error', inputs: [], name: 'BeaconTimestampTooFarInPast' }, + { type: 'error', inputs: [], name: 'CannotCheckpointTwiceInSingleBlock' }, + { type: 'error', inputs: [], name: 'CheckpointAlreadyActive' }, + { type: 'error', inputs: [], name: 'CredentialsAlreadyVerified' }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'ForkTimestampZero' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InputArrayLengthMismatch' }, + { type: 'error', inputs: [], name: 'InsufficientWithdrawableBalance' }, + { type: 'error', inputs: [], name: 'InvalidEIP4788Response' }, + { type: 'error', inputs: [], name: 'InvalidProof' }, + { type: 'error', inputs: [], name: 'InvalidProofLength' }, + { type: 'error', inputs: [], name: 'InvalidProofLength' }, + { type: 'error', inputs: [], name: 'InvalidPubKeyLength' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidValidatorFieldsLength' }, + { type: 'error', inputs: [], name: 'MsgValueNot32ETH' }, + { type: 'error', inputs: [], name: 'NoActiveCheckpoint' }, + { type: 'error', inputs: [], name: 'NoBalanceToCheckpoint' }, + { type: 'error', inputs: [], name: 'OnlyEigenPodManager' }, + { type: 'error', inputs: [], name: 'OnlyEigenPodOwner' }, + { type: 'error', inputs: [], name: 'OnlyEigenPodOwnerOrProofSubmitter' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', }, - { type: "error", inputs: [], name: "TimestampOutOfRange" }, - { type: "error", inputs: [], name: "ValidatorInactiveOnBeaconChain" }, - { type: "error", inputs: [], name: "ValidatorIsExitingBeaconChain" }, - { type: "error", inputs: [], name: "ValidatorNotActiveInPod" }, - { type: "error", inputs: [], name: "ValidatorNotSlashedOnBeaconChain" }, - { type: "error", inputs: [], name: "WithdrawalCredentialsNotForEigenPod" } -] as const; + { type: 'error', inputs: [], name: 'TimestampOutOfRange' }, + { type: 'error', inputs: [], name: 'ValidatorInactiveOnBeaconChain' }, + { type: 'error', inputs: [], name: 'ValidatorIsExitingBeaconChain' }, + { type: 'error', inputs: [], name: 'ValidatorNotActiveInPod' }, + { type: 'error', inputs: [], name: 'ValidatorNotSlashedOnBeaconChain' }, + { type: 'error', inputs: [], name: 'WithdrawalCredentialsNotForEigenPod' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // EigenPodManager @@ -4464,584 +4555,602 @@ export const eigenPodAbi = [ export const eigenPodManagerAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_ethPOS", - internalType: "contract IETHPOSDeposit", - type: "address" + name: '_ethPOS', + internalType: 'contract IETHPOSDeposit', + type: 'address', }, { - name: "_eigenPodBeacon", - internalType: "contract IBeacon", - type: "address" + name: '_eigenPodBeacon', + internalType: 'contract IBeacon', + type: 'address', }, { - name: "_delegationManager", - internalType: "contract IDelegationManager", - type: "address" + name: '_delegationManager', + internalType: 'contract IDelegationManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, - { name: "_version", internalType: "string", type: "string" } + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "shares", internalType: "uint256", type: "uint256" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], - name: "addShares", + name: 'addShares', outputs: [ - { name: "", internalType: "uint256", type: "uint256" }, - { name: "", internalType: "uint256", type: "uint256" } + { name: '', internalType: 'uint256', type: 'uint256' }, + { name: '', internalType: 'uint256', type: 'uint256' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "beaconChainETHStrategy", - outputs: [{ name: "", internalType: "contract IStrategy", type: "address" }], - stateMutability: "view" + name: 'beaconChainETHStrategy', + outputs: [ + { name: '', internalType: 'contract IStrategy', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "podOwner", internalType: "address", type: "address" }], - name: "beaconChainSlashingFactor", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'podOwner', internalType: 'address', type: 'address' }], + name: 'beaconChainSlashingFactor', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "burnableETHShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'burnableETHShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "createPod", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "nonpayable" + name: 'createPod', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "delegationManager", + name: 'delegationManager', outputs: [ { - name: "", - internalType: "contract IDelegationManager", - type: "address" - } + name: '', + internalType: 'contract IDelegationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "eigenPodBeacon", - outputs: [{ name: "", internalType: "contract IBeacon", type: "address" }], - stateMutability: "view" + name: 'eigenPodBeacon', + outputs: [{ name: '', internalType: 'contract IBeacon', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "ethPOS", - outputs: [{ name: "", internalType: "contract IETHPOSDeposit", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "podOwner", internalType: "address", type: "address" }], - name: "getPod", - outputs: [{ name: "", internalType: "contract IEigenPod", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "podOwner", internalType: "address", type: "address" }], - name: "hasPod", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "", internalType: "contract IStrategy", type: "address" }, - { name: "addedSharesToBurn", internalType: "uint256", type: "uint256" } + name: 'ethPOS', + outputs: [ + { name: '', internalType: 'contract IETHPOSDeposit', type: 'address' }, ], - name: "increaseBurnableShares", - outputs: [], - stateMutability: "nonpayable" + stateMutability: 'view', }, { - type: "function", - inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "_initPausedStatus", internalType: "uint256", type: "uint256" } + type: 'function', + inputs: [{ name: 'podOwner', internalType: 'address', type: 'address' }], + name: 'getPod', + outputs: [ + { name: '', internalType: 'contract IEigenPod', type: 'address' }, ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable" + stateMutability: 'view', }, { - type: "function", + type: 'function', + inputs: [{ name: 'podOwner', internalType: 'address', type: 'address' }], + name: 'hasPod', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: '', internalType: 'contract IStrategy', type: 'address' }, + { name: 'addedSharesToBurn', internalType: 'uint256', type: 'uint256' }, + ], + name: 'increaseBurnableShares', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: '_initPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'initialize', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [], - name: "numPods", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'numPods', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "podOwner", internalType: "address", type: "address" }], - name: "ownerToPod", - outputs: [{ name: "", internalType: "contract IEigenPod", type: "address" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'podOwner', internalType: 'address', type: 'address' }], + name: 'ownerToPod', + outputs: [ + { name: '', internalType: 'contract IEigenPod', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "pauseAll", + name: 'pauseAll', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "pectraForkTimestamp", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" + name: 'pectraForkTimestamp', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "podOwner", internalType: "address", type: "address" }], - name: "podOwnerDepositShares", - outputs: [{ name: "shares", internalType: "int256", type: "int256" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'podOwner', internalType: 'address', type: 'address' }], + name: 'podOwnerDepositShares', + outputs: [{ name: 'shares', internalType: 'int256', type: 'int256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "proofTimestampSetter", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'proofTimestampSetter', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "podOwner", internalType: "address", type: "address" }, + { name: 'podOwner', internalType: 'address', type: 'address' }, { - name: "prevRestakedBalanceWei", - internalType: "uint256", - type: "uint256" + name: 'prevRestakedBalanceWei', + internalType: 'uint256', + type: 'uint256', }, - { name: "balanceDeltaWei", internalType: "int256", type: "int256" } + { name: 'balanceDeltaWei', internalType: 'int256', type: 'int256' }, ], - name: "recordBeaconChainETHBalanceUpdate", + name: 'recordBeaconChainETHBalanceUpdate', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, { - name: "depositSharesToRemove", - internalType: "uint256", - type: "uint256" - } + name: 'depositSharesToRemove', + internalType: 'uint256', + type: 'uint256', + }, ], - name: "removeDepositShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" + name: 'removeDepositShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "timestamp", internalType: "uint64", type: "uint64" }], - name: "setPectraForkTimestamp", + type: 'function', + inputs: [{ name: 'timestamp', internalType: 'uint64', type: 'uint64' }], + name: 'setPectraForkTimestamp', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "newProofTimestampSetter", - internalType: "address", - type: "address" - } + name: 'newProofTimestampSetter', + internalType: 'address', + type: 'address', + }, ], - name: "setProofTimestampSetter", + name: 'setProofTimestampSetter', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "pubkey", internalType: "bytes", type: "bytes" }, - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "depositDataRoot", internalType: "bytes32", type: "bytes32" } + { name: 'pubkey', internalType: 'bytes', type: 'bytes' }, + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'depositDataRoot', internalType: 'bytes32', type: 'bytes32' }, ], - name: "stake", + name: 'stake', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [ - { name: "user", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } + { name: 'user', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "stakerDepositShares", - outputs: [{ name: "depositShares", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'stakerDepositShares', + outputs: [ + { name: 'depositShares', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "", internalType: "contract IERC20", type: "address" }, - { name: "shares", internalType: "uint256", type: "uint256" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: '', internalType: 'contract IERC20', type: 'address' }, + { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], - name: "withdrawSharesAsTokens", + name: 'withdrawSharesAsTokens', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "podOwner", - internalType: "address", - type: "address", - indexed: true + name: 'podOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "amount", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "BeaconChainETHDeposited" + name: 'BeaconChainETHDeposited', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "podOwner", - internalType: "address", - type: "address", - indexed: true + name: 'podOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, - { name: "nonce", internalType: "uint96", type: "uint96", indexed: false }, + { name: 'nonce', internalType: 'uint96', type: 'uint96', indexed: false }, { - name: "delegatedAddress", - internalType: "address", - type: "address", - indexed: false + name: 'delegatedAddress', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "withdrawer", - internalType: "address", - type: "address", - indexed: false + name: 'withdrawer', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "withdrawalRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false - } + name: 'withdrawalRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, ], - name: "BeaconChainETHWithdrawalCompleted" + name: 'BeaconChainETHWithdrawalCompleted', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "staker", - internalType: "address", - type: "address", - indexed: false + name: 'staker', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "prevBeaconChainSlashingFactor", - internalType: "uint64", - type: "uint64", - indexed: false + name: 'prevBeaconChainSlashingFactor', + internalType: 'uint64', + type: 'uint64', + indexed: false, }, { - name: "newBeaconChainSlashingFactor", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'newBeaconChainSlashingFactor', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "BeaconChainSlashingFactorDecreased" + name: 'BeaconChainSlashingFactorDecreased', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "BurnableETHSharesIncreased" + name: 'BurnableETHSharesIncreased', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "podOwner", - internalType: "address", - type: "address", - indexed: true + name: 'podOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newTotalShares", - internalType: "int256", - type: "int256", - indexed: false - } + name: 'newTotalShares', + internalType: 'int256', + type: 'int256', + indexed: false, + }, ], - name: "NewTotalShares" + name: 'NewTotalShares', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "newPectraForkTimestamp", - internalType: "uint64", - type: "uint64", - indexed: false - } + name: 'newPectraForkTimestamp', + internalType: 'uint64', + type: 'uint64', + indexed: false, + }, ], - name: "PectraForkTimestampSet" + name: 'PectraForkTimestampSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "eigenPod", - internalType: "address", - type: "address", - indexed: true + name: 'eigenPod', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "podOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'podOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "PodDeployed" + name: 'PodDeployed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "podOwner", - internalType: "address", - type: "address", - indexed: true + name: 'podOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "sharesDelta", - internalType: "int256", - type: "int256", - indexed: false - } + name: 'sharesDelta', + internalType: 'int256', + type: 'int256', + indexed: false, + }, ], - name: "PodSharesUpdated" + name: 'PodSharesUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "newProofTimestampSetter", - internalType: "address", - type: "address", - indexed: false - } + name: 'newProofTimestampSetter', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "ProofTimestampSetterSet" + name: 'ProofTimestampSetterSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "EigenPodAlreadyExists" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidStrategy" }, - { type: "error", inputs: [], name: "LegacyWithdrawalsNotCompleted" }, - { type: "error", inputs: [], name: "OnlyDelegationManager" }, - { type: "error", inputs: [], name: "OnlyEigenPod" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyProofTimestampSetter" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "SharesNegative" }, - { type: "error", inputs: [], name: "SharesNotMultipleOfGwei" }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'EigenPodAlreadyExists' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidStrategy' }, + { type: 'error', inputs: [], name: 'LegacyWithdrawalsNotCompleted' }, + { type: 'error', inputs: [], name: 'OnlyDelegationManager' }, + { type: 'error', inputs: [], name: 'OnlyEigenPod' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyProofTimestampSetter' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'SharesNegative' }, + { type: 'error', inputs: [], name: 'SharesNotMultipleOfGwei' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" - } -] as const; + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Gateway @@ -5049,784 +5158,784 @@ export const eigenPodManagerAbi = [ export const gatewayAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ - { name: "beefyClient", internalType: "address", type: "address" }, - { name: "agentExecutor", internalType: "address", type: "address" } + { name: 'beefyClient', internalType: 'address', type: 'address' }, + { name: 'agentExecutor', internalType: 'address', type: 'address' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "AGENT_EXECUTOR", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'AGENT_EXECUTOR', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "BEEFY_CLIENT", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'BEEFY_CLIENT', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "agentID", internalType: "bytes32", type: "bytes32" }], - name: "agentOf", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'agentID', internalType: 'bytes32', type: 'bytes32' }], + name: 'agentOf', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "channelID", internalType: "ChannelID", type: "bytes32" }], - name: "channelNoncesOf", + type: 'function', + inputs: [{ name: 'channelID', internalType: 'ChannelID', type: 'bytes32' }], + name: 'channelNoncesOf', outputs: [ - { name: "", internalType: "uint64", type: "uint64" }, - { name: "", internalType: "uint64", type: "uint64" } + { name: '', internalType: 'uint64', type: 'uint64' }, + { name: '', internalType: 'uint64', type: 'uint64' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "channelID", internalType: "ChannelID", type: "bytes32" }], - name: "channelOperatingModeOf", - outputs: [{ name: "", internalType: "enum OperatingMode", type: "uint8" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'channelID', internalType: 'ChannelID', type: 'bytes32' }], + name: 'channelOperatingModeOf', + outputs: [{ name: '', internalType: 'enum OperatingMode', type: 'uint8' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "depositEther", + name: 'depositEther', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [], - name: "implementation", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'implementation', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "initialize", + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "token", internalType: "address", type: "address" }], - name: "isTokenRegistered", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'isTokenRegistered', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "operatingMode", - outputs: [{ name: "", internalType: "enum OperatingMode", type: "uint8" }], - stateMutability: "view" + name: 'operatingMode', + outputs: [{ name: '', internalType: 'enum OperatingMode', type: 'uint8' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "pricingParameters", + name: 'pricingParameters', outputs: [ - { name: "", internalType: "UD60x18", type: "uint256" }, - { name: "", internalType: "uint128", type: "uint128" } + { name: '', internalType: 'UD60x18', type: 'uint256' }, + { name: '', internalType: 'uint128', type: 'uint128' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "token", internalType: "address", type: "address" }], - name: "queryForeignTokenID", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'queryForeignTokenID', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "quoteRegisterTokenFee", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'quoteRegisterTokenFee', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "token", internalType: "address", type: "address" }, - { name: "destinationChain", internalType: "ParaID", type: "uint32" }, - { name: "destinationFee", internalType: "uint128", type: "uint128" } + { name: 'token', internalType: 'address', type: 'address' }, + { name: 'destinationChain', internalType: 'ParaID', type: 'uint32' }, + { name: 'destinationFee', internalType: 'uint128', type: 'uint128' }, ], - name: "quoteSendTokenFee", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'quoteSendTokenFee', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "token", internalType: "address", type: "address" }], - name: "registerToken", + type: 'function', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'registerToken', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [ - { name: "token", internalType: "address", type: "address" }, - { name: "destinationChain", internalType: "ParaID", type: "uint32" }, + { name: 'token', internalType: 'address', type: 'address' }, + { name: 'destinationChain', internalType: 'ParaID', type: 'uint32' }, { - name: "destinationAddress", - internalType: "struct MultiAddress", - type: "tuple", + name: 'destinationAddress', + internalType: 'struct MultiAddress', + type: 'tuple', components: [ - { name: "kind", internalType: "enum Kind", type: "uint8" }, - { name: "data", internalType: "bytes", type: "bytes" } - ] + { name: 'kind', internalType: 'enum Kind', type: 'uint8' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], }, - { name: "destinationFee", internalType: "uint128", type: "uint128" }, - { name: "amount", internalType: "uint128", type: "uint128" } + { name: 'destinationFee', internalType: 'uint128', type: 'uint128' }, + { name: 'amount', internalType: 'uint128', type: 'uint128' }, ], - name: "sendToken", + name: 'sendToken', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [ { - name: "message", - internalType: "struct InboundMessage", - type: "tuple", + name: 'message', + internalType: 'struct InboundMessage', + type: 'tuple', components: [ - { name: "channelID", internalType: "ChannelID", type: "bytes32" }, - { name: "nonce", internalType: "uint64", type: "uint64" }, - { name: "command", internalType: "enum Command", type: "uint8" }, - { name: "params", internalType: "bytes", type: "bytes" }, - { name: "maxDispatchGas", internalType: "uint64", type: "uint64" }, - { name: "maxFeePerGas", internalType: "uint256", type: "uint256" }, - { name: "reward", internalType: "uint256", type: "uint256" }, - { name: "id", internalType: "bytes32", type: "bytes32" } - ] + { name: 'channelID', internalType: 'ChannelID', type: 'bytes32' }, + { name: 'nonce', internalType: 'uint64', type: 'uint64' }, + { name: 'command', internalType: 'enum Command', type: 'uint8' }, + { name: 'params', internalType: 'bytes', type: 'bytes' }, + { name: 'maxDispatchGas', internalType: 'uint64', type: 'uint64' }, + { name: 'maxFeePerGas', internalType: 'uint256', type: 'uint256' }, + { name: 'reward', internalType: 'uint256', type: 'uint256' }, + { name: 'id', internalType: 'bytes32', type: 'bytes32' }, + ], }, - { name: "leafProof", internalType: "bytes32[]", type: "bytes32[]" }, + { name: 'leafProof', internalType: 'bytes32[]', type: 'bytes32[]' }, { - name: "headerProof", - internalType: "struct Verification.Proof", - type: "tuple", + name: 'headerProof', + internalType: 'struct Verification.Proof', + type: 'tuple', components: [ { - name: "header", - internalType: "struct Verification.ParachainHeader", - type: "tuple", + name: 'header', + internalType: 'struct Verification.ParachainHeader', + type: 'tuple', components: [ - { name: "parentHash", internalType: "bytes32", type: "bytes32" }, - { name: "number", internalType: "uint256", type: "uint256" }, - { name: "stateRoot", internalType: "bytes32", type: "bytes32" }, + { name: 'parentHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'number', internalType: 'uint256', type: 'uint256' }, + { name: 'stateRoot', internalType: 'bytes32', type: 'bytes32' }, { - name: "extrinsicsRoot", - internalType: "bytes32", - type: "bytes32" + name: 'extrinsicsRoot', + internalType: 'bytes32', + type: 'bytes32', }, { - name: "digestItems", - internalType: "struct Verification.DigestItem[]", - type: "tuple[]", + name: 'digestItems', + internalType: 'struct Verification.DigestItem[]', + type: 'tuple[]', components: [ - { name: "kind", internalType: "uint256", type: "uint256" }, + { name: 'kind', internalType: 'uint256', type: 'uint256' }, { - name: "consensusEngineID", - internalType: "bytes4", - type: "bytes4" + name: 'consensusEngineID', + internalType: 'bytes4', + type: 'bytes4', }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - } - ] + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, + ], }, { - name: "headProof", - internalType: "struct Verification.HeadProof", - type: "tuple", + name: 'headProof', + internalType: 'struct Verification.HeadProof', + type: 'tuple', components: [ - { name: "pos", internalType: "uint256", type: "uint256" }, - { name: "width", internalType: "uint256", type: "uint256" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" } - ] + { name: 'pos', internalType: 'uint256', type: 'uint256' }, + { name: 'width', internalType: 'uint256', type: 'uint256' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], }, { - name: "leafPartial", - internalType: "struct Verification.MMRLeafPartial", - type: "tuple", + name: 'leafPartial', + internalType: 'struct Verification.MMRLeafPartial', + type: 'tuple', components: [ - { name: "version", internalType: "uint8", type: "uint8" }, - { name: "parentNumber", internalType: "uint32", type: "uint32" }, - { name: "parentHash", internalType: "bytes32", type: "bytes32" }, + { name: 'version', internalType: 'uint8', type: 'uint8' }, + { name: 'parentNumber', internalType: 'uint32', type: 'uint32' }, + { name: 'parentHash', internalType: 'bytes32', type: 'bytes32' }, { - name: "nextAuthoritySetID", - internalType: "uint64", - type: "uint64" + name: 'nextAuthoritySetID', + internalType: 'uint64', + type: 'uint64', }, { - name: "nextAuthoritySetLen", - internalType: "uint32", - type: "uint32" + name: 'nextAuthoritySetLen', + internalType: 'uint32', + type: 'uint32', }, { - name: "nextAuthoritySetRoot", - internalType: "bytes32", - type: "bytes32" - } - ] - }, - { name: "leafProof", internalType: "bytes32[]", type: "bytes32[]" }, - { name: "leafProofOrder", internalType: "uint256", type: "uint256" } - ] - } - ], - name: "submitV1", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "tokenID", internalType: "bytes32", type: "bytes32" }], - name: "tokenAddressOf", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleAgentExecute", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "channelID", internalType: "ChannelID", type: "bytes32" }, - { name: "data", internalType: "bytes", type: "bytes" } - ], - name: "v1_handleMintForeignToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleRegisterForeignToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleSetOperatingMode", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleSetPricingParameters", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleSetTokenTransferFees", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleUnlockNativeToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v1_handleUpgrade", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "id", internalType: "bytes32", type: "bytes32" }], - name: "v2_createAgent", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "origin", internalType: "bytes32", type: "bytes32" }, - { name: "data", internalType: "bytes", type: "bytes" } - ], - name: "v2_handleCallContract", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v2_handleMintForeignToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v2_handleRegisterForeignToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v2_handleSetOperatingMode", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v2_handleUnlockNativeToken", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "data", internalType: "bytes", type: "bytes" }], - name: "v2_handleUpgrade", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "nonce", internalType: "uint64", type: "uint64" }], - name: "v2_isDispatched", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "v2_outboundNonce", - outputs: [{ name: "", internalType: "uint64", type: "uint64" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "token", internalType: "address", type: "address" }, - { name: "network", internalType: "uint8", type: "uint8" }, - { name: "executionFee", internalType: "uint128", type: "uint128" }, - { name: "relayerFee", internalType: "uint128", type: "uint128" } - ], - name: "v2_registerToken", - outputs: [], - stateMutability: "payable" - }, - { - type: "function", - inputs: [ - { name: "message", internalType: "bytes", type: "bytes" }, - { name: "assets", internalType: "bytes[]", type: "bytes[]" }, - { name: "claimer", internalType: "bytes", type: "bytes" }, - { name: "executionFee", internalType: "uint128", type: "uint128" }, - { name: "relayerFee", internalType: "uint128", type: "uint128" } - ], - name: "v2_sendMessage", - outputs: [], - stateMutability: "payable" - }, - { - type: "function", - inputs: [ - { - name: "message", - internalType: "struct InboundMessage", - type: "tuple", - components: [ - { name: "origin", internalType: "bytes32", type: "bytes32" }, - { name: "nonce", internalType: "uint64", type: "uint64" }, - { name: "topic", internalType: "bytes32", type: "bytes32" }, - { - name: "commands", - internalType: "struct Command[]", - type: "tuple[]", - components: [ - { name: "kind", internalType: "uint8", type: "uint8" }, - { name: "gas", internalType: "uint64", type: "uint64" }, - { name: "payload", internalType: "bytes", type: "bytes" } - ] - } - ] - }, - { name: "messageProof", internalType: "bytes32[]", type: "bytes32[]" }, - { - name: "beefyProof", - internalType: "struct BeefyVerification.Proof", - type: "tuple", - components: [ - { - name: "leafPartial", - internalType: "struct BeefyVerification.MMRLeafPartial", - type: "tuple", - components: [ - { name: "version", internalType: "uint8", type: "uint8" }, - { name: "parentNumber", internalType: "uint32", type: "uint32" }, - { name: "parentHash", internalType: "bytes32", type: "bytes32" }, - { - name: "nextAuthoritySetID", - internalType: "uint64", - type: "uint64" + name: 'nextAuthoritySetRoot', + internalType: 'bytes32', + type: 'bytes32', }, - { - name: "nextAuthoritySetLen", - internalType: "uint32", - type: "uint32" - }, - { - name: "nextAuthoritySetRoot", - internalType: "bytes32", - type: "bytes32" - } - ] + ], }, - { name: "leafProof", internalType: "bytes32[]", type: "bytes32[]" }, - { name: "leafProofOrder", internalType: "uint256", type: "uint256" } - ] - }, - { name: "rewardAddress", internalType: "bytes32", type: "bytes32" } - ], - name: "v2_submit", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "agentID", - internalType: "bytes32", - type: "bytes32", - indexed: false - }, - { - name: "agent", - internalType: "address", - type: "address", - indexed: false - } - ], - name: "AgentCreated" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "agentID", - internalType: "bytes32", - type: "bytes32", - indexed: true - }, - { - name: "recipient", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "amount", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "AgentFundsWithdrawn" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "sender", - internalType: "address", - type: "address", - indexed: false - }, - { - name: "amount", - internalType: "uint256", - type: "uint256", - indexed: false - } - ], - name: "Deposited" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "tokenID", - internalType: "bytes32", - type: "bytes32", - indexed: true - }, - { - name: "token", - internalType: "address", - type: "address", - indexed: false - } - ], - name: "ForeignTokenRegistered" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "channelID", - internalType: "ChannelID", - type: "bytes32", - indexed: true - }, - { name: "nonce", internalType: "uint64", type: "uint64", indexed: false }, - { - name: "messageID", - internalType: "bytes32", - type: "bytes32", - indexed: true - }, - { name: "success", internalType: "bool", type: "bool", indexed: false } - ], - name: "InboundMessageDispatched" - }, - { - type: "event", - anonymous: false, - inputs: [ - { name: "nonce", internalType: "uint64", type: "uint64", indexed: true }, - { - name: "topic", - internalType: "bytes32", - type: "bytes32", - indexed: false - }, - { name: "success", internalType: "bool", type: "bool", indexed: false }, - { - name: "rewardAddress", - internalType: "bytes32", - type: "bytes32", - indexed: false - } - ], - name: "InboundMessageDispatched" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "mode", - internalType: "enum OperatingMode", - type: "uint8", - indexed: false - } - ], - name: "OperatingModeChanged" - }, - { - type: "event", - anonymous: false, - inputs: [ - { - name: "channelID", - internalType: "ChannelID", - type: "bytes32", - indexed: true - }, - { name: "nonce", internalType: "uint64", type: "uint64", indexed: false }, - { - name: "messageID", - internalType: "bytes32", - type: "bytes32", - indexed: true - }, - { name: "payload", internalType: "bytes", type: "bytes", indexed: false } - ], - name: "OutboundMessageAccepted" - }, - { - type: "event", - anonymous: false, - inputs: [ - { name: "nonce", internalType: "uint64", type: "uint64", indexed: false }, - { - name: "payload", - internalType: "struct Payload", - type: "tuple", - components: [ - { name: "origin", internalType: "address", type: "address" }, - { - name: "assets", - internalType: "struct Asset[]", - type: "tuple[]", - components: [ - { name: "kind", internalType: "uint8", type: "uint8" }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - }, - { - name: "message", - internalType: "struct Message", - type: "tuple", - components: [ - { name: "kind", internalType: "uint8", type: "uint8" }, - { name: "data", internalType: "bytes", type: "bytes" } - ] - }, - { name: "claimer", internalType: "bytes", type: "bytes" }, - { name: "value", internalType: "uint128", type: "uint128" }, - { name: "executionFee", internalType: "uint128", type: "uint128" }, - { name: "relayerFee", internalType: "uint128", type: "uint128" } + { name: 'leafProof', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'leafProofOrder', internalType: 'uint256', type: 'uint256' }, ], - indexed: false - } + }, ], - name: "OutboundMessageAccepted" + name: 'submitV1', + outputs: [], + stateMutability: 'nonpayable', }, { - type: "event", - anonymous: false, + type: 'function', + inputs: [{ name: 'tokenID', internalType: 'bytes32', type: 'bytes32' }], + name: 'tokenAddressOf', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleAgentExecute', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'channelID', internalType: 'ChannelID', type: 'bytes32' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + name: 'v1_handleMintForeignToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleRegisterForeignToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleSetOperatingMode', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleSetPricingParameters', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleSetTokenTransferFees', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleUnlockNativeToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v1_handleUpgrade', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'id', internalType: 'bytes32', type: 'bytes32' }], + name: 'v2_createAgent', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'origin', internalType: 'bytes32', type: 'bytes32' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + name: 'v2_handleCallContract', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v2_handleMintForeignToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v2_handleRegisterForeignToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v2_handleSetOperatingMode', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v2_handleUnlockNativeToken', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'v2_handleUpgrade', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], + name: 'v2_isDispatched', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', inputs: [], - name: "PricingParametersChanged" + name: 'v2_outboundNonce', + outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', }, { - type: "event", - anonymous: false, + type: 'function', inputs: [ - { - name: "token", - internalType: "address", - type: "address", - indexed: false - } + { name: 'token', internalType: 'address', type: 'address' }, + { name: 'network', internalType: 'uint8', type: 'uint8' }, + { name: 'executionFee', internalType: 'uint128', type: 'uint128' }, + { name: 'relayerFee', internalType: 'uint128', type: 'uint128' }, ], - name: "TokenRegistrationSent" + name: 'v2_registerToken', + outputs: [], + stateMutability: 'payable', }, { - type: "event", - anonymous: false, + type: 'function', + inputs: [ + { name: 'message', internalType: 'bytes', type: 'bytes' }, + { name: 'assets', internalType: 'bytes[]', type: 'bytes[]' }, + { name: 'claimer', internalType: 'bytes', type: 'bytes' }, + { name: 'executionFee', internalType: 'uint128', type: 'uint128' }, + { name: 'relayerFee', internalType: 'uint128', type: 'uint128' }, + ], + name: 'v2_sendMessage', + outputs: [], + stateMutability: 'payable', + }, + { + type: 'function', inputs: [ { - name: "token", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "sender", - internalType: "address", - type: "address", - indexed: true - }, - { - name: "destinationChain", - internalType: "ParaID", - type: "uint32", - indexed: true - }, - { - name: "destinationAddress", - internalType: "struct MultiAddress", - type: "tuple", + name: 'message', + internalType: 'struct InboundMessage', + type: 'tuple', components: [ - { name: "kind", internalType: "enum Kind", type: "uint8" }, - { name: "data", internalType: "bytes", type: "bytes" } + { name: 'origin', internalType: 'bytes32', type: 'bytes32' }, + { name: 'nonce', internalType: 'uint64', type: 'uint64' }, + { name: 'topic', internalType: 'bytes32', type: 'bytes32' }, + { + name: 'commands', + internalType: 'struct Command[]', + type: 'tuple[]', + components: [ + { name: 'kind', internalType: 'uint8', type: 'uint8' }, + { name: 'gas', internalType: 'uint64', type: 'uint64' }, + { name: 'payload', internalType: 'bytes', type: 'bytes' }, + ], + }, ], - indexed: false }, + { name: 'messageProof', internalType: 'bytes32[]', type: 'bytes32[]' }, { - name: "amount", - internalType: "uint128", - type: "uint128", - indexed: false - } + name: 'beefyProof', + internalType: 'struct BeefyVerification.Proof', + type: 'tuple', + components: [ + { + name: 'leafPartial', + internalType: 'struct BeefyVerification.MMRLeafPartial', + type: 'tuple', + components: [ + { name: 'version', internalType: 'uint8', type: 'uint8' }, + { name: 'parentNumber', internalType: 'uint32', type: 'uint32' }, + { name: 'parentHash', internalType: 'bytes32', type: 'bytes32' }, + { + name: 'nextAuthoritySetID', + internalType: 'uint64', + type: 'uint64', + }, + { + name: 'nextAuthoritySetLen', + internalType: 'uint32', + type: 'uint32', + }, + { + name: 'nextAuthoritySetRoot', + internalType: 'bytes32', + type: 'bytes32', + }, + ], + }, + { name: 'leafProof', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'leafProofOrder', internalType: 'uint256', type: 'uint256' }, + ], + }, + { name: 'rewardAddress', internalType: 'bytes32', type: 'bytes32' }, ], - name: "TokenSent" + name: 'v2_submit', + outputs: [], + stateMutability: 'nonpayable', }, { - type: "event", - anonymous: false, - inputs: [], - name: "TokenTransferFeesChanged" - }, - { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "implementation", - internalType: "address", - type: "address", - indexed: true - } + name: 'agentID', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + { + name: 'agent', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "Upgraded" + name: 'AgentCreated', }, - { type: "error", inputs: [], name: "AgentAlreadyExists" }, - { type: "error", inputs: [], name: "AgentDoesNotExist" }, { - type: "error", - inputs: [{ name: "returndata", internalType: "bytes", type: "bytes" }], - name: "AgentExecutionFailed" + type: 'event', + anonymous: false, + inputs: [ + { + name: 'agentID', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, + { + name: 'recipient', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'AgentFundsWithdrawn', }, - { type: "error", inputs: [], name: "AlreadyInitialized" }, - { type: "error", inputs: [], name: "ChannelDoesNotExist" }, - { type: "error", inputs: [], name: "Disabled" }, - { type: "error", inputs: [], name: "ExceededMaximumValue" }, - { type: "error", inputs: [], name: "InsufficientEther" }, - { type: "error", inputs: [], name: "InsufficientGasLimit" }, - { type: "error", inputs: [], name: "InsufficientValue" }, - { type: "error", inputs: [], name: "InvalidAgentExecutionPayload" }, - { type: "error", inputs: [], name: "InvalidAmount" }, - { type: "error", inputs: [], name: "InvalidAmount" }, - { type: "error", inputs: [], name: "InvalidAsset" }, - { type: "error", inputs: [], name: "InvalidChannelUpdate" }, - { type: "error", inputs: [], name: "InvalidCodeHash" }, - { type: "error", inputs: [], name: "InvalidConstructorParams" }, - { type: "error", inputs: [], name: "InvalidContract" }, - { type: "error", inputs: [], name: "InvalidDestination" }, - { type: "error", inputs: [], name: "InvalidDestinationFee" }, - { type: "error", inputs: [], name: "InvalidNetwork" }, - { type: "error", inputs: [], name: "InvalidNonce" }, - { type: "error", inputs: [], name: "InvalidProof" }, - { type: "error", inputs: [], name: "InvalidToken" }, - { type: "error", inputs: [], name: "InvalidToken" }, - { type: "error", inputs: [], name: "NativeTransferFailed" }, - { type: "error", inputs: [], name: "NotEnoughGas" }, - { type: "error", inputs: [], name: "ShouldNotReachHere" }, - { type: "error", inputs: [], name: "TokenAlreadyRegistered" }, - { type: "error", inputs: [], name: "TokenMintFailed" }, - { type: "error", inputs: [], name: "TokenNotRegistered" }, - { type: "error", inputs: [], name: "TokenTransferFailed" }, - { type: "error", inputs: [], name: "TokenTransferFailed" }, - { type: "error", inputs: [], name: "TooManyAssets" }, - { type: "error", inputs: [], name: "Unauthorized" }, - { type: "error", inputs: [], name: "Unsupported" } -] as const; + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'sender', + internalType: 'address', + type: 'address', + indexed: false, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'Deposited', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'tokenID', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, + { + name: 'token', + internalType: 'address', + type: 'address', + indexed: false, + }, + ], + name: 'ForeignTokenRegistered', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'channelID', + internalType: 'ChannelID', + type: 'bytes32', + indexed: true, + }, + { name: 'nonce', internalType: 'uint64', type: 'uint64', indexed: false }, + { + name: 'messageID', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, + { name: 'success', internalType: 'bool', type: 'bool', indexed: false }, + ], + name: 'InboundMessageDispatched', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'nonce', internalType: 'uint64', type: 'uint64', indexed: true }, + { + name: 'topic', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + { name: 'success', internalType: 'bool', type: 'bool', indexed: false }, + { + name: 'rewardAddress', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + ], + name: 'InboundMessageDispatched', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'mode', + internalType: 'enum OperatingMode', + type: 'uint8', + indexed: false, + }, + ], + name: 'OperatingModeChanged', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'channelID', + internalType: 'ChannelID', + type: 'bytes32', + indexed: true, + }, + { name: 'nonce', internalType: 'uint64', type: 'uint64', indexed: false }, + { + name: 'messageID', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, + { name: 'payload', internalType: 'bytes', type: 'bytes', indexed: false }, + ], + name: 'OutboundMessageAccepted', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'nonce', internalType: 'uint64', type: 'uint64', indexed: false }, + { + name: 'payload', + internalType: 'struct Payload', + type: 'tuple', + components: [ + { name: 'origin', internalType: 'address', type: 'address' }, + { + name: 'assets', + internalType: 'struct Asset[]', + type: 'tuple[]', + components: [ + { name: 'kind', internalType: 'uint8', type: 'uint8' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, + { + name: 'message', + internalType: 'struct Message', + type: 'tuple', + components: [ + { name: 'kind', internalType: 'uint8', type: 'uint8' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + }, + { name: 'claimer', internalType: 'bytes', type: 'bytes' }, + { name: 'value', internalType: 'uint128', type: 'uint128' }, + { name: 'executionFee', internalType: 'uint128', type: 'uint128' }, + { name: 'relayerFee', internalType: 'uint128', type: 'uint128' }, + ], + indexed: false, + }, + ], + name: 'OutboundMessageAccepted', + }, + { + type: 'event', + anonymous: false, + inputs: [], + name: 'PricingParametersChanged', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'token', + internalType: 'address', + type: 'address', + indexed: false, + }, + ], + name: 'TokenRegistrationSent', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'token', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'sender', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'destinationChain', + internalType: 'ParaID', + type: 'uint32', + indexed: true, + }, + { + name: 'destinationAddress', + internalType: 'struct MultiAddress', + type: 'tuple', + components: [ + { name: 'kind', internalType: 'enum Kind', type: 'uint8' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + indexed: false, + }, + { + name: 'amount', + internalType: 'uint128', + type: 'uint128', + indexed: false, + }, + ], + name: 'TokenSent', + }, + { + type: 'event', + anonymous: false, + inputs: [], + name: 'TokenTransferFeesChanged', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { + name: 'implementation', + internalType: 'address', + type: 'address', + indexed: true, + }, + ], + name: 'Upgraded', + }, + { type: 'error', inputs: [], name: 'AgentAlreadyExists' }, + { type: 'error', inputs: [], name: 'AgentDoesNotExist' }, + { + type: 'error', + inputs: [{ name: 'returndata', internalType: 'bytes', type: 'bytes' }], + name: 'AgentExecutionFailed', + }, + { type: 'error', inputs: [], name: 'AlreadyInitialized' }, + { type: 'error', inputs: [], name: 'ChannelDoesNotExist' }, + { type: 'error', inputs: [], name: 'Disabled' }, + { type: 'error', inputs: [], name: 'ExceededMaximumValue' }, + { type: 'error', inputs: [], name: 'InsufficientEther' }, + { type: 'error', inputs: [], name: 'InsufficientGasLimit' }, + { type: 'error', inputs: [], name: 'InsufficientValue' }, + { type: 'error', inputs: [], name: 'InvalidAgentExecutionPayload' }, + { type: 'error', inputs: [], name: 'InvalidAmount' }, + { type: 'error', inputs: [], name: 'InvalidAmount' }, + { type: 'error', inputs: [], name: 'InvalidAsset' }, + { type: 'error', inputs: [], name: 'InvalidChannelUpdate' }, + { type: 'error', inputs: [], name: 'InvalidCodeHash' }, + { type: 'error', inputs: [], name: 'InvalidConstructorParams' }, + { type: 'error', inputs: [], name: 'InvalidContract' }, + { type: 'error', inputs: [], name: 'InvalidDestination' }, + { type: 'error', inputs: [], name: 'InvalidDestinationFee' }, + { type: 'error', inputs: [], name: 'InvalidNetwork' }, + { type: 'error', inputs: [], name: 'InvalidNonce' }, + { type: 'error', inputs: [], name: 'InvalidProof' }, + { type: 'error', inputs: [], name: 'InvalidToken' }, + { type: 'error', inputs: [], name: 'InvalidToken' }, + { type: 'error', inputs: [], name: 'NativeTransferFailed' }, + { type: 'error', inputs: [], name: 'NotEnoughGas' }, + { type: 'error', inputs: [], name: 'ShouldNotReachHere' }, + { type: 'error', inputs: [], name: 'TokenAlreadyRegistered' }, + { type: 'error', inputs: [], name: 'TokenMintFailed' }, + { type: 'error', inputs: [], name: 'TokenNotRegistered' }, + { type: 'error', inputs: [], name: 'TokenTransferFailed' }, + { type: 'error', inputs: [], name: 'TokenTransferFailed' }, + { type: 'error', inputs: [], name: 'TooManyAssets' }, + { type: 'error', inputs: [], name: 'Unauthorized' }, + { type: 'error', inputs: [], name: 'Unsupported' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IETHPOSDeposit @@ -5834,54 +5943,54 @@ export const gatewayAbi = [ export const iethposDepositAbi = [ { - type: "function", + type: 'function', inputs: [ - { name: "pubkey", internalType: "bytes", type: "bytes" }, - { name: "withdrawal_credentials", internalType: "bytes", type: "bytes" }, - { name: "signature", internalType: "bytes", type: "bytes" }, - { name: "deposit_data_root", internalType: "bytes32", type: "bytes32" } + { name: 'pubkey', internalType: 'bytes', type: 'bytes' }, + { name: 'withdrawal_credentials', internalType: 'bytes', type: 'bytes' }, + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + { name: 'deposit_data_root', internalType: 'bytes32', type: 'bytes32' }, ], - name: "deposit", + name: 'deposit', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "function", + type: 'function', inputs: [], - name: "get_deposit_count", - outputs: [{ name: "", internalType: "bytes", type: "bytes" }], - stateMutability: "view" + name: 'get_deposit_count', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "get_deposit_root", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'get_deposit_root', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ - { name: "pubkey", internalType: "bytes", type: "bytes", indexed: false }, + { name: 'pubkey', internalType: 'bytes', type: 'bytes', indexed: false }, { - name: "withdrawal_credentials", - internalType: "bytes", - type: "bytes", - indexed: false + name: 'withdrawal_credentials', + internalType: 'bytes', + type: 'bytes', + indexed: false, }, - { name: "amount", internalType: "bytes", type: "bytes", indexed: false }, + { name: 'amount', internalType: 'bytes', type: 'bytes', indexed: false }, { - name: "signature", - internalType: "bytes", - type: "bytes", - indexed: false + name: 'signature', + internalType: 'bytes', + type: 'bytes', + indexed: false, }, - { name: "index", internalType: "bytes", type: "bytes", indexed: false } + { name: 'index', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: "DepositEvent" - } -] as const; + name: 'DepositEvent', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ITransparentUpgradeableProxy @@ -5889,89 +5998,89 @@ export const iethposDepositAbi = [ export const iTransparentUpgradeableProxyAbi = [ { - type: "function", + type: 'function', inputs: [], - name: "admin", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'admin', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "changeAdmin", + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'changeAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "implementation", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'implementation', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "upgradeTo", + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'upgradeTo', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "", internalType: "address", type: "address" }, - { name: "", internalType: "bytes", type: "bytes" } + { name: '', internalType: 'address', type: 'address' }, + { name: '', internalType: 'bytes', type: 'bytes' }, ], - name: "upgradeToAndCall", + name: 'upgradeToAndCall', outputs: [], - stateMutability: "payable" + stateMutability: 'payable', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousAdmin", - internalType: "address", - type: "address", - indexed: false + name: 'previousAdmin', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "newAdmin", - internalType: "address", - type: "address", - indexed: false - } + name: 'newAdmin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "AdminChanged" + name: 'AdminChanged', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "beacon", - internalType: "address", - type: "address", - indexed: true - } + name: 'beacon', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "BeaconUpgraded" + name: 'BeaconUpgraded', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "implementation", - internalType: "address", - type: "address", - indexed: true - } + name: 'implementation', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "Upgraded" - } -] as const; + name: 'Upgraded', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // PermissionController @@ -5979,307 +6088,309 @@ export const iTransparentUpgradeableProxyAbi = [ export const permissionControllerAbi = [ { - type: "constructor", - inputs: [{ name: "_version", internalType: "string", type: "string" }], - stateMutability: "nonpayable" + type: 'constructor', + inputs: [{ name: '_version', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "account", internalType: "address", type: "address" }], - name: "acceptAdmin", + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'acceptAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "admin", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'admin', internalType: 'address', type: 'address' }, ], - name: "addPendingAdmin", + name: 'addPendingAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "caller", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'caller', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, ], - name: "canCall", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'canCall', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "account", internalType: "address", type: "address" }], - name: "getAdmins", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getAdmins', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "appointee", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'appointee', internalType: 'address', type: 'address' }, ], - name: "getAppointeePermissions", + name: 'getAppointeePermissions', outputs: [ - { name: "", internalType: "address[]", type: "address[]" }, - { name: "", internalType: "bytes4[]", type: "bytes4[]" } + { name: '', internalType: 'address[]', type: 'address[]' }, + { name: '', internalType: 'bytes4[]', type: 'bytes4[]' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, ], - name: "getAppointees", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" + name: 'getAppointees', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "account", internalType: "address", type: "address" }], - name: "getPendingAdmins", - outputs: [{ name: "", internalType: "address[]", type: "address[]" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getPendingAdmins', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "caller", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'caller', internalType: 'address', type: 'address' }, ], - name: "isAdmin", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isAdmin', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "pendingAdmin", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'pendingAdmin', internalType: 'address', type: 'address' }, ], - name: "isPendingAdmin", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isPendingAdmin', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "admin", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'admin', internalType: 'address', type: 'address' }, ], - name: "removeAdmin", + name: 'removeAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "appointee", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'appointee', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, ], - name: "removeAppointee", + name: 'removeAppointee', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "admin", internalType: "address", type: "address" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'admin', internalType: 'address', type: 'address' }, ], - name: "removePendingAdmin", + name: 'removePendingAdmin', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "account", internalType: "address", type: "address" }, - { name: "appointee", internalType: "address", type: "address" }, - { name: "target", internalType: "address", type: "address" }, - { name: "selector", internalType: "bytes4", type: "bytes4" } + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'appointee', internalType: 'address', type: 'address' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'selector', internalType: 'bytes4', type: 'bytes4' }, ], - name: "setAppointee", + name: 'setAppointee', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "admin", - internalType: "address", - type: "address", - indexed: false - } + name: 'admin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "AdminRemoved" + name: 'AdminRemoved', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "admin", - internalType: "address", - type: "address", - indexed: false - } + name: 'admin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "AdminSet" + name: 'AdminSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "appointee", - internalType: "address", - type: "address", - indexed: true + name: 'appointee', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "target", - internalType: "address", - type: "address", - indexed: false + name: 'target', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "selector", - internalType: "bytes4", - type: "bytes4", - indexed: false - } + name: 'selector', + internalType: 'bytes4', + type: 'bytes4', + indexed: false, + }, ], - name: "AppointeeRemoved" + name: 'AppointeeRemoved', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "appointee", - internalType: "address", - type: "address", - indexed: true + name: 'appointee', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "target", - internalType: "address", - type: "address", - indexed: false + name: 'target', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "selector", - internalType: "bytes4", - type: "bytes4", - indexed: false - } + name: 'selector', + internalType: 'bytes4', + type: 'bytes4', + indexed: false, + }, ], - name: "AppointeeSet" + name: 'AppointeeSet', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "admin", - internalType: "address", - type: "address", - indexed: false - } + name: 'admin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "PendingAdminAdded" + name: 'PendingAdminAdded', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "admin", - internalType: "address", - type: "address", - indexed: false - } + name: 'admin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "PendingAdminRemoved" + name: 'PendingAdminRemoved', }, - { type: "error", inputs: [], name: "AdminAlreadyPending" }, - { type: "error", inputs: [], name: "AdminAlreadySet" }, - { type: "error", inputs: [], name: "AdminNotPending" }, - { type: "error", inputs: [], name: "AdminNotSet" }, - { type: "error", inputs: [], name: "AppointeeAlreadySet" }, - { type: "error", inputs: [], name: "AppointeeNotSet" }, - { type: "error", inputs: [], name: "CannotHaveZeroAdmins" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "NotAdmin" }, + { type: 'error', inputs: [], name: 'AdminAlreadyPending' }, + { type: 'error', inputs: [], name: 'AdminAlreadySet' }, + { type: 'error', inputs: [], name: 'AdminNotPending' }, + { type: 'error', inputs: [], name: 'AdminNotSet' }, + { type: 'error', inputs: [], name: 'AppointeeAlreadySet' }, + { type: 'error', inputs: [], name: 'AppointeeNotSet' }, + { type: 'error', inputs: [], name: 'CannotHaveZeroAdmins' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'NotAdmin' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" - } -] as const; + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // RewardsCoordinator @@ -6287,1643 +6398,1682 @@ export const permissionControllerAbi = [ export const rewardsCoordinatorAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "params", - internalType: "struct IRewardsCoordinatorTypes.RewardsCoordinatorConstructorParams", - type: "tuple", + name: 'params', + internalType: + 'struct IRewardsCoordinatorTypes.RewardsCoordinatorConstructorParams', + type: 'tuple', components: [ { - name: "delegationManager", - internalType: "contract IDelegationManager", - type: "address" + name: 'delegationManager', + internalType: 'contract IDelegationManager', + type: 'address', }, { - name: "strategyManager", - internalType: "contract IStrategyManager", - type: "address" + name: 'strategyManager', + internalType: 'contract IStrategyManager', + type: 'address', }, { - name: "allocationManager", - internalType: "contract IAllocationManager", - type: "address" + name: 'allocationManager', + internalType: 'contract IAllocationManager', + type: 'address', }, { - name: "pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: 'pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, { - name: "permissionController", - internalType: "contract IPermissionController", - type: "address" + name: 'permissionController', + internalType: 'contract IPermissionController', + type: 'address', }, { - name: "CALCULATION_INTERVAL_SECONDS", - internalType: "uint32", - type: "uint32" + name: 'CALCULATION_INTERVAL_SECONDS', + internalType: 'uint32', + type: 'uint32', }, { - name: "MAX_REWARDS_DURATION", - internalType: "uint32", - type: "uint32" + name: 'MAX_REWARDS_DURATION', + internalType: 'uint32', + type: 'uint32', }, { - name: "MAX_RETROACTIVE_LENGTH", - internalType: "uint32", - type: "uint32" + name: 'MAX_RETROACTIVE_LENGTH', + internalType: 'uint32', + type: 'uint32', }, - { name: "MAX_FUTURE_LENGTH", internalType: "uint32", type: "uint32" }, + { name: 'MAX_FUTURE_LENGTH', internalType: 'uint32', type: 'uint32' }, { - name: "GENESIS_REWARDS_TIMESTAMP", - internalType: "uint32", - type: "uint32" + name: 'GENESIS_REWARDS_TIMESTAMP', + internalType: 'uint32', + type: 'uint32', }, - { name: "version", internalType: "string", type: "string" } - ] - } + { name: 'version', internalType: 'string', type: 'string' }, + ], + }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "CALCULATION_INTERVAL_SECONDS", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'CALCULATION_INTERVAL_SECONDS', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "GENESIS_REWARDS_TIMESTAMP", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'GENESIS_REWARDS_TIMESTAMP', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "MAX_FUTURE_LENGTH", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'MAX_FUTURE_LENGTH', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "MAX_RETROACTIVE_LENGTH", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'MAX_RETROACTIVE_LENGTH', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "MAX_REWARDS_DURATION", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'MAX_REWARDS_DURATION', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "activationDelay", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'activationDelay', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "allocationManager", + name: 'allocationManager', outputs: [ { - name: "", - internalType: "contract IAllocationManager", - type: "address" - } + name: '', + internalType: 'contract IAllocationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "beaconChainETHStrategy", - outputs: [{ name: "", internalType: "contract IStrategy", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { - name: "leaf", - internalType: "struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf", - type: "tuple", - components: [ - { name: "earner", internalType: "address", type: "address" }, - { name: "earnerTokenRoot", internalType: "bytes32", type: "bytes32" } - ] - } + name: 'beaconChainETHStrategy', + outputs: [ + { name: '', internalType: 'contract IStrategy', type: 'address' }, ], - name: "calculateEarnerLeafHash", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "pure" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "leaf", - internalType: "struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf", - type: "tuple", + name: 'leaf', + internalType: 'struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf', + type: 'tuple', components: [ - { name: "token", internalType: "contract IERC20", type: "address" }, - { - name: "cumulativeEarnings", - internalType: "uint256", - type: "uint256" - } - ] - } + { name: 'earner', internalType: 'address', type: 'address' }, + { name: 'earnerTokenRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + }, ], - name: "calculateTokenLeafHash", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "pure" + name: 'calculateEarnerLeafHash', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'pure', }, { - type: "function", + type: 'function', inputs: [ { - name: "claim", - internalType: "struct IRewardsCoordinatorTypes.RewardsMerkleClaim", - type: "tuple", + name: 'leaf', + internalType: 'struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf', + type: 'tuple', components: [ - { name: "rootIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerTreeProof", internalType: "bytes", type: "bytes" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "earnerLeaf", - internalType: "struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf", - type: "tuple", - components: [ - { name: "earner", internalType: "address", type: "address" }, - { - name: "earnerTokenRoot", - internalType: "bytes32", - type: "bytes32" - } - ] + name: 'cumulativeEarnings', + internalType: 'uint256', + type: 'uint256', }, - { name: "tokenIndices", internalType: "uint32[]", type: "uint32[]" }, - { name: "tokenTreeProofs", internalType: "bytes[]", type: "bytes[]" }, + ], + }, + ], + name: 'calculateTokenLeafHash', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { + name: 'claim', + internalType: 'struct IRewardsCoordinatorTypes.RewardsMerkleClaim', + type: 'tuple', + components: [ + { name: 'rootIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerTreeProof', internalType: 'bytes', type: 'bytes' }, { - name: "tokenLeaves", - internalType: "struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]", - type: "tuple[]", + name: 'earnerLeaf', + internalType: + 'struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf', + type: 'tuple', + components: [ + { name: 'earner', internalType: 'address', type: 'address' }, + { + name: 'earnerTokenRoot', + internalType: 'bytes32', + type: 'bytes32', + }, + ], + }, + { name: 'tokenIndices', internalType: 'uint32[]', type: 'uint32[]' }, + { name: 'tokenTreeProofs', internalType: 'bytes[]', type: 'bytes[]' }, + { + name: 'tokenLeaves', + internalType: + 'struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]', + type: 'tuple[]', components: [ { - name: "token", - internalType: "contract IERC20", - type: "address" + name: 'token', + internalType: 'contract IERC20', + type: 'address', }, { - name: "cumulativeEarnings", - internalType: "uint256", - type: "uint256" - } - ] - } - ] - } + name: 'cumulativeEarnings', + internalType: 'uint256', + type: 'uint256', + }, + ], + }, + ], + }, ], - name: "checkClaim", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'checkClaim', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "earner", internalType: "address", type: "address" }], - name: "claimerFor", - outputs: [{ name: "claimer", internalType: "address", type: "address" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'earner', internalType: 'address', type: 'address' }], + name: 'claimerFor', + outputs: [{ name: 'claimer', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "rewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission[]", - type: "tuple[]", + name: 'rewardsSubmissions', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } - ] - } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "createAVSRewardsSubmission", + name: 'createAVSRewardsSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, + { name: 'avs', internalType: 'address', type: 'address' }, { - name: "operatorDirectedRewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]", - type: "tuple[]", + name: 'operatorDirectedRewardsSubmissions', + internalType: + 'struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "operatorRewards", - internalType: "struct IRewardsCoordinatorTypes.OperatorReward[]", - type: "tuple[]", + name: 'operatorRewards', + internalType: 'struct IRewardsCoordinatorTypes.OperatorReward[]', + type: 'tuple[]', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ] + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + ], }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" }, - { name: "description", internalType: "string", type: "string" } - ] - } + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "createOperatorDirectedAVSRewardsSubmission", + name: 'createOperatorDirectedAVSRewardsSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, { - name: "operatorDirectedRewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]", - type: "tuple[]", + name: 'operatorDirectedRewardsSubmissions', + internalType: + 'struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "operatorRewards", - internalType: "struct IRewardsCoordinatorTypes.OperatorReward[]", - type: "tuple[]", + name: 'operatorRewards', + internalType: 'struct IRewardsCoordinatorTypes.OperatorReward[]', + type: 'tuple[]', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ] + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + ], }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" }, - { name: "description", internalType: "string", type: "string" } - ] - } + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "createOperatorDirectedOperatorSetRewardsSubmission", + name: 'createOperatorDirectedOperatorSetRewardsSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "rewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission[]", - type: "tuple[]", + name: 'rewardsSubmissions', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } - ] - } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "createRewardsForAllEarners", + name: 'createRewardsForAllEarners', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "rewardsSubmissions", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission[]", - type: "tuple[]", + name: 'rewardsSubmissions', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission[]', + type: 'tuple[]', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } - ] - } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "createRewardsForAllSubmission", + name: 'createRewardsForAllSubmission', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "earner", internalType: "address", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" } + { name: 'earner', internalType: 'address', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, ], - name: "cumulativeClaimed", - outputs: [{ name: "totalClaimed", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'cumulativeClaimed', + outputs: [ + { name: 'totalClaimed', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "currRewardsCalculationEndTimestamp", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'currRewardsCalculationEndTimestamp', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "defaultOperatorSplitBips", - outputs: [{ name: "", internalType: "uint16", type: "uint16" }], - stateMutability: "view" + name: 'defaultOperatorSplitBips', + outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "delegationManager", + name: 'delegationManager', outputs: [ { - name: "", - internalType: "contract IDelegationManager", - type: "address" - } + name: '', + internalType: 'contract IDelegationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "rootIndex", internalType: "uint32", type: "uint32" }], - name: "disableRoot", + type: 'function', + inputs: [{ name: 'rootIndex', internalType: 'uint32', type: 'uint32' }], + name: 'disableRoot', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "getCurrentClaimableDistributionRoot", + name: 'getCurrentClaimableDistributionRoot', outputs: [ { - name: "", - internalType: "struct IRewardsCoordinatorTypes.DistributionRoot", - type: "tuple", + name: '', + internalType: 'struct IRewardsCoordinatorTypes.DistributionRoot', + type: 'tuple', components: [ - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "rewardsCalculationEndTimestamp", - internalType: "uint32", - type: "uint32" + name: 'rewardsCalculationEndTimestamp', + internalType: 'uint32', + type: 'uint32', }, - { name: "activatedAt", internalType: "uint32", type: "uint32" }, - { name: "disabled", internalType: "bool", type: "bool" } - ] - } + { name: 'activatedAt', internalType: 'uint32', type: 'uint32' }, + { name: 'disabled', internalType: 'bool', type: 'bool' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "getCurrentDistributionRoot", + name: 'getCurrentDistributionRoot', outputs: [ { - name: "", - internalType: "struct IRewardsCoordinatorTypes.DistributionRoot", - type: "tuple", + name: '', + internalType: 'struct IRewardsCoordinatorTypes.DistributionRoot', + type: 'tuple', components: [ - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "rewardsCalculationEndTimestamp", - internalType: "uint32", - type: "uint32" + name: 'rewardsCalculationEndTimestamp', + internalType: 'uint32', + type: 'uint32', }, - { name: "activatedAt", internalType: "uint32", type: "uint32" }, - { name: "disabled", internalType: "bool", type: "bool" } - ] - } + { name: 'activatedAt', internalType: 'uint32', type: 'uint32' }, + { name: 'disabled', internalType: 'bool', type: 'bool' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "index", internalType: "uint256", type: "uint256" }], - name: "getDistributionRootAtIndex", + type: 'function', + inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], + name: 'getDistributionRootAtIndex', outputs: [ { - name: "", - internalType: "struct IRewardsCoordinatorTypes.DistributionRoot", - type: "tuple", + name: '', + internalType: 'struct IRewardsCoordinatorTypes.DistributionRoot', + type: 'tuple', components: [ - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "rewardsCalculationEndTimestamp", - internalType: "uint32", - type: "uint32" + name: 'rewardsCalculationEndTimestamp', + internalType: 'uint32', + type: 'uint32', }, - { name: "activatedAt", internalType: "uint32", type: "uint32" }, - { name: "disabled", internalType: "bool", type: "bool" } - ] - } + { name: 'activatedAt', internalType: 'uint32', type: 'uint32' }, + { name: 'disabled', internalType: 'bool', type: 'bool' }, + ], + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "getDistributionRootsLength", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'getDistributionRootsLength', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, ], - name: "getOperatorAVSSplit", - outputs: [{ name: "", internalType: "uint16", type: "uint16" }], - stateMutability: "view" + name: 'getOperatorAVSSplit', + outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "operator", internalType: "address", type: "address" }], - name: "getOperatorPISplit", - outputs: [{ name: "", internalType: "uint16", type: "uint16" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'operator', internalType: 'address', type: 'address' }], + name: 'getOperatorPISplit', + outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] - } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], + }, ], - name: "getOperatorSetSplit", - outputs: [{ name: "", internalType: "uint16", type: "uint16" }], - stateMutability: "view" + name: 'getOperatorSetSplit', + outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "rootHash", internalType: "bytes32", type: "bytes32" }], - name: "getRootIndexFromHash", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'rootHash', internalType: 'bytes32', type: 'bytes32' }], + name: 'getRootIndexFromHash', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { name: "initialPausedStatus", internalType: "uint256", type: "uint256" }, - { name: "_rewardsUpdater", internalType: "address", type: "address" }, - { name: "_activationDelay", internalType: "uint32", type: "uint32" }, - { name: "_defaultSplitBips", internalType: "uint16", type: "uint16" } + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { name: 'initialPausedStatus', internalType: 'uint256', type: 'uint256' }, + { name: '_rewardsUpdater', internalType: 'address', type: 'address' }, + { name: '_activationDelay', internalType: 'uint32', type: 'uint32' }, + { name: '_defaultSplitBips', internalType: 'uint16', type: 'uint16' }, ], - name: "initialize", + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "hash", internalType: "bytes32", type: "bytes32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'hash', internalType: 'bytes32', type: 'bytes32' }, ], - name: "isAVSRewardsSubmissionHash", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isAVSRewardsSubmissionHash', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "hash", internalType: "bytes32", type: "bytes32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'hash', internalType: 'bytes32', type: 'bytes32' }, ], - name: "isOperatorDirectedAVSRewardsSubmissionHash", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isOperatorDirectedAVSRewardsSubmissionHash', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "hash", internalType: "bytes32", type: "bytes32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'hash', internalType: 'bytes32', type: 'bytes32' }, ], - name: "isOperatorDirectedOperatorSetRewardsSubmissionHash", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isOperatorDirectedOperatorSetRewardsSubmissionHash', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "submitter", internalType: "address", type: "address" }], - name: "isRewardsForAllSubmitter", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'submitter', internalType: 'address', type: 'address' }], + name: 'isRewardsForAllSubmitter', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "hash", internalType: "bytes32", type: "bytes32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'hash', internalType: 'bytes32', type: 'bytes32' }, ], - name: "isRewardsSubmissionForAllEarnersHash", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isRewardsSubmissionForAllEarnersHash', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "hash", internalType: "bytes32", type: "bytes32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'hash', internalType: 'bytes32', type: 'bytes32' }, ], - name: "isRewardsSubmissionForAllHash", - outputs: [{ name: "valid", internalType: "bool", type: "bool" }], - stateMutability: "view" + name: 'isRewardsSubmissionForAllHash', + outputs: [{ name: 'valid', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "pauseAll", + name: 'pauseAll', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "permissionController", + name: 'permissionController', outputs: [ { - name: "", - internalType: "contract IPermissionController", - type: "address" - } + name: '', + internalType: 'contract IPermissionController', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "claim", - internalType: "struct IRewardsCoordinatorTypes.RewardsMerkleClaim", - type: "tuple", + name: 'claim', + internalType: 'struct IRewardsCoordinatorTypes.RewardsMerkleClaim', + type: 'tuple', components: [ - { name: "rootIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerTreeProof", internalType: "bytes", type: "bytes" }, + { name: 'rootIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerTreeProof', internalType: 'bytes', type: 'bytes' }, { - name: "earnerLeaf", - internalType: "struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf", - type: "tuple", + name: 'earnerLeaf', + internalType: + 'struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf', + type: 'tuple', components: [ - { name: "earner", internalType: "address", type: "address" }, + { name: 'earner', internalType: 'address', type: 'address' }, { - name: "earnerTokenRoot", - internalType: "bytes32", - type: "bytes32" - } - ] + name: 'earnerTokenRoot', + internalType: 'bytes32', + type: 'bytes32', + }, + ], }, - { name: "tokenIndices", internalType: "uint32[]", type: "uint32[]" }, - { name: "tokenTreeProofs", internalType: "bytes[]", type: "bytes[]" }, + { name: 'tokenIndices', internalType: 'uint32[]', type: 'uint32[]' }, + { name: 'tokenTreeProofs', internalType: 'bytes[]', type: 'bytes[]' }, { - name: "tokenLeaves", - internalType: "struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]", - type: "tuple[]", + name: 'tokenLeaves', + internalType: + 'struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]', + type: 'tuple[]', components: [ { - name: "token", - internalType: "contract IERC20", - type: "address" + name: 'token', + internalType: 'contract IERC20', + type: 'address', }, { - name: "cumulativeEarnings", - internalType: "uint256", - type: "uint256" - } - ] - } - ] + name: 'cumulativeEarnings', + internalType: 'uint256', + type: 'uint256', + }, + ], + }, + ], }, - { name: "recipient", internalType: "address", type: "address" } + { name: 'recipient', internalType: 'address', type: 'address' }, ], - name: "processClaim", + name: 'processClaim', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "claims", - internalType: "struct IRewardsCoordinatorTypes.RewardsMerkleClaim[]", - type: "tuple[]", + name: 'claims', + internalType: 'struct IRewardsCoordinatorTypes.RewardsMerkleClaim[]', + type: 'tuple[]', components: [ - { name: "rootIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerIndex", internalType: "uint32", type: "uint32" }, - { name: "earnerTreeProof", internalType: "bytes", type: "bytes" }, + { name: 'rootIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerIndex', internalType: 'uint32', type: 'uint32' }, + { name: 'earnerTreeProof', internalType: 'bytes', type: 'bytes' }, { - name: "earnerLeaf", - internalType: "struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf", - type: "tuple", + name: 'earnerLeaf', + internalType: + 'struct IRewardsCoordinatorTypes.EarnerTreeMerkleLeaf', + type: 'tuple', components: [ - { name: "earner", internalType: "address", type: "address" }, + { name: 'earner', internalType: 'address', type: 'address' }, { - name: "earnerTokenRoot", - internalType: "bytes32", - type: "bytes32" - } - ] + name: 'earnerTokenRoot', + internalType: 'bytes32', + type: 'bytes32', + }, + ], }, - { name: "tokenIndices", internalType: "uint32[]", type: "uint32[]" }, - { name: "tokenTreeProofs", internalType: "bytes[]", type: "bytes[]" }, + { name: 'tokenIndices', internalType: 'uint32[]', type: 'uint32[]' }, + { name: 'tokenTreeProofs', internalType: 'bytes[]', type: 'bytes[]' }, { - name: "tokenLeaves", - internalType: "struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]", - type: "tuple[]", + name: 'tokenLeaves', + internalType: + 'struct IRewardsCoordinatorTypes.TokenTreeMerkleLeaf[]', + type: 'tuple[]', components: [ { - name: "token", - internalType: "contract IERC20", - type: "address" + name: 'token', + internalType: 'contract IERC20', + type: 'address', }, { - name: "cumulativeEarnings", - internalType: "uint256", - type: "uint256" - } - ] - } - ] + name: 'cumulativeEarnings', + internalType: 'uint256', + type: 'uint256', + }, + ], + }, + ], }, - { name: "recipient", internalType: "address", type: "address" } + { name: 'recipient', internalType: 'address', type: 'address' }, ], - name: "processClaims", + name: 'processClaims', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "rewardsUpdater", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'rewardsUpdater', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "_activationDelay", internalType: "uint32", type: "uint32" }], - name: "setActivationDelay", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "claimer", internalType: "address", type: "address" }], - name: "setClaimerFor", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "earner", internalType: "address", type: "address" }, - { name: "claimer", internalType: "address", type: "address" } + { name: '_activationDelay', internalType: 'uint32', type: 'uint32' }, ], - name: "setClaimerFor", + name: 'setActivationDelay', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "split", internalType: "uint16", type: "uint16" }], - name: "setDefaultOperatorSplit", + type: 'function', + inputs: [{ name: 'claimer', internalType: 'address', type: 'address' }], + name: 'setClaimerFor', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "avs", internalType: "address", type: "address" }, - { name: "split", internalType: "uint16", type: "uint16" } + { name: 'earner', internalType: 'address', type: 'address' }, + { name: 'claimer', internalType: 'address', type: 'address' }, ], - name: "setOperatorAVSSplit", + name: 'setClaimerFor', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [{ name: 'split', internalType: 'uint16', type: 'uint16' }], + name: 'setDefaultOperatorSplit', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "split", internalType: "uint16", type: "uint16" } + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'split', internalType: 'uint16', type: 'uint16' }, ], - name: "setOperatorPISplit", + name: 'setOperatorAVSSplit', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "operator", internalType: "address", type: "address" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'split', internalType: 'uint16', type: 'uint16' }, + ], + name: 'setOperatorPISplit', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'operator', internalType: 'address', type: 'address' }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } - ] + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, + ], }, - { name: "split", internalType: "uint16", type: "uint16" } + { name: 'split', internalType: 'uint16', type: 'uint16' }, ], - name: "setOperatorSetSplit", + name: 'setOperatorSetSplit', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "_submitter", internalType: "address", type: "address" }, - { name: "_newValue", internalType: "bool", type: "bool" } + { name: '_submitter', internalType: 'address', type: 'address' }, + { name: '_newValue', internalType: 'bool', type: 'bool' }, ], - name: "setRewardsForAllSubmitter", + name: 'setRewardsForAllSubmitter', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "_rewardsUpdater", internalType: "address", type: "address" }], - name: "setRewardsUpdater", + type: 'function', + inputs: [ + { name: '_rewardsUpdater', internalType: 'address', type: 'address' }, + ], + name: 'setRewardsUpdater', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "strategyManager", - outputs: [{ name: "", internalType: "contract IStrategyManager", type: "address" }], - stateMutability: "view" + name: 'strategyManager', + outputs: [ + { name: '', internalType: 'contract IStrategyManager', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "avs", internalType: "address", type: "address" }], - name: "submissionNonce", - outputs: [{ name: "nonce", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'avs', internalType: 'address', type: 'address' }], + name: 'submissionNonce', + outputs: [{ name: 'nonce', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "root", internalType: "bytes32", type: "bytes32" }, + { name: 'root', internalType: 'bytes32', type: 'bytes32' }, { - name: "rewardsCalculationEndTimestamp", - internalType: "uint32", - type: "uint32" - } + name: 'rewardsCalculationEndTimestamp', + internalType: 'uint32', + type: 'uint32', + }, ], - name: "submitRoot", + name: 'submitRoot', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ - { name: "avs", internalType: "address", type: "address", indexed: true }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, { - name: "submissionNonce", - internalType: "uint256", - type: "uint256", - indexed: true + name: 'submissionNonce', + internalType: 'uint256', + type: 'uint256', + indexed: true, }, { - name: "rewardsSubmissionHash", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'rewardsSubmissionHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "rewardsSubmission", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission", - type: "tuple", + name: 'rewardsSubmission', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission', + type: 'tuple', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "AVSRewardsSubmissionCreated" + name: 'AVSRewardsSubmissionCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "oldActivationDelay", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'oldActivationDelay', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "newActivationDelay", - internalType: "uint32", - type: "uint32", - indexed: false - } + name: 'newActivationDelay', + internalType: 'uint32', + type: 'uint32', + indexed: false, + }, ], - name: "ActivationDelaySet" + name: 'ActivationDelaySet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "earner", - internalType: "address", - type: "address", - indexed: true + name: 'earner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "oldClaimer", - internalType: "address", - type: "address", - indexed: true + name: 'oldClaimer', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "claimer", - internalType: "address", - type: "address", - indexed: true - } + name: 'claimer', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "ClaimerForSet" + name: 'ClaimerForSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "oldDefaultOperatorSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false + name: 'oldDefaultOperatorSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, }, { - name: "newDefaultOperatorSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false - } + name: 'newDefaultOperatorSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, + }, ], - name: "DefaultOperatorSplitBipsSet" + name: 'DefaultOperatorSplitBipsSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "rootIndex", - internalType: "uint32", - type: "uint32", - indexed: true - } + name: 'rootIndex', + internalType: 'uint32', + type: 'uint32', + indexed: true, + }, ], - name: "DistributionRootDisabled" + name: 'DistributionRootDisabled', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "rootIndex", - internalType: "uint32", - type: "uint32", - indexed: true + name: 'rootIndex', + internalType: 'uint32', + type: 'uint32', + indexed: true, }, - { name: "root", internalType: "bytes32", type: "bytes32", indexed: true }, + { name: 'root', internalType: 'bytes32', type: 'bytes32', indexed: true }, { - name: "rewardsCalculationEndTimestamp", - internalType: "uint32", - type: "uint32", - indexed: true + name: 'rewardsCalculationEndTimestamp', + internalType: 'uint32', + type: 'uint32', + indexed: true, }, { - name: "activatedAt", - internalType: "uint32", - type: "uint32", - indexed: false - } + name: 'activatedAt', + internalType: 'uint32', + type: 'uint32', + indexed: false, + }, ], - name: "DistributionRootSubmitted" + name: 'DistributionRootSubmitted', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "caller", - internalType: "address", - type: "address", - indexed: true + name: 'caller', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, - { name: "avs", internalType: "address", type: "address", indexed: true }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, { - name: "activatedAt", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'activatedAt', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "oldOperatorAVSSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false + name: 'oldOperatorAVSSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, }, { - name: "newOperatorAVSSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false - } + name: 'newOperatorAVSSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, + }, ], - name: "OperatorAVSSplitBipsSet" + name: 'OperatorAVSSplitBipsSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "caller", - internalType: "address", - type: "address", - indexed: true + name: 'caller', + internalType: 'address', + type: 'address', + indexed: true, }, - { name: "avs", internalType: "address", type: "address", indexed: true }, + { name: 'avs', internalType: 'address', type: 'address', indexed: true }, { - name: "operatorDirectedRewardsSubmissionHash", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'operatorDirectedRewardsSubmissionHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "submissionNonce", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'submissionNonce', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, { - name: "operatorDirectedRewardsSubmission", - internalType: "struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission", - type: "tuple", + name: 'operatorDirectedRewardsSubmission', + internalType: + 'struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission', + type: 'tuple', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "operatorRewards", - internalType: "struct IRewardsCoordinatorTypes.OperatorReward[]", - type: "tuple[]", + name: 'operatorRewards', + internalType: 'struct IRewardsCoordinatorTypes.OperatorReward[]', + type: 'tuple[]', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ] + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + ], }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" }, - { name: "description", internalType: "string", type: "string" } + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + { name: 'description', internalType: 'string', type: 'string' }, ], - indexed: false - } + indexed: false, + }, ], - name: "OperatorDirectedAVSRewardsSubmissionCreated" + name: 'OperatorDirectedAVSRewardsSubmissionCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "caller", - internalType: "address", - type: "address", - indexed: true + name: 'caller', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorDirectedRewardsSubmissionHash", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'operatorDirectedRewardsSubmissionHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "submissionNonce", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'submissionNonce', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, { - name: "operatorDirectedRewardsSubmission", - internalType: "struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission", - type: "tuple", + name: 'operatorDirectedRewardsSubmission', + internalType: + 'struct IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission', + type: 'tuple', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, { - name: "operatorRewards", - internalType: "struct IRewardsCoordinatorTypes.OperatorReward[]", - type: "tuple[]", + name: 'operatorRewards', + internalType: 'struct IRewardsCoordinatorTypes.OperatorReward[]', + type: 'tuple[]', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ] + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + ], }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" }, - { name: "description", internalType: "string", type: "string" } + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, + { name: 'description', internalType: 'string', type: 'string' }, ], - indexed: false - } + indexed: false, + }, ], - name: "OperatorDirectedOperatorSetRewardsSubmissionCreated" + name: 'OperatorDirectedOperatorSetRewardsSubmissionCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "caller", - internalType: "address", - type: "address", - indexed: true + name: 'caller', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "activatedAt", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'activatedAt', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "oldOperatorPISplitBips", - internalType: "uint16", - type: "uint16", - indexed: false + name: 'oldOperatorPISplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, }, { - name: "newOperatorPISplitBips", - internalType: "uint16", - type: "uint16", - indexed: false - } + name: 'newOperatorPISplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, + }, ], - name: "OperatorPISplitBipsSet" + name: 'OperatorPISplitBipsSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "caller", - internalType: "address", - type: "address", - indexed: true + name: 'caller', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSet", - internalType: "struct OperatorSet", - type: "tuple", + name: 'operatorSet', + internalType: 'struct OperatorSet', + type: 'tuple', components: [ - { name: "avs", internalType: "address", type: "address" }, - { name: "id", internalType: "uint32", type: "uint32" } + { name: 'avs', internalType: 'address', type: 'address' }, + { name: 'id', internalType: 'uint32', type: 'uint32' }, ], - indexed: false + indexed: false, }, { - name: "activatedAt", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'activatedAt', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "oldOperatorSetSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false + name: 'oldOperatorSetSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, }, { - name: "newOperatorSetSplitBips", - internalType: "uint16", - type: "uint16", - indexed: false - } + name: 'newOperatorSetSplitBips', + internalType: 'uint16', + type: 'uint16', + indexed: false, + }, ], - name: "OperatorSetSplitBipsSet" + name: 'OperatorSetSplitBipsSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "root", - internalType: "bytes32", - type: "bytes32", - indexed: false + name: 'root', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, }, { - name: "earner", - internalType: "address", - type: "address", - indexed: true + name: 'earner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "claimer", - internalType: "address", - type: "address", - indexed: true + name: 'claimer', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "recipient", - internalType: "address", - type: "address", - indexed: true + name: 'recipient', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "token", - internalType: "contract IERC20", - type: "address", - indexed: false + name: 'token', + internalType: 'contract IERC20', + type: 'address', + indexed: false, }, { - name: "claimedAmount", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'claimedAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "RewardsClaimed" + name: 'RewardsClaimed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "rewardsForAllSubmitter", - internalType: "address", - type: "address", - indexed: true + name: 'rewardsForAllSubmitter', + internalType: 'address', + type: 'address', + indexed: true, }, - { name: "oldValue", internalType: "bool", type: "bool", indexed: true }, - { name: "newValue", internalType: "bool", type: "bool", indexed: true } + { name: 'oldValue', internalType: 'bool', type: 'bool', indexed: true }, + { name: 'newValue', internalType: 'bool', type: 'bool', indexed: true }, ], - name: "RewardsForAllSubmitterSet" + name: 'RewardsForAllSubmitterSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "submitter", - internalType: "address", - type: "address", - indexed: true + name: 'submitter', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "submissionNonce", - internalType: "uint256", - type: "uint256", - indexed: true + name: 'submissionNonce', + internalType: 'uint256', + type: 'uint256', + indexed: true, }, { - name: "rewardsSubmissionHash", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'rewardsSubmissionHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "rewardsSubmission", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission", - type: "tuple", + name: 'rewardsSubmission', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission', + type: 'tuple', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "RewardsSubmissionForAllCreated" + name: 'RewardsSubmissionForAllCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "tokenHopper", - internalType: "address", - type: "address", - indexed: true + name: 'tokenHopper', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "submissionNonce", - internalType: "uint256", - type: "uint256", - indexed: true + name: 'submissionNonce', + internalType: 'uint256', + type: 'uint256', + indexed: true, }, { - name: "rewardsSubmissionHash", - internalType: "bytes32", - type: "bytes32", - indexed: true + name: 'rewardsSubmissionHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, }, { - name: "rewardsSubmission", - internalType: "struct IRewardsCoordinatorTypes.RewardsSubmission", - type: "tuple", + name: 'rewardsSubmission', + internalType: 'struct IRewardsCoordinatorTypes.RewardsSubmission', + type: 'tuple', components: [ { - name: "strategiesAndMultipliers", - internalType: "struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]", - type: "tuple[]", + name: 'strategiesAndMultipliers', + internalType: + 'struct IRewardsCoordinatorTypes.StrategyAndMultiplier[]', + type: 'tuple[]', components: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address" + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', }, - { name: "multiplier", internalType: "uint96", type: "uint96" } - ] + { name: 'multiplier', internalType: 'uint96', type: 'uint96' }, + ], }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "startTimestamp", internalType: "uint32", type: "uint32" }, - { name: "duration", internalType: "uint32", type: "uint32" } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'startTimestamp', internalType: 'uint32', type: 'uint32' }, + { name: 'duration', internalType: 'uint32', type: 'uint32' }, ], - indexed: false - } + indexed: false, + }, ], - name: "RewardsSubmissionForAllEarnersCreated" + name: 'RewardsSubmissionForAllEarnersCreated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "oldRewardsUpdater", - internalType: "address", - type: "address", - indexed: true + name: 'oldRewardsUpdater', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newRewardsUpdater", - internalType: "address", - type: "address", - indexed: true - } + name: 'newRewardsUpdater', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "RewardsUpdaterSet" + name: 'RewardsUpdaterSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "AmountExceedsMax" }, - { type: "error", inputs: [], name: "AmountIsZero" }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "DurationExceedsMax" }, - { type: "error", inputs: [], name: "DurationIsZero" }, - { type: "error", inputs: [], name: "EarningsNotGreaterThanClaimed" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InputArrayLengthMismatch" }, - { type: "error", inputs: [], name: "InputArrayLengthZero" }, - { type: "error", inputs: [], name: "InvalidAddressZero" }, + { type: 'error', inputs: [], name: 'AmountExceedsMax' }, + { type: 'error', inputs: [], name: 'AmountIsZero' }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'DurationExceedsMax' }, + { type: 'error', inputs: [], name: 'DurationIsZero' }, + { type: 'error', inputs: [], name: 'EarningsNotGreaterThanClaimed' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InputArrayLengthMismatch' }, + { type: 'error', inputs: [], name: 'InputArrayLengthZero' }, + { type: 'error', inputs: [], name: 'InvalidAddressZero' }, { - type: "error", + type: 'error', inputs: [], - name: "InvalidCalculationIntervalSecondsRemainder" + name: 'InvalidCalculationIntervalSecondsRemainder', }, - { type: "error", inputs: [], name: "InvalidClaimProof" }, - { type: "error", inputs: [], name: "InvalidDurationRemainder" }, - { type: "error", inputs: [], name: "InvalidEarner" }, - { type: "error", inputs: [], name: "InvalidEarnerLeafIndex" }, + { type: 'error', inputs: [], name: 'InvalidClaimProof' }, + { type: 'error', inputs: [], name: 'InvalidDurationRemainder' }, + { type: 'error', inputs: [], name: 'InvalidEarner' }, + { type: 'error', inputs: [], name: 'InvalidEarnerLeafIndex' }, { - type: "error", + type: 'error', inputs: [], - name: "InvalidGenesisRewardsTimestampRemainder" + name: 'InvalidGenesisRewardsTimestampRemainder', }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidOperatorSet" }, - { type: "error", inputs: [], name: "InvalidPermissions" }, - { type: "error", inputs: [], name: "InvalidProofLength" }, - { type: "error", inputs: [], name: "InvalidRoot" }, - { type: "error", inputs: [], name: "InvalidRootIndex" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidStartTimestampRemainder" }, - { type: "error", inputs: [], name: "InvalidTokenLeafIndex" }, - { type: "error", inputs: [], name: "NewRootMustBeForNewCalculatedPeriod" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "OperatorsNotInAscendingOrder" }, - { type: "error", inputs: [], name: "PreviousSplitPending" }, - { type: "error", inputs: [], name: "RewardsEndTimestampNotElapsed" }, - { type: "error", inputs: [], name: "RootAlreadyActivated" }, - { type: "error", inputs: [], name: "RootDisabled" }, - { type: "error", inputs: [], name: "RootNotActivated" }, - { type: "error", inputs: [], name: "SplitExceedsMax" }, - { type: "error", inputs: [], name: "StartTimestampTooFarInFuture" }, - { type: "error", inputs: [], name: "StartTimestampTooFarInPast" }, - { type: "error", inputs: [], name: "StrategiesNotInAscendingOrder" }, - { type: "error", inputs: [], name: "StrategyNotWhitelisted" }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidOperatorSet' }, + { type: 'error', inputs: [], name: 'InvalidPermissions' }, + { type: 'error', inputs: [], name: 'InvalidProofLength' }, + { type: 'error', inputs: [], name: 'InvalidRoot' }, + { type: 'error', inputs: [], name: 'InvalidRootIndex' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidStartTimestampRemainder' }, + { type: 'error', inputs: [], name: 'InvalidTokenLeafIndex' }, + { type: 'error', inputs: [], name: 'NewRootMustBeForNewCalculatedPeriod' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'OperatorsNotInAscendingOrder' }, + { type: 'error', inputs: [], name: 'PreviousSplitPending' }, + { type: 'error', inputs: [], name: 'RewardsEndTimestampNotElapsed' }, + { type: 'error', inputs: [], name: 'RootAlreadyActivated' }, + { type: 'error', inputs: [], name: 'RootDisabled' }, + { type: 'error', inputs: [], name: 'RootNotActivated' }, + { type: 'error', inputs: [], name: 'SplitExceedsMax' }, + { type: 'error', inputs: [], name: 'StartTimestampTooFarInFuture' }, + { type: 'error', inputs: [], name: 'StartTimestampTooFarInPast' }, + { type: 'error', inputs: [], name: 'StrategiesNotInAscendingOrder' }, + { type: 'error', inputs: [], name: 'StrategyNotWhitelisted' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', }, - { type: "error", inputs: [], name: "SubmissionNotRetroactive" }, - { type: "error", inputs: [], name: "UnauthorizedCaller" } -] as const; + { type: 'error', inputs: [], name: 'SubmissionNotRetroactive' }, + { type: 'error', inputs: [], name: 'UnauthorizedCaller' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // RewardsRegistry @@ -7931,118 +8081,122 @@ export const rewardsCoordinatorAbi = [ export const rewardsRegistryAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ - { name: "_avs", internalType: "address", type: "address" }, - { name: "_rewardsAgent", internalType: "address", type: "address" } + { name: '_avs', internalType: 'address', type: 'address' }, + { name: '_rewardsAgent', internalType: 'address', type: 'address' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, - { type: "receive", stateMutability: "payable" }, + { type: 'receive', stateMutability: 'payable' }, { - type: "function", + type: 'function', inputs: [], - name: "avs", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'avs', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "operatorAddress", internalType: "address", type: "address" }, - { name: "operatorPoints", internalType: "uint256", type: "uint256" }, - { name: "proof", internalType: "bytes32[]", type: "bytes32[]" } + { name: 'operatorAddress', internalType: 'address', type: 'address' }, + { name: 'operatorPoints', internalType: 'uint256', type: 'uint256' }, + { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], - name: "claimRewards", + name: 'claimRewards', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "lastRewardsMerkleRoot", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'lastRewardsMerkleRoot', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "address", type: "address" }], - name: "operatorToLastClaimedRoot", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'operatorToLastClaimedRoot', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "rewardsAgent", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'rewardsAgent', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "_rewardsAgent", internalType: "address", type: "address" }], - name: "setRewardsAgent", + type: 'function', + inputs: [ + { name: '_rewardsAgent', internalType: 'address', type: 'address' }, + ], + name: 'setRewardsAgent', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newMerkleRoot", internalType: "bytes32", type: "bytes32" }], - name: "updateRewardsMerkleRoot", + type: 'function', + inputs: [ + { name: 'newMerkleRoot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'updateRewardsMerkleRoot', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operatorAddress", - internalType: "address", - type: "address", - indexed: true + name: 'operatorAddress', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "points", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'points', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, { - name: "rewardsAmount", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'rewardsAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "RewardsClaimed" + name: 'RewardsClaimed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "oldRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false + name: 'oldRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, }, { - name: "newRoot", - internalType: "bytes32", - type: "bytes32", - indexed: false - } + name: 'newRoot', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, ], - name: "RewardsMerkleRootUpdated" + name: 'RewardsMerkleRootUpdated', }, - { type: "error", inputs: [], name: "InvalidMerkleProof" }, - { type: "error", inputs: [], name: "OnlyAVS" }, - { type: "error", inputs: [], name: "OnlyRewardsAgent" }, - { type: "error", inputs: [], name: "RewardsAlreadyClaimed" }, - { type: "error", inputs: [], name: "RewardsMerkleRootNotSet" }, - { type: "error", inputs: [], name: "RewardsTransferFailed" } -] as const; + { type: 'error', inputs: [], name: 'InvalidMerkleProof' }, + { type: 'error', inputs: [], name: 'OnlyAVS' }, + { type: 'error', inputs: [], name: 'OnlyRewardsAgent' }, + { type: 'error', inputs: [], name: 'RewardsAlreadyClaimed' }, + { type: 'error', inputs: [], name: 'RewardsMerkleRootNotSet' }, + { type: 'error', inputs: [], name: 'RewardsTransferFailed' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // StrategyBaseTVLLimits @@ -8050,364 +8204,382 @@ export const rewardsRegistryAbi = [ export const strategyBaseTvlLimitsAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_strategyManager", - internalType: "contract IStrategyManager", - type: "address" + name: '_strategyManager', + internalType: 'contract IStrategyManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, - { name: "_version", internalType: "string", type: "string" } + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], - name: "deposit", - outputs: [{ name: "newShares", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" + name: 'deposit', + outputs: [{ name: 'newShares', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "explanation", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "pure" + name: 'explanation', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', }, { - type: "function", + type: 'function', inputs: [], - name: "getTVLLimits", + name: 'getTVLLimits', outputs: [ - { name: "", internalType: "uint256", type: "uint256" }, - { name: "", internalType: "uint256", type: "uint256" } + { name: '', internalType: 'uint256', type: 'uint256' }, + { name: '', internalType: 'uint256', type: 'uint256' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "_maxPerDeposit", internalType: "uint256", type: "uint256" }, - { name: "_maxTotalDeposits", internalType: "uint256", type: "uint256" }, + { name: '_maxPerDeposit', internalType: 'uint256', type: 'uint256' }, + { name: '_maxTotalDeposits', internalType: 'uint256', type: 'uint256' }, { - name: "_underlyingToken", - internalType: "contract IERC20", - type: "address" - } + name: '_underlyingToken', + internalType: 'contract IERC20', + type: 'address', + }, ], - name: "initialize", + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "_underlyingToken", - internalType: "contract IERC20", - type: "address" - } + name: '_underlyingToken', + internalType: 'contract IERC20', + type: 'address', + }, ], - name: "initialize", + name: 'initialize', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "maxPerDeposit", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'maxPerDeposit', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "maxTotalDeposits", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'maxTotalDeposits', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "pauseAll", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "newMaxPerDeposit", internalType: "uint256", type: "uint256" }, - { name: "newMaxTotalDeposits", internalType: "uint256", type: "uint256" } + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, ], - name: "setTVLLimits", + name: 'pause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "user", internalType: "address", type: "address" }], - name: "shares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "amountShares", internalType: "uint256", type: "uint256" }], - name: "sharesToUnderlying", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "amountShares", internalType: "uint256", type: "uint256" }], - name: "sharesToUnderlyingView", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", + type: 'function', inputs: [], - name: "strategyManager", - outputs: [{ name: "", internalType: "contract IStrategyManager", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "totalShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "amountUnderlying", internalType: "uint256", type: "uint256" }], - name: "underlyingToShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "amountUnderlying", internalType: "uint256", type: "uint256" }], - name: "underlyingToSharesView", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "underlyingToken", - outputs: [{ name: "", internalType: "contract IERC20", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", + name: 'pauseAll', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "user", internalType: "address", type: "address" }], - name: "userUnderlying", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "user", internalType: "address", type: "address" }], - name: "userUnderlyingView", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', + inputs: [], + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', inputs: [ - { name: "recipient", internalType: "address", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amountShares", internalType: "uint256", type: "uint256" } + { name: 'newMaxPerDeposit', internalType: 'uint256', type: 'uint256' }, + { name: 'newMaxTotalDeposits', internalType: 'uint256', type: 'uint256' }, ], - name: "withdraw", + name: 'setTVLLimits', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "event", + type: 'function', + inputs: [{ name: 'user', internalType: 'address', type: 'address' }], + name: 'shares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'amountShares', internalType: 'uint256', type: 'uint256' }, + ], + name: 'sharesToUnderlying', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'amountShares', internalType: 'uint256', type: 'uint256' }, + ], + name: 'sharesToUnderlyingView', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'strategyManager', + outputs: [ + { name: '', internalType: 'contract IStrategyManager', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'totalShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'amountUnderlying', internalType: 'uint256', type: 'uint256' }, + ], + name: 'underlyingToShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'amountUnderlying', internalType: 'uint256', type: 'uint256' }, + ], + name: 'underlyingToSharesView', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'underlyingToken', + outputs: [{ name: '', internalType: 'contract IERC20', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'user', internalType: 'address', type: 'address' }], + name: 'userUnderlying', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'user', internalType: 'address', type: 'address' }], + name: 'userUnderlyingView', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'recipient', internalType: 'address', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amountShares', internalType: 'uint256', type: 'uint256' }, + ], + name: 'withdraw', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'event', anonymous: false, inputs: [ { - name: "rate", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'rate', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "ExchangeRateEmitted" + name: 'ExchangeRateEmitted', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousValue", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'previousValue', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, { - name: "newValue", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newValue', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "MaxPerDepositUpdated" + name: 'MaxPerDepositUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousValue", - internalType: "uint256", - type: "uint256", - indexed: false + name: 'previousValue', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, { - name: "newValue", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newValue', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "MaxTotalDepositsUpdated" + name: 'MaxTotalDepositsUpdated', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "token", - internalType: "contract IERC20", - type: "address", - indexed: false + name: 'token', + internalType: 'contract IERC20', + type: 'address', + indexed: false, }, { - name: "decimals", - internalType: "uint8", - type: "uint8", - indexed: false - } + name: 'decimals', + internalType: 'uint8', + type: 'uint8', + indexed: false, + }, ], - name: "StrategyTokenSet" + name: 'StrategyTokenSet', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "BalanceExceedsMaxTotalDeposits" }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "MaxPerDepositExceedsMax" }, - { type: "error", inputs: [], name: "NewSharesZero" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyStrategyManager" }, - { type: "error", inputs: [], name: "OnlyUnderlyingToken" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, + { type: 'error', inputs: [], name: 'BalanceExceedsMaxTotalDeposits' }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'MaxPerDepositExceedsMax' }, + { type: 'error', inputs: [], name: 'NewSharesZero' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyStrategyManager' }, + { type: 'error', inputs: [], name: 'OnlyUnderlyingToken' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', }, - { type: "error", inputs: [], name: "TotalSharesExceedsMax" }, - { type: "error", inputs: [], name: "WithdrawalAmountExceedsTotalDeposits" } -] as const; + { type: 'error', inputs: [], name: 'TotalSharesExceedsMax' }, + { type: 'error', inputs: [], name: 'WithdrawalAmountExceedsTotalDeposits' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // StrategyManager @@ -8415,558 +8587,578 @@ export const strategyBaseTvlLimitsAbi = [ export const strategyManagerAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_delegation", - internalType: "contract IDelegationManager", - type: "address" + name: '_delegation', + internalType: 'contract IDelegationManager', + type: 'address', }, { - name: "_pauserRegistry", - internalType: "contract IPauserRegistry", - type: "address" + name: '_pauserRegistry', + internalType: 'contract IPauserRegistry', + type: 'address', }, - { name: "_version", internalType: "string", type: "string" } + { name: '_version', internalType: 'string', type: 'string' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "DEFAULT_BURN_ADDRESS", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'DEFAULT_BURN_ADDRESS', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "DEPOSIT_TYPEHASH", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'DEPOSIT_TYPEHASH', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "shares", internalType: "uint256", type: "uint256" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], - name: "addShares", + name: 'addShares', outputs: [ - { name: "", internalType: "uint256", type: "uint256" }, - { name: "", internalType: "uint256", type: "uint256" } + { name: '', internalType: 'uint256', type: 'uint256' }, + { name: '', internalType: 'uint256', type: 'uint256' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "strategiesToWhitelist", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: 'strategiesToWhitelist', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "addStrategiesToDepositWhitelist", + name: 'addStrategiesToDepositWhitelist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "strategy", internalType: "contract IStrategy", type: "address" }], - name: "burnShares", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "nonce", internalType: "uint256", type: "uint256" }, - { name: "expiry", internalType: "uint256", type: "uint256" } + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "calculateStrategyDepositDigestHash", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" + name: 'burnShares', + outputs: [], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + ], + name: 'calculateStrategyDepositDigestHash', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', inputs: [], - name: "delegation", + name: 'delegation', outputs: [ { - name: "", - internalType: "contract IDelegationManager", - type: "address" - } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" } - ], - name: "depositIntoStrategy", - outputs: [{ name: "depositShares", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "amount", internalType: "uint256", type: "uint256" }, - { name: "staker", internalType: "address", type: "address" }, - { name: "expiry", internalType: "uint256", type: "uint256" }, - { name: "signature", internalType: "bytes", type: "bytes" } - ], - name: "depositIntoStrategyWithSignature", - outputs: [{ name: "depositShares", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "domainSeparator", - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "strategy", internalType: "contract IStrategy", type: "address" }], - name: "getBurnableShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "getDeposits", - outputs: [ - { name: "", internalType: "contract IStrategy[]", type: "address[]" }, - { name: "", internalType: "uint256[]", type: "uint256[]" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "getStakerStrategyList", - outputs: [{ name: "", internalType: "contract IStrategy[]", type: "address[]" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "getStrategiesWithBurnableShares", - outputs: [ - { name: "", internalType: "address[]", type: "address[]" }, - { name: "", internalType: "uint256[]", type: "uint256[]" } - ], - stateMutability: "view" - }, - { - type: "function", - inputs: [ - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "addedSharesToBurn", internalType: "uint256", type: "uint256" } - ], - name: "increaseBurnableShares", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [ - { name: "initialOwner", internalType: "address", type: "address" }, - { - name: "initialStrategyWhitelister", - internalType: "address", - type: "address" + name: '', + internalType: 'contract IDelegationManager', + type: 'address', }, - { name: "initialPausedStatus", internalType: "uint256", type: "uint256" } ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "signer", internalType: "address", type: "address" }], - name: "nonces", - outputs: [{ name: "nonce", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "pause", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [], - name: "pauseAll", - outputs: [], - stateMutability: "nonpayable" - }, - { - type: "function", - inputs: [{ name: "index", internalType: "uint8", type: "uint8" }], - name: "paused", - outputs: [{ name: "", internalType: "bool", type: "bool" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "paused", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" - }, - { - type: "function", - inputs: [], - name: "pauserRegistry", - outputs: [{ name: "", internalType: "contract IPauserRegistry", type: "address" }], - stateMutability: "view" - }, - { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { - name: "depositSharesToRemove", - internalType: "uint256", - type: "uint256" - } + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], - name: "removeDepositShares", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "nonpayable" + name: 'depositIntoStrategy', + outputs: [ + { name: 'depositShares', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', + inputs: [ + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'expiry', internalType: 'uint256', type: 'uint256' }, + { name: 'signature', internalType: 'bytes', type: 'bytes' }, + ], + name: 'depositIntoStrategyWithSignature', + outputs: [ + { name: 'depositShares', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'domainSeparator', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'getBurnableShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'getDeposits', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + { name: '', internalType: 'uint256[]', type: 'uint256[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'getStakerStrategyList', + outputs: [ + { name: '', internalType: 'contract IStrategy[]', type: 'address[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'getStrategiesWithBurnableShares', + outputs: [ + { name: '', internalType: 'address[]', type: 'address[]' }, + { name: '', internalType: 'uint256[]', type: 'uint256[]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'addedSharesToBurn', internalType: 'uint256', type: 'uint256' }, + ], + name: 'increaseBurnableShares', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'initialOwner', internalType: 'address', type: 'address' }, + { + name: 'initialStrategyWhitelister', + internalType: 'address', + type: 'address', + }, + { name: 'initialPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'initialize', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], + name: 'nonces', + outputs: [{ name: 'nonce', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'pause', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'pauseAll', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'index', internalType: 'uint8', type: 'uint8' }], + name: 'paused', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'paused', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'pauserRegistry', + outputs: [ + { name: '', internalType: 'contract IPauserRegistry', type: 'address' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { + name: 'depositSharesToRemove', + internalType: 'uint256', + type: 'uint256', + }, + ], + name: 'removeDepositShares', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', inputs: [ { - name: "strategiesToRemoveFromWhitelist", - internalType: "contract IStrategy[]", - type: "address[]" - } + name: 'strategiesToRemoveFromWhitelist', + internalType: 'contract IStrategy[]', + type: 'address[]', + }, ], - name: "removeStrategiesFromDepositWhitelist", + name: 'removeStrategiesFromDepositWhitelist', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ { - name: "newStrategyWhitelister", - internalType: "address", - type: "address" - } + name: 'newStrategyWhitelister', + internalType: 'address', + type: 'address', + }, ], - name: "setStrategyWhitelister", + name: 'setStrategyWhitelister', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, ], - name: "stakerDepositShares", - outputs: [{ name: "shares", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'stakerDepositShares', + outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "", internalType: "uint256", type: "uint256" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: '', internalType: 'uint256', type: 'uint256' }, ], - name: "stakerStrategyList", + name: 'stakerStrategyList', outputs: [ { - name: "strategies", - internalType: "contract IStrategy", - type: "address" - } + name: 'strategies', + internalType: 'contract IStrategy', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "staker", internalType: "address", type: "address" }], - name: "stakerStrategyListLength", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + type: 'function', + inputs: [{ name: 'staker', internalType: 'address', type: 'address' }], + name: 'stakerStrategyListLength', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "strategy", internalType: "contract IStrategy", type: "address" }], - name: "strategyIsWhitelistedForDeposit", - outputs: [{ name: "whitelisted", internalType: "bool", type: "bool" }], - stateMutability: "view" + type: 'function', + inputs: [ + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + ], + name: 'strategyIsWhitelistedForDeposit', + outputs: [{ name: 'whitelisted', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "strategyWhitelister", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'strategyWhitelister', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newPausedStatus", internalType: "uint256", type: "uint256" }], - name: "unpause", + type: 'function', + inputs: [ + { name: 'newPausedStatus', internalType: 'uint256', type: 'uint256' }, + ], + name: 'unpause', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "version", - outputs: [{ name: "", internalType: "string", type: "string" }], - stateMutability: "view" + name: 'version', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ - { name: "staker", internalType: "address", type: "address" }, - { name: "strategy", internalType: "contract IStrategy", type: "address" }, - { name: "token", internalType: "contract IERC20", type: "address" }, - { name: "shares", internalType: "uint256", type: "uint256" } + { name: 'staker', internalType: 'address', type: 'address' }, + { name: 'strategy', internalType: 'contract IStrategy', type: 'address' }, + { name: 'token', internalType: 'contract IERC20', type: 'address' }, + { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], - name: "withdrawSharesAsTokens", + name: 'withdrawSharesAsTokens', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "BurnableSharesDecreased" + name: 'BurnableSharesDecreased', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "BurnableSharesIncreased" + name: 'BurnableSharesIncreased', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "staker", - internalType: "address", - type: "address", - indexed: false + name: 'staker', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, }, { - name: "shares", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'shares', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Deposit" + name: 'Deposit', }, { - type: "event", + type: 'event', anonymous: false, - inputs: [{ name: "version", internalType: "uint8", type: "uint8", indexed: false }], - name: "Initialized" + inputs: [ + { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false }, + ], + name: 'Initialized', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Paused" + name: 'Paused', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - } + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, ], - name: "StrategyAddedToDepositWhitelist" + name: 'StrategyAddedToDepositWhitelist', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "strategy", - internalType: "contract IStrategy", - type: "address", - indexed: false - } + name: 'strategy', + internalType: 'contract IStrategy', + type: 'address', + indexed: false, + }, ], - name: "StrategyRemovedFromDepositWhitelist" + name: 'StrategyRemovedFromDepositWhitelist', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousAddress", - internalType: "address", - type: "address", - indexed: false + name: 'previousAddress', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "newAddress", - internalType: "address", - type: "address", - indexed: false - } + name: 'newAddress', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "StrategyWhitelisterChanged" + name: 'StrategyWhitelisterChanged', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "account", - internalType: "address", - type: "address", - indexed: true + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newPausedStatus", - internalType: "uint256", - type: "uint256", - indexed: false - } + name: 'newPausedStatus', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: "Unpaused" + name: 'Unpaused', }, - { type: "error", inputs: [], name: "CurrentlyPaused" }, - { type: "error", inputs: [], name: "InputAddressZero" }, - { type: "error", inputs: [], name: "InvalidNewPausedStatus" }, - { type: "error", inputs: [], name: "InvalidShortString" }, - { type: "error", inputs: [], name: "InvalidSignature" }, - { type: "error", inputs: [], name: "MaxStrategiesExceeded" }, - { type: "error", inputs: [], name: "OnlyDelegationManager" }, - { type: "error", inputs: [], name: "OnlyPauser" }, - { type: "error", inputs: [], name: "OnlyStrategyWhitelister" }, - { type: "error", inputs: [], name: "OnlyUnpauser" }, - { type: "error", inputs: [], name: "SharesAmountTooHigh" }, - { type: "error", inputs: [], name: "SharesAmountZero" }, - { type: "error", inputs: [], name: "SignatureExpired" }, - { type: "error", inputs: [], name: "StakerAddressZero" }, - { type: "error", inputs: [], name: "StrategyNotFound" }, - { type: "error", inputs: [], name: "StrategyNotWhitelisted" }, + { type: 'error', inputs: [], name: 'CurrentlyPaused' }, + { type: 'error', inputs: [], name: 'InputAddressZero' }, + { type: 'error', inputs: [], name: 'InvalidNewPausedStatus' }, + { type: 'error', inputs: [], name: 'InvalidShortString' }, + { type: 'error', inputs: [], name: 'InvalidSignature' }, + { type: 'error', inputs: [], name: 'MaxStrategiesExceeded' }, + { type: 'error', inputs: [], name: 'OnlyDelegationManager' }, + { type: 'error', inputs: [], name: 'OnlyPauser' }, + { type: 'error', inputs: [], name: 'OnlyStrategyWhitelister' }, + { type: 'error', inputs: [], name: 'OnlyUnpauser' }, + { type: 'error', inputs: [], name: 'SharesAmountTooHigh' }, + { type: 'error', inputs: [], name: 'SharesAmountZero' }, + { type: 'error', inputs: [], name: 'SignatureExpired' }, + { type: 'error', inputs: [], name: 'StakerAddressZero' }, + { type: 'error', inputs: [], name: 'StrategyNotFound' }, + { type: 'error', inputs: [], name: 'StrategyNotWhitelisted' }, { - type: "error", - inputs: [{ name: "str", internalType: "string", type: "string" }], - name: "StringTooLong" - } -] as const; + type: 'error', + inputs: [{ name: 'str', internalType: 'string', type: 'string' }], + name: 'StringTooLong', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // TransparentUpgradeableProxy @@ -8974,62 +9166,62 @@ export const strategyManagerAbi = [ export const transparentUpgradeableProxyAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ - { name: "_logic", internalType: "address", type: "address" }, - { name: "admin_", internalType: "address", type: "address" }, - { name: "_data", internalType: "bytes", type: "bytes" } + { name: '_logic', internalType: 'address', type: 'address' }, + { name: 'admin_', internalType: 'address', type: 'address' }, + { name: '_data', internalType: 'bytes', type: 'bytes' }, ], - stateMutability: "payable" + stateMutability: 'payable', }, - { type: "fallback", stateMutability: "payable" }, - { type: "receive", stateMutability: "payable" }, + { type: 'fallback', stateMutability: 'payable' }, + { type: 'receive', stateMutability: 'payable' }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousAdmin", - internalType: "address", - type: "address", - indexed: false + name: 'previousAdmin', + internalType: 'address', + type: 'address', + indexed: false, }, { - name: "newAdmin", - internalType: "address", - type: "address", - indexed: false - } + name: 'newAdmin', + internalType: 'address', + type: 'address', + indexed: false, + }, ], - name: "AdminChanged" + name: 'AdminChanged', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "beacon", - internalType: "address", - type: "address", - indexed: true - } + name: 'beacon', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "BeaconUpgraded" + name: 'BeaconUpgraded', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "implementation", - internalType: "address", - type: "address", - indexed: true - } + name: 'implementation', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "Upgraded" - } -] as const; + name: 'Upgraded', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // UpgradeableBeacon @@ -9037,78 +9229,82 @@ export const transparentUpgradeableProxyAbi = [ export const upgradeableBeaconAbi = [ { - type: "constructor", - inputs: [{ name: "implementation_", internalType: "address", type: "address" }], - stateMutability: "nonpayable" + type: 'constructor', + inputs: [ + { name: 'implementation_', internalType: 'address', type: 'address' }, + ], + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "implementation", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'implementation', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "owner", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'owner', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], - name: "transferOwnership", + type: 'function', + inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "newImplementation", internalType: "address", type: "address" }], - name: "upgradeTo", + type: 'function', + inputs: [ + { name: 'newImplementation', internalType: 'address', type: 'address' }, + ], + name: 'upgradeTo', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "previousOwner", - internalType: "address", - type: "address", - indexed: true + name: 'previousOwner', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "newOwner", - internalType: "address", - type: "address", - indexed: true - } + name: 'newOwner', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "OwnershipTransferred" + name: 'OwnershipTransferred', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "implementation", - internalType: "address", - type: "address", - indexed: true - } + name: 'implementation', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: "Upgraded" - } -] as const; + name: 'Upgraded', + }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // VetoableSlasher @@ -9116,278 +9312,280 @@ export const upgradeableBeaconAbi = [ export const vetoableSlasherAbi = [ { - type: "constructor", + type: 'constructor', inputs: [ { - name: "_allocationManager", - internalType: "contract IAllocationManager", - type: "address" + name: '_allocationManager', + internalType: 'contract IAllocationManager', + type: 'address', }, { - name: "_serviceManager", - internalType: "contract IServiceManager", - type: "address" + name: '_serviceManager', + internalType: 'contract IServiceManager', + type: 'address', }, - { name: "_vetoCommittee", internalType: "address", type: "address" }, - { name: "_vetoWindowBlocks", internalType: "uint32", type: "uint32" } + { name: '_vetoCommittee', internalType: 'address', type: 'address' }, + { name: '_vetoWindowBlocks', internalType: 'uint32', type: 'uint32' }, ], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "allocationManager", + name: 'allocationManager', outputs: [ { - name: "", - internalType: "contract IAllocationManager", - type: "address" - } + name: '', + internalType: 'contract IAllocationManager', + type: 'address', + }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "requestId", internalType: "uint256", type: "uint256" }], - name: "cancelSlashingRequest", + type: 'function', + inputs: [{ name: 'requestId', internalType: 'uint256', type: 'uint256' }], + name: 'cancelSlashingRequest', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", - inputs: [{ name: "requestId", internalType: "uint256", type: "uint256" }], - name: "fulfilSlashingRequest", + type: 'function', + inputs: [{ name: 'requestId', internalType: 'uint256', type: 'uint256' }], + name: 'fulfilSlashingRequest', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "nextRequestId", - outputs: [{ name: "", internalType: "uint256", type: "uint256" }], - stateMutability: "view" + name: 'nextRequestId', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [ { - name: "params", - internalType: "struct IAllocationManagerTypes.SlashingParams", - type: "tuple", + name: 'params', + internalType: 'struct IAllocationManagerTypes.SlashingParams', + type: 'tuple', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "wadsToSlash", internalType: "uint256[]", type: "uint256[]" }, - { name: "description", internalType: "string", type: "string" } - ] - } + { name: 'wadsToSlash', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], + }, ], - name: "queueSlashingRequest", + name: 'queueSlashingRequest', outputs: [], - stateMutability: "nonpayable" + stateMutability: 'nonpayable', }, { - type: "function", + type: 'function', inputs: [], - name: "serviceManager", - outputs: [{ name: "", internalType: "contract IServiceManager", type: "address" }], - stateMutability: "view" + name: 'serviceManager', + outputs: [ + { name: '', internalType: 'contract IServiceManager', type: 'address' }, + ], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "slasher", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'slasher', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", - inputs: [{ name: "", internalType: "uint256", type: "uint256" }], - name: "slashingRequests", + type: 'function', + inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'slashingRequests', outputs: [ { - name: "params", - internalType: "struct IAllocationManagerTypes.SlashingParams", - type: "tuple", + name: 'params', + internalType: 'struct IAllocationManagerTypes.SlashingParams', + type: 'tuple', components: [ - { name: "operator", internalType: "address", type: "address" }, - { name: "operatorSetId", internalType: "uint32", type: "uint32" }, + { name: 'operator', internalType: 'address', type: 'address' }, + { name: 'operatorSetId', internalType: 'uint32', type: 'uint32' }, { - name: "strategies", - internalType: "contract IStrategy[]", - type: "address[]" + name: 'strategies', + internalType: 'contract IStrategy[]', + type: 'address[]', }, - { name: "wadsToSlash", internalType: "uint256[]", type: "uint256[]" }, - { name: "description", internalType: "string", type: "string" } - ] + { name: 'wadsToSlash', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'description', internalType: 'string', type: 'string' }, + ], }, - { name: "requestBlock", internalType: "uint256", type: "uint256" }, - { name: "isPending", internalType: "bool", type: "bool" } + { name: 'requestBlock', internalType: 'uint256', type: 'uint256' }, + { name: 'isPending', internalType: 'bool', type: 'bool' }, ], - stateMutability: "view" + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "vetoCommittee", - outputs: [{ name: "", internalType: "address", type: "address" }], - stateMutability: "view" + name: 'vetoCommittee', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { - type: "function", + type: 'function', inputs: [], - name: "vetoWindowBlocks", - outputs: [{ name: "", internalType: "uint32", type: "uint32" }], - stateMutability: "view" + name: 'vetoWindowBlocks', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "slashingRequestId", - internalType: "uint256", - type: "uint256", - indexed: true + name: 'slashingRequestId', + internalType: 'uint256', + type: 'uint256', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: true + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: true, }, { - name: "wadsToSlash", - internalType: "uint256[]", - type: "uint256[]", - indexed: false + name: 'wadsToSlash', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, { - name: "description", - internalType: "string", - type: "string", - indexed: false - } + name: 'description', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "OperatorSlashed" + name: 'OperatorSlashed', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "wadsToSlash", - internalType: "uint256[]", - type: "uint256[]", - indexed: false + name: 'wadsToSlash', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, { - name: "description", - internalType: "string", - type: "string", - indexed: false - } + name: 'description', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "SlashingRequestCancelled" + name: 'SlashingRequestCancelled', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "wadsToSlash", - internalType: "uint256[]", - type: "uint256[]", - indexed: false + name: 'wadsToSlash', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, { - name: "description", - internalType: "string", - type: "string", - indexed: false - } + name: 'description', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "SlashingRequestFulfilled" + name: 'SlashingRequestFulfilled', }, { - type: "event", + type: 'event', anonymous: false, inputs: [ { - name: "requestId", - internalType: "uint256", - type: "uint256", - indexed: true + name: 'requestId', + internalType: 'uint256', + type: 'uint256', + indexed: true, }, { - name: "operator", - internalType: "address", - type: "address", - indexed: true + name: 'operator', + internalType: 'address', + type: 'address', + indexed: true, }, { - name: "operatorSetId", - internalType: "uint32", - type: "uint32", - indexed: false + name: 'operatorSetId', + internalType: 'uint32', + type: 'uint32', + indexed: false, }, { - name: "wadsToSlash", - internalType: "uint256[]", - type: "uint256[]", - indexed: false + name: 'wadsToSlash', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, { - name: "description", - internalType: "string", - type: "string", - indexed: false - } + name: 'description', + internalType: 'string', + type: 'string', + indexed: false, + }, ], - name: "SlashingRequested" + name: 'SlashingRequested', }, - { type: "error", inputs: [], name: "OnlySlasher" }, - { type: "error", inputs: [], name: "OnlyVetoCommittee" }, - { type: "error", inputs: [], name: "SlashingRequestIsCancelled" }, - { type: "error", inputs: [], name: "SlashingRequestNotRequested" }, - { type: "error", inputs: [], name: "VetoPeriodNotPassed" }, - { type: "error", inputs: [], name: "VetoPeriodPassed" } -] as const; + { type: 'error', inputs: [], name: 'OnlySlasher' }, + { type: 'error', inputs: [], name: 'OnlyVetoCommittee' }, + { type: 'error', inputs: [], name: 'SlashingRequestIsCancelled' }, + { type: 'error', inputs: [], name: 'SlashingRequestNotRequested' }, + { type: 'error', inputs: [], name: 'VetoPeriodNotPassed' }, + { type: 'error', inputs: [], name: 'VetoPeriodPassed' }, +] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Action @@ -9397,16 +9595,17 @@ export const vetoableSlasherAbi = [ * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ */ export const readAvsDirectory = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi -}); + abi: avsDirectoryAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"OPERATOR_AVS_REGISTRATION_TYPEHASH"` */ -export const readAvsDirectoryOperatorAvsRegistrationTypehash = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi, - functionName: "OPERATOR_AVS_REGISTRATION_TYPEHASH" -}); +export const readAvsDirectoryOperatorAvsRegistrationTypehash = + /*#__PURE__*/ createReadContract({ + abi: avsDirectoryAbi, + functionName: 'OPERATOR_AVS_REGISTRATION_TYPEHASH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"OPERATOR_SET_FORCE_DEREGISTRATION_TYPEHASH"` @@ -9414,24 +9613,26 @@ export const readAvsDirectoryOperatorAvsRegistrationTypehash = /*#__PURE__*/ cre export const readAvsDirectoryOperatorSetForceDeregistrationTypehash = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "OPERATOR_SET_FORCE_DEREGISTRATION_TYPEHASH" - }); + functionName: 'OPERATOR_SET_FORCE_DEREGISTRATION_TYPEHASH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"OPERATOR_SET_REGISTRATION_TYPEHASH"` */ -export const readAvsDirectoryOperatorSetRegistrationTypehash = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi, - functionName: "OPERATOR_SET_REGISTRATION_TYPEHASH" -}); +export const readAvsDirectoryOperatorSetRegistrationTypehash = + /*#__PURE__*/ createReadContract({ + abi: avsDirectoryAbi, + functionName: 'OPERATOR_SET_REGISTRATION_TYPEHASH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"avsOperatorStatus"` */ -export const readAvsDirectoryAvsOperatorStatus = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi, - functionName: "avsOperatorStatus" -}); +export const readAvsDirectoryAvsOperatorStatus = + /*#__PURE__*/ createReadContract({ + abi: avsDirectoryAbi, + functionName: 'avsOperatorStatus', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"calculateOperatorAVSRegistrationDigestHash"` @@ -9439,261 +9640,275 @@ export const readAvsDirectoryAvsOperatorStatus = /*#__PURE__*/ createReadContrac export const readAvsDirectoryCalculateOperatorAvsRegistrationDigestHash = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "calculateOperatorAVSRegistrationDigestHash" - }); + functionName: 'calculateOperatorAVSRegistrationDigestHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"delegation"` */ export const readAvsDirectoryDelegation = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "delegation" -}); + functionName: 'delegation', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"domainSeparator"` */ -export const readAvsDirectoryDomainSeparator = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi, - functionName: "domainSeparator" -}); +export const readAvsDirectoryDomainSeparator = /*#__PURE__*/ createReadContract( + { abi: avsDirectoryAbi, functionName: 'domainSeparator' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"operatorSaltIsSpent"` */ -export const readAvsDirectoryOperatorSaltIsSpent = /*#__PURE__*/ createReadContract({ - abi: avsDirectoryAbi, - functionName: "operatorSaltIsSpent" -}); +export const readAvsDirectoryOperatorSaltIsSpent = + /*#__PURE__*/ createReadContract({ + abi: avsDirectoryAbi, + functionName: 'operatorSaltIsSpent', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"owner"` */ export const readAvsDirectoryOwner = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"paused"` */ export const readAvsDirectoryPaused = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"pauserRegistry"` */ export const readAvsDirectoryPauserRegistry = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "pauserRegistry" -}); + functionName: 'pauserRegistry', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"version"` */ export const readAvsDirectoryVersion = /*#__PURE__*/ createReadContract({ abi: avsDirectoryAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ */ export const writeAvsDirectory = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi -}); + abi: avsDirectoryAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"cancelSalt"` */ export const writeAvsDirectoryCancelSalt = /*#__PURE__*/ createWriteContract({ abi: avsDirectoryAbi, - functionName: "cancelSalt" -}); + functionName: 'cancelSalt', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"deregisterOperatorFromAVS"` */ -export const writeAvsDirectoryDeregisterOperatorFromAvs = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi, - functionName: "deregisterOperatorFromAVS" -}); +export const writeAvsDirectoryDeregisterOperatorFromAvs = + /*#__PURE__*/ createWriteContract({ + abi: avsDirectoryAbi, + functionName: 'deregisterOperatorFromAVS', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"initialize"` */ export const writeAvsDirectoryInitialize = /*#__PURE__*/ createWriteContract({ abi: avsDirectoryAbi, - functionName: "initialize" -}); + functionName: 'initialize', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"pause"` */ export const writeAvsDirectoryPause = /*#__PURE__*/ createWriteContract({ abi: avsDirectoryAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"pauseAll"` */ export const writeAvsDirectoryPauseAll = /*#__PURE__*/ createWriteContract({ abi: avsDirectoryAbi, - functionName: "pauseAll" -}); + functionName: 'pauseAll', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"registerOperatorToAVS"` */ -export const writeAvsDirectoryRegisterOperatorToAvs = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi, - functionName: "registerOperatorToAVS" -}); +export const writeAvsDirectoryRegisterOperatorToAvs = + /*#__PURE__*/ createWriteContract({ + abi: avsDirectoryAbi, + functionName: 'registerOperatorToAVS', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeAvsDirectoryRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi, - functionName: "renounceOwnership" -}); +export const writeAvsDirectoryRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: avsDirectoryAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeAvsDirectoryTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi, - functionName: "transferOwnership" -}); +export const writeAvsDirectoryTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: avsDirectoryAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"unpause"` */ export const writeAvsDirectoryUnpause = /*#__PURE__*/ createWriteContract({ abi: avsDirectoryAbi, - functionName: "unpause" -}); + functionName: 'unpause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"updateAVSMetadataURI"` */ -export const writeAvsDirectoryUpdateAvsMetadataUri = /*#__PURE__*/ createWriteContract({ - abi: avsDirectoryAbi, - functionName: "updateAVSMetadataURI" -}); +export const writeAvsDirectoryUpdateAvsMetadataUri = + /*#__PURE__*/ createWriteContract({ + abi: avsDirectoryAbi, + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ */ export const simulateAvsDirectory = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi -}); + abi: avsDirectoryAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"cancelSalt"` */ -export const simulateAvsDirectoryCancelSalt = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "cancelSalt" -}); +export const simulateAvsDirectoryCancelSalt = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'cancelSalt', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"deregisterOperatorFromAVS"` */ -export const simulateAvsDirectoryDeregisterOperatorFromAvs = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "deregisterOperatorFromAVS" -}); +export const simulateAvsDirectoryDeregisterOperatorFromAvs = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'deregisterOperatorFromAVS', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"initialize"` */ -export const simulateAvsDirectoryInitialize = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "initialize" -}); +export const simulateAvsDirectoryInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"pause"` */ export const simulateAvsDirectoryPause = /*#__PURE__*/ createSimulateContract({ abi: avsDirectoryAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateAvsDirectoryPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "pauseAll" -}); +export const simulateAvsDirectoryPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"registerOperatorToAVS"` */ -export const simulateAvsDirectoryRegisterOperatorToAvs = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "registerOperatorToAVS" -}); +export const simulateAvsDirectoryRegisterOperatorToAvs = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'registerOperatorToAVS', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateAvsDirectoryRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "renounceOwnership" -}); +export const simulateAvsDirectoryRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateAvsDirectoryTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "transferOwnership" -}); +export const simulateAvsDirectoryTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"unpause"` */ -export const simulateAvsDirectoryUnpause = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "unpause" -}); +export const simulateAvsDirectoryUnpause = /*#__PURE__*/ createSimulateContract( + { abi: avsDirectoryAbi, functionName: 'unpause' }, +) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link avsDirectoryAbi}__ and `functionName` set to `"updateAVSMetadataURI"` */ -export const simulateAvsDirectoryUpdateAvsMetadataUri = /*#__PURE__*/ createSimulateContract({ - abi: avsDirectoryAbi, - functionName: "updateAVSMetadataURI" -}); +export const simulateAvsDirectoryUpdateAvsMetadataUri = + /*#__PURE__*/ createSimulateContract({ + abi: avsDirectoryAbi, + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ */ export const watchAvsDirectoryEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi -}); + abi: avsDirectoryAbi, +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"AVSMetadataURIUpdated"` */ -export const watchAvsDirectoryAvsMetadataUriUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi, - eventName: "AVSMetadataURIUpdated" -}); +export const watchAvsDirectoryAvsMetadataUriUpdatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: avsDirectoryAbi, + eventName: 'AVSMetadataURIUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"Initialized"` */ -export const watchAvsDirectoryInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi, - eventName: "Initialized" -}); +export const watchAvsDirectoryInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: avsDirectoryAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"OperatorAVSRegistrationStatusUpdated"` @@ -9701,485 +9916,522 @@ export const watchAvsDirectoryInitializedEvent = /*#__PURE__*/ createWatchContra export const watchAvsDirectoryOperatorAvsRegistrationStatusUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: avsDirectoryAbi, - eventName: "OperatorAVSRegistrationStatusUpdated" - }); + eventName: 'OperatorAVSRegistrationStatusUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"OwnershipTransferred"` */ -export const watchAvsDirectoryOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi, - eventName: "OwnershipTransferred" -}); +export const watchAvsDirectoryOwnershipTransferredEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: avsDirectoryAbi, + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"Paused"` */ -export const watchAvsDirectoryPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi, - eventName: "Paused" -}); +export const watchAvsDirectoryPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: avsDirectoryAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link avsDirectoryAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchAvsDirectoryUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: avsDirectoryAbi, - eventName: "Unpaused" -}); +export const watchAvsDirectoryUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: avsDirectoryAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link agentAbi}__ */ -export const readAgent = /*#__PURE__*/ createReadContract({ abi: agentAbi }); +export const readAgent = /*#__PURE__*/ createReadContract({ abi: agentAbi }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link agentAbi}__ and `functionName` set to `"AGENT_ID"` */ export const readAgentAgentId = /*#__PURE__*/ createReadContract({ abi: agentAbi, - functionName: "AGENT_ID" -}); + functionName: 'AGENT_ID', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link agentAbi}__ and `functionName` set to `"GATEWAY"` */ export const readAgentGateway = /*#__PURE__*/ createReadContract({ abi: agentAbi, - functionName: "GATEWAY" -}); + functionName: 'GATEWAY', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentAbi}__ */ -export const writeAgent = /*#__PURE__*/ createWriteContract({ abi: agentAbi }); +export const writeAgent = /*#__PURE__*/ createWriteContract({ abi: agentAbi }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentAbi}__ and `functionName` set to `"invoke"` */ export const writeAgentInvoke = /*#__PURE__*/ createWriteContract({ abi: agentAbi, - functionName: "invoke" -}); + functionName: 'invoke', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentAbi}__ */ export const simulateAgent = /*#__PURE__*/ createSimulateContract({ - abi: agentAbi -}); + abi: agentAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentAbi}__ and `functionName` set to `"invoke"` */ export const simulateAgentInvoke = /*#__PURE__*/ createSimulateContract({ abi: agentAbi, - functionName: "invoke" -}); + functionName: 'invoke', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentExecutorAbi}__ */ export const writeAgentExecutor = /*#__PURE__*/ createWriteContract({ - abi: agentExecutorAbi -}); + abi: agentExecutorAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"callContract"` */ -export const writeAgentExecutorCallContract = /*#__PURE__*/ createWriteContract({ - abi: agentExecutorAbi, - functionName: "callContract" -}); +export const writeAgentExecutorCallContract = /*#__PURE__*/ createWriteContract( + { abi: agentExecutorAbi, functionName: 'callContract' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"deposit"` */ export const writeAgentExecutorDeposit = /*#__PURE__*/ createWriteContract({ abi: agentExecutorAbi, - functionName: "deposit" -}); + functionName: 'deposit', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"transferEther"` */ -export const writeAgentExecutorTransferEther = /*#__PURE__*/ createWriteContract({ - abi: agentExecutorAbi, - functionName: "transferEther" -}); +export const writeAgentExecutorTransferEther = + /*#__PURE__*/ createWriteContract({ + abi: agentExecutorAbi, + functionName: 'transferEther', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"transferToken"` */ -export const writeAgentExecutorTransferToken = /*#__PURE__*/ createWriteContract({ - abi: agentExecutorAbi, - functionName: "transferToken" -}); +export const writeAgentExecutorTransferToken = + /*#__PURE__*/ createWriteContract({ + abi: agentExecutorAbi, + functionName: 'transferToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentExecutorAbi}__ */ export const simulateAgentExecutor = /*#__PURE__*/ createSimulateContract({ - abi: agentExecutorAbi -}); + abi: agentExecutorAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"callContract"` */ -export const simulateAgentExecutorCallContract = /*#__PURE__*/ createSimulateContract({ - abi: agentExecutorAbi, - functionName: "callContract" -}); +export const simulateAgentExecutorCallContract = + /*#__PURE__*/ createSimulateContract({ + abi: agentExecutorAbi, + functionName: 'callContract', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"deposit"` */ -export const simulateAgentExecutorDeposit = /*#__PURE__*/ createSimulateContract({ - abi: agentExecutorAbi, - functionName: "deposit" -}); +export const simulateAgentExecutorDeposit = + /*#__PURE__*/ createSimulateContract({ + abi: agentExecutorAbi, + functionName: 'deposit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"transferEther"` */ -export const simulateAgentExecutorTransferEther = /*#__PURE__*/ createSimulateContract({ - abi: agentExecutorAbi, - functionName: "transferEther" -}); +export const simulateAgentExecutorTransferEther = + /*#__PURE__*/ createSimulateContract({ + abi: agentExecutorAbi, + functionName: 'transferEther', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link agentExecutorAbi}__ and `functionName` set to `"transferToken"` */ -export const simulateAgentExecutorTransferToken = /*#__PURE__*/ createSimulateContract({ - abi: agentExecutorAbi, - functionName: "transferToken" -}); +export const simulateAgentExecutorTransferToken = + /*#__PURE__*/ createSimulateContract({ + abi: agentExecutorAbi, + functionName: 'transferToken', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ */ export const readAllocationManager = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi -}); + abi: allocationManagerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"ALLOCATION_CONFIGURATION_DELAY"` */ -export const readAllocationManagerAllocationConfigurationDelay = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "ALLOCATION_CONFIGURATION_DELAY" -}); +export const readAllocationManagerAllocationConfigurationDelay = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'ALLOCATION_CONFIGURATION_DELAY', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"DEALLOCATION_DELAY"` */ -export const readAllocationManagerDeallocationDelay = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "DEALLOCATION_DELAY" -}); +export const readAllocationManagerDeallocationDelay = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'DEALLOCATION_DELAY', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"delegation"` */ -export const readAllocationManagerDelegation = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "delegation" -}); +export const readAllocationManagerDelegation = /*#__PURE__*/ createReadContract( + { abi: allocationManagerAbi, functionName: 'delegation' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAVSRegistrar"` */ -export const readAllocationManagerGetAvsRegistrar = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAVSRegistrar" -}); +export const readAllocationManagerGetAvsRegistrar = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAVSRegistrar', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocatableMagnitude"` */ -export const readAllocationManagerGetAllocatableMagnitude = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocatableMagnitude" -}); +export const readAllocationManagerGetAllocatableMagnitude = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocatableMagnitude', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocatedSets"` */ -export const readAllocationManagerGetAllocatedSets = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocatedSets" -}); +export const readAllocationManagerGetAllocatedSets = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocatedSets', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocatedStake"` */ -export const readAllocationManagerGetAllocatedStake = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocatedStake" -}); +export const readAllocationManagerGetAllocatedStake = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocatedStake', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocatedStrategies"` */ -export const readAllocationManagerGetAllocatedStrategies = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocatedStrategies" -}); +export const readAllocationManagerGetAllocatedStrategies = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocatedStrategies', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocation"` */ -export const readAllocationManagerGetAllocation = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocation" -}); +export const readAllocationManagerGetAllocation = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocation', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocationDelay"` */ -export const readAllocationManagerGetAllocationDelay = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocationDelay" -}); +export const readAllocationManagerGetAllocationDelay = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocationDelay', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getAllocations"` */ -export const readAllocationManagerGetAllocations = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getAllocations" -}); +export const readAllocationManagerGetAllocations = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getAllocations', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getEncumberedMagnitude"` */ -export const readAllocationManagerGetEncumberedMagnitude = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getEncumberedMagnitude" -}); +export const readAllocationManagerGetEncumberedMagnitude = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getEncumberedMagnitude', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMaxMagnitude"` */ -export const readAllocationManagerGetMaxMagnitude = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMaxMagnitude" -}); +export const readAllocationManagerGetMaxMagnitude = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getMaxMagnitude', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMaxMagnitudes"` */ -export const readAllocationManagerGetMaxMagnitudes = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMaxMagnitudes" -}); +export const readAllocationManagerGetMaxMagnitudes = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getMaxMagnitudes', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMaxMagnitudesAtBlock"` */ -export const readAllocationManagerGetMaxMagnitudesAtBlock = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMaxMagnitudesAtBlock" -}); +export const readAllocationManagerGetMaxMagnitudesAtBlock = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getMaxMagnitudesAtBlock', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMemberCount"` */ -export const readAllocationManagerGetMemberCount = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMemberCount" -}); +export const readAllocationManagerGetMemberCount = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getMemberCount', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMembers"` */ -export const readAllocationManagerGetMembers = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMembers" -}); +export const readAllocationManagerGetMembers = /*#__PURE__*/ createReadContract( + { abi: allocationManagerAbi, functionName: 'getMembers' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getMinimumSlashableStake"` */ -export const readAllocationManagerGetMinimumSlashableStake = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getMinimumSlashableStake" -}); +export const readAllocationManagerGetMinimumSlashableStake = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getMinimumSlashableStake', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getOperatorSetCount"` */ -export const readAllocationManagerGetOperatorSetCount = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getOperatorSetCount" -}); +export const readAllocationManagerGetOperatorSetCount = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getOperatorSetCount', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getRegisteredSets"` */ -export const readAllocationManagerGetRegisteredSets = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getRegisteredSets" -}); +export const readAllocationManagerGetRegisteredSets = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getRegisteredSets', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getStrategiesInOperatorSet"` */ -export const readAllocationManagerGetStrategiesInOperatorSet = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getStrategiesInOperatorSet" -}); +export const readAllocationManagerGetStrategiesInOperatorSet = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getStrategiesInOperatorSet', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"getStrategyAllocations"` */ -export const readAllocationManagerGetStrategyAllocations = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "getStrategyAllocations" -}); +export const readAllocationManagerGetStrategyAllocations = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'getStrategyAllocations', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"isMemberOfOperatorSet"` */ -export const readAllocationManagerIsMemberOfOperatorSet = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "isMemberOfOperatorSet" -}); +export const readAllocationManagerIsMemberOfOperatorSet = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'isMemberOfOperatorSet', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"isOperatorSet"` */ -export const readAllocationManagerIsOperatorSet = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "isOperatorSet" -}); +export const readAllocationManagerIsOperatorSet = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'isOperatorSet', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"isOperatorSlashable"` */ -export const readAllocationManagerIsOperatorSlashable = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "isOperatorSlashable" -}); +export const readAllocationManagerIsOperatorSlashable = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'isOperatorSlashable', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"owner"` */ export const readAllocationManagerOwner = /*#__PURE__*/ createReadContract({ abi: allocationManagerAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"paused"` */ export const readAllocationManagerPaused = /*#__PURE__*/ createReadContract({ abi: allocationManagerAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readAllocationManagerPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "pauserRegistry" -}); +export const readAllocationManagerPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"permissionController"` */ -export const readAllocationManagerPermissionController = /*#__PURE__*/ createReadContract({ - abi: allocationManagerAbi, - functionName: "permissionController" -}); +export const readAllocationManagerPermissionController = + /*#__PURE__*/ createReadContract({ + abi: allocationManagerAbi, + functionName: 'permissionController', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"version"` */ export const readAllocationManagerVersion = /*#__PURE__*/ createReadContract({ abi: allocationManagerAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ */ export const writeAllocationManager = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi -}); + abi: allocationManagerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"addStrategiesToOperatorSet"` */ -export const writeAllocationManagerAddStrategiesToOperatorSet = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "addStrategiesToOperatorSet" -}); +export const writeAllocationManagerAddStrategiesToOperatorSet = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'addStrategiesToOperatorSet', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"clearDeallocationQueue"` */ -export const writeAllocationManagerClearDeallocationQueue = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "clearDeallocationQueue" -}); +export const writeAllocationManagerClearDeallocationQueue = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'clearDeallocationQueue', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"createOperatorSets"` */ -export const writeAllocationManagerCreateOperatorSets = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "createOperatorSets" -}); +export const writeAllocationManagerCreateOperatorSets = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'createOperatorSets', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"deregisterFromOperatorSets"` */ -export const writeAllocationManagerDeregisterFromOperatorSets = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "deregisterFromOperatorSets" -}); +export const writeAllocationManagerDeregisterFromOperatorSets = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'deregisterFromOperatorSets', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"initialize"` */ -export const writeAllocationManagerInitialize = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "initialize" -}); +export const writeAllocationManagerInitialize = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"modifyAllocations"` */ -export const writeAllocationManagerModifyAllocations = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "modifyAllocations" -}); +export const writeAllocationManagerModifyAllocations = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'modifyAllocations', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"pause"` */ export const writeAllocationManagerPause = /*#__PURE__*/ createWriteContract({ abi: allocationManagerAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const writeAllocationManagerPauseAll = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "pauseAll" -}); +export const writeAllocationManagerPauseAll = /*#__PURE__*/ createWriteContract( + { abi: allocationManagerAbi, functionName: 'pauseAll' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"registerForOperatorSets"` */ -export const writeAllocationManagerRegisterForOperatorSets = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "registerForOperatorSets" -}); +export const writeAllocationManagerRegisterForOperatorSets = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'registerForOperatorSets', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"removeStrategiesFromOperatorSet"` @@ -10187,71 +10439,77 @@ export const writeAllocationManagerRegisterForOperatorSets = /*#__PURE__*/ creat export const writeAllocationManagerRemoveStrategiesFromOperatorSet = /*#__PURE__*/ createWriteContract({ abi: allocationManagerAbi, - functionName: "removeStrategiesFromOperatorSet" - }); + functionName: 'removeStrategiesFromOperatorSet', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeAllocationManagerRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "renounceOwnership" -}); +export const writeAllocationManagerRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"setAVSRegistrar"` */ -export const writeAllocationManagerSetAvsRegistrar = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "setAVSRegistrar" -}); +export const writeAllocationManagerSetAvsRegistrar = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'setAVSRegistrar', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"setAllocationDelay"` */ -export const writeAllocationManagerSetAllocationDelay = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "setAllocationDelay" -}); +export const writeAllocationManagerSetAllocationDelay = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'setAllocationDelay', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"slashOperator"` */ -export const writeAllocationManagerSlashOperator = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "slashOperator" -}); +export const writeAllocationManagerSlashOperator = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'slashOperator', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeAllocationManagerTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "transferOwnership" -}); +export const writeAllocationManagerTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"unpause"` */ export const writeAllocationManagerUnpause = /*#__PURE__*/ createWriteContract({ abi: allocationManagerAbi, - functionName: "unpause" -}); + functionName: 'unpause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"updateAVSMetadataURI"` */ -export const writeAllocationManagerUpdateAvsMetadataUri = /*#__PURE__*/ createWriteContract({ - abi: allocationManagerAbi, - functionName: "updateAVSMetadataURI" -}); +export const writeAllocationManagerUpdateAvsMetadataUri = + /*#__PURE__*/ createWriteContract({ + abi: allocationManagerAbi, + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ */ export const simulateAllocationManager = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi -}); + abi: allocationManagerAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"addStrategiesToOperatorSet"` @@ -10259,26 +10517,26 @@ export const simulateAllocationManager = /*#__PURE__*/ createSimulateContract({ export const simulateAllocationManagerAddStrategiesToOperatorSet = /*#__PURE__*/ createSimulateContract({ abi: allocationManagerAbi, - functionName: "addStrategiesToOperatorSet" - }); + functionName: 'addStrategiesToOperatorSet', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"clearDeallocationQueue"` */ -export const simulateAllocationManagerClearDeallocationQueue = /*#__PURE__*/ createSimulateContract( - { +export const simulateAllocationManagerClearDeallocationQueue = + /*#__PURE__*/ createSimulateContract({ abi: allocationManagerAbi, - functionName: "clearDeallocationQueue" - } -); + functionName: 'clearDeallocationQueue', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"createOperatorSets"` */ -export const simulateAllocationManagerCreateOperatorSets = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "createOperatorSets" -}); +export const simulateAllocationManagerCreateOperatorSets = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'createOperatorSets', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"deregisterFromOperatorSets"` @@ -10286,40 +10544,44 @@ export const simulateAllocationManagerCreateOperatorSets = /*#__PURE__*/ createS export const simulateAllocationManagerDeregisterFromOperatorSets = /*#__PURE__*/ createSimulateContract({ abi: allocationManagerAbi, - functionName: "deregisterFromOperatorSets" - }); + functionName: 'deregisterFromOperatorSets', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"initialize"` */ -export const simulateAllocationManagerInitialize = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "initialize" -}); +export const simulateAllocationManagerInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"modifyAllocations"` */ -export const simulateAllocationManagerModifyAllocations = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "modifyAllocations" -}); +export const simulateAllocationManagerModifyAllocations = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'modifyAllocations', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"pause"` */ -export const simulateAllocationManagerPause = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "pause" -}); +export const simulateAllocationManagerPause = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateAllocationManagerPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "pauseAll" -}); +export const simulateAllocationManagerPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"registerForOperatorSets"` @@ -10327,8 +10589,8 @@ export const simulateAllocationManagerPauseAll = /*#__PURE__*/ createSimulateCon export const simulateAllocationManagerRegisterForOperatorSets = /*#__PURE__*/ createSimulateContract({ abi: allocationManagerAbi, - functionName: "registerForOperatorSets" - }); + functionName: 'registerForOperatorSets', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"removeStrategiesFromOperatorSet"` @@ -10336,71 +10598,77 @@ export const simulateAllocationManagerRegisterForOperatorSets = export const simulateAllocationManagerRemoveStrategiesFromOperatorSet = /*#__PURE__*/ createSimulateContract({ abi: allocationManagerAbi, - functionName: "removeStrategiesFromOperatorSet" - }); + functionName: 'removeStrategiesFromOperatorSet', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateAllocationManagerRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "renounceOwnership" -}); +export const simulateAllocationManagerRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"setAVSRegistrar"` */ -export const simulateAllocationManagerSetAvsRegistrar = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "setAVSRegistrar" -}); +export const simulateAllocationManagerSetAvsRegistrar = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'setAVSRegistrar', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"setAllocationDelay"` */ -export const simulateAllocationManagerSetAllocationDelay = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "setAllocationDelay" -}); +export const simulateAllocationManagerSetAllocationDelay = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'setAllocationDelay', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"slashOperator"` */ -export const simulateAllocationManagerSlashOperator = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "slashOperator" -}); +export const simulateAllocationManagerSlashOperator = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'slashOperator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateAllocationManagerTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "transferOwnership" -}); +export const simulateAllocationManagerTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"unpause"` */ -export const simulateAllocationManagerUnpause = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "unpause" -}); +export const simulateAllocationManagerUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'unpause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link allocationManagerAbi}__ and `functionName` set to `"updateAVSMetadataURI"` */ -export const simulateAllocationManagerUpdateAvsMetadataUri = /*#__PURE__*/ createSimulateContract({ - abi: allocationManagerAbi, - functionName: "updateAVSMetadataURI" -}); +export const simulateAllocationManagerUpdateAvsMetadataUri = + /*#__PURE__*/ createSimulateContract({ + abi: allocationManagerAbi, + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ */ -export const watchAllocationManagerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi -}); +export const watchAllocationManagerEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"AVSMetadataURIUpdated"` @@ -10408,34 +10676,35 @@ export const watchAllocationManagerEvent = /*#__PURE__*/ createWatchContractEven export const watchAllocationManagerAvsMetadataUriUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "AVSMetadataURIUpdated" - }); + eventName: 'AVSMetadataURIUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"AVSRegistrarSet"` */ -export const watchAllocationManagerAvsRegistrarSetEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "AVSRegistrarSet" -}); +export const watchAllocationManagerAvsRegistrarSetEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'AVSRegistrarSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"AllocationDelaySet"` */ -export const watchAllocationManagerAllocationDelaySetEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchAllocationManagerAllocationDelaySetEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "AllocationDelaySet" - } -); + eventName: 'AllocationDelaySet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"AllocationUpdated"` */ -export const watchAllocationManagerAllocationUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "AllocationUpdated" -}); +export const watchAllocationManagerAllocationUpdatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'AllocationUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"EncumberedMagnitudeUpdated"` @@ -10443,16 +10712,17 @@ export const watchAllocationManagerAllocationUpdatedEvent = /*#__PURE__*/ create export const watchAllocationManagerEncumberedMagnitudeUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "EncumberedMagnitudeUpdated" - }); + eventName: 'EncumberedMagnitudeUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchAllocationManagerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "Initialized" -}); +export const watchAllocationManagerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"MaxMagnitudeUpdated"` @@ -10460,8 +10730,8 @@ export const watchAllocationManagerInitializedEvent = /*#__PURE__*/ createWatchC export const watchAllocationManagerMaxMagnitudeUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "MaxMagnitudeUpdated" - }); + eventName: 'MaxMagnitudeUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"OperatorAddedToOperatorSet"` @@ -10469,8 +10739,8 @@ export const watchAllocationManagerMaxMagnitudeUpdatedEvent = export const watchAllocationManagerOperatorAddedToOperatorSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "OperatorAddedToOperatorSet" - }); + eventName: 'OperatorAddedToOperatorSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"OperatorRemovedFromOperatorSet"` @@ -10478,26 +10748,26 @@ export const watchAllocationManagerOperatorAddedToOperatorSetEvent = export const watchAllocationManagerOperatorRemovedFromOperatorSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "OperatorRemovedFromOperatorSet" - }); + eventName: 'OperatorRemovedFromOperatorSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"OperatorSetCreated"` */ -export const watchAllocationManagerOperatorSetCreatedEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchAllocationManagerOperatorSetCreatedEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "OperatorSetCreated" - } -); + eventName: 'OperatorSetCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"OperatorSlashed"` */ -export const watchAllocationManagerOperatorSlashedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "OperatorSlashed" -}); +export const watchAllocationManagerOperatorSlashedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'OperatorSlashed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"OwnershipTransferred"` @@ -10505,16 +10775,17 @@ export const watchAllocationManagerOperatorSlashedEvent = /*#__PURE__*/ createWa export const watchAllocationManagerOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "OwnershipTransferred" - }); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"Paused"` */ -export const watchAllocationManagerPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "Paused" -}); +export const watchAllocationManagerPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"StrategyAddedToOperatorSet"` @@ -10522,8 +10793,8 @@ export const watchAllocationManagerPausedEvent = /*#__PURE__*/ createWatchContra export const watchAllocationManagerStrategyAddedToOperatorSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "StrategyAddedToOperatorSet" - }); + eventName: 'StrategyAddedToOperatorSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"StrategyRemovedFromOperatorSet"` @@ -10531,267 +10802,285 @@ export const watchAllocationManagerStrategyAddedToOperatorSetEvent = export const watchAllocationManagerStrategyRemovedFromOperatorSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: allocationManagerAbi, - eventName: "StrategyRemovedFromOperatorSet" - }); + eventName: 'StrategyRemovedFromOperatorSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link allocationManagerAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchAllocationManagerUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: allocationManagerAbi, - eventName: "Unpaused" -}); +export const watchAllocationManagerUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: allocationManagerAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ */ export const readBeefyClient = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi -}); + abi: beefyClientAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"MMR_ROOT_ID"` */ export const readBeefyClientMmrRootId = /*#__PURE__*/ createReadContract({ abi: beefyClientAbi, - functionName: "MMR_ROOT_ID" -}); + functionName: 'MMR_ROOT_ID', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"createFinalBitfield"` */ -export const readBeefyClientCreateFinalBitfield = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "createFinalBitfield" -}); +export const readBeefyClientCreateFinalBitfield = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'createFinalBitfield', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"createInitialBitfield"` */ -export const readBeefyClientCreateInitialBitfield = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "createInitialBitfield" -}); +export const readBeefyClientCreateInitialBitfield = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'createInitialBitfield', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"currentValidatorSet"` */ -export const readBeefyClientCurrentValidatorSet = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "currentValidatorSet" -}); +export const readBeefyClientCurrentValidatorSet = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'currentValidatorSet', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"latestBeefyBlock"` */ -export const readBeefyClientLatestBeefyBlock = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "latestBeefyBlock" -}); +export const readBeefyClientLatestBeefyBlock = /*#__PURE__*/ createReadContract( + { abi: beefyClientAbi, functionName: 'latestBeefyBlock' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"latestMMRRoot"` */ export const readBeefyClientLatestMmrRoot = /*#__PURE__*/ createReadContract({ abi: beefyClientAbi, - functionName: "latestMMRRoot" -}); + functionName: 'latestMMRRoot', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"minNumRequiredSignatures"` */ -export const readBeefyClientMinNumRequiredSignatures = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "minNumRequiredSignatures" -}); +export const readBeefyClientMinNumRequiredSignatures = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'minNumRequiredSignatures', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"nextValidatorSet"` */ -export const readBeefyClientNextValidatorSet = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "nextValidatorSet" -}); +export const readBeefyClientNextValidatorSet = /*#__PURE__*/ createReadContract( + { abi: beefyClientAbi, functionName: 'nextValidatorSet' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"randaoCommitDelay"` */ -export const readBeefyClientRandaoCommitDelay = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "randaoCommitDelay" -}); +export const readBeefyClientRandaoCommitDelay = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'randaoCommitDelay', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"randaoCommitExpiration"` */ -export const readBeefyClientRandaoCommitExpiration = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "randaoCommitExpiration" -}); +export const readBeefyClientRandaoCommitExpiration = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'randaoCommitExpiration', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"tickets"` */ export const readBeefyClientTickets = /*#__PURE__*/ createReadContract({ abi: beefyClientAbi, - functionName: "tickets" -}); + functionName: 'tickets', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"verifyMMRLeafProof"` */ -export const readBeefyClientVerifyMmrLeafProof = /*#__PURE__*/ createReadContract({ - abi: beefyClientAbi, - functionName: "verifyMMRLeafProof" -}); +export const readBeefyClientVerifyMmrLeafProof = + /*#__PURE__*/ createReadContract({ + abi: beefyClientAbi, + functionName: 'verifyMMRLeafProof', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link beefyClientAbi}__ */ export const writeBeefyClient = /*#__PURE__*/ createWriteContract({ - abi: beefyClientAbi -}); + abi: beefyClientAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"commitPrevRandao"` */ -export const writeBeefyClientCommitPrevRandao = /*#__PURE__*/ createWriteContract({ - abi: beefyClientAbi, - functionName: "commitPrevRandao" -}); +export const writeBeefyClientCommitPrevRandao = + /*#__PURE__*/ createWriteContract({ + abi: beefyClientAbi, + functionName: 'commitPrevRandao', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"submitFinal"` */ export const writeBeefyClientSubmitFinal = /*#__PURE__*/ createWriteContract({ abi: beefyClientAbi, - functionName: "submitFinal" -}); + functionName: 'submitFinal', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"submitInitial"` */ export const writeBeefyClientSubmitInitial = /*#__PURE__*/ createWriteContract({ abi: beefyClientAbi, - functionName: "submitInitial" -}); + functionName: 'submitInitial', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link beefyClientAbi}__ */ export const simulateBeefyClient = /*#__PURE__*/ createSimulateContract({ - abi: beefyClientAbi -}); + abi: beefyClientAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"commitPrevRandao"` */ -export const simulateBeefyClientCommitPrevRandao = /*#__PURE__*/ createSimulateContract({ - abi: beefyClientAbi, - functionName: "commitPrevRandao" -}); +export const simulateBeefyClientCommitPrevRandao = + /*#__PURE__*/ createSimulateContract({ + abi: beefyClientAbi, + functionName: 'commitPrevRandao', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"submitFinal"` */ -export const simulateBeefyClientSubmitFinal = /*#__PURE__*/ createSimulateContract({ - abi: beefyClientAbi, - functionName: "submitFinal" -}); +export const simulateBeefyClientSubmitFinal = + /*#__PURE__*/ createSimulateContract({ + abi: beefyClientAbi, + functionName: 'submitFinal', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link beefyClientAbi}__ and `functionName` set to `"submitInitial"` */ -export const simulateBeefyClientSubmitInitial = /*#__PURE__*/ createSimulateContract({ - abi: beefyClientAbi, - functionName: "submitInitial" -}); +export const simulateBeefyClientSubmitInitial = + /*#__PURE__*/ createSimulateContract({ + abi: beefyClientAbi, + functionName: 'submitInitial', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link beefyClientAbi}__ */ export const watchBeefyClientEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: beefyClientAbi -}); + abi: beefyClientAbi, +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link beefyClientAbi}__ and `eventName` set to `"NewMMRRoot"` */ -export const watchBeefyClientNewMmrRootEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: beefyClientAbi, - eventName: "NewMMRRoot" -}); +export const watchBeefyClientNewMmrRootEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: beefyClientAbi, + eventName: 'NewMMRRoot', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link beefyClientAbi}__ and `eventName` set to `"NewTicket"` */ -export const watchBeefyClientNewTicketEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: beefyClientAbi, - eventName: "NewTicket" -}); +export const watchBeefyClientNewTicketEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: beefyClientAbi, + eventName: 'NewTicket', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ */ export const readDataHavenServiceManager = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi -}); + abi: dataHavenServiceManagerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"BSPS_SET_ID"` */ -export const readDataHavenServiceManagerBspsSetId = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "BSPS_SET_ID" -}); +export const readDataHavenServiceManagerBspsSetId = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'BSPS_SET_ID', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"DATAHAVEN_AVS_METADATA"` */ -export const readDataHavenServiceManagerDatahavenAvsMetadata = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "DATAHAVEN_AVS_METADATA" -}); +export const readDataHavenServiceManagerDatahavenAvsMetadata = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'DATAHAVEN_AVS_METADATA', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"MSPS_SET_ID"` */ -export const readDataHavenServiceManagerMspsSetId = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "MSPS_SET_ID" -}); +export const readDataHavenServiceManagerMspsSetId = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'MSPS_SET_ID', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"VALIDATORS_SET_ID"` */ -export const readDataHavenServiceManagerValidatorsSetId = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "VALIDATORS_SET_ID" -}); +export const readDataHavenServiceManagerValidatorsSetId = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'VALIDATORS_SET_ID', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"avs"` */ export const readDataHavenServiceManagerAvs = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "avs" -}); + functionName: 'avs', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"bspsAllowlist"` */ -export const readDataHavenServiceManagerBspsAllowlist = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "bspsAllowlist" -}); +export const readDataHavenServiceManagerBspsAllowlist = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'bspsAllowlist', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"bspsSupportedStrategies"` */ -export const readDataHavenServiceManagerBspsSupportedStrategies = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "bspsSupportedStrategies" -}); +export const readDataHavenServiceManagerBspsSupportedStrategies = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'bspsSupportedStrategies', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"buildNewValidatorSetMessage"` @@ -10799,8 +11088,8 @@ export const readDataHavenServiceManagerBspsSupportedStrategies = /*#__PURE__*/ export const readDataHavenServiceManagerBuildNewValidatorSetMessage = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "buildNewValidatorSetMessage" - }); + functionName: 'buildNewValidatorSetMessage', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"getOperatorRestakedStrategies"` @@ -10808,34 +11097,35 @@ export const readDataHavenServiceManagerBuildNewValidatorSetMessage = export const readDataHavenServiceManagerGetOperatorRestakedStrategies = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "getOperatorRestakedStrategies" - }); + functionName: 'getOperatorRestakedStrategies', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"getRestakeableStrategies"` */ -export const readDataHavenServiceManagerGetRestakeableStrategies = /*#__PURE__*/ createReadContract( - { +export const readDataHavenServiceManagerGetRestakeableStrategies = + /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "getRestakeableStrategies" - } -); + functionName: 'getRestakeableStrategies', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"mspsAllowlist"` */ -export const readDataHavenServiceManagerMspsAllowlist = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "mspsAllowlist" -}); +export const readDataHavenServiceManagerMspsAllowlist = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'mspsAllowlist', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"mspsSupportedStrategies"` */ -export const readDataHavenServiceManagerMspsSupportedStrategies = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "mspsSupportedStrategies" -}); +export const readDataHavenServiceManagerMspsSupportedStrategies = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'mspsSupportedStrategies', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"operatorSetToRewardsRegistry"` @@ -10843,40 +11133,44 @@ export const readDataHavenServiceManagerMspsSupportedStrategies = /*#__PURE__*/ export const readDataHavenServiceManagerOperatorSetToRewardsRegistry = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "operatorSetToRewardsRegistry" - }); + functionName: 'operatorSetToRewardsRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"owner"` */ -export const readDataHavenServiceManagerOwner = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "owner" -}); +export const readDataHavenServiceManagerOwner = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'owner', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"rewardsInitiator"` */ -export const readDataHavenServiceManagerRewardsInitiator = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "rewardsInitiator" -}); +export const readDataHavenServiceManagerRewardsInitiator = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'rewardsInitiator', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"snowbridgeGateway"` */ -export const readDataHavenServiceManagerSnowbridgeGateway = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "snowbridgeGateway" -}); +export const readDataHavenServiceManagerSnowbridgeGateway = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'snowbridgeGateway', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"supportsAVS"` */ -export const readDataHavenServiceManagerSupportsAvs = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "supportsAVS" -}); +export const readDataHavenServiceManagerSupportsAvs = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'supportsAVS', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"validatorEthAddressToSolochainAddress"` @@ -10884,16 +11178,17 @@ export const readDataHavenServiceManagerSupportsAvs = /*#__PURE__*/ createReadCo export const readDataHavenServiceManagerValidatorEthAddressToSolochainAddress = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "validatorEthAddressToSolochainAddress" - }); + functionName: 'validatorEthAddressToSolochainAddress', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"validatorsAllowlist"` */ -export const readDataHavenServiceManagerValidatorsAllowlist = /*#__PURE__*/ createReadContract({ - abi: dataHavenServiceManagerAbi, - functionName: "validatorsAllowlist" -}); +export const readDataHavenServiceManagerValidatorsAllowlist = + /*#__PURE__*/ createReadContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'validatorsAllowlist', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"validatorsSupportedStrategies"` @@ -10901,39 +11196,42 @@ export const readDataHavenServiceManagerValidatorsAllowlist = /*#__PURE__*/ crea export const readDataHavenServiceManagerValidatorsSupportedStrategies = /*#__PURE__*/ createReadContract({ abi: dataHavenServiceManagerAbi, - functionName: "validatorsSupportedStrategies" - }); + functionName: 'validatorsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ */ export const writeDataHavenServiceManager = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi -}); + abi: dataHavenServiceManagerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addBspToAllowlist"` */ -export const writeDataHavenServiceManagerAddBspToAllowlist = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "addBspToAllowlist" -}); +export const writeDataHavenServiceManagerAddBspToAllowlist = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'addBspToAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addMspToAllowlist"` */ -export const writeDataHavenServiceManagerAddMspToAllowlist = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "addMspToAllowlist" -}); +export const writeDataHavenServiceManagerAddMspToAllowlist = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'addMspToAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addPendingAdmin"` */ -export const writeDataHavenServiceManagerAddPendingAdmin = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "addPendingAdmin" -}); +export const writeDataHavenServiceManagerAddPendingAdmin = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'addPendingAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToBspsSupportedStrategies"` @@ -10941,8 +11239,8 @@ export const writeDataHavenServiceManagerAddPendingAdmin = /*#__PURE__*/ createW export const writeDataHavenServiceManagerAddStrategiesToBspsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToBspsSupportedStrategies" - }); + functionName: 'addStrategiesToBspsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToMspsSupportedStrategies"` @@ -10950,8 +11248,8 @@ export const writeDataHavenServiceManagerAddStrategiesToBspsSupportedStrategies export const writeDataHavenServiceManagerAddStrategiesToMspsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToMspsSupportedStrategies" - }); + functionName: 'addStrategiesToMspsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToOperatorSet"` @@ -10959,8 +11257,8 @@ export const writeDataHavenServiceManagerAddStrategiesToMspsSupportedStrategies export const writeDataHavenServiceManagerAddStrategiesToOperatorSet = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToOperatorSet" - }); + functionName: 'addStrategiesToOperatorSet', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToValidatorsSupportedStrategies"` @@ -10968,8 +11266,8 @@ export const writeDataHavenServiceManagerAddStrategiesToOperatorSet = export const writeDataHavenServiceManagerAddStrategiesToValidatorsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToValidatorsSupportedStrategies" - }); + functionName: 'addStrategiesToValidatorsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addValidatorToAllowlist"` @@ -10977,16 +11275,17 @@ export const writeDataHavenServiceManagerAddStrategiesToValidatorsSupportedStrat export const writeDataHavenServiceManagerAddValidatorToAllowlist = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "addValidatorToAllowlist" - }); + functionName: 'addValidatorToAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"claimOperatorRewards"` */ -export const writeDataHavenServiceManagerClaimOperatorRewards = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "claimOperatorRewards" -}); +export const writeDataHavenServiceManagerClaimOperatorRewards = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'claimOperatorRewards', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createAVSRewardsSubmission"` @@ -10994,8 +11293,8 @@ export const writeDataHavenServiceManagerClaimOperatorRewards = /*#__PURE__*/ cr export const writeDataHavenServiceManagerCreateAvsRewardsSubmission = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "createAVSRewardsSubmission" - }); + functionName: 'createAVSRewardsSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createOperatorDirectedOperatorSetRewardsSubmission"` @@ -11003,24 +11302,26 @@ export const writeDataHavenServiceManagerCreateAvsRewardsSubmission = export const writeDataHavenServiceManagerCreateOperatorDirectedOperatorSetRewardsSubmission = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "createOperatorDirectedOperatorSetRewardsSubmission" - }); + functionName: 'createOperatorDirectedOperatorSetRewardsSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createOperatorSets"` */ -export const writeDataHavenServiceManagerCreateOperatorSets = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "createOperatorSets" -}); +export const writeDataHavenServiceManagerCreateOperatorSets = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'createOperatorSets', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperator"` */ -export const writeDataHavenServiceManagerDeregisterOperator = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperator" -}); +export const writeDataHavenServiceManagerDeregisterOperator = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'deregisterOperator', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperatorFromAVS"` @@ -11028,8 +11329,8 @@ export const writeDataHavenServiceManagerDeregisterOperator = /*#__PURE__*/ crea export const writeDataHavenServiceManagerDeregisterOperatorFromAvs = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperatorFromAVS" - }); + functionName: 'deregisterOperatorFromAVS', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperatorFromOperatorSets"` @@ -11037,92 +11338,98 @@ export const writeDataHavenServiceManagerDeregisterOperatorFromAvs = export const writeDataHavenServiceManagerDeregisterOperatorFromOperatorSets = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperatorFromOperatorSets" - }); + functionName: 'deregisterOperatorFromOperatorSets', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"fulfilSlashingRequest"` */ -export const writeDataHavenServiceManagerFulfilSlashingRequest = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "fulfilSlashingRequest" -}); +export const writeDataHavenServiceManagerFulfilSlashingRequest = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'fulfilSlashingRequest', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"initialise"` */ -export const writeDataHavenServiceManagerInitialise = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "initialise" -}); +export const writeDataHavenServiceManagerInitialise = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'initialise', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"queueSlashingRequest"` */ -export const writeDataHavenServiceManagerQueueSlashingRequest = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "queueSlashingRequest" -}); +export const writeDataHavenServiceManagerQueueSlashingRequest = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'queueSlashingRequest', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"registerOperator"` */ -export const writeDataHavenServiceManagerRegisterOperator = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "registerOperator" -}); +export const writeDataHavenServiceManagerRegisterOperator = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'registerOperator', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"registerOperatorToAVS"` */ -export const writeDataHavenServiceManagerRegisterOperatorToAvs = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "registerOperatorToAVS" -}); +export const writeDataHavenServiceManagerRegisterOperatorToAvs = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'registerOperatorToAVS', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeAdmin"` */ -export const writeDataHavenServiceManagerRemoveAdmin = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "removeAdmin" -}); +export const writeDataHavenServiceManagerRemoveAdmin = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'removeAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeAppointee"` */ -export const writeDataHavenServiceManagerRemoveAppointee = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "removeAppointee" -}); +export const writeDataHavenServiceManagerRemoveAppointee = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'removeAppointee', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeBspFromAllowlist"` */ -export const writeDataHavenServiceManagerRemoveBspFromAllowlist = /*#__PURE__*/ createWriteContract( - { +export const writeDataHavenServiceManagerRemoveBspFromAllowlist = + /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeBspFromAllowlist" - } -); + functionName: 'removeBspFromAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeMspFromAllowlist"` */ -export const writeDataHavenServiceManagerRemoveMspFromAllowlist = /*#__PURE__*/ createWriteContract( - { +export const writeDataHavenServiceManagerRemoveMspFromAllowlist = + /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeMspFromAllowlist" - } -); + functionName: 'removeMspFromAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removePendingAdmin"` */ -export const writeDataHavenServiceManagerRemovePendingAdmin = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "removePendingAdmin" -}); +export const writeDataHavenServiceManagerRemovePendingAdmin = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'removePendingAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromBspsSupportedStrategies"` @@ -11130,8 +11437,8 @@ export const writeDataHavenServiceManagerRemovePendingAdmin = /*#__PURE__*/ crea export const writeDataHavenServiceManagerRemoveStrategiesFromBspsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromBspsSupportedStrategies" - }); + functionName: 'removeStrategiesFromBspsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromMspsSupportedStrategies"` @@ -11139,8 +11446,8 @@ export const writeDataHavenServiceManagerRemoveStrategiesFromBspsSupportedStrate export const writeDataHavenServiceManagerRemoveStrategiesFromMspsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromMspsSupportedStrategies" - }); + functionName: 'removeStrategiesFromMspsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromOperatorSet"` @@ -11148,8 +11455,8 @@ export const writeDataHavenServiceManagerRemoveStrategiesFromMspsSupportedStrate export const writeDataHavenServiceManagerRemoveStrategiesFromOperatorSet = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromOperatorSet" - }); + functionName: 'removeStrategiesFromOperatorSet', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromValidatorsSupportedStrategies"` @@ -11157,8 +11464,8 @@ export const writeDataHavenServiceManagerRemoveStrategiesFromOperatorSet = export const writeDataHavenServiceManagerRemoveStrategiesFromValidatorsSupportedStrategies = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromValidatorsSupportedStrategies" - }); + functionName: 'removeStrategiesFromValidatorsSupportedStrategies', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeValidatorFromAllowlist"` @@ -11166,96 +11473,107 @@ export const writeDataHavenServiceManagerRemoveStrategiesFromValidatorsSupported export const writeDataHavenServiceManagerRemoveValidatorFromAllowlist = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeValidatorFromAllowlist" - }); + functionName: 'removeValidatorFromAllowlist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeDataHavenServiceManagerRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "renounceOwnership" -}); +export const writeDataHavenServiceManagerRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"sendNewValidatorSet"` */ -export const writeDataHavenServiceManagerSendNewValidatorSet = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "sendNewValidatorSet" -}); +export const writeDataHavenServiceManagerSendNewValidatorSet = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'sendNewValidatorSet', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setAppointee"` */ -export const writeDataHavenServiceManagerSetAppointee = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setAppointee" -}); +export const writeDataHavenServiceManagerSetAppointee = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setAppointee', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setClaimerFor"` */ -export const writeDataHavenServiceManagerSetClaimerFor = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setClaimerFor" -}); +export const writeDataHavenServiceManagerSetClaimerFor = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setClaimerFor', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsAgent"` */ -export const writeDataHavenServiceManagerSetRewardsAgent = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setRewardsAgent" -}); +export const writeDataHavenServiceManagerSetRewardsAgent = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setRewardsAgent', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsInitiator"` */ -export const writeDataHavenServiceManagerSetRewardsInitiator = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setRewardsInitiator" -}); +export const writeDataHavenServiceManagerSetRewardsInitiator = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setRewardsInitiator', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsRegistry"` */ -export const writeDataHavenServiceManagerSetRewardsRegistry = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setRewardsRegistry" -}); +export const writeDataHavenServiceManagerSetRewardsRegistry = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setRewardsRegistry', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setSlasher"` */ -export const writeDataHavenServiceManagerSetSlasher = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setSlasher" -}); +export const writeDataHavenServiceManagerSetSlasher = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setSlasher', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setSnowbridgeGateway"` */ -export const writeDataHavenServiceManagerSetSnowbridgeGateway = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setSnowbridgeGateway" -}); +export const writeDataHavenServiceManagerSetSnowbridgeGateway = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setSnowbridgeGateway', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeDataHavenServiceManagerTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "transferOwnership" -}); +export const writeDataHavenServiceManagerTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"updateAVSMetadataURI"` */ -export const writeDataHavenServiceManagerUpdateAvsMetadataUri = /*#__PURE__*/ createWriteContract({ - abi: dataHavenServiceManagerAbi, - functionName: "updateAVSMetadataURI" -}); +export const writeDataHavenServiceManagerUpdateAvsMetadataUri = + /*#__PURE__*/ createWriteContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"updateSolochainAddressForValidator"` @@ -11263,15 +11581,14 @@ export const writeDataHavenServiceManagerUpdateAvsMetadataUri = /*#__PURE__*/ cr export const writeDataHavenServiceManagerUpdateSolochainAddressForValidator = /*#__PURE__*/ createWriteContract({ abi: dataHavenServiceManagerAbi, - functionName: "updateSolochainAddressForValidator" - }); + functionName: 'updateSolochainAddressForValidator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ */ -export const simulateDataHavenServiceManager = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi -}); +export const simulateDataHavenServiceManager = + /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addBspToAllowlist"` @@ -11279,8 +11596,8 @@ export const simulateDataHavenServiceManager = /*#__PURE__*/ createSimulateContr export const simulateDataHavenServiceManagerAddBspToAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addBspToAllowlist" - }); + functionName: 'addBspToAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addMspToAllowlist"` @@ -11288,16 +11605,17 @@ export const simulateDataHavenServiceManagerAddBspToAllowlist = export const simulateDataHavenServiceManagerAddMspToAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addMspToAllowlist" - }); + functionName: 'addMspToAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addPendingAdmin"` */ -export const simulateDataHavenServiceManagerAddPendingAdmin = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "addPendingAdmin" -}); +export const simulateDataHavenServiceManagerAddPendingAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'addPendingAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToBspsSupportedStrategies"` @@ -11305,8 +11623,8 @@ export const simulateDataHavenServiceManagerAddPendingAdmin = /*#__PURE__*/ crea export const simulateDataHavenServiceManagerAddStrategiesToBspsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToBspsSupportedStrategies" - }); + functionName: 'addStrategiesToBspsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToMspsSupportedStrategies"` @@ -11314,8 +11632,8 @@ export const simulateDataHavenServiceManagerAddStrategiesToBspsSupportedStrategi export const simulateDataHavenServiceManagerAddStrategiesToMspsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToMspsSupportedStrategies" - }); + functionName: 'addStrategiesToMspsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToOperatorSet"` @@ -11323,8 +11641,8 @@ export const simulateDataHavenServiceManagerAddStrategiesToMspsSupportedStrategi export const simulateDataHavenServiceManagerAddStrategiesToOperatorSet = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToOperatorSet" - }); + functionName: 'addStrategiesToOperatorSet', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addStrategiesToValidatorsSupportedStrategies"` @@ -11332,8 +11650,8 @@ export const simulateDataHavenServiceManagerAddStrategiesToOperatorSet = export const simulateDataHavenServiceManagerAddStrategiesToValidatorsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addStrategiesToValidatorsSupportedStrategies" - }); + functionName: 'addStrategiesToValidatorsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"addValidatorToAllowlist"` @@ -11341,8 +11659,8 @@ export const simulateDataHavenServiceManagerAddStrategiesToValidatorsSupportedSt export const simulateDataHavenServiceManagerAddValidatorToAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "addValidatorToAllowlist" - }); + functionName: 'addValidatorToAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"claimOperatorRewards"` @@ -11350,8 +11668,8 @@ export const simulateDataHavenServiceManagerAddValidatorToAllowlist = export const simulateDataHavenServiceManagerClaimOperatorRewards = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "claimOperatorRewards" - }); + functionName: 'claimOperatorRewards', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createAVSRewardsSubmission"` @@ -11359,8 +11677,8 @@ export const simulateDataHavenServiceManagerClaimOperatorRewards = export const simulateDataHavenServiceManagerCreateAvsRewardsSubmission = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "createAVSRewardsSubmission" - }); + functionName: 'createAVSRewardsSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createOperatorDirectedOperatorSetRewardsSubmission"` @@ -11368,8 +11686,8 @@ export const simulateDataHavenServiceManagerCreateAvsRewardsSubmission = export const simulateDataHavenServiceManagerCreateOperatorDirectedOperatorSetRewardsSubmission = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "createOperatorDirectedOperatorSetRewardsSubmission" - }); + functionName: 'createOperatorDirectedOperatorSetRewardsSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"createOperatorSets"` @@ -11377,8 +11695,8 @@ export const simulateDataHavenServiceManagerCreateOperatorDirectedOperatorSetRew export const simulateDataHavenServiceManagerCreateOperatorSets = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "createOperatorSets" - }); + functionName: 'createOperatorSets', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperator"` @@ -11386,8 +11704,8 @@ export const simulateDataHavenServiceManagerCreateOperatorSets = export const simulateDataHavenServiceManagerDeregisterOperator = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperator" - }); + functionName: 'deregisterOperator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperatorFromAVS"` @@ -11395,8 +11713,8 @@ export const simulateDataHavenServiceManagerDeregisterOperator = export const simulateDataHavenServiceManagerDeregisterOperatorFromAvs = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperatorFromAVS" - }); + functionName: 'deregisterOperatorFromAVS', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"deregisterOperatorFromOperatorSets"` @@ -11404,8 +11722,8 @@ export const simulateDataHavenServiceManagerDeregisterOperatorFromAvs = export const simulateDataHavenServiceManagerDeregisterOperatorFromOperatorSets = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "deregisterOperatorFromOperatorSets" - }); + functionName: 'deregisterOperatorFromOperatorSets', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"fulfilSlashingRequest"` @@ -11413,16 +11731,17 @@ export const simulateDataHavenServiceManagerDeregisterOperatorFromOperatorSets = export const simulateDataHavenServiceManagerFulfilSlashingRequest = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "fulfilSlashingRequest" - }); + functionName: 'fulfilSlashingRequest', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"initialise"` */ -export const simulateDataHavenServiceManagerInitialise = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "initialise" -}); +export const simulateDataHavenServiceManagerInitialise = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'initialise', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"queueSlashingRequest"` @@ -11430,18 +11749,17 @@ export const simulateDataHavenServiceManagerInitialise = /*#__PURE__*/ createSim export const simulateDataHavenServiceManagerQueueSlashingRequest = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "queueSlashingRequest" - }); + functionName: 'queueSlashingRequest', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"registerOperator"` */ -export const simulateDataHavenServiceManagerRegisterOperator = /*#__PURE__*/ createSimulateContract( - { +export const simulateDataHavenServiceManagerRegisterOperator = + /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "registerOperator" - } -); + functionName: 'registerOperator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"registerOperatorToAVS"` @@ -11449,24 +11767,26 @@ export const simulateDataHavenServiceManagerRegisterOperator = /*#__PURE__*/ cre export const simulateDataHavenServiceManagerRegisterOperatorToAvs = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "registerOperatorToAVS" - }); + functionName: 'registerOperatorToAVS', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeAdmin"` */ -export const simulateDataHavenServiceManagerRemoveAdmin = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "removeAdmin" -}); +export const simulateDataHavenServiceManagerRemoveAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'removeAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeAppointee"` */ -export const simulateDataHavenServiceManagerRemoveAppointee = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "removeAppointee" -}); +export const simulateDataHavenServiceManagerRemoveAppointee = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'removeAppointee', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeBspFromAllowlist"` @@ -11474,8 +11794,8 @@ export const simulateDataHavenServiceManagerRemoveAppointee = /*#__PURE__*/ crea export const simulateDataHavenServiceManagerRemoveBspFromAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeBspFromAllowlist" - }); + functionName: 'removeBspFromAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeMspFromAllowlist"` @@ -11483,8 +11803,8 @@ export const simulateDataHavenServiceManagerRemoveBspFromAllowlist = export const simulateDataHavenServiceManagerRemoveMspFromAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeMspFromAllowlist" - }); + functionName: 'removeMspFromAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removePendingAdmin"` @@ -11492,8 +11812,8 @@ export const simulateDataHavenServiceManagerRemoveMspFromAllowlist = export const simulateDataHavenServiceManagerRemovePendingAdmin = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removePendingAdmin" - }); + functionName: 'removePendingAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromBspsSupportedStrategies"` @@ -11501,8 +11821,8 @@ export const simulateDataHavenServiceManagerRemovePendingAdmin = export const simulateDataHavenServiceManagerRemoveStrategiesFromBspsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromBspsSupportedStrategies" - }); + functionName: 'removeStrategiesFromBspsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromMspsSupportedStrategies"` @@ -11510,8 +11830,8 @@ export const simulateDataHavenServiceManagerRemoveStrategiesFromBspsSupportedStr export const simulateDataHavenServiceManagerRemoveStrategiesFromMspsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromMspsSupportedStrategies" - }); + functionName: 'removeStrategiesFromMspsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromOperatorSet"` @@ -11519,8 +11839,8 @@ export const simulateDataHavenServiceManagerRemoveStrategiesFromMspsSupportedStr export const simulateDataHavenServiceManagerRemoveStrategiesFromOperatorSet = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromOperatorSet" - }); + functionName: 'removeStrategiesFromOperatorSet', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeStrategiesFromValidatorsSupportedStrategies"` @@ -11528,8 +11848,8 @@ export const simulateDataHavenServiceManagerRemoveStrategiesFromOperatorSet = export const simulateDataHavenServiceManagerRemoveStrategiesFromValidatorsSupportedStrategies = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeStrategiesFromValidatorsSupportedStrategies" - }); + functionName: 'removeStrategiesFromValidatorsSupportedStrategies', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"removeValidatorFromAllowlist"` @@ -11537,8 +11857,8 @@ export const simulateDataHavenServiceManagerRemoveStrategiesFromValidatorsSuppor export const simulateDataHavenServiceManagerRemoveValidatorFromAllowlist = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "removeValidatorFromAllowlist" - }); + functionName: 'removeValidatorFromAllowlist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"renounceOwnership"` @@ -11546,8 +11866,8 @@ export const simulateDataHavenServiceManagerRemoveValidatorFromAllowlist = export const simulateDataHavenServiceManagerRenounceOwnership = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "renounceOwnership" - }); + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"sendNewValidatorSet"` @@ -11555,32 +11875,35 @@ export const simulateDataHavenServiceManagerRenounceOwnership = export const simulateDataHavenServiceManagerSendNewValidatorSet = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "sendNewValidatorSet" - }); + functionName: 'sendNewValidatorSet', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setAppointee"` */ -export const simulateDataHavenServiceManagerSetAppointee = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setAppointee" -}); +export const simulateDataHavenServiceManagerSetAppointee = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setAppointee', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setClaimerFor"` */ -export const simulateDataHavenServiceManagerSetClaimerFor = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setClaimerFor" -}); +export const simulateDataHavenServiceManagerSetClaimerFor = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setClaimerFor', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsAgent"` */ -export const simulateDataHavenServiceManagerSetRewardsAgent = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setRewardsAgent" -}); +export const simulateDataHavenServiceManagerSetRewardsAgent = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setRewardsAgent', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsInitiator"` @@ -11588,8 +11911,8 @@ export const simulateDataHavenServiceManagerSetRewardsAgent = /*#__PURE__*/ crea export const simulateDataHavenServiceManagerSetRewardsInitiator = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "setRewardsInitiator" - }); + functionName: 'setRewardsInitiator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setRewardsRegistry"` @@ -11597,16 +11920,17 @@ export const simulateDataHavenServiceManagerSetRewardsInitiator = export const simulateDataHavenServiceManagerSetRewardsRegistry = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "setRewardsRegistry" - }); + functionName: 'setRewardsRegistry', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setSlasher"` */ -export const simulateDataHavenServiceManagerSetSlasher = /*#__PURE__*/ createSimulateContract({ - abi: dataHavenServiceManagerAbi, - functionName: "setSlasher" -}); +export const simulateDataHavenServiceManagerSetSlasher = + /*#__PURE__*/ createSimulateContract({ + abi: dataHavenServiceManagerAbi, + functionName: 'setSlasher', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"setSnowbridgeGateway"` @@ -11614,8 +11938,8 @@ export const simulateDataHavenServiceManagerSetSlasher = /*#__PURE__*/ createSim export const simulateDataHavenServiceManagerSetSnowbridgeGateway = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "setSnowbridgeGateway" - }); + functionName: 'setSnowbridgeGateway', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"transferOwnership"` @@ -11623,8 +11947,8 @@ export const simulateDataHavenServiceManagerSetSnowbridgeGateway = export const simulateDataHavenServiceManagerTransferOwnership = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "transferOwnership" - }); + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"updateAVSMetadataURI"` @@ -11632,8 +11956,8 @@ export const simulateDataHavenServiceManagerTransferOwnership = export const simulateDataHavenServiceManagerUpdateAvsMetadataUri = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "updateAVSMetadataURI" - }); + functionName: 'updateAVSMetadataURI', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `functionName` set to `"updateSolochainAddressForValidator"` @@ -11641,15 +11965,14 @@ export const simulateDataHavenServiceManagerUpdateAvsMetadataUri = export const simulateDataHavenServiceManagerUpdateSolochainAddressForValidator = /*#__PURE__*/ createSimulateContract({ abi: dataHavenServiceManagerAbi, - functionName: "updateSolochainAddressForValidator" - }); + functionName: 'updateSolochainAddressForValidator', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ */ -export const watchDataHavenServiceManagerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: dataHavenServiceManagerAbi -}); +export const watchDataHavenServiceManagerEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"BspAddedToAllowlist"` @@ -11657,8 +11980,8 @@ export const watchDataHavenServiceManagerEvent = /*#__PURE__*/ createWatchContra export const watchDataHavenServiceManagerBspAddedToAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "BspAddedToAllowlist" - }); + eventName: 'BspAddedToAllowlist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"BspRemovedFromAllowlist"` @@ -11666,16 +11989,17 @@ export const watchDataHavenServiceManagerBspAddedToAllowlistEvent = export const watchDataHavenServiceManagerBspRemovedFromAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "BspRemovedFromAllowlist" - }); + eventName: 'BspRemovedFromAllowlist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchDataHavenServiceManagerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: dataHavenServiceManagerAbi, - eventName: "Initialized" -}); +export const watchDataHavenServiceManagerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: dataHavenServiceManagerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"MspAddedToAllowlist"` @@ -11683,8 +12007,8 @@ export const watchDataHavenServiceManagerInitializedEvent = /*#__PURE__*/ create export const watchDataHavenServiceManagerMspAddedToAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "MspAddedToAllowlist" - }); + eventName: 'MspAddedToAllowlist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"MspRemovedFromAllowlist"` @@ -11692,8 +12016,8 @@ export const watchDataHavenServiceManagerMspAddedToAllowlistEvent = export const watchDataHavenServiceManagerMspRemovedFromAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "MspRemovedFromAllowlist" - }); + eventName: 'MspRemovedFromAllowlist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"OperatorDeregistered"` @@ -11701,8 +12025,8 @@ export const watchDataHavenServiceManagerMspRemovedFromAllowlistEvent = export const watchDataHavenServiceManagerOperatorDeregisteredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "OperatorDeregistered" - }); + eventName: 'OperatorDeregistered', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"OperatorRegistered"` @@ -11710,8 +12034,8 @@ export const watchDataHavenServiceManagerOperatorDeregisteredEvent = export const watchDataHavenServiceManagerOperatorRegisteredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "OperatorRegistered" - }); + eventName: 'OperatorRegistered', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"OwnershipTransferred"` @@ -11719,8 +12043,8 @@ export const watchDataHavenServiceManagerOperatorRegisteredEvent = export const watchDataHavenServiceManagerOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "OwnershipTransferred" - }); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"RewardsInitiatorUpdated"` @@ -11728,8 +12052,8 @@ export const watchDataHavenServiceManagerOwnershipTransferredEvent = export const watchDataHavenServiceManagerRewardsInitiatorUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "RewardsInitiatorUpdated" - }); + eventName: 'RewardsInitiatorUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"RewardsRegistrySet"` @@ -11737,8 +12061,8 @@ export const watchDataHavenServiceManagerRewardsInitiatorUpdatedEvent = export const watchDataHavenServiceManagerRewardsRegistrySetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "RewardsRegistrySet" - }); + eventName: 'RewardsRegistrySet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"SnowbridgeGatewaySet"` @@ -11746,8 +12070,8 @@ export const watchDataHavenServiceManagerRewardsRegistrySetEvent = export const watchDataHavenServiceManagerSnowbridgeGatewaySetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "SnowbridgeGatewaySet" - }); + eventName: 'SnowbridgeGatewaySet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"ValidatorAddedToAllowlist"` @@ -11755,8 +12079,8 @@ export const watchDataHavenServiceManagerSnowbridgeGatewaySetEvent = export const watchDataHavenServiceManagerValidatorAddedToAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "ValidatorAddedToAllowlist" - }); + eventName: 'ValidatorAddedToAllowlist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link dataHavenServiceManagerAbi}__ and `eventName` set to `"ValidatorRemovedFromAllowlist"` @@ -11764,39 +12088,42 @@ export const watchDataHavenServiceManagerValidatorAddedToAllowlistEvent = export const watchDataHavenServiceManagerValidatorRemovedFromAllowlistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: dataHavenServiceManagerAbi, - eventName: "ValidatorRemovedFromAllowlist" - }); + eventName: 'ValidatorRemovedFromAllowlist', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ */ export const readDelegationManager = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi -}); + abi: delegationManagerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"DELEGATION_APPROVAL_TYPEHASH"` */ -export const readDelegationManagerDelegationApprovalTypehash = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "DELEGATION_APPROVAL_TYPEHASH" -}); +export const readDelegationManagerDelegationApprovalTypehash = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'DELEGATION_APPROVAL_TYPEHASH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"allocationManager"` */ -export const readDelegationManagerAllocationManager = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "allocationManager" -}); +export const readDelegationManagerAllocationManager = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'allocationManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"beaconChainETHStrategy"` */ -export const readDelegationManagerBeaconChainEthStrategy = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "beaconChainETHStrategy" -}); +export const readDelegationManagerBeaconChainEthStrategy = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'beaconChainETHStrategy', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"calculateDelegationApprovalDigestHash"` @@ -11804,398 +12131,436 @@ export const readDelegationManagerBeaconChainEthStrategy = /*#__PURE__*/ createR export const readDelegationManagerCalculateDelegationApprovalDigestHash = /*#__PURE__*/ createReadContract({ abi: delegationManagerAbi, - functionName: "calculateDelegationApprovalDigestHash" - }); + functionName: 'calculateDelegationApprovalDigestHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"calculateWithdrawalRoot"` */ -export const readDelegationManagerCalculateWithdrawalRoot = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "calculateWithdrawalRoot" -}); +export const readDelegationManagerCalculateWithdrawalRoot = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'calculateWithdrawalRoot', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"convertToDepositShares"` */ -export const readDelegationManagerConvertToDepositShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "convertToDepositShares" -}); +export const readDelegationManagerConvertToDepositShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'convertToDepositShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"cumulativeWithdrawalsQueued"` */ -export const readDelegationManagerCumulativeWithdrawalsQueued = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "cumulativeWithdrawalsQueued" -}); +export const readDelegationManagerCumulativeWithdrawalsQueued = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'cumulativeWithdrawalsQueued', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"delegatedTo"` */ -export const readDelegationManagerDelegatedTo = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "delegatedTo" -}); +export const readDelegationManagerDelegatedTo = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'delegatedTo', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"delegationApprover"` */ -export const readDelegationManagerDelegationApprover = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "delegationApprover" -}); +export const readDelegationManagerDelegationApprover = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'delegationApprover', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"delegationApproverSaltIsSpent"` */ -export const readDelegationManagerDelegationApproverSaltIsSpent = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "delegationApproverSaltIsSpent" -}); +export const readDelegationManagerDelegationApproverSaltIsSpent = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'delegationApproverSaltIsSpent', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"depositScalingFactor"` */ -export const readDelegationManagerDepositScalingFactor = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "depositScalingFactor" -}); +export const readDelegationManagerDepositScalingFactor = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'depositScalingFactor', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"domainSeparator"` */ -export const readDelegationManagerDomainSeparator = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "domainSeparator" -}); +export const readDelegationManagerDomainSeparator = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'domainSeparator', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"eigenPodManager"` */ -export const readDelegationManagerEigenPodManager = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "eigenPodManager" -}); +export const readDelegationManagerEigenPodManager = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'eigenPodManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getDepositedShares"` */ -export const readDelegationManagerGetDepositedShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getDepositedShares" -}); +export const readDelegationManagerGetDepositedShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getDepositedShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getOperatorShares"` */ -export const readDelegationManagerGetOperatorShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getOperatorShares" -}); +export const readDelegationManagerGetOperatorShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getOperatorShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getOperatorsShares"` */ -export const readDelegationManagerGetOperatorsShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getOperatorsShares" -}); +export const readDelegationManagerGetOperatorsShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getOperatorsShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getQueuedWithdrawal"` */ -export const readDelegationManagerGetQueuedWithdrawal = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getQueuedWithdrawal" -}); +export const readDelegationManagerGetQueuedWithdrawal = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getQueuedWithdrawal', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getQueuedWithdrawalRoots"` */ -export const readDelegationManagerGetQueuedWithdrawalRoots = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getQueuedWithdrawalRoots" -}); +export const readDelegationManagerGetQueuedWithdrawalRoots = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getQueuedWithdrawalRoots', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getQueuedWithdrawals"` */ -export const readDelegationManagerGetQueuedWithdrawals = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getQueuedWithdrawals" -}); +export const readDelegationManagerGetQueuedWithdrawals = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getQueuedWithdrawals', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getSlashableSharesInQueue"` */ -export const readDelegationManagerGetSlashableSharesInQueue = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getSlashableSharesInQueue" -}); +export const readDelegationManagerGetSlashableSharesInQueue = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getSlashableSharesInQueue', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"getWithdrawableShares"` */ -export const readDelegationManagerGetWithdrawableShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "getWithdrawableShares" -}); +export const readDelegationManagerGetWithdrawableShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'getWithdrawableShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"isDelegated"` */ -export const readDelegationManagerIsDelegated = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "isDelegated" -}); +export const readDelegationManagerIsDelegated = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'isDelegated', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"isOperator"` */ -export const readDelegationManagerIsOperator = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "isOperator" -}); +export const readDelegationManagerIsOperator = /*#__PURE__*/ createReadContract( + { abi: delegationManagerAbi, functionName: 'isOperator' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"minWithdrawalDelayBlocks"` */ -export const readDelegationManagerMinWithdrawalDelayBlocks = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "minWithdrawalDelayBlocks" -}); +export const readDelegationManagerMinWithdrawalDelayBlocks = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'minWithdrawalDelayBlocks', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"operatorShares"` */ -export const readDelegationManagerOperatorShares = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "operatorShares" -}); +export const readDelegationManagerOperatorShares = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'operatorShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"owner"` */ export const readDelegationManagerOwner = /*#__PURE__*/ createReadContract({ abi: delegationManagerAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"paused"` */ export const readDelegationManagerPaused = /*#__PURE__*/ createReadContract({ abi: delegationManagerAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readDelegationManagerPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "pauserRegistry" -}); +export const readDelegationManagerPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pendingWithdrawals"` */ -export const readDelegationManagerPendingWithdrawals = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "pendingWithdrawals" -}); +export const readDelegationManagerPendingWithdrawals = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'pendingWithdrawals', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"permissionController"` */ -export const readDelegationManagerPermissionController = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "permissionController" -}); +export const readDelegationManagerPermissionController = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'permissionController', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"queuedWithdrawals"` */ -export const readDelegationManagerQueuedWithdrawals = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "queuedWithdrawals" -}); +export const readDelegationManagerQueuedWithdrawals = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'queuedWithdrawals', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"strategyManager"` */ -export const readDelegationManagerStrategyManager = /*#__PURE__*/ createReadContract({ - abi: delegationManagerAbi, - functionName: "strategyManager" -}); +export const readDelegationManagerStrategyManager = + /*#__PURE__*/ createReadContract({ + abi: delegationManagerAbi, + functionName: 'strategyManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"version"` */ export const readDelegationManagerVersion = /*#__PURE__*/ createReadContract({ abi: delegationManagerAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ */ export const writeDelegationManager = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi -}); + abi: delegationManagerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"completeQueuedWithdrawal"` */ -export const writeDelegationManagerCompleteQueuedWithdrawal = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "completeQueuedWithdrawal" -}); +export const writeDelegationManagerCompleteQueuedWithdrawal = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'completeQueuedWithdrawal', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"completeQueuedWithdrawals"` */ -export const writeDelegationManagerCompleteQueuedWithdrawals = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "completeQueuedWithdrawals" -}); +export const writeDelegationManagerCompleteQueuedWithdrawals = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'completeQueuedWithdrawals', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"decreaseDelegatedShares"` */ -export const writeDelegationManagerDecreaseDelegatedShares = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "decreaseDelegatedShares" -}); +export const writeDelegationManagerDecreaseDelegatedShares = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'decreaseDelegatedShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"delegateTo"` */ -export const writeDelegationManagerDelegateTo = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "delegateTo" -}); +export const writeDelegationManagerDelegateTo = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'delegateTo', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"increaseDelegatedShares"` */ -export const writeDelegationManagerIncreaseDelegatedShares = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "increaseDelegatedShares" -}); +export const writeDelegationManagerIncreaseDelegatedShares = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'increaseDelegatedShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"initialize"` */ -export const writeDelegationManagerInitialize = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "initialize" -}); +export const writeDelegationManagerInitialize = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"modifyOperatorDetails"` */ -export const writeDelegationManagerModifyOperatorDetails = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "modifyOperatorDetails" -}); +export const writeDelegationManagerModifyOperatorDetails = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'modifyOperatorDetails', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pause"` */ export const writeDelegationManagerPause = /*#__PURE__*/ createWriteContract({ abi: delegationManagerAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const writeDelegationManagerPauseAll = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "pauseAll" -}); +export const writeDelegationManagerPauseAll = /*#__PURE__*/ createWriteContract( + { abi: delegationManagerAbi, functionName: 'pauseAll' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"queueWithdrawals"` */ -export const writeDelegationManagerQueueWithdrawals = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "queueWithdrawals" -}); +export const writeDelegationManagerQueueWithdrawals = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'queueWithdrawals', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"redelegate"` */ -export const writeDelegationManagerRedelegate = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "redelegate" -}); +export const writeDelegationManagerRedelegate = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'redelegate', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"registerAsOperator"` */ -export const writeDelegationManagerRegisterAsOperator = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "registerAsOperator" -}); +export const writeDelegationManagerRegisterAsOperator = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'registerAsOperator', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeDelegationManagerRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "renounceOwnership" -}); +export const writeDelegationManagerRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"slashOperatorShares"` */ -export const writeDelegationManagerSlashOperatorShares = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "slashOperatorShares" -}); +export const writeDelegationManagerSlashOperatorShares = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'slashOperatorShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeDelegationManagerTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "transferOwnership" -}); +export const writeDelegationManagerTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"undelegate"` */ -export const writeDelegationManagerUndelegate = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "undelegate" -}); +export const writeDelegationManagerUndelegate = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'undelegate', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"unpause"` */ export const writeDelegationManagerUnpause = /*#__PURE__*/ createWriteContract({ abi: delegationManagerAbi, - functionName: "unpause" -}); + functionName: 'unpause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"updateOperatorMetadataURI"` */ -export const writeDelegationManagerUpdateOperatorMetadataUri = /*#__PURE__*/ createWriteContract({ - abi: delegationManagerAbi, - functionName: "updateOperatorMetadataURI" -}); +export const writeDelegationManagerUpdateOperatorMetadataUri = + /*#__PURE__*/ createWriteContract({ + abi: delegationManagerAbi, + functionName: 'updateOperatorMetadataURI', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ */ export const simulateDelegationManager = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi -}); + abi: delegationManagerAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"completeQueuedWithdrawal"` @@ -12203,8 +12568,8 @@ export const simulateDelegationManager = /*#__PURE__*/ createSimulateContract({ export const simulateDelegationManagerCompleteQueuedWithdrawal = /*#__PURE__*/ createSimulateContract({ abi: delegationManagerAbi, - functionName: "completeQueuedWithdrawal" - }); + functionName: 'completeQueuedWithdrawal', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"completeQueuedWithdrawals"` @@ -12212,8 +12577,8 @@ export const simulateDelegationManagerCompleteQueuedWithdrawal = export const simulateDelegationManagerCompleteQueuedWithdrawals = /*#__PURE__*/ createSimulateContract({ abi: delegationManagerAbi, - functionName: "completeQueuedWithdrawals" - }); + functionName: 'completeQueuedWithdrawals', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"decreaseDelegatedShares"` @@ -12221,16 +12586,17 @@ export const simulateDelegationManagerCompleteQueuedWithdrawals = export const simulateDelegationManagerDecreaseDelegatedShares = /*#__PURE__*/ createSimulateContract({ abi: delegationManagerAbi, - functionName: "decreaseDelegatedShares" - }); + functionName: 'decreaseDelegatedShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"delegateTo"` */ -export const simulateDelegationManagerDelegateTo = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "delegateTo" -}); +export const simulateDelegationManagerDelegateTo = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'delegateTo', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"increaseDelegatedShares"` @@ -12238,104 +12604,116 @@ export const simulateDelegationManagerDelegateTo = /*#__PURE__*/ createSimulateC export const simulateDelegationManagerIncreaseDelegatedShares = /*#__PURE__*/ createSimulateContract({ abi: delegationManagerAbi, - functionName: "increaseDelegatedShares" - }); + functionName: 'increaseDelegatedShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"initialize"` */ -export const simulateDelegationManagerInitialize = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "initialize" -}); +export const simulateDelegationManagerInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"modifyOperatorDetails"` */ -export const simulateDelegationManagerModifyOperatorDetails = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "modifyOperatorDetails" -}); +export const simulateDelegationManagerModifyOperatorDetails = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'modifyOperatorDetails', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pause"` */ -export const simulateDelegationManagerPause = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "pause" -}); +export const simulateDelegationManagerPause = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateDelegationManagerPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "pauseAll" -}); +export const simulateDelegationManagerPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"queueWithdrawals"` */ -export const simulateDelegationManagerQueueWithdrawals = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "queueWithdrawals" -}); +export const simulateDelegationManagerQueueWithdrawals = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'queueWithdrawals', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"redelegate"` */ -export const simulateDelegationManagerRedelegate = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "redelegate" -}); +export const simulateDelegationManagerRedelegate = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'redelegate', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"registerAsOperator"` */ -export const simulateDelegationManagerRegisterAsOperator = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "registerAsOperator" -}); +export const simulateDelegationManagerRegisterAsOperator = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'registerAsOperator', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateDelegationManagerRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "renounceOwnership" -}); +export const simulateDelegationManagerRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"slashOperatorShares"` */ -export const simulateDelegationManagerSlashOperatorShares = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "slashOperatorShares" -}); +export const simulateDelegationManagerSlashOperatorShares = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'slashOperatorShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateDelegationManagerTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "transferOwnership" -}); +export const simulateDelegationManagerTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"undelegate"` */ -export const simulateDelegationManagerUndelegate = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "undelegate" -}); +export const simulateDelegationManagerUndelegate = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'undelegate', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"unpause"` */ -export const simulateDelegationManagerUnpause = /*#__PURE__*/ createSimulateContract({ - abi: delegationManagerAbi, - functionName: "unpause" -}); +export const simulateDelegationManagerUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: delegationManagerAbi, + functionName: 'unpause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link delegationManagerAbi}__ and `functionName` set to `"updateOperatorMetadataURI"` @@ -12343,15 +12721,14 @@ export const simulateDelegationManagerUnpause = /*#__PURE__*/ createSimulateCont export const simulateDelegationManagerUpdateOperatorMetadataUri = /*#__PURE__*/ createSimulateContract({ abi: delegationManagerAbi, - functionName: "updateOperatorMetadataURI" - }); + functionName: 'updateOperatorMetadataURI', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ */ -export const watchDelegationManagerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi -}); +export const watchDelegationManagerEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"DelegationApproverUpdated"` @@ -12359,8 +12736,8 @@ export const watchDelegationManagerEvent = /*#__PURE__*/ createWatchContractEven export const watchDelegationManagerDelegationApproverUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "DelegationApproverUpdated" - }); + eventName: 'DelegationApproverUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"DepositScalingFactorUpdated"` @@ -12368,16 +12745,17 @@ export const watchDelegationManagerDelegationApproverUpdatedEvent = export const watchDelegationManagerDepositScalingFactorUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "DepositScalingFactorUpdated" - }); + eventName: 'DepositScalingFactorUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchDelegationManagerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi, - eventName: "Initialized" -}); +export const watchDelegationManagerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: delegationManagerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OperatorMetadataURIUpdated"` @@ -12385,18 +12763,17 @@ export const watchDelegationManagerInitializedEvent = /*#__PURE__*/ createWatchC export const watchDelegationManagerOperatorMetadataUriUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OperatorMetadataURIUpdated" - }); + eventName: 'OperatorMetadataURIUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OperatorRegistered"` */ -export const watchDelegationManagerOperatorRegisteredEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchDelegationManagerOperatorRegisteredEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OperatorRegistered" - } -); + eventName: 'OperatorRegistered', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OperatorSharesDecreased"` @@ -12404,8 +12781,8 @@ export const watchDelegationManagerOperatorRegisteredEvent = /*#__PURE__*/ creat export const watchDelegationManagerOperatorSharesDecreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OperatorSharesDecreased" - }); + eventName: 'OperatorSharesDecreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OperatorSharesIncreased"` @@ -12413,8 +12790,8 @@ export const watchDelegationManagerOperatorSharesDecreasedEvent = export const watchDelegationManagerOperatorSharesIncreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OperatorSharesIncreased" - }); + eventName: 'OperatorSharesIncreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OperatorSharesSlashed"` @@ -12422,8 +12799,8 @@ export const watchDelegationManagerOperatorSharesIncreasedEvent = export const watchDelegationManagerOperatorSharesSlashedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OperatorSharesSlashed" - }); + eventName: 'OperatorSharesSlashed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"OwnershipTransferred"` @@ -12431,16 +12808,17 @@ export const watchDelegationManagerOperatorSharesSlashedEvent = export const watchDelegationManagerOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "OwnershipTransferred" - }); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"Paused"` */ -export const watchDelegationManagerPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi, - eventName: "Paused" -}); +export const watchDelegationManagerPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: delegationManagerAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"SlashingWithdrawalCompleted"` @@ -12448,8 +12826,8 @@ export const watchDelegationManagerPausedEvent = /*#__PURE__*/ createWatchContra export const watchDelegationManagerSlashingWithdrawalCompletedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "SlashingWithdrawalCompleted" - }); + eventName: 'SlashingWithdrawalCompleted', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"SlashingWithdrawalQueued"` @@ -12457,16 +12835,17 @@ export const watchDelegationManagerSlashingWithdrawalCompletedEvent = export const watchDelegationManagerSlashingWithdrawalQueuedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "SlashingWithdrawalQueued" - }); + eventName: 'SlashingWithdrawalQueued', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"StakerDelegated"` */ -export const watchDelegationManagerStakerDelegatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi, - eventName: "StakerDelegated" -}); +export const watchDelegationManagerStakerDelegatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: delegationManagerAbi, + eventName: 'StakerDelegated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"StakerForceUndelegated"` @@ -12474,372 +12853,397 @@ export const watchDelegationManagerStakerDelegatedEvent = /*#__PURE__*/ createWa export const watchDelegationManagerStakerForceUndelegatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: delegationManagerAbi, - eventName: "StakerForceUndelegated" - }); + eventName: 'StakerForceUndelegated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"StakerUndelegated"` */ -export const watchDelegationManagerStakerUndelegatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi, - eventName: "StakerUndelegated" -}); +export const watchDelegationManagerStakerUndelegatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: delegationManagerAbi, + eventName: 'StakerUndelegated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link delegationManagerAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchDelegationManagerUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: delegationManagerAbi, - eventName: "Unpaused" -}); +export const watchDelegationManagerUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: delegationManagerAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ */ export const readEigenPod = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi -}); + abi: eigenPodAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"GENESIS_TIME"` */ export const readEigenPodGenesisTime = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "GENESIS_TIME" -}); + functionName: 'GENESIS_TIME', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"activeValidatorCount"` */ -export const readEigenPodActiveValidatorCount = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "activeValidatorCount" -}); +export const readEigenPodActiveValidatorCount = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'activeValidatorCount', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"checkpointBalanceExitedGwei"` */ -export const readEigenPodCheckpointBalanceExitedGwei = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "checkpointBalanceExitedGwei" -}); +export const readEigenPodCheckpointBalanceExitedGwei = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'checkpointBalanceExitedGwei', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"currentCheckpoint"` */ export const readEigenPodCurrentCheckpoint = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "currentCheckpoint" -}); + functionName: 'currentCheckpoint', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"currentCheckpointTimestamp"` */ -export const readEigenPodCurrentCheckpointTimestamp = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "currentCheckpointTimestamp" -}); +export const readEigenPodCurrentCheckpointTimestamp = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'currentCheckpointTimestamp', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"eigenPodManager"` */ export const readEigenPodEigenPodManager = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "eigenPodManager" -}); + functionName: 'eigenPodManager', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"ethPOS"` */ export const readEigenPodEthPos = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "ethPOS" -}); + functionName: 'ethPOS', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"getParentBlockRoot"` */ export const readEigenPodGetParentBlockRoot = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "getParentBlockRoot" -}); + functionName: 'getParentBlockRoot', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"lastCheckpointTimestamp"` */ -export const readEigenPodLastCheckpointTimestamp = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "lastCheckpointTimestamp" -}); +export const readEigenPodLastCheckpointTimestamp = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'lastCheckpointTimestamp', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"podOwner"` */ export const readEigenPodPodOwner = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "podOwner" -}); + functionName: 'podOwner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"proofSubmitter"` */ export const readEigenPodProofSubmitter = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "proofSubmitter" -}); + functionName: 'proofSubmitter', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"validatorPubkeyHashToInfo"` */ -export const readEigenPodValidatorPubkeyHashToInfo = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "validatorPubkeyHashToInfo" -}); +export const readEigenPodValidatorPubkeyHashToInfo = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'validatorPubkeyHashToInfo', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"validatorPubkeyToInfo"` */ -export const readEigenPodValidatorPubkeyToInfo = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "validatorPubkeyToInfo" -}); +export const readEigenPodValidatorPubkeyToInfo = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'validatorPubkeyToInfo', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"validatorStatus"` */ export const readEigenPodValidatorStatus = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "validatorStatus" -}); + functionName: 'validatorStatus', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"version"` */ export const readEigenPodVersion = /*#__PURE__*/ createReadContract({ abi: eigenPodAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"withdrawableRestakedExecutionLayerGwei"` */ -export const readEigenPodWithdrawableRestakedExecutionLayerGwei = /*#__PURE__*/ createReadContract({ - abi: eigenPodAbi, - functionName: "withdrawableRestakedExecutionLayerGwei" -}); +export const readEigenPodWithdrawableRestakedExecutionLayerGwei = + /*#__PURE__*/ createReadContract({ + abi: eigenPodAbi, + functionName: 'withdrawableRestakedExecutionLayerGwei', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ */ export const writeEigenPod = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi -}); + abi: eigenPodAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"initialize"` */ export const writeEigenPodInitialize = /*#__PURE__*/ createWriteContract({ abi: eigenPodAbi, - functionName: "initialize" -}); + functionName: 'initialize', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"recoverTokens"` */ export const writeEigenPodRecoverTokens = /*#__PURE__*/ createWriteContract({ abi: eigenPodAbi, - functionName: "recoverTokens" -}); + functionName: 'recoverTokens', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"setProofSubmitter"` */ -export const writeEigenPodSetProofSubmitter = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi, - functionName: "setProofSubmitter" -}); +export const writeEigenPodSetProofSubmitter = /*#__PURE__*/ createWriteContract( + { abi: eigenPodAbi, functionName: 'setProofSubmitter' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"stake"` */ export const writeEigenPodStake = /*#__PURE__*/ createWriteContract({ abi: eigenPodAbi, - functionName: "stake" -}); + functionName: 'stake', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"startCheckpoint"` */ export const writeEigenPodStartCheckpoint = /*#__PURE__*/ createWriteContract({ abi: eigenPodAbi, - functionName: "startCheckpoint" -}); + functionName: 'startCheckpoint', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyCheckpointProofs"` */ -export const writeEigenPodVerifyCheckpointProofs = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi, - functionName: "verifyCheckpointProofs" -}); +export const writeEigenPodVerifyCheckpointProofs = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodAbi, + functionName: 'verifyCheckpointProofs', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyStaleBalance"` */ -export const writeEigenPodVerifyStaleBalance = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi, - functionName: "verifyStaleBalance" -}); +export const writeEigenPodVerifyStaleBalance = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodAbi, + functionName: 'verifyStaleBalance', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyWithdrawalCredentials"` */ -export const writeEigenPodVerifyWithdrawalCredentials = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi, - functionName: "verifyWithdrawalCredentials" -}); +export const writeEigenPodVerifyWithdrawalCredentials = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodAbi, + functionName: 'verifyWithdrawalCredentials', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"withdrawRestakedBeaconChainETH"` */ -export const writeEigenPodWithdrawRestakedBeaconChainEth = /*#__PURE__*/ createWriteContract({ - abi: eigenPodAbi, - functionName: "withdrawRestakedBeaconChainETH" -}); +export const writeEigenPodWithdrawRestakedBeaconChainEth = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodAbi, + functionName: 'withdrawRestakedBeaconChainETH', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ */ export const simulateEigenPod = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi -}); + abi: eigenPodAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"initialize"` */ export const simulateEigenPodInitialize = /*#__PURE__*/ createSimulateContract({ abi: eigenPodAbi, - functionName: "initialize" -}); + functionName: 'initialize', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"recoverTokens"` */ -export const simulateEigenPodRecoverTokens = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "recoverTokens" -}); +export const simulateEigenPodRecoverTokens = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'recoverTokens', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"setProofSubmitter"` */ -export const simulateEigenPodSetProofSubmitter = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "setProofSubmitter" -}); +export const simulateEigenPodSetProofSubmitter = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'setProofSubmitter', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"stake"` */ export const simulateEigenPodStake = /*#__PURE__*/ createSimulateContract({ abi: eigenPodAbi, - functionName: "stake" -}); + functionName: 'stake', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"startCheckpoint"` */ -export const simulateEigenPodStartCheckpoint = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "startCheckpoint" -}); +export const simulateEigenPodStartCheckpoint = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'startCheckpoint', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyCheckpointProofs"` */ -export const simulateEigenPodVerifyCheckpointProofs = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "verifyCheckpointProofs" -}); +export const simulateEigenPodVerifyCheckpointProofs = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'verifyCheckpointProofs', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyStaleBalance"` */ -export const simulateEigenPodVerifyStaleBalance = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "verifyStaleBalance" -}); +export const simulateEigenPodVerifyStaleBalance = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'verifyStaleBalance', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"verifyWithdrawalCredentials"` */ -export const simulateEigenPodVerifyWithdrawalCredentials = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "verifyWithdrawalCredentials" -}); +export const simulateEigenPodVerifyWithdrawalCredentials = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'verifyWithdrawalCredentials', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodAbi}__ and `functionName` set to `"withdrawRestakedBeaconChainETH"` */ -export const simulateEigenPodWithdrawRestakedBeaconChainEth = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodAbi, - functionName: "withdrawRestakedBeaconChainETH" -}); +export const simulateEigenPodWithdrawRestakedBeaconChainEth = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodAbi, + functionName: 'withdrawRestakedBeaconChainETH', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ */ export const watchEigenPodEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi -}); + abi: eigenPodAbi, +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"CheckpointCreated"` */ -export const watchEigenPodCheckpointCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "CheckpointCreated" -}); +export const watchEigenPodCheckpointCreatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'CheckpointCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"CheckpointFinalized"` */ -export const watchEigenPodCheckpointFinalizedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "CheckpointFinalized" -}); +export const watchEigenPodCheckpointFinalizedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'CheckpointFinalized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"EigenPodStaked"` */ -export const watchEigenPodEigenPodStakedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "EigenPodStaked" -}); +export const watchEigenPodEigenPodStakedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'EigenPodStaked', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"Initialized"` */ -export const watchEigenPodInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "Initialized" -}); +export const watchEigenPodInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"NonBeaconChainETHReceived"` */ -export const watchEigenPodNonBeaconChainEthReceivedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "NonBeaconChainETHReceived" -}); +export const watchEigenPodNonBeaconChainEthReceivedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'NonBeaconChainETHReceived', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"ProofSubmitterUpdated"` */ -export const watchEigenPodProofSubmitterUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "ProofSubmitterUpdated" -}); +export const watchEigenPodProofSubmitterUpdatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'ProofSubmitterUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"RestakedBeaconChainETHWithdrawn"` @@ -12847,246 +13251,260 @@ export const watchEigenPodProofSubmitterUpdatedEvent = /*#__PURE__*/ createWatch export const watchEigenPodRestakedBeaconChainEthWithdrawnEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodAbi, - eventName: "RestakedBeaconChainETHWithdrawn" - }); + eventName: 'RestakedBeaconChainETHWithdrawn', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"ValidatorBalanceUpdated"` */ -export const watchEigenPodValidatorBalanceUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "ValidatorBalanceUpdated" -}); +export const watchEigenPodValidatorBalanceUpdatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'ValidatorBalanceUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"ValidatorCheckpointed"` */ -export const watchEigenPodValidatorCheckpointedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "ValidatorCheckpointed" -}); +export const watchEigenPodValidatorCheckpointedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'ValidatorCheckpointed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"ValidatorRestaked"` */ -export const watchEigenPodValidatorRestakedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "ValidatorRestaked" -}); +export const watchEigenPodValidatorRestakedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'ValidatorRestaked', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodAbi}__ and `eventName` set to `"ValidatorWithdrawn"` */ -export const watchEigenPodValidatorWithdrawnEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodAbi, - eventName: "ValidatorWithdrawn" -}); +export const watchEigenPodValidatorWithdrawnEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodAbi, + eventName: 'ValidatorWithdrawn', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ */ export const readEigenPodManager = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi -}); + abi: eigenPodManagerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"beaconChainETHStrategy"` */ -export const readEigenPodManagerBeaconChainEthStrategy = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "beaconChainETHStrategy" -}); +export const readEigenPodManagerBeaconChainEthStrategy = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'beaconChainETHStrategy', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"beaconChainSlashingFactor"` */ -export const readEigenPodManagerBeaconChainSlashingFactor = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "beaconChainSlashingFactor" -}); +export const readEigenPodManagerBeaconChainSlashingFactor = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'beaconChainSlashingFactor', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"burnableETHShares"` */ -export const readEigenPodManagerBurnableEthShares = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "burnableETHShares" -}); +export const readEigenPodManagerBurnableEthShares = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'burnableETHShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"delegationManager"` */ -export const readEigenPodManagerDelegationManager = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "delegationManager" -}); +export const readEigenPodManagerDelegationManager = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'delegationManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"eigenPodBeacon"` */ -export const readEigenPodManagerEigenPodBeacon = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "eigenPodBeacon" -}); +export const readEigenPodManagerEigenPodBeacon = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'eigenPodBeacon', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"ethPOS"` */ export const readEigenPodManagerEthPos = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "ethPOS" -}); + functionName: 'ethPOS', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"getPod"` */ export const readEigenPodManagerGetPod = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "getPod" -}); + functionName: 'getPod', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"hasPod"` */ export const readEigenPodManagerHasPod = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "hasPod" -}); + functionName: 'hasPod', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"numPods"` */ export const readEigenPodManagerNumPods = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "numPods" -}); + functionName: 'numPods', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"owner"` */ export const readEigenPodManagerOwner = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"ownerToPod"` */ export const readEigenPodManagerOwnerToPod = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "ownerToPod" -}); + functionName: 'ownerToPod', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"paused"` */ export const readEigenPodManagerPaused = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readEigenPodManagerPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "pauserRegistry" -}); +export const readEigenPodManagerPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pectraForkTimestamp"` */ -export const readEigenPodManagerPectraForkTimestamp = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "pectraForkTimestamp" -}); +export const readEigenPodManagerPectraForkTimestamp = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'pectraForkTimestamp', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"podOwnerDepositShares"` */ -export const readEigenPodManagerPodOwnerDepositShares = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "podOwnerDepositShares" -}); +export const readEigenPodManagerPodOwnerDepositShares = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'podOwnerDepositShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"proofTimestampSetter"` */ -export const readEigenPodManagerProofTimestampSetter = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "proofTimestampSetter" -}); +export const readEigenPodManagerProofTimestampSetter = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'proofTimestampSetter', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"stakerDepositShares"` */ -export const readEigenPodManagerStakerDepositShares = /*#__PURE__*/ createReadContract({ - abi: eigenPodManagerAbi, - functionName: "stakerDepositShares" -}); +export const readEigenPodManagerStakerDepositShares = + /*#__PURE__*/ createReadContract({ + abi: eigenPodManagerAbi, + functionName: 'stakerDepositShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"version"` */ export const readEigenPodManagerVersion = /*#__PURE__*/ createReadContract({ abi: eigenPodManagerAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ */ export const writeEigenPodManager = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi -}); + abi: eigenPodManagerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"addShares"` */ export const writeEigenPodManagerAddShares = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "addShares" -}); + functionName: 'addShares', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"createPod"` */ export const writeEigenPodManagerCreatePod = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "createPod" -}); + functionName: 'createPod', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"increaseBurnableShares"` */ -export const writeEigenPodManagerIncreaseBurnableShares = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "increaseBurnableShares" -}); +export const writeEigenPodManagerIncreaseBurnableShares = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'increaseBurnableShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"initialize"` */ -export const writeEigenPodManagerInitialize = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "initialize" -}); +export const writeEigenPodManagerInitialize = /*#__PURE__*/ createWriteContract( + { abi: eigenPodManagerAbi, functionName: 'initialize' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pause"` */ export const writeEigenPodManagerPause = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pauseAll"` */ export const writeEigenPodManagerPauseAll = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "pauseAll" -}); + functionName: 'pauseAll', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"recordBeaconChainETHBalanceUpdate"` @@ -13094,127 +13512,139 @@ export const writeEigenPodManagerPauseAll = /*#__PURE__*/ createWriteContract({ export const writeEigenPodManagerRecordBeaconChainEthBalanceUpdate = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "recordBeaconChainETHBalanceUpdate" - }); + functionName: 'recordBeaconChainETHBalanceUpdate', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"removeDepositShares"` */ -export const writeEigenPodManagerRemoveDepositShares = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "removeDepositShares" -}); +export const writeEigenPodManagerRemoveDepositShares = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'removeDepositShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeEigenPodManagerRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "renounceOwnership" -}); +export const writeEigenPodManagerRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"setPectraForkTimestamp"` */ -export const writeEigenPodManagerSetPectraForkTimestamp = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "setPectraForkTimestamp" -}); +export const writeEigenPodManagerSetPectraForkTimestamp = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'setPectraForkTimestamp', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"setProofTimestampSetter"` */ -export const writeEigenPodManagerSetProofTimestampSetter = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "setProofTimestampSetter" -}); +export const writeEigenPodManagerSetProofTimestampSetter = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'setProofTimestampSetter', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"stake"` */ export const writeEigenPodManagerStake = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "stake" -}); + functionName: 'stake', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeEigenPodManagerTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "transferOwnership" -}); +export const writeEigenPodManagerTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"unpause"` */ export const writeEigenPodManagerUnpause = /*#__PURE__*/ createWriteContract({ abi: eigenPodManagerAbi, - functionName: "unpause" -}); + functionName: 'unpause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"withdrawSharesAsTokens"` */ -export const writeEigenPodManagerWithdrawSharesAsTokens = /*#__PURE__*/ createWriteContract({ - abi: eigenPodManagerAbi, - functionName: "withdrawSharesAsTokens" -}); +export const writeEigenPodManagerWithdrawSharesAsTokens = + /*#__PURE__*/ createWriteContract({ + abi: eigenPodManagerAbi, + functionName: 'withdrawSharesAsTokens', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ */ export const simulateEigenPodManager = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi -}); + abi: eigenPodManagerAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"addShares"` */ -export const simulateEigenPodManagerAddShares = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "addShares" -}); +export const simulateEigenPodManagerAddShares = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'addShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"createPod"` */ -export const simulateEigenPodManagerCreatePod = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "createPod" -}); +export const simulateEigenPodManagerCreatePod = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'createPod', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"increaseBurnableShares"` */ -export const simulateEigenPodManagerIncreaseBurnableShares = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "increaseBurnableShares" -}); +export const simulateEigenPodManagerIncreaseBurnableShares = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'increaseBurnableShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"initialize"` */ -export const simulateEigenPodManagerInitialize = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "initialize" -}); +export const simulateEigenPodManagerInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pause"` */ -export const simulateEigenPodManagerPause = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "pause" -}); +export const simulateEigenPodManagerPause = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateEigenPodManagerPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "pauseAll" -}); +export const simulateEigenPodManagerPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"recordBeaconChainETHBalanceUpdate"` @@ -13222,79 +13652,87 @@ export const simulateEigenPodManagerPauseAll = /*#__PURE__*/ createSimulateContr export const simulateEigenPodManagerRecordBeaconChainEthBalanceUpdate = /*#__PURE__*/ createSimulateContract({ abi: eigenPodManagerAbi, - functionName: "recordBeaconChainETHBalanceUpdate" - }); + functionName: 'recordBeaconChainETHBalanceUpdate', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"removeDepositShares"` */ -export const simulateEigenPodManagerRemoveDepositShares = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "removeDepositShares" -}); +export const simulateEigenPodManagerRemoveDepositShares = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'removeDepositShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateEigenPodManagerRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "renounceOwnership" -}); +export const simulateEigenPodManagerRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"setPectraForkTimestamp"` */ -export const simulateEigenPodManagerSetPectraForkTimestamp = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "setPectraForkTimestamp" -}); +export const simulateEigenPodManagerSetPectraForkTimestamp = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'setPectraForkTimestamp', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"setProofTimestampSetter"` */ -export const simulateEigenPodManagerSetProofTimestampSetter = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "setProofTimestampSetter" -}); +export const simulateEigenPodManagerSetProofTimestampSetter = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'setProofTimestampSetter', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"stake"` */ -export const simulateEigenPodManagerStake = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "stake" -}); +export const simulateEigenPodManagerStake = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'stake', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateEigenPodManagerTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "transferOwnership" -}); +export const simulateEigenPodManagerTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"unpause"` */ -export const simulateEigenPodManagerUnpause = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "unpause" -}); +export const simulateEigenPodManagerUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'unpause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `functionName` set to `"withdrawSharesAsTokens"` */ -export const simulateEigenPodManagerWithdrawSharesAsTokens = /*#__PURE__*/ createSimulateContract({ - abi: eigenPodManagerAbi, - functionName: "withdrawSharesAsTokens" -}); +export const simulateEigenPodManagerWithdrawSharesAsTokens = + /*#__PURE__*/ createSimulateContract({ + abi: eigenPodManagerAbi, + functionName: 'withdrawSharesAsTokens', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ */ -export const watchEigenPodManagerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi -}); +export const watchEigenPodManagerEvent = /*#__PURE__*/ createWatchContractEvent( + { abi: eigenPodManagerAbi }, +) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"BeaconChainETHDeposited"` @@ -13302,8 +13740,8 @@ export const watchEigenPodManagerEvent = /*#__PURE__*/ createWatchContractEvent( export const watchEigenPodManagerBeaconChainEthDepositedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "BeaconChainETHDeposited" - }); + eventName: 'BeaconChainETHDeposited', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"BeaconChainETHWithdrawalCompleted"` @@ -13311,8 +13749,8 @@ export const watchEigenPodManagerBeaconChainEthDepositedEvent = export const watchEigenPodManagerBeaconChainEthWithdrawalCompletedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "BeaconChainETHWithdrawalCompleted" - }); + eventName: 'BeaconChainETHWithdrawalCompleted', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"BeaconChainSlashingFactorDecreased"` @@ -13320,8 +13758,8 @@ export const watchEigenPodManagerBeaconChainEthWithdrawalCompletedEvent = export const watchEigenPodManagerBeaconChainSlashingFactorDecreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "BeaconChainSlashingFactorDecreased" - }); + eventName: 'BeaconChainSlashingFactorDecreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"BurnableETHSharesIncreased"` @@ -13329,42 +13767,44 @@ export const watchEigenPodManagerBeaconChainSlashingFactorDecreasedEvent = export const watchEigenPodManagerBurnableEthSharesIncreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "BurnableETHSharesIncreased" - }); + eventName: 'BurnableETHSharesIncreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchEigenPodManagerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "Initialized" -}); +export const watchEigenPodManagerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"NewTotalShares"` */ -export const watchEigenPodManagerNewTotalSharesEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "NewTotalShares" -}); +export const watchEigenPodManagerNewTotalSharesEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'NewTotalShares', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"OwnershipTransferred"` */ -export const watchEigenPodManagerOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchEigenPodManagerOwnershipTransferredEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "OwnershipTransferred" - } -); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"Paused"` */ -export const watchEigenPodManagerPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "Paused" -}); +export const watchEigenPodManagerPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"PectraForkTimestampSet"` @@ -13372,24 +13812,26 @@ export const watchEigenPodManagerPausedEvent = /*#__PURE__*/ createWatchContract export const watchEigenPodManagerPectraForkTimestampSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "PectraForkTimestampSet" - }); + eventName: 'PectraForkTimestampSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"PodDeployed"` */ -export const watchEigenPodManagerPodDeployedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "PodDeployed" -}); +export const watchEigenPodManagerPodDeployedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'PodDeployed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"PodSharesUpdated"` */ -export const watchEigenPodManagerPodSharesUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "PodSharesUpdated" -}); +export const watchEigenPodManagerPodSharesUpdatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'PodSharesUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"ProofTimestampSetterSet"` @@ -13397,773 +13839,821 @@ export const watchEigenPodManagerPodSharesUpdatedEvent = /*#__PURE__*/ createWat export const watchEigenPodManagerProofTimestampSetterSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: eigenPodManagerAbi, - eventName: "ProofTimestampSetterSet" - }); + eventName: 'ProofTimestampSetterSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link eigenPodManagerAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchEigenPodManagerUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: eigenPodManagerAbi, - eventName: "Unpaused" -}); +export const watchEigenPodManagerUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: eigenPodManagerAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ */ -export const readGateway = /*#__PURE__*/ createReadContract({ abi: gatewayAbi }); +export const readGateway = /*#__PURE__*/ createReadContract({ abi: gatewayAbi }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"AGENT_EXECUTOR"` */ export const readGatewayAgentExecutor = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "AGENT_EXECUTOR" -}); + functionName: 'AGENT_EXECUTOR', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"BEEFY_CLIENT"` */ export const readGatewayBeefyClient = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "BEEFY_CLIENT" -}); + functionName: 'BEEFY_CLIENT', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"agentOf"` */ export const readGatewayAgentOf = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "agentOf" -}); + functionName: 'agentOf', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"channelNoncesOf"` */ export const readGatewayChannelNoncesOf = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "channelNoncesOf" -}); + functionName: 'channelNoncesOf', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"channelOperatingModeOf"` */ -export const readGatewayChannelOperatingModeOf = /*#__PURE__*/ createReadContract({ - abi: gatewayAbi, - functionName: "channelOperatingModeOf" -}); +export const readGatewayChannelOperatingModeOf = + /*#__PURE__*/ createReadContract({ + abi: gatewayAbi, + functionName: 'channelOperatingModeOf', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"implementation"` */ export const readGatewayImplementation = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "implementation" -}); + functionName: 'implementation', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"isTokenRegistered"` */ export const readGatewayIsTokenRegistered = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "isTokenRegistered" -}); + functionName: 'isTokenRegistered', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"operatingMode"` */ export const readGatewayOperatingMode = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "operatingMode" -}); + functionName: 'operatingMode', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"pricingParameters"` */ export const readGatewayPricingParameters = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "pricingParameters" -}); + functionName: 'pricingParameters', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"queryForeignTokenID"` */ export const readGatewayQueryForeignTokenId = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "queryForeignTokenID" -}); + functionName: 'queryForeignTokenID', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"quoteRegisterTokenFee"` */ -export const readGatewayQuoteRegisterTokenFee = /*#__PURE__*/ createReadContract({ - abi: gatewayAbi, - functionName: "quoteRegisterTokenFee" -}); +export const readGatewayQuoteRegisterTokenFee = + /*#__PURE__*/ createReadContract({ + abi: gatewayAbi, + functionName: 'quoteRegisterTokenFee', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"quoteSendTokenFee"` */ export const readGatewayQuoteSendTokenFee = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "quoteSendTokenFee" -}); + functionName: 'quoteSendTokenFee', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"tokenAddressOf"` */ export const readGatewayTokenAddressOf = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "tokenAddressOf" -}); + functionName: 'tokenAddressOf', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_isDispatched"` */ export const readGatewayV2IsDispatched = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "v2_isDispatched" -}); + functionName: 'v2_isDispatched', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_outboundNonce"` */ export const readGatewayV2OutboundNonce = /*#__PURE__*/ createReadContract({ abi: gatewayAbi, - functionName: "v2_outboundNonce" -}); + functionName: 'v2_outboundNonce', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ */ export const writeGateway = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi -}); + abi: gatewayAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"depositEther"` */ export const writeGatewayDepositEther = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "depositEther" -}); + functionName: 'depositEther', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"initialize"` */ export const writeGatewayInitialize = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "initialize" -}); + functionName: 'initialize', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"registerToken"` */ export const writeGatewayRegisterToken = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "registerToken" -}); + functionName: 'registerToken', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"sendToken"` */ export const writeGatewaySendToken = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "sendToken" -}); + functionName: 'sendToken', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"submitV1"` */ export const writeGatewaySubmitV1 = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "submitV1" -}); + functionName: 'submitV1', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleAgentExecute"` */ -export const writeGatewayV1HandleAgentExecute = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleAgentExecute" -}); +export const writeGatewayV1HandleAgentExecute = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleAgentExecute', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleMintForeignToken"` */ -export const writeGatewayV1HandleMintForeignToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleMintForeignToken" -}); +export const writeGatewayV1HandleMintForeignToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleMintForeignToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleRegisterForeignToken"` */ -export const writeGatewayV1HandleRegisterForeignToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleRegisterForeignToken" -}); +export const writeGatewayV1HandleRegisterForeignToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleRegisterForeignToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetOperatingMode"` */ -export const writeGatewayV1HandleSetOperatingMode = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleSetOperatingMode" -}); +export const writeGatewayV1HandleSetOperatingMode = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetOperatingMode', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetPricingParameters"` */ -export const writeGatewayV1HandleSetPricingParameters = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleSetPricingParameters" -}); +export const writeGatewayV1HandleSetPricingParameters = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetPricingParameters', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetTokenTransferFees"` */ -export const writeGatewayV1HandleSetTokenTransferFees = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleSetTokenTransferFees" -}); +export const writeGatewayV1HandleSetTokenTransferFees = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetTokenTransferFees', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleUnlockNativeToken"` */ -export const writeGatewayV1HandleUnlockNativeToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v1_handleUnlockNativeToken" -}); +export const writeGatewayV1HandleUnlockNativeToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v1_handleUnlockNativeToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleUpgrade"` */ export const writeGatewayV1HandleUpgrade = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v1_handleUpgrade" -}); + functionName: 'v1_handleUpgrade', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_createAgent"` */ export const writeGatewayV2CreateAgent = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v2_createAgent" -}); + functionName: 'v2_createAgent', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleCallContract"` */ -export const writeGatewayV2HandleCallContract = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v2_handleCallContract" -}); +export const writeGatewayV2HandleCallContract = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v2_handleCallContract', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleMintForeignToken"` */ -export const writeGatewayV2HandleMintForeignToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v2_handleMintForeignToken" -}); +export const writeGatewayV2HandleMintForeignToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v2_handleMintForeignToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleRegisterForeignToken"` */ -export const writeGatewayV2HandleRegisterForeignToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v2_handleRegisterForeignToken" -}); +export const writeGatewayV2HandleRegisterForeignToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v2_handleRegisterForeignToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleSetOperatingMode"` */ -export const writeGatewayV2HandleSetOperatingMode = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v2_handleSetOperatingMode" -}); +export const writeGatewayV2HandleSetOperatingMode = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v2_handleSetOperatingMode', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleUnlockNativeToken"` */ -export const writeGatewayV2HandleUnlockNativeToken = /*#__PURE__*/ createWriteContract({ - abi: gatewayAbi, - functionName: "v2_handleUnlockNativeToken" -}); +export const writeGatewayV2HandleUnlockNativeToken = + /*#__PURE__*/ createWriteContract({ + abi: gatewayAbi, + functionName: 'v2_handleUnlockNativeToken', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleUpgrade"` */ export const writeGatewayV2HandleUpgrade = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v2_handleUpgrade" -}); + functionName: 'v2_handleUpgrade', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_registerToken"` */ export const writeGatewayV2RegisterToken = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v2_registerToken" -}); + functionName: 'v2_registerToken', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_sendMessage"` */ export const writeGatewayV2SendMessage = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v2_sendMessage" -}); + functionName: 'v2_sendMessage', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_submit"` */ export const writeGatewayV2Submit = /*#__PURE__*/ createWriteContract({ abi: gatewayAbi, - functionName: "v2_submit" -}); + functionName: 'v2_submit', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ */ export const simulateGateway = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi -}); + abi: gatewayAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"depositEther"` */ -export const simulateGatewayDepositEther = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "depositEther" -}); +export const simulateGatewayDepositEther = /*#__PURE__*/ createSimulateContract( + { abi: gatewayAbi, functionName: 'depositEther' }, +) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"initialize"` */ export const simulateGatewayInitialize = /*#__PURE__*/ createSimulateContract({ abi: gatewayAbi, - functionName: "initialize" -}); + functionName: 'initialize', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"registerToken"` */ -export const simulateGatewayRegisterToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "registerToken" -}); +export const simulateGatewayRegisterToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'registerToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"sendToken"` */ export const simulateGatewaySendToken = /*#__PURE__*/ createSimulateContract({ abi: gatewayAbi, - functionName: "sendToken" -}); + functionName: 'sendToken', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"submitV1"` */ export const simulateGatewaySubmitV1 = /*#__PURE__*/ createSimulateContract({ abi: gatewayAbi, - functionName: "submitV1" -}); + functionName: 'submitV1', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleAgentExecute"` */ -export const simulateGatewayV1HandleAgentExecute = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleAgentExecute" -}); +export const simulateGatewayV1HandleAgentExecute = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleAgentExecute', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleMintForeignToken"` */ -export const simulateGatewayV1HandleMintForeignToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleMintForeignToken" -}); +export const simulateGatewayV1HandleMintForeignToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleMintForeignToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleRegisterForeignToken"` */ -export const simulateGatewayV1HandleRegisterForeignToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleRegisterForeignToken" -}); +export const simulateGatewayV1HandleRegisterForeignToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleRegisterForeignToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetOperatingMode"` */ -export const simulateGatewayV1HandleSetOperatingMode = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleSetOperatingMode" -}); +export const simulateGatewayV1HandleSetOperatingMode = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetOperatingMode', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetPricingParameters"` */ -export const simulateGatewayV1HandleSetPricingParameters = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleSetPricingParameters" -}); +export const simulateGatewayV1HandleSetPricingParameters = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetPricingParameters', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleSetTokenTransferFees"` */ -export const simulateGatewayV1HandleSetTokenTransferFees = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleSetTokenTransferFees" -}); +export const simulateGatewayV1HandleSetTokenTransferFees = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleSetTokenTransferFees', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleUnlockNativeToken"` */ -export const simulateGatewayV1HandleUnlockNativeToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleUnlockNativeToken" -}); +export const simulateGatewayV1HandleUnlockNativeToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleUnlockNativeToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v1_handleUpgrade"` */ -export const simulateGatewayV1HandleUpgrade = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v1_handleUpgrade" -}); +export const simulateGatewayV1HandleUpgrade = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v1_handleUpgrade', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_createAgent"` */ -export const simulateGatewayV2CreateAgent = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_createAgent" -}); +export const simulateGatewayV2CreateAgent = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_createAgent', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleCallContract"` */ -export const simulateGatewayV2HandleCallContract = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleCallContract" -}); +export const simulateGatewayV2HandleCallContract = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleCallContract', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleMintForeignToken"` */ -export const simulateGatewayV2HandleMintForeignToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleMintForeignToken" -}); +export const simulateGatewayV2HandleMintForeignToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleMintForeignToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleRegisterForeignToken"` */ -export const simulateGatewayV2HandleRegisterForeignToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleRegisterForeignToken" -}); +export const simulateGatewayV2HandleRegisterForeignToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleRegisterForeignToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleSetOperatingMode"` */ -export const simulateGatewayV2HandleSetOperatingMode = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleSetOperatingMode" -}); +export const simulateGatewayV2HandleSetOperatingMode = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleSetOperatingMode', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleUnlockNativeToken"` */ -export const simulateGatewayV2HandleUnlockNativeToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleUnlockNativeToken" -}); +export const simulateGatewayV2HandleUnlockNativeToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleUnlockNativeToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_handleUpgrade"` */ -export const simulateGatewayV2HandleUpgrade = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_handleUpgrade" -}); +export const simulateGatewayV2HandleUpgrade = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_handleUpgrade', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_registerToken"` */ -export const simulateGatewayV2RegisterToken = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_registerToken" -}); +export const simulateGatewayV2RegisterToken = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_registerToken', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_sendMessage"` */ -export const simulateGatewayV2SendMessage = /*#__PURE__*/ createSimulateContract({ - abi: gatewayAbi, - functionName: "v2_sendMessage" -}); +export const simulateGatewayV2SendMessage = + /*#__PURE__*/ createSimulateContract({ + abi: gatewayAbi, + functionName: 'v2_sendMessage', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link gatewayAbi}__ and `functionName` set to `"v2_submit"` */ export const simulateGatewayV2Submit = /*#__PURE__*/ createSimulateContract({ abi: gatewayAbi, - functionName: "v2_submit" -}); + functionName: 'v2_submit', +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ */ export const watchGatewayEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi -}); + abi: gatewayAbi, +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"AgentCreated"` */ -export const watchGatewayAgentCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "AgentCreated" -}); +export const watchGatewayAgentCreatedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'AgentCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"AgentFundsWithdrawn"` */ -export const watchGatewayAgentFundsWithdrawnEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "AgentFundsWithdrawn" -}); +export const watchGatewayAgentFundsWithdrawnEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'AgentFundsWithdrawn', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"Deposited"` */ -export const watchGatewayDepositedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "Deposited" -}); +export const watchGatewayDepositedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'Deposited', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"ForeignTokenRegistered"` */ -export const watchGatewayForeignTokenRegisteredEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "ForeignTokenRegistered" -}); +export const watchGatewayForeignTokenRegisteredEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'ForeignTokenRegistered', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"InboundMessageDispatched"` */ -export const watchGatewayInboundMessageDispatchedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "InboundMessageDispatched" -}); +export const watchGatewayInboundMessageDispatchedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'InboundMessageDispatched', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"OperatingModeChanged"` */ -export const watchGatewayOperatingModeChangedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "OperatingModeChanged" -}); +export const watchGatewayOperatingModeChangedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'OperatingModeChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"OutboundMessageAccepted"` */ -export const watchGatewayOutboundMessageAcceptedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "OutboundMessageAccepted" -}); +export const watchGatewayOutboundMessageAcceptedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'OutboundMessageAccepted', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"PricingParametersChanged"` */ -export const watchGatewayPricingParametersChangedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "PricingParametersChanged" -}); +export const watchGatewayPricingParametersChangedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'PricingParametersChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"TokenRegistrationSent"` */ -export const watchGatewayTokenRegistrationSentEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "TokenRegistrationSent" -}); +export const watchGatewayTokenRegistrationSentEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'TokenRegistrationSent', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"TokenSent"` */ -export const watchGatewayTokenSentEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "TokenSent" -}); +export const watchGatewayTokenSentEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'TokenSent', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"TokenTransferFeesChanged"` */ -export const watchGatewayTokenTransferFeesChangedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "TokenTransferFeesChanged" -}); +export const watchGatewayTokenTransferFeesChangedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'TokenTransferFeesChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"Upgraded"` */ -export const watchGatewayUpgradedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: gatewayAbi, - eventName: "Upgraded" -}); +export const watchGatewayUpgradedEvent = /*#__PURE__*/ createWatchContractEvent( + { abi: gatewayAbi, eventName: 'Upgraded' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iethposDepositAbi}__ */ export const readIethposDeposit = /*#__PURE__*/ createReadContract({ - abi: iethposDepositAbi -}); + abi: iethposDepositAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iethposDepositAbi}__ and `functionName` set to `"get_deposit_count"` */ -export const readIethposDepositGetDepositCount = /*#__PURE__*/ createReadContract({ - abi: iethposDepositAbi, - functionName: "get_deposit_count" -}); +export const readIethposDepositGetDepositCount = + /*#__PURE__*/ createReadContract({ + abi: iethposDepositAbi, + functionName: 'get_deposit_count', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iethposDepositAbi}__ and `functionName` set to `"get_deposit_root"` */ -export const readIethposDepositGetDepositRoot = /*#__PURE__*/ createReadContract({ - abi: iethposDepositAbi, - functionName: "get_deposit_root" -}); +export const readIethposDepositGetDepositRoot = + /*#__PURE__*/ createReadContract({ + abi: iethposDepositAbi, + functionName: 'get_deposit_root', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iethposDepositAbi}__ */ export const writeIethposDeposit = /*#__PURE__*/ createWriteContract({ - abi: iethposDepositAbi -}); + abi: iethposDepositAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iethposDepositAbi}__ and `functionName` set to `"deposit"` */ export const writeIethposDepositDeposit = /*#__PURE__*/ createWriteContract({ abi: iethposDepositAbi, - functionName: "deposit" -}); + functionName: 'deposit', +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iethposDepositAbi}__ */ export const simulateIethposDeposit = /*#__PURE__*/ createSimulateContract({ - abi: iethposDepositAbi -}); + abi: iethposDepositAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iethposDepositAbi}__ and `functionName` set to `"deposit"` */ -export const simulateIethposDepositDeposit = /*#__PURE__*/ createSimulateContract({ - abi: iethposDepositAbi, - functionName: "deposit" -}); +export const simulateIethposDepositDeposit = + /*#__PURE__*/ createSimulateContract({ + abi: iethposDepositAbi, + functionName: 'deposit', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iethposDepositAbi}__ */ export const watchIethposDepositEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: iethposDepositAbi -}); + abi: iethposDepositAbi, +}) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iethposDepositAbi}__ and `eventName` set to `"DepositEvent"` */ -export const watchIethposDepositDepositEventEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: iethposDepositAbi, - eventName: "DepositEvent" -}); +export const watchIethposDepositDepositEventEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: iethposDepositAbi, + eventName: 'DepositEvent', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ */ -export const readITransparentUpgradeableProxy = /*#__PURE__*/ createReadContract({ - abi: iTransparentUpgradeableProxyAbi -}); +export const readITransparentUpgradeableProxy = + /*#__PURE__*/ createReadContract({ abi: iTransparentUpgradeableProxyAbi }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"admin"` */ -export const readITransparentUpgradeableProxyAdmin = /*#__PURE__*/ createReadContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "admin" -}); +export const readITransparentUpgradeableProxyAdmin = + /*#__PURE__*/ createReadContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'admin', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"implementation"` */ -export const readITransparentUpgradeableProxyImplementation = /*#__PURE__*/ createReadContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "implementation" -}); +export const readITransparentUpgradeableProxyImplementation = + /*#__PURE__*/ createReadContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'implementation', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ */ -export const writeITransparentUpgradeableProxy = /*#__PURE__*/ createWriteContract({ - abi: iTransparentUpgradeableProxyAbi -}); +export const writeITransparentUpgradeableProxy = + /*#__PURE__*/ createWriteContract({ abi: iTransparentUpgradeableProxyAbi }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"changeAdmin"` */ -export const writeITransparentUpgradeableProxyChangeAdmin = /*#__PURE__*/ createWriteContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "changeAdmin" -}); +export const writeITransparentUpgradeableProxyChangeAdmin = + /*#__PURE__*/ createWriteContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'changeAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"upgradeTo"` */ -export const writeITransparentUpgradeableProxyUpgradeTo = /*#__PURE__*/ createWriteContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "upgradeTo" -}); +export const writeITransparentUpgradeableProxyUpgradeTo = + /*#__PURE__*/ createWriteContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'upgradeTo', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"upgradeToAndCall"` */ -export const writeITransparentUpgradeableProxyUpgradeToAndCall = /*#__PURE__*/ createWriteContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "upgradeToAndCall" -}); +export const writeITransparentUpgradeableProxyUpgradeToAndCall = + /*#__PURE__*/ createWriteContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'upgradeToAndCall', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ */ -export const simulateITransparentUpgradeableProxy = /*#__PURE__*/ createSimulateContract({ - abi: iTransparentUpgradeableProxyAbi -}); +export const simulateITransparentUpgradeableProxy = + /*#__PURE__*/ createSimulateContract({ abi: iTransparentUpgradeableProxyAbi }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"changeAdmin"` */ -export const simulateITransparentUpgradeableProxyChangeAdmin = /*#__PURE__*/ createSimulateContract( - { +export const simulateITransparentUpgradeableProxyChangeAdmin = + /*#__PURE__*/ createSimulateContract({ abi: iTransparentUpgradeableProxyAbi, - functionName: "changeAdmin" - } -); + functionName: 'changeAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"upgradeTo"` */ -export const simulateITransparentUpgradeableProxyUpgradeTo = /*#__PURE__*/ createSimulateContract({ - abi: iTransparentUpgradeableProxyAbi, - functionName: "upgradeTo" -}); +export const simulateITransparentUpgradeableProxyUpgradeTo = + /*#__PURE__*/ createSimulateContract({ + abi: iTransparentUpgradeableProxyAbi, + functionName: 'upgradeTo', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `functionName` set to `"upgradeToAndCall"` @@ -14171,15 +14661,16 @@ export const simulateITransparentUpgradeableProxyUpgradeTo = /*#__PURE__*/ creat export const simulateITransparentUpgradeableProxyUpgradeToAndCall = /*#__PURE__*/ createSimulateContract({ abi: iTransparentUpgradeableProxyAbi, - functionName: "upgradeToAndCall" - }); + functionName: 'upgradeToAndCall', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ */ -export const watchITransparentUpgradeableProxyEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: iTransparentUpgradeableProxyAbi -}); +export const watchITransparentUpgradeableProxyEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: iTransparentUpgradeableProxyAbi, + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `eventName` set to `"AdminChanged"` @@ -14187,8 +14678,8 @@ export const watchITransparentUpgradeableProxyEvent = /*#__PURE__*/ createWatchC export const watchITransparentUpgradeableProxyAdminChangedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: iTransparentUpgradeableProxyAbi, - eventName: "AdminChanged" - }); + eventName: 'AdminChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `eventName` set to `"BeaconUpgraded"` @@ -14196,8 +14687,8 @@ export const watchITransparentUpgradeableProxyAdminChangedEvent = export const watchITransparentUpgradeableProxyBeaconUpgradedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: iTransparentUpgradeableProxyAbi, - eventName: "BeaconUpgraded" - }); + eventName: 'BeaconUpgraded', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link iTransparentUpgradeableProxyAbi}__ and `eventName` set to `"Upgraded"` @@ -14205,212 +14696,226 @@ export const watchITransparentUpgradeableProxyBeaconUpgradedEvent = export const watchITransparentUpgradeableProxyUpgradedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: iTransparentUpgradeableProxyAbi, - eventName: "Upgraded" - }); + eventName: 'Upgraded', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ */ export const readPermissionController = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi -}); + abi: permissionControllerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"canCall"` */ -export const readPermissionControllerCanCall = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "canCall" -}); +export const readPermissionControllerCanCall = /*#__PURE__*/ createReadContract( + { abi: permissionControllerAbi, functionName: 'canCall' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"getAdmins"` */ -export const readPermissionControllerGetAdmins = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "getAdmins" -}); +export const readPermissionControllerGetAdmins = + /*#__PURE__*/ createReadContract({ + abi: permissionControllerAbi, + functionName: 'getAdmins', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"getAppointeePermissions"` */ -export const readPermissionControllerGetAppointeePermissions = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "getAppointeePermissions" -}); +export const readPermissionControllerGetAppointeePermissions = + /*#__PURE__*/ createReadContract({ + abi: permissionControllerAbi, + functionName: 'getAppointeePermissions', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"getAppointees"` */ -export const readPermissionControllerGetAppointees = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "getAppointees" -}); +export const readPermissionControllerGetAppointees = + /*#__PURE__*/ createReadContract({ + abi: permissionControllerAbi, + functionName: 'getAppointees', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"getPendingAdmins"` */ -export const readPermissionControllerGetPendingAdmins = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "getPendingAdmins" -}); +export const readPermissionControllerGetPendingAdmins = + /*#__PURE__*/ createReadContract({ + abi: permissionControllerAbi, + functionName: 'getPendingAdmins', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"isAdmin"` */ -export const readPermissionControllerIsAdmin = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "isAdmin" -}); +export const readPermissionControllerIsAdmin = /*#__PURE__*/ createReadContract( + { abi: permissionControllerAbi, functionName: 'isAdmin' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"isPendingAdmin"` */ -export const readPermissionControllerIsPendingAdmin = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "isPendingAdmin" -}); +export const readPermissionControllerIsPendingAdmin = + /*#__PURE__*/ createReadContract({ + abi: permissionControllerAbi, + functionName: 'isPendingAdmin', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"version"` */ -export const readPermissionControllerVersion = /*#__PURE__*/ createReadContract({ - abi: permissionControllerAbi, - functionName: "version" -}); +export const readPermissionControllerVersion = /*#__PURE__*/ createReadContract( + { abi: permissionControllerAbi, functionName: 'version' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ */ export const writePermissionController = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi -}); + abi: permissionControllerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"acceptAdmin"` */ -export const writePermissionControllerAcceptAdmin = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "acceptAdmin" -}); +export const writePermissionControllerAcceptAdmin = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'acceptAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"addPendingAdmin"` */ -export const writePermissionControllerAddPendingAdmin = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "addPendingAdmin" -}); +export const writePermissionControllerAddPendingAdmin = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'addPendingAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removeAdmin"` */ -export const writePermissionControllerRemoveAdmin = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "removeAdmin" -}); +export const writePermissionControllerRemoveAdmin = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'removeAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removeAppointee"` */ -export const writePermissionControllerRemoveAppointee = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "removeAppointee" -}); +export const writePermissionControllerRemoveAppointee = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'removeAppointee', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removePendingAdmin"` */ -export const writePermissionControllerRemovePendingAdmin = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "removePendingAdmin" -}); +export const writePermissionControllerRemovePendingAdmin = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'removePendingAdmin', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"setAppointee"` */ -export const writePermissionControllerSetAppointee = /*#__PURE__*/ createWriteContract({ - abi: permissionControllerAbi, - functionName: "setAppointee" -}); +export const writePermissionControllerSetAppointee = + /*#__PURE__*/ createWriteContract({ + abi: permissionControllerAbi, + functionName: 'setAppointee', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ */ -export const simulatePermissionController = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi -}); +export const simulatePermissionController = + /*#__PURE__*/ createSimulateContract({ abi: permissionControllerAbi }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"acceptAdmin"` */ -export const simulatePermissionControllerAcceptAdmin = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "acceptAdmin" -}); +export const simulatePermissionControllerAcceptAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'acceptAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"addPendingAdmin"` */ -export const simulatePermissionControllerAddPendingAdmin = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "addPendingAdmin" -}); +export const simulatePermissionControllerAddPendingAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'addPendingAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removeAdmin"` */ -export const simulatePermissionControllerRemoveAdmin = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "removeAdmin" -}); +export const simulatePermissionControllerRemoveAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'removeAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removeAppointee"` */ -export const simulatePermissionControllerRemoveAppointee = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "removeAppointee" -}); +export const simulatePermissionControllerRemoveAppointee = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'removeAppointee', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"removePendingAdmin"` */ -export const simulatePermissionControllerRemovePendingAdmin = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "removePendingAdmin" -}); +export const simulatePermissionControllerRemovePendingAdmin = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'removePendingAdmin', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link permissionControllerAbi}__ and `functionName` set to `"setAppointee"` */ -export const simulatePermissionControllerSetAppointee = /*#__PURE__*/ createSimulateContract({ - abi: permissionControllerAbi, - functionName: "setAppointee" -}); +export const simulatePermissionControllerSetAppointee = + /*#__PURE__*/ createSimulateContract({ + abi: permissionControllerAbi, + functionName: 'setAppointee', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ */ -export const watchPermissionControllerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: permissionControllerAbi -}); +export const watchPermissionControllerEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: permissionControllerAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"AdminRemoved"` */ -export const watchPermissionControllerAdminRemovedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: permissionControllerAbi, - eventName: "AdminRemoved" -}); +export const watchPermissionControllerAdminRemovedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: permissionControllerAbi, + eventName: 'AdminRemoved', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"AdminSet"` */ -export const watchPermissionControllerAdminSetEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: permissionControllerAbi, - eventName: "AdminSet" -}); +export const watchPermissionControllerAdminSetEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: permissionControllerAbi, + eventName: 'AdminSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"AppointeeRemoved"` @@ -14418,24 +14923,26 @@ export const watchPermissionControllerAdminSetEvent = /*#__PURE__*/ createWatchC export const watchPermissionControllerAppointeeRemovedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: permissionControllerAbi, - eventName: "AppointeeRemoved" - }); + eventName: 'AppointeeRemoved', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"AppointeeSet"` */ -export const watchPermissionControllerAppointeeSetEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: permissionControllerAbi, - eventName: "AppointeeSet" -}); +export const watchPermissionControllerAppointeeSetEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: permissionControllerAbi, + eventName: 'AppointeeSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchPermissionControllerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: permissionControllerAbi, - eventName: "Initialized" -}); +export const watchPermissionControllerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: permissionControllerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"PendingAdminAdded"` @@ -14443,8 +14950,8 @@ export const watchPermissionControllerInitializedEvent = /*#__PURE__*/ createWat export const watchPermissionControllerPendingAdminAddedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: permissionControllerAbi, - eventName: "PendingAdminAdded" - }); + eventName: 'PendingAdminAdded', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link permissionControllerAbi}__ and `eventName` set to `"PendingAdminRemoved"` @@ -14452,119 +14959,132 @@ export const watchPermissionControllerPendingAdminAddedEvent = export const watchPermissionControllerPendingAdminRemovedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: permissionControllerAbi, - eventName: "PendingAdminRemoved" - }); + eventName: 'PendingAdminRemoved', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ */ export const readRewardsCoordinator = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi -}); + abi: rewardsCoordinatorAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"CALCULATION_INTERVAL_SECONDS"` */ -export const readRewardsCoordinatorCalculationIntervalSeconds = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "CALCULATION_INTERVAL_SECONDS" -}); +export const readRewardsCoordinatorCalculationIntervalSeconds = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'CALCULATION_INTERVAL_SECONDS', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"GENESIS_REWARDS_TIMESTAMP"` */ -export const readRewardsCoordinatorGenesisRewardsTimestamp = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "GENESIS_REWARDS_TIMESTAMP" -}); +export const readRewardsCoordinatorGenesisRewardsTimestamp = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'GENESIS_REWARDS_TIMESTAMP', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"MAX_FUTURE_LENGTH"` */ -export const readRewardsCoordinatorMaxFutureLength = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "MAX_FUTURE_LENGTH" -}); +export const readRewardsCoordinatorMaxFutureLength = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'MAX_FUTURE_LENGTH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"MAX_RETROACTIVE_LENGTH"` */ -export const readRewardsCoordinatorMaxRetroactiveLength = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "MAX_RETROACTIVE_LENGTH" -}); +export const readRewardsCoordinatorMaxRetroactiveLength = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'MAX_RETROACTIVE_LENGTH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"MAX_REWARDS_DURATION"` */ -export const readRewardsCoordinatorMaxRewardsDuration = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "MAX_REWARDS_DURATION" -}); +export const readRewardsCoordinatorMaxRewardsDuration = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'MAX_REWARDS_DURATION', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"activationDelay"` */ -export const readRewardsCoordinatorActivationDelay = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "activationDelay" -}); +export const readRewardsCoordinatorActivationDelay = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'activationDelay', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"allocationManager"` */ -export const readRewardsCoordinatorAllocationManager = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "allocationManager" -}); +export const readRewardsCoordinatorAllocationManager = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'allocationManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"beaconChainETHStrategy"` */ -export const readRewardsCoordinatorBeaconChainEthStrategy = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "beaconChainETHStrategy" -}); +export const readRewardsCoordinatorBeaconChainEthStrategy = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'beaconChainETHStrategy', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"calculateEarnerLeafHash"` */ -export const readRewardsCoordinatorCalculateEarnerLeafHash = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "calculateEarnerLeafHash" -}); +export const readRewardsCoordinatorCalculateEarnerLeafHash = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'calculateEarnerLeafHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"calculateTokenLeafHash"` */ -export const readRewardsCoordinatorCalculateTokenLeafHash = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "calculateTokenLeafHash" -}); +export const readRewardsCoordinatorCalculateTokenLeafHash = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'calculateTokenLeafHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"checkClaim"` */ -export const readRewardsCoordinatorCheckClaim = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "checkClaim" -}); +export const readRewardsCoordinatorCheckClaim = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'checkClaim', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"claimerFor"` */ -export const readRewardsCoordinatorClaimerFor = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "claimerFor" -}); +export const readRewardsCoordinatorClaimerFor = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'claimerFor', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"cumulativeClaimed"` */ -export const readRewardsCoordinatorCumulativeClaimed = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "cumulativeClaimed" -}); +export const readRewardsCoordinatorCumulativeClaimed = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'cumulativeClaimed', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"currRewardsCalculationEndTimestamp"` @@ -14572,24 +15092,26 @@ export const readRewardsCoordinatorCumulativeClaimed = /*#__PURE__*/ createReadC export const readRewardsCoordinatorCurrRewardsCalculationEndTimestamp = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "currRewardsCalculationEndTimestamp" - }); + functionName: 'currRewardsCalculationEndTimestamp', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"defaultOperatorSplitBips"` */ -export const readRewardsCoordinatorDefaultOperatorSplitBips = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "defaultOperatorSplitBips" -}); +export const readRewardsCoordinatorDefaultOperatorSplitBips = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'defaultOperatorSplitBips', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"delegationManager"` */ -export const readRewardsCoordinatorDelegationManager = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "delegationManager" -}); +export const readRewardsCoordinatorDelegationManager = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'delegationManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getCurrentClaimableDistributionRoot"` @@ -14597,72 +15119,80 @@ export const readRewardsCoordinatorDelegationManager = /*#__PURE__*/ createReadC export const readRewardsCoordinatorGetCurrentClaimableDistributionRoot = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "getCurrentClaimableDistributionRoot" - }); + functionName: 'getCurrentClaimableDistributionRoot', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getCurrentDistributionRoot"` */ -export const readRewardsCoordinatorGetCurrentDistributionRoot = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getCurrentDistributionRoot" -}); +export const readRewardsCoordinatorGetCurrentDistributionRoot = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getCurrentDistributionRoot', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getDistributionRootAtIndex"` */ -export const readRewardsCoordinatorGetDistributionRootAtIndex = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getDistributionRootAtIndex" -}); +export const readRewardsCoordinatorGetDistributionRootAtIndex = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getDistributionRootAtIndex', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getDistributionRootsLength"` */ -export const readRewardsCoordinatorGetDistributionRootsLength = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getDistributionRootsLength" -}); +export const readRewardsCoordinatorGetDistributionRootsLength = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getDistributionRootsLength', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getOperatorAVSSplit"` */ -export const readRewardsCoordinatorGetOperatorAvsSplit = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getOperatorAVSSplit" -}); +export const readRewardsCoordinatorGetOperatorAvsSplit = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getOperatorAVSSplit', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getOperatorPISplit"` */ -export const readRewardsCoordinatorGetOperatorPiSplit = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getOperatorPISplit" -}); +export const readRewardsCoordinatorGetOperatorPiSplit = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getOperatorPISplit', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getOperatorSetSplit"` */ -export const readRewardsCoordinatorGetOperatorSetSplit = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getOperatorSetSplit" -}); +export const readRewardsCoordinatorGetOperatorSetSplit = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getOperatorSetSplit', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"getRootIndexFromHash"` */ -export const readRewardsCoordinatorGetRootIndexFromHash = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "getRootIndexFromHash" -}); +export const readRewardsCoordinatorGetRootIndexFromHash = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'getRootIndexFromHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isAVSRewardsSubmissionHash"` */ -export const readRewardsCoordinatorIsAvsRewardsSubmissionHash = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "isAVSRewardsSubmissionHash" -}); +export const readRewardsCoordinatorIsAvsRewardsSubmissionHash = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'isAVSRewardsSubmissionHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isOperatorDirectedAVSRewardsSubmissionHash"` @@ -14670,8 +15200,8 @@ export const readRewardsCoordinatorIsAvsRewardsSubmissionHash = /*#__PURE__*/ cr export const readRewardsCoordinatorIsOperatorDirectedAvsRewardsSubmissionHash = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "isOperatorDirectedAVSRewardsSubmissionHash" - }); + functionName: 'isOperatorDirectedAVSRewardsSubmissionHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isOperatorDirectedOperatorSetRewardsSubmissionHash"` @@ -14679,16 +15209,17 @@ export const readRewardsCoordinatorIsOperatorDirectedAvsRewardsSubmissionHash = export const readRewardsCoordinatorIsOperatorDirectedOperatorSetRewardsSubmissionHash = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "isOperatorDirectedOperatorSetRewardsSubmissionHash" - }); + functionName: 'isOperatorDirectedOperatorSetRewardsSubmissionHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isRewardsForAllSubmitter"` */ -export const readRewardsCoordinatorIsRewardsForAllSubmitter = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "isRewardsForAllSubmitter" -}); +export const readRewardsCoordinatorIsRewardsForAllSubmitter = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'isRewardsForAllSubmitter', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isRewardsSubmissionForAllEarnersHash"` @@ -14696,97 +15227,102 @@ export const readRewardsCoordinatorIsRewardsForAllSubmitter = /*#__PURE__*/ crea export const readRewardsCoordinatorIsRewardsSubmissionForAllEarnersHash = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "isRewardsSubmissionForAllEarnersHash" - }); + functionName: 'isRewardsSubmissionForAllEarnersHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"isRewardsSubmissionForAllHash"` */ -export const readRewardsCoordinatorIsRewardsSubmissionForAllHash = /*#__PURE__*/ createReadContract( - { +export const readRewardsCoordinatorIsRewardsSubmissionForAllHash = + /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "isRewardsSubmissionForAllHash" - } -); + functionName: 'isRewardsSubmissionForAllHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"owner"` */ export const readRewardsCoordinatorOwner = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"paused"` */ export const readRewardsCoordinatorPaused = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readRewardsCoordinatorPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "pauserRegistry" -}); +export const readRewardsCoordinatorPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"permissionController"` */ -export const readRewardsCoordinatorPermissionController = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "permissionController" -}); +export const readRewardsCoordinatorPermissionController = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'permissionController', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"rewardsUpdater"` */ -export const readRewardsCoordinatorRewardsUpdater = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "rewardsUpdater" -}); +export const readRewardsCoordinatorRewardsUpdater = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'rewardsUpdater', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"strategyManager"` */ -export const readRewardsCoordinatorStrategyManager = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "strategyManager" -}); +export const readRewardsCoordinatorStrategyManager = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'strategyManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"submissionNonce"` */ -export const readRewardsCoordinatorSubmissionNonce = /*#__PURE__*/ createReadContract({ - abi: rewardsCoordinatorAbi, - functionName: "submissionNonce" -}); +export const readRewardsCoordinatorSubmissionNonce = + /*#__PURE__*/ createReadContract({ + abi: rewardsCoordinatorAbi, + functionName: 'submissionNonce', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"version"` */ export const readRewardsCoordinatorVersion = /*#__PURE__*/ createReadContract({ abi: rewardsCoordinatorAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ */ export const writeRewardsCoordinator = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi -}); + abi: rewardsCoordinatorAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createAVSRewardsSubmission"` */ -export const writeRewardsCoordinatorCreateAvsRewardsSubmission = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "createAVSRewardsSubmission" -}); +export const writeRewardsCoordinatorCreateAvsRewardsSubmission = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'createAVSRewardsSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createOperatorDirectedAVSRewardsSubmission"` @@ -14794,8 +15330,8 @@ export const writeRewardsCoordinatorCreateAvsRewardsSubmission = /*#__PURE__*/ c export const writeRewardsCoordinatorCreateOperatorDirectedAvsRewardsSubmission = /*#__PURE__*/ createWriteContract({ abi: rewardsCoordinatorAbi, - functionName: "createOperatorDirectedAVSRewardsSubmission" - }); + functionName: 'createOperatorDirectedAVSRewardsSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createOperatorDirectedOperatorSetRewardsSubmission"` @@ -14803,16 +15339,17 @@ export const writeRewardsCoordinatorCreateOperatorDirectedAvsRewardsSubmission = export const writeRewardsCoordinatorCreateOperatorDirectedOperatorSetRewardsSubmission = /*#__PURE__*/ createWriteContract({ abi: rewardsCoordinatorAbi, - functionName: "createOperatorDirectedOperatorSetRewardsSubmission" - }); + functionName: 'createOperatorDirectedOperatorSetRewardsSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createRewardsForAllEarners"` */ -export const writeRewardsCoordinatorCreateRewardsForAllEarners = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "createRewardsForAllEarners" -}); +export const writeRewardsCoordinatorCreateRewardsForAllEarners = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'createRewardsForAllEarners', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createRewardsForAllSubmission"` @@ -14820,159 +15357,174 @@ export const writeRewardsCoordinatorCreateRewardsForAllEarners = /*#__PURE__*/ c export const writeRewardsCoordinatorCreateRewardsForAllSubmission = /*#__PURE__*/ createWriteContract({ abi: rewardsCoordinatorAbi, - functionName: "createRewardsForAllSubmission" - }); + functionName: 'createRewardsForAllSubmission', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"disableRoot"` */ -export const writeRewardsCoordinatorDisableRoot = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "disableRoot" -}); +export const writeRewardsCoordinatorDisableRoot = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'disableRoot', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"initialize"` */ -export const writeRewardsCoordinatorInitialize = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "initialize" -}); +export const writeRewardsCoordinatorInitialize = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'initialize', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"pause"` */ export const writeRewardsCoordinatorPause = /*#__PURE__*/ createWriteContract({ abi: rewardsCoordinatorAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"pauseAll"` */ -export const writeRewardsCoordinatorPauseAll = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "pauseAll" -}); +export const writeRewardsCoordinatorPauseAll = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"processClaim"` */ -export const writeRewardsCoordinatorProcessClaim = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "processClaim" -}); +export const writeRewardsCoordinatorProcessClaim = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'processClaim', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"processClaims"` */ -export const writeRewardsCoordinatorProcessClaims = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "processClaims" -}); +export const writeRewardsCoordinatorProcessClaims = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'processClaims', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeRewardsCoordinatorRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "renounceOwnership" -}); +export const writeRewardsCoordinatorRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setActivationDelay"` */ -export const writeRewardsCoordinatorSetActivationDelay = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setActivationDelay" -}); +export const writeRewardsCoordinatorSetActivationDelay = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setActivationDelay', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setClaimerFor"` */ -export const writeRewardsCoordinatorSetClaimerFor = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setClaimerFor" -}); +export const writeRewardsCoordinatorSetClaimerFor = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setClaimerFor', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setDefaultOperatorSplit"` */ -export const writeRewardsCoordinatorSetDefaultOperatorSplit = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setDefaultOperatorSplit" -}); +export const writeRewardsCoordinatorSetDefaultOperatorSplit = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setDefaultOperatorSplit', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorAVSSplit"` */ -export const writeRewardsCoordinatorSetOperatorAvsSplit = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorAVSSplit" -}); +export const writeRewardsCoordinatorSetOperatorAvsSplit = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorAVSSplit', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorPISplit"` */ -export const writeRewardsCoordinatorSetOperatorPiSplit = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorPISplit" -}); +export const writeRewardsCoordinatorSetOperatorPiSplit = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorPISplit', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorSetSplit"` */ -export const writeRewardsCoordinatorSetOperatorSetSplit = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorSetSplit" -}); +export const writeRewardsCoordinatorSetOperatorSetSplit = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorSetSplit', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setRewardsForAllSubmitter"` */ -export const writeRewardsCoordinatorSetRewardsForAllSubmitter = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setRewardsForAllSubmitter" -}); +export const writeRewardsCoordinatorSetRewardsForAllSubmitter = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setRewardsForAllSubmitter', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setRewardsUpdater"` */ -export const writeRewardsCoordinatorSetRewardsUpdater = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "setRewardsUpdater" -}); +export const writeRewardsCoordinatorSetRewardsUpdater = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setRewardsUpdater', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"submitRoot"` */ -export const writeRewardsCoordinatorSubmitRoot = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "submitRoot" -}); +export const writeRewardsCoordinatorSubmitRoot = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'submitRoot', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeRewardsCoordinatorTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "transferOwnership" -}); +export const writeRewardsCoordinatorTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: rewardsCoordinatorAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"unpause"` */ -export const writeRewardsCoordinatorUnpause = /*#__PURE__*/ createWriteContract({ - abi: rewardsCoordinatorAbi, - functionName: "unpause" -}); +export const writeRewardsCoordinatorUnpause = /*#__PURE__*/ createWriteContract( + { abi: rewardsCoordinatorAbi, functionName: 'unpause' }, +) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ */ export const simulateRewardsCoordinator = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi -}); + abi: rewardsCoordinatorAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createAVSRewardsSubmission"` @@ -14980,8 +15532,8 @@ export const simulateRewardsCoordinator = /*#__PURE__*/ createSimulateContract({ export const simulateRewardsCoordinatorCreateAvsRewardsSubmission = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "createAVSRewardsSubmission" - }); + functionName: 'createAVSRewardsSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createOperatorDirectedAVSRewardsSubmission"` @@ -14989,8 +15541,8 @@ export const simulateRewardsCoordinatorCreateAvsRewardsSubmission = export const simulateRewardsCoordinatorCreateOperatorDirectedAvsRewardsSubmission = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "createOperatorDirectedAVSRewardsSubmission" - }); + functionName: 'createOperatorDirectedAVSRewardsSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createOperatorDirectedOperatorSetRewardsSubmission"` @@ -14998,8 +15550,8 @@ export const simulateRewardsCoordinatorCreateOperatorDirectedAvsRewardsSubmissio export const simulateRewardsCoordinatorCreateOperatorDirectedOperatorSetRewardsSubmission = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "createOperatorDirectedOperatorSetRewardsSubmission" - }); + functionName: 'createOperatorDirectedOperatorSetRewardsSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createRewardsForAllEarners"` @@ -15007,8 +15559,8 @@ export const simulateRewardsCoordinatorCreateOperatorDirectedOperatorSetRewardsS export const simulateRewardsCoordinatorCreateRewardsForAllEarners = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "createRewardsForAllEarners" - }); + functionName: 'createRewardsForAllEarners', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"createRewardsForAllSubmission"` @@ -15016,80 +15568,89 @@ export const simulateRewardsCoordinatorCreateRewardsForAllEarners = export const simulateRewardsCoordinatorCreateRewardsForAllSubmission = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "createRewardsForAllSubmission" - }); + functionName: 'createRewardsForAllSubmission', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"disableRoot"` */ -export const simulateRewardsCoordinatorDisableRoot = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "disableRoot" -}); +export const simulateRewardsCoordinatorDisableRoot = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'disableRoot', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"initialize"` */ -export const simulateRewardsCoordinatorInitialize = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "initialize" -}); +export const simulateRewardsCoordinatorInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"pause"` */ -export const simulateRewardsCoordinatorPause = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "pause" -}); +export const simulateRewardsCoordinatorPause = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateRewardsCoordinatorPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "pauseAll" -}); +export const simulateRewardsCoordinatorPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"processClaim"` */ -export const simulateRewardsCoordinatorProcessClaim = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "processClaim" -}); +export const simulateRewardsCoordinatorProcessClaim = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'processClaim', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"processClaims"` */ -export const simulateRewardsCoordinatorProcessClaims = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "processClaims" -}); +export const simulateRewardsCoordinatorProcessClaims = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'processClaims', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateRewardsCoordinatorRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "renounceOwnership" -}); +export const simulateRewardsCoordinatorRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setActivationDelay"` */ -export const simulateRewardsCoordinatorSetActivationDelay = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setActivationDelay" -}); +export const simulateRewardsCoordinatorSetActivationDelay = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setActivationDelay', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setClaimerFor"` */ -export const simulateRewardsCoordinatorSetClaimerFor = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setClaimerFor" -}); +export const simulateRewardsCoordinatorSetClaimerFor = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setClaimerFor', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setDefaultOperatorSplit"` @@ -15097,32 +15658,35 @@ export const simulateRewardsCoordinatorSetClaimerFor = /*#__PURE__*/ createSimul export const simulateRewardsCoordinatorSetDefaultOperatorSplit = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "setDefaultOperatorSplit" - }); + functionName: 'setDefaultOperatorSplit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorAVSSplit"` */ -export const simulateRewardsCoordinatorSetOperatorAvsSplit = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorAVSSplit" -}); +export const simulateRewardsCoordinatorSetOperatorAvsSplit = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorAVSSplit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorPISplit"` */ -export const simulateRewardsCoordinatorSetOperatorPiSplit = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorPISplit" -}); +export const simulateRewardsCoordinatorSetOperatorPiSplit = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorPISplit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setOperatorSetSplit"` */ -export const simulateRewardsCoordinatorSetOperatorSetSplit = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setOperatorSetSplit" -}); +export const simulateRewardsCoordinatorSetOperatorSetSplit = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setOperatorSetSplit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setRewardsForAllSubmitter"` @@ -15130,47 +15694,50 @@ export const simulateRewardsCoordinatorSetOperatorSetSplit = /*#__PURE__*/ creat export const simulateRewardsCoordinatorSetRewardsForAllSubmitter = /*#__PURE__*/ createSimulateContract({ abi: rewardsCoordinatorAbi, - functionName: "setRewardsForAllSubmitter" - }); + functionName: 'setRewardsForAllSubmitter', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"setRewardsUpdater"` */ -export const simulateRewardsCoordinatorSetRewardsUpdater = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "setRewardsUpdater" -}); +export const simulateRewardsCoordinatorSetRewardsUpdater = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'setRewardsUpdater', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"submitRoot"` */ -export const simulateRewardsCoordinatorSubmitRoot = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "submitRoot" -}); +export const simulateRewardsCoordinatorSubmitRoot = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'submitRoot', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateRewardsCoordinatorTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "transferOwnership" -}); +export const simulateRewardsCoordinatorTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `functionName` set to `"unpause"` */ -export const simulateRewardsCoordinatorUnpause = /*#__PURE__*/ createSimulateContract({ - abi: rewardsCoordinatorAbi, - functionName: "unpause" -}); +export const simulateRewardsCoordinatorUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsCoordinatorAbi, + functionName: 'unpause', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ */ -export const watchRewardsCoordinatorEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi -}); +export const watchRewardsCoordinatorEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"AVSRewardsSubmissionCreated"` @@ -15178,8 +15745,8 @@ export const watchRewardsCoordinatorEvent = /*#__PURE__*/ createWatchContractEve export const watchRewardsCoordinatorAvsRewardsSubmissionCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "AVSRewardsSubmissionCreated" - }); + eventName: 'AVSRewardsSubmissionCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"ActivationDelaySet"` @@ -15187,16 +15754,17 @@ export const watchRewardsCoordinatorAvsRewardsSubmissionCreatedEvent = export const watchRewardsCoordinatorActivationDelaySetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "ActivationDelaySet" - }); + eventName: 'ActivationDelaySet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"ClaimerForSet"` */ -export const watchRewardsCoordinatorClaimerForSetEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi, - eventName: "ClaimerForSet" -}); +export const watchRewardsCoordinatorClaimerForSetEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsCoordinatorAbi, + eventName: 'ClaimerForSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"DefaultOperatorSplitBipsSet"` @@ -15204,8 +15772,8 @@ export const watchRewardsCoordinatorClaimerForSetEvent = /*#__PURE__*/ createWat export const watchRewardsCoordinatorDefaultOperatorSplitBipsSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "DefaultOperatorSplitBipsSet" - }); + eventName: 'DefaultOperatorSplitBipsSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"DistributionRootDisabled"` @@ -15213,8 +15781,8 @@ export const watchRewardsCoordinatorDefaultOperatorSplitBipsSetEvent = export const watchRewardsCoordinatorDistributionRootDisabledEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "DistributionRootDisabled" - }); + eventName: 'DistributionRootDisabled', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"DistributionRootSubmitted"` @@ -15222,16 +15790,17 @@ export const watchRewardsCoordinatorDistributionRootDisabledEvent = export const watchRewardsCoordinatorDistributionRootSubmittedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "DistributionRootSubmitted" - }); + eventName: 'DistributionRootSubmitted', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"Initialized"` */ -export const watchRewardsCoordinatorInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi, - eventName: "Initialized" -}); +export const watchRewardsCoordinatorInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsCoordinatorAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OperatorAVSSplitBipsSet"` @@ -15239,8 +15808,8 @@ export const watchRewardsCoordinatorInitializedEvent = /*#__PURE__*/ createWatch export const watchRewardsCoordinatorOperatorAvsSplitBipsSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OperatorAVSSplitBipsSet" - }); + eventName: 'OperatorAVSSplitBipsSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OperatorDirectedAVSRewardsSubmissionCreated"` @@ -15248,8 +15817,8 @@ export const watchRewardsCoordinatorOperatorAvsSplitBipsSetEvent = export const watchRewardsCoordinatorOperatorDirectedAvsRewardsSubmissionCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OperatorDirectedAVSRewardsSubmissionCreated" - }); + eventName: 'OperatorDirectedAVSRewardsSubmissionCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OperatorDirectedOperatorSetRewardsSubmissionCreated"` @@ -15257,8 +15826,8 @@ export const watchRewardsCoordinatorOperatorDirectedAvsRewardsSubmissionCreatedE export const watchRewardsCoordinatorOperatorDirectedOperatorSetRewardsSubmissionCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OperatorDirectedOperatorSetRewardsSubmissionCreated" - }); + eventName: 'OperatorDirectedOperatorSetRewardsSubmissionCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OperatorPISplitBipsSet"` @@ -15266,8 +15835,8 @@ export const watchRewardsCoordinatorOperatorDirectedOperatorSetRewardsSubmission export const watchRewardsCoordinatorOperatorPiSplitBipsSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OperatorPISplitBipsSet" - }); + eventName: 'OperatorPISplitBipsSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OperatorSetSplitBipsSet"` @@ -15275,8 +15844,8 @@ export const watchRewardsCoordinatorOperatorPiSplitBipsSetEvent = export const watchRewardsCoordinatorOperatorSetSplitBipsSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OperatorSetSplitBipsSet" - }); + eventName: 'OperatorSetSplitBipsSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"OwnershipTransferred"` @@ -15284,24 +15853,26 @@ export const watchRewardsCoordinatorOperatorSetSplitBipsSetEvent = export const watchRewardsCoordinatorOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "OwnershipTransferred" - }); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"Paused"` */ -export const watchRewardsCoordinatorPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi, - eventName: "Paused" -}); +export const watchRewardsCoordinatorPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsCoordinatorAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"RewardsClaimed"` */ -export const watchRewardsCoordinatorRewardsClaimedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi, - eventName: "RewardsClaimed" -}); +export const watchRewardsCoordinatorRewardsClaimedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsCoordinatorAbi, + eventName: 'RewardsClaimed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"RewardsForAllSubmitterSet"` @@ -15309,8 +15880,8 @@ export const watchRewardsCoordinatorRewardsClaimedEvent = /*#__PURE__*/ createWa export const watchRewardsCoordinatorRewardsForAllSubmitterSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "RewardsForAllSubmitterSet" - }); + eventName: 'RewardsForAllSubmitterSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"RewardsSubmissionForAllCreated"` @@ -15318,8 +15889,8 @@ export const watchRewardsCoordinatorRewardsForAllSubmitterSetEvent = export const watchRewardsCoordinatorRewardsSubmissionForAllCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "RewardsSubmissionForAllCreated" - }); + eventName: 'RewardsSubmissionForAllCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"RewardsSubmissionForAllEarnersCreated"` @@ -15327,142 +15898,150 @@ export const watchRewardsCoordinatorRewardsSubmissionForAllCreatedEvent = export const watchRewardsCoordinatorRewardsSubmissionForAllEarnersCreatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "RewardsSubmissionForAllEarnersCreated" - }); + eventName: 'RewardsSubmissionForAllEarnersCreated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"RewardsUpdaterSet"` */ -export const watchRewardsCoordinatorRewardsUpdaterSetEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchRewardsCoordinatorRewardsUpdaterSetEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: rewardsCoordinatorAbi, - eventName: "RewardsUpdaterSet" - } -); + eventName: 'RewardsUpdaterSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsCoordinatorAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchRewardsCoordinatorUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsCoordinatorAbi, - eventName: "Unpaused" -}); +export const watchRewardsCoordinatorUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsCoordinatorAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ */ export const readRewardsRegistry = /*#__PURE__*/ createReadContract({ - abi: rewardsRegistryAbi -}); + abi: rewardsRegistryAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"avs"` */ export const readRewardsRegistryAvs = /*#__PURE__*/ createReadContract({ abi: rewardsRegistryAbi, - functionName: "avs" -}); + functionName: 'avs', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"lastRewardsMerkleRoot"` */ -export const readRewardsRegistryLastRewardsMerkleRoot = /*#__PURE__*/ createReadContract({ - abi: rewardsRegistryAbi, - functionName: "lastRewardsMerkleRoot" -}); +export const readRewardsRegistryLastRewardsMerkleRoot = + /*#__PURE__*/ createReadContract({ + abi: rewardsRegistryAbi, + functionName: 'lastRewardsMerkleRoot', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"operatorToLastClaimedRoot"` */ -export const readRewardsRegistryOperatorToLastClaimedRoot = /*#__PURE__*/ createReadContract({ - abi: rewardsRegistryAbi, - functionName: "operatorToLastClaimedRoot" -}); +export const readRewardsRegistryOperatorToLastClaimedRoot = + /*#__PURE__*/ createReadContract({ + abi: rewardsRegistryAbi, + functionName: 'operatorToLastClaimedRoot', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"rewardsAgent"` */ -export const readRewardsRegistryRewardsAgent = /*#__PURE__*/ createReadContract({ - abi: rewardsRegistryAbi, - functionName: "rewardsAgent" -}); +export const readRewardsRegistryRewardsAgent = /*#__PURE__*/ createReadContract( + { abi: rewardsRegistryAbi, functionName: 'rewardsAgent' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ */ export const writeRewardsRegistry = /*#__PURE__*/ createWriteContract({ - abi: rewardsRegistryAbi -}); + abi: rewardsRegistryAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"claimRewards"` */ -export const writeRewardsRegistryClaimRewards = /*#__PURE__*/ createWriteContract({ - abi: rewardsRegistryAbi, - functionName: "claimRewards" -}); +export const writeRewardsRegistryClaimRewards = + /*#__PURE__*/ createWriteContract({ + abi: rewardsRegistryAbi, + functionName: 'claimRewards', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"setRewardsAgent"` */ -export const writeRewardsRegistrySetRewardsAgent = /*#__PURE__*/ createWriteContract({ - abi: rewardsRegistryAbi, - functionName: "setRewardsAgent" -}); +export const writeRewardsRegistrySetRewardsAgent = + /*#__PURE__*/ createWriteContract({ + abi: rewardsRegistryAbi, + functionName: 'setRewardsAgent', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"updateRewardsMerkleRoot"` */ -export const writeRewardsRegistryUpdateRewardsMerkleRoot = /*#__PURE__*/ createWriteContract({ - abi: rewardsRegistryAbi, - functionName: "updateRewardsMerkleRoot" -}); +export const writeRewardsRegistryUpdateRewardsMerkleRoot = + /*#__PURE__*/ createWriteContract({ + abi: rewardsRegistryAbi, + functionName: 'updateRewardsMerkleRoot', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ */ export const simulateRewardsRegistry = /*#__PURE__*/ createSimulateContract({ - abi: rewardsRegistryAbi -}); + abi: rewardsRegistryAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"claimRewards"` */ -export const simulateRewardsRegistryClaimRewards = /*#__PURE__*/ createSimulateContract({ - abi: rewardsRegistryAbi, - functionName: "claimRewards" -}); +export const simulateRewardsRegistryClaimRewards = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsRegistryAbi, + functionName: 'claimRewards', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"setRewardsAgent"` */ -export const simulateRewardsRegistrySetRewardsAgent = /*#__PURE__*/ createSimulateContract({ - abi: rewardsRegistryAbi, - functionName: "setRewardsAgent" -}); +export const simulateRewardsRegistrySetRewardsAgent = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsRegistryAbi, + functionName: 'setRewardsAgent', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `functionName` set to `"updateRewardsMerkleRoot"` */ -export const simulateRewardsRegistryUpdateRewardsMerkleRoot = /*#__PURE__*/ createSimulateContract({ - abi: rewardsRegistryAbi, - functionName: "updateRewardsMerkleRoot" -}); +export const simulateRewardsRegistryUpdateRewardsMerkleRoot = + /*#__PURE__*/ createSimulateContract({ + abi: rewardsRegistryAbi, + functionName: 'updateRewardsMerkleRoot', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsRegistryAbi}__ */ -export const watchRewardsRegistryEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsRegistryAbi -}); +export const watchRewardsRegistryEvent = /*#__PURE__*/ createWatchContractEvent( + { abi: rewardsRegistryAbi }, +) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `eventName` set to `"RewardsClaimed"` */ -export const watchRewardsRegistryRewardsClaimedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: rewardsRegistryAbi, - eventName: "RewardsClaimed" -}); +export const watchRewardsRegistryRewardsClaimedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: rewardsRegistryAbi, + eventName: 'RewardsClaimed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link rewardsRegistryAbi}__ and `eventName` set to `"RewardsMerkleRootUpdated"` @@ -15470,292 +16049,318 @@ export const watchRewardsRegistryRewardsClaimedEvent = /*#__PURE__*/ createWatch export const watchRewardsRegistryRewardsMerkleRootUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: rewardsRegistryAbi, - eventName: "RewardsMerkleRootUpdated" - }); + eventName: 'RewardsMerkleRootUpdated', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ */ export const readStrategyBaseTvlLimits = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi -}); + abi: strategyBaseTvlLimitsAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"explanation"` */ -export const readStrategyBaseTvlLimitsExplanation = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "explanation" -}); +export const readStrategyBaseTvlLimitsExplanation = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'explanation', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"getTVLLimits"` */ -export const readStrategyBaseTvlLimitsGetTvlLimits = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "getTVLLimits" -}); +export const readStrategyBaseTvlLimitsGetTvlLimits = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'getTVLLimits', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"maxPerDeposit"` */ -export const readStrategyBaseTvlLimitsMaxPerDeposit = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "maxPerDeposit" -}); +export const readStrategyBaseTvlLimitsMaxPerDeposit = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'maxPerDeposit', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"maxTotalDeposits"` */ -export const readStrategyBaseTvlLimitsMaxTotalDeposits = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "maxTotalDeposits" -}); +export const readStrategyBaseTvlLimitsMaxTotalDeposits = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'maxTotalDeposits', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"paused"` */ -export const readStrategyBaseTvlLimitsPaused = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "paused" -}); +export const readStrategyBaseTvlLimitsPaused = /*#__PURE__*/ createReadContract( + { abi: strategyBaseTvlLimitsAbi, functionName: 'paused' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readStrategyBaseTvlLimitsPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "pauserRegistry" -}); +export const readStrategyBaseTvlLimitsPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"shares"` */ -export const readStrategyBaseTvlLimitsShares = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "shares" -}); +export const readStrategyBaseTvlLimitsShares = /*#__PURE__*/ createReadContract( + { abi: strategyBaseTvlLimitsAbi, functionName: 'shares' }, +) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"sharesToUnderlying"` */ -export const readStrategyBaseTvlLimitsSharesToUnderlying = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "sharesToUnderlying" -}); +export const readStrategyBaseTvlLimitsSharesToUnderlying = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'sharesToUnderlying', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"sharesToUnderlyingView"` */ -export const readStrategyBaseTvlLimitsSharesToUnderlyingView = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "sharesToUnderlyingView" -}); +export const readStrategyBaseTvlLimitsSharesToUnderlyingView = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'sharesToUnderlyingView', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"strategyManager"` */ -export const readStrategyBaseTvlLimitsStrategyManager = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "strategyManager" -}); +export const readStrategyBaseTvlLimitsStrategyManager = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'strategyManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"totalShares"` */ -export const readStrategyBaseTvlLimitsTotalShares = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "totalShares" -}); +export const readStrategyBaseTvlLimitsTotalShares = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'totalShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"underlyingToShares"` */ -export const readStrategyBaseTvlLimitsUnderlyingToShares = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "underlyingToShares" -}); +export const readStrategyBaseTvlLimitsUnderlyingToShares = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'underlyingToShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"underlyingToSharesView"` */ -export const readStrategyBaseTvlLimitsUnderlyingToSharesView = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "underlyingToSharesView" -}); +export const readStrategyBaseTvlLimitsUnderlyingToSharesView = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'underlyingToSharesView', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"underlyingToken"` */ -export const readStrategyBaseTvlLimitsUnderlyingToken = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "underlyingToken" -}); +export const readStrategyBaseTvlLimitsUnderlyingToken = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'underlyingToken', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"userUnderlyingView"` */ -export const readStrategyBaseTvlLimitsUserUnderlyingView = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "userUnderlyingView" -}); +export const readStrategyBaseTvlLimitsUserUnderlyingView = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'userUnderlyingView', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"version"` */ -export const readStrategyBaseTvlLimitsVersion = /*#__PURE__*/ createReadContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "version" -}); +export const readStrategyBaseTvlLimitsVersion = + /*#__PURE__*/ createReadContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'version', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ */ export const writeStrategyBaseTvlLimits = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi -}); + abi: strategyBaseTvlLimitsAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"deposit"` */ -export const writeStrategyBaseTvlLimitsDeposit = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "deposit" -}); +export const writeStrategyBaseTvlLimitsDeposit = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'deposit', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"initialize"` */ -export const writeStrategyBaseTvlLimitsInitialize = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "initialize" -}); +export const writeStrategyBaseTvlLimitsInitialize = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'initialize', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"pause"` */ -export const writeStrategyBaseTvlLimitsPause = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "pause" -}); +export const writeStrategyBaseTvlLimitsPause = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'pause', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"pauseAll"` */ -export const writeStrategyBaseTvlLimitsPauseAll = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "pauseAll" -}); +export const writeStrategyBaseTvlLimitsPauseAll = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"setTVLLimits"` */ -export const writeStrategyBaseTvlLimitsSetTvlLimits = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "setTVLLimits" -}); +export const writeStrategyBaseTvlLimitsSetTvlLimits = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'setTVLLimits', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"unpause"` */ -export const writeStrategyBaseTvlLimitsUnpause = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "unpause" -}); +export const writeStrategyBaseTvlLimitsUnpause = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'unpause', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"userUnderlying"` */ -export const writeStrategyBaseTvlLimitsUserUnderlying = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "userUnderlying" -}); +export const writeStrategyBaseTvlLimitsUserUnderlying = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'userUnderlying', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"withdraw"` */ -export const writeStrategyBaseTvlLimitsWithdraw = /*#__PURE__*/ createWriteContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "withdraw" -}); +export const writeStrategyBaseTvlLimitsWithdraw = + /*#__PURE__*/ createWriteContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'withdraw', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ */ -export const simulateStrategyBaseTvlLimits = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi -}); +export const simulateStrategyBaseTvlLimits = + /*#__PURE__*/ createSimulateContract({ abi: strategyBaseTvlLimitsAbi }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"deposit"` */ -export const simulateStrategyBaseTvlLimitsDeposit = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "deposit" -}); +export const simulateStrategyBaseTvlLimitsDeposit = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'deposit', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"initialize"` */ -export const simulateStrategyBaseTvlLimitsInitialize = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "initialize" -}); +export const simulateStrategyBaseTvlLimitsInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"pause"` */ -export const simulateStrategyBaseTvlLimitsPause = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "pause" -}); +export const simulateStrategyBaseTvlLimitsPause = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateStrategyBaseTvlLimitsPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "pauseAll" -}); +export const simulateStrategyBaseTvlLimitsPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"setTVLLimits"` */ -export const simulateStrategyBaseTvlLimitsSetTvlLimits = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "setTVLLimits" -}); +export const simulateStrategyBaseTvlLimitsSetTvlLimits = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'setTVLLimits', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"unpause"` */ -export const simulateStrategyBaseTvlLimitsUnpause = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "unpause" -}); +export const simulateStrategyBaseTvlLimitsUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'unpause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"userUnderlying"` */ -export const simulateStrategyBaseTvlLimitsUserUnderlying = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "userUnderlying" -}); +export const simulateStrategyBaseTvlLimitsUserUnderlying = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'userUnderlying', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `functionName` set to `"withdraw"` */ -export const simulateStrategyBaseTvlLimitsWithdraw = /*#__PURE__*/ createSimulateContract({ - abi: strategyBaseTvlLimitsAbi, - functionName: "withdraw" -}); +export const simulateStrategyBaseTvlLimitsWithdraw = + /*#__PURE__*/ createSimulateContract({ + abi: strategyBaseTvlLimitsAbi, + functionName: 'withdraw', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ */ -export const watchStrategyBaseTvlLimitsEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyBaseTvlLimitsAbi -}); +export const watchStrategyBaseTvlLimitsEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: strategyBaseTvlLimitsAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"ExchangeRateEmitted"` @@ -15763,16 +16368,17 @@ export const watchStrategyBaseTvlLimitsEvent = /*#__PURE__*/ createWatchContract export const watchStrategyBaseTvlLimitsExchangeRateEmittedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyBaseTvlLimitsAbi, - eventName: "ExchangeRateEmitted" - }); + eventName: 'ExchangeRateEmitted', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"Initialized"` */ -export const watchStrategyBaseTvlLimitsInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyBaseTvlLimitsAbi, - eventName: "Initialized" -}); +export const watchStrategyBaseTvlLimitsInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyBaseTvlLimitsAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"MaxPerDepositUpdated"` @@ -15780,8 +16386,8 @@ export const watchStrategyBaseTvlLimitsInitializedEvent = /*#__PURE__*/ createWa export const watchStrategyBaseTvlLimitsMaxPerDepositUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyBaseTvlLimitsAbi, - eventName: "MaxPerDepositUpdated" - }); + eventName: 'MaxPerDepositUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"MaxTotalDepositsUpdated"` @@ -15789,16 +16395,17 @@ export const watchStrategyBaseTvlLimitsMaxPerDepositUpdatedEvent = export const watchStrategyBaseTvlLimitsMaxTotalDepositsUpdatedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyBaseTvlLimitsAbi, - eventName: "MaxTotalDepositsUpdated" - }); + eventName: 'MaxTotalDepositsUpdated', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"Paused"` */ -export const watchStrategyBaseTvlLimitsPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyBaseTvlLimitsAbi, - eventName: "Paused" -}); +export const watchStrategyBaseTvlLimitsPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyBaseTvlLimitsAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"StrategyTokenSet"` @@ -15806,39 +16413,42 @@ export const watchStrategyBaseTvlLimitsPausedEvent = /*#__PURE__*/ createWatchCo export const watchStrategyBaseTvlLimitsStrategyTokenSetEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyBaseTvlLimitsAbi, - eventName: "StrategyTokenSet" - }); + eventName: 'StrategyTokenSet', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyBaseTvlLimitsAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchStrategyBaseTvlLimitsUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyBaseTvlLimitsAbi, - eventName: "Unpaused" -}); +export const watchStrategyBaseTvlLimitsUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyBaseTvlLimitsAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ */ export const readStrategyManager = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi -}); + abi: strategyManagerAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"DEFAULT_BURN_ADDRESS"` */ -export const readStrategyManagerDefaultBurnAddress = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "DEFAULT_BURN_ADDRESS" -}); +export const readStrategyManagerDefaultBurnAddress = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'DEFAULT_BURN_ADDRESS', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"DEPOSIT_TYPEHASH"` */ -export const readStrategyManagerDepositTypehash = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "DEPOSIT_TYPEHASH" -}); +export const readStrategyManagerDepositTypehash = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'DEPOSIT_TYPEHASH', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"calculateStrategyDepositDigestHash"` @@ -15846,151 +16456,161 @@ export const readStrategyManagerDepositTypehash = /*#__PURE__*/ createReadContra export const readStrategyManagerCalculateStrategyDepositDigestHash = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "calculateStrategyDepositDigestHash" - }); + functionName: 'calculateStrategyDepositDigestHash', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"delegation"` */ export const readStrategyManagerDelegation = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "delegation" -}); + functionName: 'delegation', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"domainSeparator"` */ -export const readStrategyManagerDomainSeparator = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "domainSeparator" -}); +export const readStrategyManagerDomainSeparator = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'domainSeparator', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"getBurnableShares"` */ -export const readStrategyManagerGetBurnableShares = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "getBurnableShares" -}); +export const readStrategyManagerGetBurnableShares = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'getBurnableShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"getDeposits"` */ export const readStrategyManagerGetDeposits = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "getDeposits" -}); + functionName: 'getDeposits', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"getStakerStrategyList"` */ -export const readStrategyManagerGetStakerStrategyList = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "getStakerStrategyList" -}); +export const readStrategyManagerGetStakerStrategyList = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'getStakerStrategyList', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"getStrategiesWithBurnableShares"` */ -export const readStrategyManagerGetStrategiesWithBurnableShares = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "getStrategiesWithBurnableShares" -}); +export const readStrategyManagerGetStrategiesWithBurnableShares = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'getStrategiesWithBurnableShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"nonces"` */ export const readStrategyManagerNonces = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "nonces" -}); + functionName: 'nonces', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"owner"` */ export const readStrategyManagerOwner = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"paused"` */ export const readStrategyManagerPaused = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "paused" -}); + functionName: 'paused', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"pauserRegistry"` */ -export const readStrategyManagerPauserRegistry = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "pauserRegistry" -}); +export const readStrategyManagerPauserRegistry = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'pauserRegistry', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"stakerDepositShares"` */ -export const readStrategyManagerStakerDepositShares = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "stakerDepositShares" -}); +export const readStrategyManagerStakerDepositShares = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'stakerDepositShares', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"stakerStrategyList"` */ -export const readStrategyManagerStakerStrategyList = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "stakerStrategyList" -}); +export const readStrategyManagerStakerStrategyList = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'stakerStrategyList', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"stakerStrategyListLength"` */ -export const readStrategyManagerStakerStrategyListLength = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "stakerStrategyListLength" -}); +export const readStrategyManagerStakerStrategyListLength = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'stakerStrategyListLength', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"strategyIsWhitelistedForDeposit"` */ -export const readStrategyManagerStrategyIsWhitelistedForDeposit = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "strategyIsWhitelistedForDeposit" -}); +export const readStrategyManagerStrategyIsWhitelistedForDeposit = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'strategyIsWhitelistedForDeposit', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"strategyWhitelister"` */ -export const readStrategyManagerStrategyWhitelister = /*#__PURE__*/ createReadContract({ - abi: strategyManagerAbi, - functionName: "strategyWhitelister" -}); +export const readStrategyManagerStrategyWhitelister = + /*#__PURE__*/ createReadContract({ + abi: strategyManagerAbi, + functionName: 'strategyWhitelister', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"version"` */ export const readStrategyManagerVersion = /*#__PURE__*/ createReadContract({ abi: strategyManagerAbi, - functionName: "version" -}); + functionName: 'version', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ */ export const writeStrategyManager = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi -}); + abi: strategyManagerAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"addShares"` */ export const writeStrategyManagerAddShares = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "addShares" -}); + functionName: 'addShares', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"addStrategiesToDepositWhitelist"` @@ -15998,24 +16618,24 @@ export const writeStrategyManagerAddShares = /*#__PURE__*/ createWriteContract({ export const writeStrategyManagerAddStrategiesToDepositWhitelist = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "addStrategiesToDepositWhitelist" - }); + functionName: 'addStrategiesToDepositWhitelist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"burnShares"` */ -export const writeStrategyManagerBurnShares = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "burnShares" -}); +export const writeStrategyManagerBurnShares = /*#__PURE__*/ createWriteContract( + { abi: strategyManagerAbi, functionName: 'burnShares' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"depositIntoStrategy"` */ -export const writeStrategyManagerDepositIntoStrategy = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "depositIntoStrategy" -}); +export const writeStrategyManagerDepositIntoStrategy = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'depositIntoStrategy', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"depositIntoStrategyWithSignature"` @@ -16023,48 +16643,49 @@ export const writeStrategyManagerDepositIntoStrategy = /*#__PURE__*/ createWrite export const writeStrategyManagerDepositIntoStrategyWithSignature = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "depositIntoStrategyWithSignature" - }); + functionName: 'depositIntoStrategyWithSignature', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"increaseBurnableShares"` */ -export const writeStrategyManagerIncreaseBurnableShares = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "increaseBurnableShares" -}); +export const writeStrategyManagerIncreaseBurnableShares = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'increaseBurnableShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"initialize"` */ -export const writeStrategyManagerInitialize = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "initialize" -}); +export const writeStrategyManagerInitialize = /*#__PURE__*/ createWriteContract( + { abi: strategyManagerAbi, functionName: 'initialize' }, +) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"pause"` */ export const writeStrategyManagerPause = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "pause" -}); + functionName: 'pause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"pauseAll"` */ export const writeStrategyManagerPauseAll = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "pauseAll" -}); + functionName: 'pauseAll', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"removeDepositShares"` */ -export const writeStrategyManagerRemoveDepositShares = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "removeDepositShares" -}); +export const writeStrategyManagerRemoveDepositShares = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'removeDepositShares', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"removeStrategiesFromDepositWhitelist"` @@ -16072,63 +16693,68 @@ export const writeStrategyManagerRemoveDepositShares = /*#__PURE__*/ createWrite export const writeStrategyManagerRemoveStrategiesFromDepositWhitelist = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "removeStrategiesFromDepositWhitelist" - }); + functionName: 'removeStrategiesFromDepositWhitelist', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeStrategyManagerRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "renounceOwnership" -}); +export const writeStrategyManagerRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"setStrategyWhitelister"` */ -export const writeStrategyManagerSetStrategyWhitelister = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "setStrategyWhitelister" -}); +export const writeStrategyManagerSetStrategyWhitelister = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'setStrategyWhitelister', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeStrategyManagerTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "transferOwnership" -}); +export const writeStrategyManagerTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"unpause"` */ export const writeStrategyManagerUnpause = /*#__PURE__*/ createWriteContract({ abi: strategyManagerAbi, - functionName: "unpause" -}); + functionName: 'unpause', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"withdrawSharesAsTokens"` */ -export const writeStrategyManagerWithdrawSharesAsTokens = /*#__PURE__*/ createWriteContract({ - abi: strategyManagerAbi, - functionName: "withdrawSharesAsTokens" -}); +export const writeStrategyManagerWithdrawSharesAsTokens = + /*#__PURE__*/ createWriteContract({ + abi: strategyManagerAbi, + functionName: 'withdrawSharesAsTokens', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ */ export const simulateStrategyManager = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi -}); + abi: strategyManagerAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"addShares"` */ -export const simulateStrategyManagerAddShares = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "addShares" -}); +export const simulateStrategyManagerAddShares = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'addShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"addStrategiesToDepositWhitelist"` @@ -16136,24 +16762,26 @@ export const simulateStrategyManagerAddShares = /*#__PURE__*/ createSimulateCont export const simulateStrategyManagerAddStrategiesToDepositWhitelist = /*#__PURE__*/ createSimulateContract({ abi: strategyManagerAbi, - functionName: "addStrategiesToDepositWhitelist" - }); + functionName: 'addStrategiesToDepositWhitelist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"burnShares"` */ -export const simulateStrategyManagerBurnShares = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "burnShares" -}); +export const simulateStrategyManagerBurnShares = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'burnShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"depositIntoStrategy"` */ -export const simulateStrategyManagerDepositIntoStrategy = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "depositIntoStrategy" -}); +export const simulateStrategyManagerDepositIntoStrategy = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'depositIntoStrategy', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"depositIntoStrategyWithSignature"` @@ -16161,48 +16789,53 @@ export const simulateStrategyManagerDepositIntoStrategy = /*#__PURE__*/ createSi export const simulateStrategyManagerDepositIntoStrategyWithSignature = /*#__PURE__*/ createSimulateContract({ abi: strategyManagerAbi, - functionName: "depositIntoStrategyWithSignature" - }); + functionName: 'depositIntoStrategyWithSignature', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"increaseBurnableShares"` */ -export const simulateStrategyManagerIncreaseBurnableShares = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "increaseBurnableShares" -}); +export const simulateStrategyManagerIncreaseBurnableShares = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'increaseBurnableShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"initialize"` */ -export const simulateStrategyManagerInitialize = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "initialize" -}); +export const simulateStrategyManagerInitialize = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'initialize', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"pause"` */ -export const simulateStrategyManagerPause = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "pause" -}); +export const simulateStrategyManagerPause = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'pause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"pauseAll"` */ -export const simulateStrategyManagerPauseAll = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "pauseAll" -}); +export const simulateStrategyManagerPauseAll = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'pauseAll', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"removeDepositShares"` */ -export const simulateStrategyManagerRemoveDepositShares = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "removeDepositShares" -}); +export const simulateStrategyManagerRemoveDepositShares = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'removeDepositShares', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"removeStrategiesFromDepositWhitelist"` @@ -16210,55 +16843,60 @@ export const simulateStrategyManagerRemoveDepositShares = /*#__PURE__*/ createSi export const simulateStrategyManagerRemoveStrategiesFromDepositWhitelist = /*#__PURE__*/ createSimulateContract({ abi: strategyManagerAbi, - functionName: "removeStrategiesFromDepositWhitelist" - }); + functionName: 'removeStrategiesFromDepositWhitelist', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateStrategyManagerRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "renounceOwnership" -}); +export const simulateStrategyManagerRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"setStrategyWhitelister"` */ -export const simulateStrategyManagerSetStrategyWhitelister = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "setStrategyWhitelister" -}); +export const simulateStrategyManagerSetStrategyWhitelister = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'setStrategyWhitelister', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateStrategyManagerTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "transferOwnership" -}); +export const simulateStrategyManagerTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"unpause"` */ -export const simulateStrategyManagerUnpause = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "unpause" -}); +export const simulateStrategyManagerUnpause = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'unpause', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link strategyManagerAbi}__ and `functionName` set to `"withdrawSharesAsTokens"` */ -export const simulateStrategyManagerWithdrawSharesAsTokens = /*#__PURE__*/ createSimulateContract({ - abi: strategyManagerAbi, - functionName: "withdrawSharesAsTokens" -}); +export const simulateStrategyManagerWithdrawSharesAsTokens = + /*#__PURE__*/ createSimulateContract({ + abi: strategyManagerAbi, + functionName: 'withdrawSharesAsTokens', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ */ -export const watchStrategyManagerEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyManagerAbi -}); +export const watchStrategyManagerEvent = /*#__PURE__*/ createWatchContractEvent( + { abi: strategyManagerAbi }, +) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"BurnableSharesDecreased"` @@ -16266,8 +16904,8 @@ export const watchStrategyManagerEvent = /*#__PURE__*/ createWatchContractEvent( export const watchStrategyManagerBurnableSharesDecreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "BurnableSharesDecreased" - }); + eventName: 'BurnableSharesDecreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"BurnableSharesIncreased"` @@ -16275,42 +16913,44 @@ export const watchStrategyManagerBurnableSharesDecreasedEvent = export const watchStrategyManagerBurnableSharesIncreasedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "BurnableSharesIncreased" - }); + eventName: 'BurnableSharesIncreased', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"Deposit"` */ -export const watchStrategyManagerDepositEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyManagerAbi, - eventName: "Deposit" -}); +export const watchStrategyManagerDepositEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyManagerAbi, + eventName: 'Deposit', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"Initialized"` */ -export const watchStrategyManagerInitializedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyManagerAbi, - eventName: "Initialized" -}); +export const watchStrategyManagerInitializedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyManagerAbi, + eventName: 'Initialized', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"OwnershipTransferred"` */ -export const watchStrategyManagerOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchStrategyManagerOwnershipTransferredEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "OwnershipTransferred" - } -); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"Paused"` */ -export const watchStrategyManagerPausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyManagerAbi, - eventName: "Paused" -}); +export const watchStrategyManagerPausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyManagerAbi, + eventName: 'Paused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"StrategyAddedToDepositWhitelist"` @@ -16318,8 +16958,8 @@ export const watchStrategyManagerPausedEvent = /*#__PURE__*/ createWatchContract export const watchStrategyManagerStrategyAddedToDepositWhitelistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "StrategyAddedToDepositWhitelist" - }); + eventName: 'StrategyAddedToDepositWhitelist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"StrategyRemovedFromDepositWhitelist"` @@ -16327,8 +16967,8 @@ export const watchStrategyManagerStrategyAddedToDepositWhitelistEvent = export const watchStrategyManagerStrategyRemovedFromDepositWhitelistEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "StrategyRemovedFromDepositWhitelist" - }); + eventName: 'StrategyRemovedFromDepositWhitelist', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"StrategyWhitelisterChanged"` @@ -16336,23 +16976,25 @@ export const watchStrategyManagerStrategyRemovedFromDepositWhitelistEvent = export const watchStrategyManagerStrategyWhitelisterChangedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: strategyManagerAbi, - eventName: "StrategyWhitelisterChanged" - }); + eventName: 'StrategyWhitelisterChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link strategyManagerAbi}__ and `eventName` set to `"Unpaused"` */ -export const watchStrategyManagerUnpausedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: strategyManagerAbi, - eventName: "Unpaused" -}); +export const watchStrategyManagerUnpausedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: strategyManagerAbi, + eventName: 'Unpaused', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link transparentUpgradeableProxyAbi}__ */ -export const watchTransparentUpgradeableProxyEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: transparentUpgradeableProxyAbi -}); +export const watchTransparentUpgradeableProxyEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: transparentUpgradeableProxyAbi, + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link transparentUpgradeableProxyAbi}__ and `eventName` set to `"AdminChanged"` @@ -16360,8 +17002,8 @@ export const watchTransparentUpgradeableProxyEvent = /*#__PURE__*/ createWatchCo export const watchTransparentUpgradeableProxyAdminChangedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: transparentUpgradeableProxyAbi, - eventName: "AdminChanged" - }); + eventName: 'AdminChanged', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link transparentUpgradeableProxyAbi}__ and `eventName` set to `"BeaconUpgraded"` @@ -16369,110 +17011,115 @@ export const watchTransparentUpgradeableProxyAdminChangedEvent = export const watchTransparentUpgradeableProxyBeaconUpgradedEvent = /*#__PURE__*/ createWatchContractEvent({ abi: transparentUpgradeableProxyAbi, - eventName: "BeaconUpgraded" - }); + eventName: 'BeaconUpgraded', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link transparentUpgradeableProxyAbi}__ and `eventName` set to `"Upgraded"` */ -export const watchTransparentUpgradeableProxyUpgradedEvent = /*#__PURE__*/ createWatchContractEvent( - { +export const watchTransparentUpgradeableProxyUpgradedEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: transparentUpgradeableProxyAbi, - eventName: "Upgraded" - } -); + eventName: 'Upgraded', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ */ export const readUpgradeableBeacon = /*#__PURE__*/ createReadContract({ - abi: upgradeableBeaconAbi -}); + abi: upgradeableBeaconAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"implementation"` */ -export const readUpgradeableBeaconImplementation = /*#__PURE__*/ createReadContract({ - abi: upgradeableBeaconAbi, - functionName: "implementation" -}); +export const readUpgradeableBeaconImplementation = + /*#__PURE__*/ createReadContract({ + abi: upgradeableBeaconAbi, + functionName: 'implementation', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"owner"` */ export const readUpgradeableBeaconOwner = /*#__PURE__*/ createReadContract({ abi: upgradeableBeaconAbi, - functionName: "owner" -}); + functionName: 'owner', +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ */ export const writeUpgradeableBeacon = /*#__PURE__*/ createWriteContract({ - abi: upgradeableBeaconAbi -}); + abi: upgradeableBeaconAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const writeUpgradeableBeaconRenounceOwnership = /*#__PURE__*/ createWriteContract({ - abi: upgradeableBeaconAbi, - functionName: "renounceOwnership" -}); +export const writeUpgradeableBeaconRenounceOwnership = + /*#__PURE__*/ createWriteContract({ + abi: upgradeableBeaconAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"transferOwnership"` */ -export const writeUpgradeableBeaconTransferOwnership = /*#__PURE__*/ createWriteContract({ - abi: upgradeableBeaconAbi, - functionName: "transferOwnership" -}); +export const writeUpgradeableBeaconTransferOwnership = + /*#__PURE__*/ createWriteContract({ + abi: upgradeableBeaconAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"upgradeTo"` */ -export const writeUpgradeableBeaconUpgradeTo = /*#__PURE__*/ createWriteContract({ - abi: upgradeableBeaconAbi, - functionName: "upgradeTo" -}); +export const writeUpgradeableBeaconUpgradeTo = + /*#__PURE__*/ createWriteContract({ + abi: upgradeableBeaconAbi, + functionName: 'upgradeTo', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ */ export const simulateUpgradeableBeacon = /*#__PURE__*/ createSimulateContract({ - abi: upgradeableBeaconAbi -}); + abi: upgradeableBeaconAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"renounceOwnership"` */ -export const simulateUpgradeableBeaconRenounceOwnership = /*#__PURE__*/ createSimulateContract({ - abi: upgradeableBeaconAbi, - functionName: "renounceOwnership" -}); +export const simulateUpgradeableBeaconRenounceOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: upgradeableBeaconAbi, + functionName: 'renounceOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"transferOwnership"` */ -export const simulateUpgradeableBeaconTransferOwnership = /*#__PURE__*/ createSimulateContract({ - abi: upgradeableBeaconAbi, - functionName: "transferOwnership" -}); +export const simulateUpgradeableBeaconTransferOwnership = + /*#__PURE__*/ createSimulateContract({ + abi: upgradeableBeaconAbi, + functionName: 'transferOwnership', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `functionName` set to `"upgradeTo"` */ -export const simulateUpgradeableBeaconUpgradeTo = /*#__PURE__*/ createSimulateContract({ - abi: upgradeableBeaconAbi, - functionName: "upgradeTo" -}); +export const simulateUpgradeableBeaconUpgradeTo = + /*#__PURE__*/ createSimulateContract({ + abi: upgradeableBeaconAbi, + functionName: 'upgradeTo', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link upgradeableBeaconAbi}__ */ -export const watchUpgradeableBeaconEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: upgradeableBeaconAbi -}); +export const watchUpgradeableBeaconEvent = + /*#__PURE__*/ createWatchContractEvent({ abi: upgradeableBeaconAbi }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `eventName` set to `"OwnershipTransferred"` @@ -16480,156 +17127,170 @@ export const watchUpgradeableBeaconEvent = /*#__PURE__*/ createWatchContractEven export const watchUpgradeableBeaconOwnershipTransferredEvent = /*#__PURE__*/ createWatchContractEvent({ abi: upgradeableBeaconAbi, - eventName: "OwnershipTransferred" - }); + eventName: 'OwnershipTransferred', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link upgradeableBeaconAbi}__ and `eventName` set to `"Upgraded"` */ -export const watchUpgradeableBeaconUpgradedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: upgradeableBeaconAbi, - eventName: "Upgraded" -}); +export const watchUpgradeableBeaconUpgradedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: upgradeableBeaconAbi, + eventName: 'Upgraded', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ */ export const readVetoableSlasher = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi -}); + abi: vetoableSlasherAbi, +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"allocationManager"` */ -export const readVetoableSlasherAllocationManager = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "allocationManager" -}); +export const readVetoableSlasherAllocationManager = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'allocationManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"nextRequestId"` */ -export const readVetoableSlasherNextRequestId = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "nextRequestId" -}); +export const readVetoableSlasherNextRequestId = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'nextRequestId', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"serviceManager"` */ -export const readVetoableSlasherServiceManager = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "serviceManager" -}); +export const readVetoableSlasherServiceManager = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'serviceManager', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"slasher"` */ export const readVetoableSlasherSlasher = /*#__PURE__*/ createReadContract({ abi: vetoableSlasherAbi, - functionName: "slasher" -}); + functionName: 'slasher', +}) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"slashingRequests"` */ -export const readVetoableSlasherSlashingRequests = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "slashingRequests" -}); +export const readVetoableSlasherSlashingRequests = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'slashingRequests', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"vetoCommittee"` */ -export const readVetoableSlasherVetoCommittee = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "vetoCommittee" -}); +export const readVetoableSlasherVetoCommittee = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'vetoCommittee', + }) /** * Wraps __{@link readContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"vetoWindowBlocks"` */ -export const readVetoableSlasherVetoWindowBlocks = /*#__PURE__*/ createReadContract({ - abi: vetoableSlasherAbi, - functionName: "vetoWindowBlocks" -}); +export const readVetoableSlasherVetoWindowBlocks = + /*#__PURE__*/ createReadContract({ + abi: vetoableSlasherAbi, + functionName: 'vetoWindowBlocks', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ */ export const writeVetoableSlasher = /*#__PURE__*/ createWriteContract({ - abi: vetoableSlasherAbi -}); + abi: vetoableSlasherAbi, +}) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"cancelSlashingRequest"` */ -export const writeVetoableSlasherCancelSlashingRequest = /*#__PURE__*/ createWriteContract({ - abi: vetoableSlasherAbi, - functionName: "cancelSlashingRequest" -}); +export const writeVetoableSlasherCancelSlashingRequest = + /*#__PURE__*/ createWriteContract({ + abi: vetoableSlasherAbi, + functionName: 'cancelSlashingRequest', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"fulfilSlashingRequest"` */ -export const writeVetoableSlasherFulfilSlashingRequest = /*#__PURE__*/ createWriteContract({ - abi: vetoableSlasherAbi, - functionName: "fulfilSlashingRequest" -}); +export const writeVetoableSlasherFulfilSlashingRequest = + /*#__PURE__*/ createWriteContract({ + abi: vetoableSlasherAbi, + functionName: 'fulfilSlashingRequest', + }) /** * Wraps __{@link writeContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"queueSlashingRequest"` */ -export const writeVetoableSlasherQueueSlashingRequest = /*#__PURE__*/ createWriteContract({ - abi: vetoableSlasherAbi, - functionName: "queueSlashingRequest" -}); +export const writeVetoableSlasherQueueSlashingRequest = + /*#__PURE__*/ createWriteContract({ + abi: vetoableSlasherAbi, + functionName: 'queueSlashingRequest', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ */ export const simulateVetoableSlasher = /*#__PURE__*/ createSimulateContract({ - abi: vetoableSlasherAbi -}); + abi: vetoableSlasherAbi, +}) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"cancelSlashingRequest"` */ -export const simulateVetoableSlasherCancelSlashingRequest = /*#__PURE__*/ createSimulateContract({ - abi: vetoableSlasherAbi, - functionName: "cancelSlashingRequest" -}); +export const simulateVetoableSlasherCancelSlashingRequest = + /*#__PURE__*/ createSimulateContract({ + abi: vetoableSlasherAbi, + functionName: 'cancelSlashingRequest', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"fulfilSlashingRequest"` */ -export const simulateVetoableSlasherFulfilSlashingRequest = /*#__PURE__*/ createSimulateContract({ - abi: vetoableSlasherAbi, - functionName: "fulfilSlashingRequest" -}); +export const simulateVetoableSlasherFulfilSlashingRequest = + /*#__PURE__*/ createSimulateContract({ + abi: vetoableSlasherAbi, + functionName: 'fulfilSlashingRequest', + }) /** * Wraps __{@link simulateContract}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `functionName` set to `"queueSlashingRequest"` */ -export const simulateVetoableSlasherQueueSlashingRequest = /*#__PURE__*/ createSimulateContract({ - abi: vetoableSlasherAbi, - functionName: "queueSlashingRequest" -}); +export const simulateVetoableSlasherQueueSlashingRequest = + /*#__PURE__*/ createSimulateContract({ + abi: vetoableSlasherAbi, + functionName: 'queueSlashingRequest', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link vetoableSlasherAbi}__ */ -export const watchVetoableSlasherEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: vetoableSlasherAbi -}); +export const watchVetoableSlasherEvent = /*#__PURE__*/ createWatchContractEvent( + { abi: vetoableSlasherAbi }, +) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `eventName` set to `"OperatorSlashed"` */ -export const watchVetoableSlasherOperatorSlashedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: vetoableSlasherAbi, - eventName: "OperatorSlashed" -}); +export const watchVetoableSlasherOperatorSlashedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: vetoableSlasherAbi, + eventName: 'OperatorSlashed', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `eventName` set to `"SlashingRequestCancelled"` @@ -16637,8 +17298,8 @@ export const watchVetoableSlasherOperatorSlashedEvent = /*#__PURE__*/ createWatc export const watchVetoableSlasherSlashingRequestCancelledEvent = /*#__PURE__*/ createWatchContractEvent({ abi: vetoableSlasherAbi, - eventName: "SlashingRequestCancelled" - }); + eventName: 'SlashingRequestCancelled', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `eventName` set to `"SlashingRequestFulfilled"` @@ -16646,13 +17307,14 @@ export const watchVetoableSlasherSlashingRequestCancelledEvent = export const watchVetoableSlasherSlashingRequestFulfilledEvent = /*#__PURE__*/ createWatchContractEvent({ abi: vetoableSlasherAbi, - eventName: "SlashingRequestFulfilled" - }); + eventName: 'SlashingRequestFulfilled', + }) /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link vetoableSlasherAbi}__ and `eventName` set to `"SlashingRequested"` */ -export const watchVetoableSlasherSlashingRequestedEvent = /*#__PURE__*/ createWatchContractEvent({ - abi: vetoableSlasherAbi, - eventName: "SlashingRequested" -}); +export const watchVetoableSlasherSlashingRequestedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: vetoableSlasherAbi, + eventName: 'SlashingRequested', + }) diff --git a/test/docker/crossbuild-mac-libpq.dockerfile b/test/docker/crossbuild-mac-libpq.dockerfile new file mode 100644 index 00000000..2f0b3d88 --- /dev/null +++ b/test/docker/crossbuild-mac-libpq.dockerfile @@ -0,0 +1,12 @@ +# Stage 1: Build libpq +FROM ubuntu:noble AS crossbuild-libpq-builder + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + ca-certificates libpq-dev + +# Stage 2: Copy the compiled libpq.so to a more accessible directory +FROM ubuntu:noble AS crossbuild-libpq-artifacts + +# Copy libpq.so from the crossbuild-libpq stage to the /artifacts directory +COPY --from=crossbuild-libpq-builder /usr/lib/x86_64-linux-gnu/libpq.so /artifacts/libpq.so diff --git a/test/docker/datahaven-node-local.dockerfile b/test/docker/datahaven-node-local.dockerfile new file mode 100644 index 00000000..32365e4e --- /dev/null +++ b/test/docker/datahaven-node-local.dockerfile @@ -0,0 +1,40 @@ +# DATAHAVEN_NODE DOCKERFILE +# +# This Dockerfile expects to have the binary already built. +# So it just copies the binary into the image and runs it. +# +# This is done to speed up iterating while running the E2E CLI. +# +# Requires to run from /test folder and to copy the binary in the build folder + +FROM ubuntu:noble + +LABEL version="0.1.0" +LABEL description="DataHaven Node Local Build" + +ENV RUST_BACKTRACE=1 + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + ca-certificates curl sudo librocksdb-dev libpq-dev && \ + apt-get autoremove -y && \ + apt-get clean && \ + find /var/lib/apt/lists/ -type f -not -name lock -delete && \ + useradd -m -u 1337 -U -s /bin/sh -d /datahaven datahaven && \ + mkdir -p /data /datahaven/.local/share /specs /storage && \ + chown -R datahaven:datahaven /data && \ + ln -s /data /datahaven/.local/share/datahaven-node && \ + echo "datahaven ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ + chmod -R 777 /storage /data + +USER datahaven + +COPY --chown=datahaven:datahaven ./operator/target/x86_64-unknown-linux-gnu/release/datahaven-node /usr/local/bin/datahaven-node +RUN chmod uog+x /usr/local/bin/datahaven-node + +EXPOSE 9333 9944 30333 30334 9615 + +VOLUME ["/data"] + +ENTRYPOINT ["datahaven-node"] +CMD ["--tmp"] \ No newline at end of file diff --git a/test/package.json b/test/package.json index 4ff52b39..5c053d3d 100644 --- a/test/package.json +++ b/test/package.json @@ -7,14 +7,14 @@ "cli": "bun run cli/index.ts", "fmt": "biome check .", "fmt:fix": "biome check --write .", - "build:docker:operator": "docker buildx build --platform=linux/amd64 -t moonsonglabs/datahaven:local -f ../operator/Dockerfile ../.", + "build:docker:operator": "docker build -t moonsonglabs/datahaven:local -f ./docker/datahaven-node-local.dockerfile ../.", "build:docker:relayer": "bun -e \"import build from './scripts/snowbridge-relayer.ts'; build()\"", "generate:wagmi": "wagmi generate", "generate:snowbridge-cfgs": "bun -e \"import {generateSnowbridgeConfigs} from './scripts/gen-snowbridge-cfgs.ts'; await generateSnowbridgeConfigs()\"", "generate:types": "(cd ../operator && cargo build --release) && bun x papi add --wasm \"../operator/target/release/wbuild/datahaven-stagenet-runtime/datahaven_stagenet_runtime.wasm\" datahaven", "start:e2e:verified": "bun cli --verified --blockscout --deploy-contracts --setup-validators --update-validator-set --fund-validators", "start:e2e:verified:relayers": "bun cli --verified --blockscout --deploy-contracts --setup-validators --update-validator-set --fund-validators --slot-time 1 --relayer --datahaven", - "start:e2e:ci": "bun cli --datahaven --launch-kurtosis --deploy-contracts --fund-validators --setup-validators --update-validator-set --relayer --always-clean", + "start:e2e:ci": "bun cli --datahaven --no-build-datahaven --launch-kurtosis --deploy-contracts --fund-validators --setup-validators --update-validator-set --relayer --always-clean", "start:e2e:minrelayer": "bun cli --relayer --deploy-contracts --no-setup-validators --no-update-validator-set --no-fund-validators --datahaven", "stop:docker": "docker ps -a --filter 'ancestor=moonsonglabs/datahaven:local' -q | xargs -r docker rm -f", "stop:e2e": "bun stop:docker ;pkill datahaven ; pkill snowbridge-relay ; kurtosis enclave stop datahaven-ethereum && kurtosis clean && kurtosis engine stop && docker container prune -f", @@ -69,4 +69,4 @@ "ssh2", "utf-8-validate" ] -} \ No newline at end of file +} diff --git a/test/scripts/cargo-crossbuild.ts b/test/scripts/cargo-crossbuild.ts new file mode 100644 index 00000000..23ce4d99 --- /dev/null +++ b/test/scripts/cargo-crossbuild.ts @@ -0,0 +1,136 @@ +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { $ } from "bun"; +import { logger } from "utils"; + +const LOG_LEVEL = Bun.env.LOG_LEVEL || "info"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +export const cargoCrossbuild = async (options: { + datahavenBuildExtraArgs?: string; +}) => { + logger.info("๐Ÿ”€ Cross-building DataHaven node for Linux AMD64"); + + const ARCH = (await $`uname -m`.text()).trim(); + const OS = (await $`uname -s`.text()).trim(); + + // Case: Apple Silicon + if (ARCH === "arm64" && OS === "Darwin") { + logger.info("๐ŸŽ Apple Silicon detected. Proceeding with cross-building..."); + + if (!isCommandAvailable("zig")) { + logger.error("Zig is not installed. Please install Zig to proceed."); + logger.info( + "Instructions to install can be found here: https://ziglang.org/learn/getting-started/" + ); + throw new Error("Zig is not installed"); + } + + installCargoZigbuild(); + + const target = "x86_64-unknown-linux-gnu"; + addRustupTarget(target); + + // Build and copy libpq.so before cargo zigbuild + await buildAndCopyLibpq(target); + + // Get additional arguments from command line + const additionalArgs = options.datahavenBuildExtraArgs ?? ""; + + const command = `cargo zigbuild --target ${target} --release ${additionalArgs}`; + logger.debug(`Running build command: ${command}`); + + if (LOG_LEVEL === "debug") { + await $`sh -c "${command}"`.cwd(`${process.cwd()}/../operator`); + } else { + await $`sh -c "${command}"`.cwd(`${process.cwd()}/../operator`).quiet(); + } + + // Case: Linux x86 + } else if (ARCH === "x86_64" && OS === "Linux") { + logger.info("๐Ÿ–ฅ๏ธ Linux AMD64 detected. Proceeding with cross-building..."); + + const command = "cargo build --release"; + logger.debug(`Running build command: ${command}`); + + if (LOG_LEVEL === "debug") { + await $`sh -c "${command}"`.cwd(`${process.cwd()}/../operator`); + } else { + await $`sh -c "${command}"`.cwd(`${process.cwd()}/../operator`).quiet(); + } + + // Case: Unsupported architecture or OS + } else { + logger.error("๐Ÿšจ Unsupported architecture or OS. Please use Apple Silicon or Linux AMD64."); + logger.info(`Architecture: ${ARCH}; OS: ${OS}`); + throw new Error("Unsupported architecture or OS"); + } +}; + +const isCommandAvailable = async (command: string): Promise => { + try { + await $`command -v ${command}`.text(); + return true; + } catch { + return false; + } +}; + +const installCargoZigbuild = async (): Promise => { + if (!(await $`cargo install --list`.text()).includes("cargo-zigbuild")) { + await $`cargo install cargo-zigbuild --locked`.text(); + } +}; + +const addRustupTarget = async (target: string): Promise => { + if (!(await $`rustup target list --installed`.text()).includes(target)) { + await $`rustup target add ${target}`.text(); + } +}; + +// Updated function to build and copy libpq.so +const buildAndCopyLibpq = async (target: string): Promise => { + logger.info("๐Ÿ—๏ธ Building and copying libpq.so..."); + + // Set Docker platform + process.env.DOCKER_DEFAULT_PLATFORM = "linux/amd64"; + + // Build Docker image + const dockerfilePath = path.join(__dirname, "../docker/crossbuild-mac-libpq.dockerfile"); + logger.debug( + await $`docker build -f ${dockerfilePath} -t crossbuild-libpq ${path.join(__dirname, "..", "..")}`.text() + ); + + // Create container and copy libpq.so + logger.debug(await $`docker create --name linux-libpq-container crossbuild-libpq`.text()); + + const destPath = path.join( + __dirname, + "..", + "..", + "operator", + "target", + target, + "release", + "deps" + ); + + // Ensure the destination directory exists + fs.mkdirSync(destPath, { recursive: true }); + + logger.debug( + await $`docker cp linux-libpq-container:/artifacts/libpq.so ${path.join(destPath, "libpq.so")}`.text() + ); + + // Remove container + logger.debug(await $`docker rm linux-libpq-container`.text()); + + // Set RUSTFLAGS with the correct library path + process.env.RUSTFLAGS = `-C link-arg=-Wl,-rpath,$ORIGIN/../release/deps -L ${destPath}`; + logger.trace(`RUSTFLAGS set to: ${process.env.RUSTFLAGS}`); + + logger.success(`libpq.so has been copied to ${destPath}`); +}; diff --git a/test/suites/e2e/datahaven-basic.test.ts b/test/suites/e2e/datahaven-basic.test.ts index 14ee360d..1a0a968e 100644 --- a/test/suites/e2e/datahaven-basic.test.ts +++ b/test/suites/e2e/datahaven-basic.test.ts @@ -10,7 +10,7 @@ import { } from "utils"; import { isAddress, parseEther } from "viem"; -describe("Datahaven solochain", () => { +describe("DataHaven solochain", () => { let api: DataHavenApi; let signer: PolkadotSigner;