erpc-sdk 0.11.0

Async multi-network Rust SDK for ERPC
Documentation
// Generated by registry/generate-swap-execution-capabilities.mjs. Do not edit.

pub(crate) const SWAP_EXECUTION_CAPABILITIES_JSON: &str = concat!(
    "[{\"swapExecutionCapabilityId\":\"swap-execution-0001\",\"chainId\":\"eip155:1\",\"",
    "dexDeploymentId\":\"dex-deployment-0001\",\"poolDefinitionId\":\"pool-0001\",\"",
    "factoryAddress\":\"0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f\",\"routerAddress\"",
    ":\"0x7a250d5630b4cf539739df2c5dacb4c659f2488d\",\"routerKind\":\"",
    "uniswap-v2-router02\",\"adapterKind\":\"evm-constant-product-v2\",\"",
    "token0DeploymentId\":\"deployment-0008\",\"token0Address\":\"",
    "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"token0Standard\":\"erc20\",\"",
    "token1DeploymentId\":\"deployment-0002\",\"token1Address\":\"",
    "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\",\"token1Standard\":\"erc20\",\"",
    "wrappedNativeTokenDeploymentId\":\"deployment-0002\",\"wrappedNativeTokenAddress",
    "\":\"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\",\"",
    "wrappedNativeFunctionSelector\":\"0xad5c4648\",\"functionKind\":\"",
    "exact-input-erc20-to-erc20\",\"functionSignature\":\"swapExactTokensForTokens(",
    "uint256,uint256,address[],address,uint256)\",\"functionSelector\":\"0x38ed1739\",",
    "\"status\":\"active\"},{\"swapExecutionCapabilityId\":\"swap-execution-0002\",\"",
    "chainId\":\"eip155:43114\",\"dexDeploymentId\":\"dex-deployment-0002\",\"",
    "poolDefinitionId\":\"pool-0002\",\"factoryAddress\":\"",
    "0x9ad6c38be94206ca50bb0d90783181662f0cfa10\",\"routerAddress\":\"",
    "0x60ae616a2155ee3d9a68541ba4544862310933d4\",\"routerKind\":\"joe-v1-router02\",\"",
    "adapterKind\":\"evm-constant-product-v2\",\"token0DeploymentId\":\"deployment-0004",
    "\",\"token0Address\":\"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\"",
    "token0Standard\":\"erc20\",\"token1DeploymentId\":\"deployment-0009\",\"",
    "token1Address\":\"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\"token1Standard\"",
    ":\"erc20\",\"wrappedNativeTokenDeploymentId\":\"deployment-0004\",\"",
    "wrappedNativeTokenAddress\":\"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\"",
    "wrappedNativeFunctionSelector\":\"0x73b295c2\",\"functionKind\":\"",
    "exact-input-erc20-to-erc20\",\"functionSignature\":\"swapExactTokensForTokens(",
    "uint256,uint256,address[],address,uint256)\",\"functionSelector\":\"0x38ed1739\",",
    "\"status\":\"active\"}]",
);
pub(crate) const SWAP_EXECUTION_CAPABILITIES_CONTENT_DIGEST: &str =
    "84424dc48687e2cb1dd0c9a2446f820efd2c311e71ce5acacfeb6e882811875f";
pub(crate) const SWAP_EXECUTION_CAPABILITIES_AS_OF_DATE: &str = "2026-09-16";
pub(crate) const SWAP_EXECUTION_FUNCTION_SIGNATURE: &str =
    "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)";
pub(crate) const SWAP_EXECUTION_FUNCTION_SELECTOR: &str = "0x38ed1739";