import { BinaryReader, BinaryWriter } from "../../../../binary"; /** * ReceiveStatus represents the status of an outbound * TODO: Rename and move * https://github.com/zeta-chain/node/issues/2257 */ export declare enum ReceiveStatus { /** created - Created is used for inbounds */ created = 0, success = 1, failed = 2, UNRECOGNIZED = -1 } export declare const ReceiveStatusSDKType: typeof ReceiveStatus; export declare const ReceiveStatusAmino: typeof ReceiveStatus; export declare function receiveStatusFromJSON(object: any): ReceiveStatus; export declare function receiveStatusToJSON(object: ReceiveStatus): string; /** * ChainName represents the name of the chain * Deprecated(v19): replaced with Chain.Name as string */ export declare enum ChainName { empty = 0, eth_mainnet = 1, zeta_mainnet = 2, btc_mainnet = 3, polygon_mainnet = 4, bsc_mainnet = 5, goerli_testnet = 6, mumbai_testnet = 7, bsc_testnet = 10, zeta_testnet = 11, btc_testnet = 12, sepolia_testnet = 13, goerli_localnet = 14, btc_regtest = 15, amoy_testnet = 16, optimism_mainnet = 17, optimism_sepolia = 18, base_mainnet = 19, base_sepolia = 20, solana_mainnet = 21, solana_devnet = 22, solana_localnet = 23, UNRECOGNIZED = -1 } export declare const ChainNameSDKType: typeof ChainName; export declare const ChainNameAmino: typeof ChainName; export declare function chainNameFromJSON(object: any): ChainName; export declare function chainNameToJSON(object: ChainName): string; /** * Network represents the network of the chain * there is a single instance of the network on mainnet * then the network can have eventual testnets or devnets */ export declare enum Network { eth = 0, zeta = 1, btc = 2, polygon = 3, bsc = 4, optimism = 5, base = 6, solana = 7, ton = 8, avalanche = 9, arbitrum = 10, worldchain = 11, sui = 12, UNRECOGNIZED = -1 } export declare const NetworkSDKType: typeof Network; export declare const NetworkAmino: typeof Network; export declare function networkFromJSON(object: any): Network; export declare function networkToJSON(object: Network): string; /** * NetworkType represents the network type of the chain * Mainnet, Testnet, Privnet, Devnet */ export declare enum NetworkType { mainnet = 0, testnet = 1, privnet = 2, devnet = 3, UNRECOGNIZED = -1 } export declare const NetworkTypeSDKType: typeof NetworkType; export declare const NetworkTypeAmino: typeof NetworkType; export declare function networkTypeFromJSON(object: any): NetworkType; export declare function networkTypeToJSON(object: NetworkType): string; /** * Vm represents the virtual machine type of the chain to support smart * contracts */ export declare enum Vm { no_vm = 0, evm = 1, svm = 2, tvm = 3, mvm_sui = 4, UNRECOGNIZED = -1 } export declare const VmSDKType: typeof Vm; export declare const VmAmino: typeof Vm; export declare function vmFromJSON(object: any): Vm; export declare function vmToJSON(object: Vm): string; /** * Consensus represents the consensus algorithm used by the chain * this can represent the consensus of a L1 * this can also represent the solution of a L2 */ export declare enum Consensus { ethereum = 0, tendermint = 1, bitcoin = 2, op_stack = 3, solana_consensus = 4, /** catchain_consensus - ton */ catchain_consensus = 5, /** snowman - avalanche */ snowman = 6, arbitrum_nitro = 7, sui_consensus = 8, UNRECOGNIZED = -1 } export declare const ConsensusSDKType: typeof Consensus; export declare const ConsensusAmino: typeof Consensus; export declare function consensusFromJSON(object: any): Consensus; export declare function consensusToJSON(object: Consensus): string; /** CCTXGateway describes for the chain the gateway used to handle CCTX outbounds */ export declare enum CCTXGateway { /** * zevm - zevm is the internal CCTX gateway to process outbound on the ZEVM and read * inbound events from the ZEVM only used for ZetaChain chains */ zevm = 0, /** * observers - observers is the CCTX gateway for chains relying on the observer set to * observe inbounds and TSS for outbounds */ observers = 1, UNRECOGNIZED = -1 } export declare const CCTXGatewaySDKType: typeof CCTXGateway; export declare const CCTXGatewayAmino: typeof CCTXGateway; export declare function cCTXGatewayFromJSON(object: any): CCTXGateway; export declare function cCTXGatewayToJSON(object: CCTXGateway): string; /** * Chain represents static data about a blockchain network * it is identified by a unique chain ID */ export interface Chain { /** ChainId is the unique identifier of the chain */ chainId: bigint; /** * ChainName is the name of the chain * Deprecated(v19): replaced with Name */ /** @deprecated */ chainName: ChainName; /** Network is the network of the chain */ network: Network; /** NetworkType is the network type of the chain: mainnet, testnet, etc.. */ networkType: NetworkType; /** Vm is the virtual machine used in the chain */ vm: Vm; /** Consensus is the underlying consensus algorithm used by the chain */ consensus: Consensus; /** IsExternal describe if the chain is ZetaChain or external */ isExternal: boolean; /** CCTXGateway is the gateway used to handle CCTX outbounds */ cctxGateway: CCTXGateway; /** Name is the name of the chain */ name: string; } export interface ChainProtoMsg { typeUrl: "/zetachain.zetacore.pkg.chains.Chain"; value: Uint8Array; } /** * Chain represents static data about a blockchain network * it is identified by a unique chain ID * @name ChainAmino * @package zetachain.zetacore.pkg.chains * @see proto type: zetachain.zetacore.pkg.chains.Chain */ export interface ChainAmino { /** * ChainId is the unique identifier of the chain */ chain_id?: string; /** * ChainName is the name of the chain * Deprecated(v19): replaced with Name * @deprecated */ chain_name?: ChainName; /** * Network is the network of the chain */ network?: Network; /** * NetworkType is the network type of the chain: mainnet, testnet, etc.. */ network_type?: NetworkType; /** * Vm is the virtual machine used in the chain */ vm?: Vm; /** * Consensus is the underlying consensus algorithm used by the chain */ consensus?: Consensus; /** * IsExternal describe if the chain is ZetaChain or external */ is_external?: boolean; /** * CCTXGateway is the gateway used to handle CCTX outbounds */ cctx_gateway?: CCTXGateway; /** * Name is the name of the chain */ name?: string; } export interface ChainAminoMsg { type: "/zetachain.zetacore.pkg.chains.Chain"; value: ChainAmino; } /** * Chain represents static data about a blockchain network * it is identified by a unique chain ID */ export interface ChainSDKType { chain_id: bigint; /** @deprecated */ chain_name: ChainName; network: Network; network_type: NetworkType; vm: Vm; consensus: Consensus; is_external: boolean; cctx_gateway: CCTXGateway; name: string; } export declare const Chain: { typeUrl: string; encode(message: Chain, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Chain; fromPartial(object: Partial): Chain; fromAmino(object: ChainAmino): Chain; toAmino(message: Chain): ChainAmino; fromAminoMsg(object: ChainAminoMsg): Chain; fromProtoMsg(message: ChainProtoMsg): Chain; toProto(message: Chain): Uint8Array; toProtoMsg(message: Chain): ChainProtoMsg; };