# Function translator

- translator<K1, K2>(args_0, args_1): (K1 extends bigint
  ? `bigint(${K1})`
  : K1 extends boolean
  ? `boolean(${K1})`
  : K1) extends "Mainnet" | "Testnet"
  ? {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] extends {
  [key: string]: unknown;
  }
  ? (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2) extends keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object]
  ? {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)] extends {
  [key: string]: unknown;
  }
  ? {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : never
  : {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[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: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] extends {
  [key: string]: unknown;
  }
  ? (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2) extends keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object]
  ? {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)] extends {
  [key: string]: unknown;
  }
  ? {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object][keyof {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object] & (K2 extends bigint
  ? `bigint(${K2})`
  : K2 extends boolean
  ? `boolean(${K2})`
  : K2)]
  : never
  : {
  Mainnet: {
  Sei: "";
  };
  Testnet: {
  Sei: "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak";
  };
  }[Object]
  : never

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

Generated using TypeDoc