# Function rollupContracts

- rollupContracts<K1, K2>(args_0, args_1): (K1 extends bigint
  ? `bigint(${K1})`
  : K1 extends boolean
  ? `boolean(${K1})`
  : K1) extends "Mainnet" | "Testnet"
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] extends {
  [key: string]: unknown;
  }
  ? (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2) extends keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object]
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)] extends {
  [key: string]: unknown;
  }
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : never
  : {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object]
  : never

- #### Type Parameters

  - #### K1 extends "Mainnet" | "Testnet"

  - #### K2 extends string | number | symbol

  #### Parameters

  - ##### args_0: K1

  - ##### args_1: K2

  #### Returns (K1 extends bigint
  ? `bigint(${K1})`
  : K1 extends boolean
  ? `boolean(${K1})`
  : K1) extends "Mainnet" | "Testnet"
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] extends {
  [key: string]: unknown;
  }
  ? (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2) extends keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object]
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)] extends {
  [key: string]: unknown;
  }
  ? {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object][keyof {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : never
  : {
  Mainnet: {
  Arbitrum: readonly ["Ethereum", "0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"];
  Optimism: readonly ["Ethereum", "0xdfe97868233d1aa22e815a266982f2cf17685a27"];
  Polygon: readonly ["Ethereum", "0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"];
  };
  Testnet: {
  Arbitrum: readonly ["Ethereum", "0x45af9ed1d03703e480ce7d328fb684bb67da5049"];
  Optimism: readonly ["Ethereum", "0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"];
  Polygon: readonly ["Ethereum", "0x2890ba17efe978480615e330ecb65333b880928e"];
  };
  }[Object]
  : never

  - Defined in core/base/dist/esm/constants/contracts/index.d.ts:4341

Generated using TypeDoc