import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { ServiceCapability } from "./state_pb.js"; import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js"; /** * GenesisState defines the module genesis state * * @generated from message svc.v1.GenesisState */ export declare class GenesisState extends Message { /** * Params defines all the parameters of the module. * * @generated from field: svc.v1.Params params = 1; */ params?: Params; /** * Service capabilities stored in the module * * @generated from field: repeated svc.v1.ServiceCapability capabilities = 2; */ capabilities: ServiceCapability[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.GenesisState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GenesisState; static fromJson(jsonValue: JsonValue, options?: Partial): GenesisState; static fromJsonString(jsonString: string, options?: Partial): GenesisState; static equals(a: GenesisState | PlainMessage | undefined, b: GenesisState | PlainMessage | undefined): boolean; } /** * Params defines the set of module parameters. * * @generated from message svc.v1.Params */ export declare class Params extends Message { /** * Service Limits * Maximum number of services that can be registered per account * * @generated from field: uint32 max_services_per_account = 1; */ maxServicesPerAccount: number; /** * Maximum number of domains that can be bound to a single service * * @generated from field: uint32 max_domains_per_service = 2; */ maxDomainsPerService: number; /** * Maximum number of endpoints that can be registered per service * * @generated from field: uint32 max_endpoints_per_service = 3; */ maxEndpointsPerService: number; /** * Timeouts and Intervals (in seconds) * Time allowed for domain ownership verification before expiry * * @generated from field: int64 domain_verification_timeout = 4; */ domainVerificationTimeout: bigint; /** * Interval between service health checks * * @generated from field: int64 service_health_check_interval = 5; */ serviceHealthCheckInterval: bigint; /** * Default expiration time for capabilities if not specified * * @generated from field: int64 capability_default_expiration = 6; */ capabilityDefaultExpiration: bigint; /** * Economic Parameters * Fee required to register a new service * * @generated from field: cosmos.base.v1beta1.Coin service_registration_fee = 7; */ serviceRegistrationFee?: Coin; /** * Fee required to verify domain ownership * * @generated from field: cosmos.base.v1beta1.Coin domain_verification_fee = 8; */ domainVerificationFee?: Coin; /** * Minimum stake required to keep a service active * * @generated from field: cosmos.base.v1beta1.Coin min_service_stake = 9; */ minServiceStake?: Coin; /** * UCAN and Capability Settings * Maximum depth of delegation chains for capabilities * * @generated from field: uint32 max_delegation_chain_depth = 10; */ maxDelegationChainDepth: number; /** * Maximum lifetime for UCAN tokens (in seconds) * * @generated from field: int64 ucan_max_lifetime = 11; */ ucanMaxLifetime: bigint; /** * Minimum lifetime for UCAN tokens (in seconds) * * @generated from field: int64 ucan_min_lifetime = 12; */ ucanMinLifetime: bigint; /** * List of supported signature algorithms for UCAN * * @generated from field: repeated string supported_signature_algorithms = 13; */ supportedSignatureAlgorithms: string[]; /** * Validation Rules * Whether to require cryptographic proof of domain ownership * * @generated from field: bool require_domain_ownership_proof = 14; */ requireDomainOwnershipProof: boolean; /** * Whether to require HTTPS for service endpoints * * @generated from field: bool require_https = 15; */ requireHttps: boolean; /** * Whether to allow localhost domains for development * * @generated from field: bool allow_localhost = 16; */ allowLocalhost: boolean; /** * Maximum length for service description text * * @generated from field: uint32 max_service_description_length = 17; */ maxServiceDescriptionLength: number; /** * Rate Limiting * Maximum number of service registrations allowed per block * * @generated from field: uint32 max_registrations_per_block = 18; */ maxRegistrationsPerBlock: number; /** * Maximum number of service updates allowed per block * * @generated from field: uint32 max_updates_per_block = 19; */ maxUpdatesPerBlock: number; /** * Maximum number of capability grants allowed per block * * @generated from field: uint32 max_capability_grants_per_block = 20; */ maxCapabilityGrantsPerBlock: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.Params"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Params; static fromJson(jsonValue: JsonValue, options?: Partial): Params; static fromJsonString(jsonString: string, options?: Partial): Params; static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; } //# sourceMappingURL=genesis_pb.d.ts.map