import { Message } from "@bufbuild/protobuf"; import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; declare namespace zipper_pb_d_exports { export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper }; } /** * Describes the file chain/zipper/v1/zipper.proto. */ declare const file_chain_zipper_v1_zipper: GenFile; /** * ChainConfig describes one supported external chain for deposit and withdraw. * * @generated from message chain.zipper.v1.ChainConfig */ type ChainConfig = Message<"chain.zipper.v1.ChainConfig"> & { /** * PolyChain-registered chain id used across Zipper and lifecycle events. * * @generated from field: uint32 chain_id = 1; */ chainId: number; /** * Stable machine-friendly chain key (for example: "ethereum", "solana"). * * @generated from field: string code = 2; */ code: string; /** * Human-friendly display name. * * @generated from field: string name = 3; */ name: string; /** * Native source-chain network identifier when useful for wallet or explorer * integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains * may omit this and should be identified by `chain_id` and `code`. * * @generated from field: string native_chain_id = 4; */ nativeChainId: string; /** * Native gas token symbol for this chain (for example: ETH, BTC, SOL). * * @generated from field: string native_currency_symbol = 5; */ nativeCurrencySymbol: string; /** * Optional block explorer base URL for links. * * @generated from field: string explorer_url = 6; */ explorerUrl: string; /** * Optional icon reference for UI display. * * @generated from field: string icon = 7; */ icon: string; /** * Default required source-chain confirmations when known. * * @generated from field: uint32 required_confirmations = 8; */ requiredConfirmations: number; /** * Estimated average confirmation time in seconds when known. * * @generated from field: uint32 confirmation_time_seconds = 9; */ confirmationTimeSeconds: number; /** * True when source-chain addresses must preserve letter case. * * @generated from field: bool is_case_sensitive = 10; */ isCaseSensitive: boolean; /** * Inclusive minimum source-chain address length for validation. * * @generated from field: uint32 min_address_length = 11; */ minAddressLength: number; /** * Inclusive maximum source-chain address length for validation. * * @generated from field: uint32 max_address_length = 12; */ maxAddressLength: number; }; /** * Describes the message chain.zipper.v1.ChainConfig. * Use `create(ChainConfigSchema)` to create a new message. */ declare const ChainConfigSchema: GenMessage; /** * AssetChainVariant describes one chain route that can be used to deposit into * or withdraw from a unified Polyester asset. * * @generated from message chain.zipper.v1.AssetChainVariant */ type AssetChainVariant = Message<"chain.zipper.v1.AssetChainVariant"> & { /** * Canonical zipped asset route id. * * @generated from field: uint32 zipped_asset_id = 1; */ zippedAssetId: number; /** * Chain that this asset belongs to. * * @generated from field: uint32 chain_id = 2; */ chainId: number; /** * True when the asset is the native gas/token of the source chain. * * @generated from field: bool is_native_asset = 3; */ isNativeAsset: boolean; /** * Latest known network fee for this chain asset variant as a human-readable * string in zToken units, with insignificant trailing zeroes trimmed. * * @generated from field: string network_fee = 4; */ networkFee: string; /** * Polyester zToken contract address for this chain asset variant. * * @generated from field: string ztoken_address = 6; */ ztokenAddress: string; /** * Source-chain token contract, mint, or native sentinel address. * * @generated from field: string source_address = 7; */ sourceAddress: string; /** * Source-chain token decimals. * * @generated from field: uint32 source_decimals = 8; */ sourceDecimals: number; /** * zToken decimals on Polyester chain. * * @generated from field: uint32 ztoken_decimals = 9; */ ztokenDecimals: number; /** * Minimum deposit amount for this variant as a human-readable string in zToken units. * * @generated from field: string deposit_min_amount = 10; */ depositMinAmount: string; /** * Minimum withdraw amount for this variant as a human-readable string in zToken units. * * @generated from field: string withdraw_min_amount = 11; */ withdrawMinAmount: string; /** * Latest zToken supply for this chain asset variant, scaled by the parent * unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale. * * @generated from field: uint64 supply_q = 12; */ supplyQ: bigint; }; /** * Describes the message chain.zipper.v1.AssetChainVariant. * Use `create(AssetChainVariantSchema)` to create a new message. */ declare const AssetChainVariantSchema: GenMessage; /** * ZippedAssetSupplyUpdate carries the latest route liquidity for one zipped * asset. It is published on the Protobuf WebSocket channel. * * @generated from message chain.zipper.v1.ZippedAssetSupplyUpdate */ type ZippedAssetSupplyUpdate = Message<"chain.zipper.v1.ZippedAssetSupplyUpdate"> & { /** * Canonical zipped asset route ID. * * @generated from field: uint32 zipped_asset_id = 1; */ zippedAssetId: number; /** * Latest zToken supply for this route, scaled by the parent asset's * quantity_scale. Decode: supply_q / 10^quantity_scale. * * @generated from field: uint64 supply_q = 2; */ supplyQ: bigint; }; /** * Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate. * Use `create(ZippedAssetSupplyUpdateSchema)` to create a new message. */ declare const ZippedAssetSupplyUpdateSchema: GenMessage; /** * ZippedAssetSupplyBatch batches public zipped-asset supply updates. * * @generated from message chain.zipper.v1.ZippedAssetSupplyBatch */ type ZippedAssetSupplyBatch = Message<"chain.zipper.v1.ZippedAssetSupplyBatch"> & { /** * Supply updates included in this batch. * * @generated from field: repeated chain.zipper.v1.ZippedAssetSupplyUpdate updates = 1; */ updates: ZippedAssetSupplyUpdate[]; }; /** * Describes the message chain.zipper.v1.ZippedAssetSupplyBatch. * Use `create(ZippedAssetSupplyBatchSchema)` to create a new message. */ declare const ZippedAssetSupplyBatchSchema: GenMessage; /** * AssetConfig describes one unified Polyester asset and all compatible * chain-specific variants supported by Zipper. * * @generated from message chain.zipper.v1.AssetConfig */ type AssetConfig = Message<"chain.zipper.v1.AssetConfig"> & { /** * Unified Polyester asset code used inside Funding/Trading (for example: "USDT"). * * @generated from field: string asset = 1; */ asset: string; /** * Public unified asset id. * * @generated from field: uint32 ledger_id = 2; */ ledgerId: number; /** * Human-friendly unified asset display name. * * @generated from field: string name = 3; */ name: string; /** * Optional icon reference for the unified asset. * * @generated from field: string icon = 4; */ icon: string; /** * Integer scale for unified-asset quantities (0..18). A scale of 8 means one * whole asset is represented as 100000000 in supply_q and other * quantity_scale-based fields. * * @generated from field: uint32 quantity_scale = 5; */ quantityScale: number; /** * UI display precision for the unified asset. * * @generated from field: uint32 quantity_display_decimals = 6; */ quantityDisplayDecimals: number; /** * Supported chain-specific deposit/withdraw variants for this unified asset. * * @generated from field: repeated chain.zipper.v1.AssetChainVariant variants = 7; */ variants: AssetChainVariant[]; /** * On-chain uAsset id for the unified asset. * * @generated from field: string u_asset_id = 8; */ uAssetId: string; }; /** * Describes the message chain.zipper.v1.AssetConfig. * Use `create(AssetConfigSchema)` to create a new message. */ declare const AssetConfigSchema: GenMessage; /** * ChainContractConfig describes an active Polyester-chain contract address * clients may need for supported deposit and withdraw flows. * * @generated from message chain.zipper.v1.ChainContractConfig */ type ChainContractConfig = Message<"chain.zipper.v1.ChainContractConfig"> & { /** * Stable contract key for client lookups. * * @generated from field: string name = 1; */ name: string; /** * EVM contract address on Polyester chain. * * @generated from field: string address = 2; */ address: string; /** * Optional product-facing contract category, when known. * * @generated from field: string type = 3; */ type: string; /** * Optional human-readable description. * * @generated from field: string description = 4; */ description: string; /** * Active contract version for this name. Versions increase when the address * changes, allowing clients to identify the exact contract revision in use. * * @generated from field: uint32 version = 5; */ version: number; }; /** * Describes the message chain.zipper.v1.ChainContractConfig. * Use `create(ChainContractConfigSchema)` to create a new message. */ declare const ChainContractConfigSchema: GenMessage; /** * @generated from message chain.zipper.v1.GetDepositWithdrawConfigRequest */ type GetDepositWithdrawConfigRequest = Message<"chain.zipper.v1.GetDepositWithdrawConfigRequest"> & {}; /** * Describes the message chain.zipper.v1.GetDepositWithdrawConfigRequest. * Use `create(GetDepositWithdrawConfigRequestSchema)` to create a new message. */ declare const GetDepositWithdrawConfigRequestSchema: GenMessage; /** * @generated from message chain.zipper.v1.GetDepositWithdrawConfigResponse */ type GetDepositWithdrawConfigResponse = Message<"chain.zipper.v1.GetDepositWithdrawConfigResponse"> & { /** * Supported chains ordered by chain code. * * @generated from field: repeated chain.zipper.v1.ChainConfig chains = 1; */ chains: ChainConfig[]; /** * Supported unified assets ordered by asset code, each with compatible chain routes. * * @generated from field: repeated chain.zipper.v1.AssetConfig assets = 2; */ assets: AssetConfig[]; /** * Snapshot generation timestamp (seconds since epoch, UTC). * * @generated from field: uint64 ts_sec = 3; */ tsSec: bigint; /** * Active Polyester-chain contracts ordered by contract name. * * @generated from field: repeated chain.zipper.v1.ChainContractConfig contracts = 5; */ contracts: ChainContractConfig[]; }; /** * Describes the message chain.zipper.v1.GetDepositWithdrawConfigResponse. * Use `create(GetDepositWithdrawConfigResponseSchema)` to create a new message. */ declare const GetDepositWithdrawConfigResponseSchema: GenMessage; /** * ZipperService exposes deposit and withdraw chain configuration. * * @generated from service chain.zipper.v1.ZipperService */ declare const ZipperService: GenService<{ /** * Retrieve the supported chains and unified assets used by deposit/withdraw UI flows. * * @generated from rpc chain.zipper.v1.ZipperService.GetDepositWithdrawConfig */ getDepositWithdrawConfig: { methodKind: "unary"; input: typeof GetDepositWithdrawConfigRequestSchema; output: typeof GetDepositWithdrawConfigResponseSchema; }; }>; //#endregion export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper, zipper_pb_d_exports }; //# sourceMappingURL=zipper_pb.d.ts.map