UNPKG

@bandprotocol/bandchain.js

Version:

TypeScript library for Cosmos SDK and BandChain

1,127 lines (1,126 loc) 50 kB
import { BinaryReader, BinaryWriter } from "../../../binary"; /** SigningStatus is an enumeration of the possible statuses of a signing. */ export declare enum SigningStatus { /** SIGNING_STATUS_UNSPECIFIED - SIGNING_STATUS_UNSPECIFIED is the status of a signing that has not been specified. */ SIGNING_STATUS_UNSPECIFIED = 0, /** SIGNING_STATUS_WAITING - SIGNING_STATUS_WAITING is the status of a signing that is waiting to be signed in the protocol. */ SIGNING_STATUS_WAITING = 1, /** SIGNING_STATUS_SUCCESS - SIGNING_STATUS_SUCCESS is the status of a signing that has success in the protocol. */ SIGNING_STATUS_SUCCESS = 2, /** SIGNING_STATUS_FALLEN - SIGNING_STATUS_FALLEN is the status of a signing that has fallen out of the protocol. */ SIGNING_STATUS_FALLEN = 3, UNRECOGNIZED = -1 } export declare const SigningStatusSDKType: typeof SigningStatus; export declare const SigningStatusAmino: typeof SigningStatus; export declare function signingStatusFromJSON(object: any): SigningStatus; export declare function signingStatusToJSON(object: SigningStatus): string; /** GroupStatus is an enumeration of the possible statuses of a group. */ export declare enum GroupStatus { /** GROUP_STATUS_UNSPECIFIED - GROUP_STATUS_UNSPECIFIED is the status of a group that has not been specified. */ GROUP_STATUS_UNSPECIFIED = 0, /** GROUP_STATUS_ROUND_1 - GROUP_STATUS_ROUND_1 is the status of a group that is in the first round of the protocol. */ GROUP_STATUS_ROUND_1 = 1, /** GROUP_STATUS_ROUND_2 - GROUP_STATUS_ROUND_2 is the status of a group that is in the second round of the protocol. */ GROUP_STATUS_ROUND_2 = 2, /** GROUP_STATUS_ROUND_3 - GROUP_STATUS_ROUND_3 is the status of a group that is in the third round of the protocol. */ GROUP_STATUS_ROUND_3 = 3, /** GROUP_STATUS_ACTIVE - GROUP_STATUS_ACTIVE is the status of a group that is actively participating in the protocol. */ GROUP_STATUS_ACTIVE = 4, /** GROUP_STATUS_EXPIRED - GROUP_STATUS_EXPIRED is the status of a group that has expired in the protocol. */ GROUP_STATUS_EXPIRED = 5, /** GROUP_STATUS_FALLEN - GROUP_STATUS_FALLEN is the status of a group that has fallen out of the protocol. */ GROUP_STATUS_FALLEN = 6, UNRECOGNIZED = -1 } export declare const GroupStatusSDKType: typeof GroupStatus; export declare const GroupStatusAmino: typeof GroupStatus; export declare function groupStatusFromJSON(object: any): GroupStatus; export declare function groupStatusToJSON(object: GroupStatus): string; /** ComplaintStatus represents the status of a complaint. */ export declare enum ComplaintStatus { /** COMPLAINT_STATUS_UNSPECIFIED - COMPLAINT_STATUS_UNSPECIFIED represents an undefined status of the complaint. */ COMPLAINT_STATUS_UNSPECIFIED = 0, /** COMPLAINT_STATUS_SUCCESS - COMPLAINT_STATUS_SUCCESS represents a successful complaint. */ COMPLAINT_STATUS_SUCCESS = 1, /** COMPLAINT_STATUS_FAILED - COMPLAINT_STATUS_FAILED represents a failed complaint. */ COMPLAINT_STATUS_FAILED = 2, UNRECOGNIZED = -1 } export declare const ComplaintStatusSDKType: typeof ComplaintStatus; export declare const ComplaintStatusAmino: typeof ComplaintStatus; export declare function complaintStatusFromJSON(object: any): ComplaintStatus; export declare function complaintStatusToJSON(object: ComplaintStatus): string; /** Group is a type representing a participant group in a Distributed Key Generation or signing process. */ export interface Group { /** id is the unique identifier of the group. */ id: bigint; /** size is the number of members in the group. */ size: bigint; /** threshold is the minimum number of members needed to generate a valid signature. */ threshold: bigint; /** pub_key is the public key generated by the group after successful completion of the DKG process. */ pubKey: Uint8Array; /** status represents the current stage of the group in the DKG or signing process. */ status: GroupStatus; /** created_height is the block height when the group was created. */ createdHeight: bigint; /** module_owner is the module that creates this group. */ moduleOwner: string; } export interface GroupProtoMsg { typeUrl: "/band.tss.v1beta1.Group"; value: Uint8Array; } /** Group is a type representing a participant group in a Distributed Key Generation or signing process. */ export interface GroupAmino { /** id is the unique identifier of the group. */ id?: string; /** size is the number of members in the group. */ size?: string; /** threshold is the minimum number of members needed to generate a valid signature. */ threshold?: string; /** pub_key is the public key generated by the group after successful completion of the DKG process. */ pub_key?: string; /** status represents the current stage of the group in the DKG or signing process. */ status?: GroupStatus; /** created_height is the block height when the group was created. */ created_height?: string; /** module_owner is the module that creates this group. */ module_owner?: string; } export interface GroupAminoMsg { type: "/band.tss.v1beta1.Group"; value: GroupAmino; } /** Group is a type representing a participant group in a Distributed Key Generation or signing process. */ export interface GroupSDKType { id: bigint; size: bigint; threshold: bigint; pub_key: Uint8Array; status: GroupStatus; created_height: bigint; module_owner: string; } /** GroupResult is a tss group result from querying tss group information. */ export interface GroupResult { /** group defines the group object containing group information. */ group: Group; /** dkg_context defines the DKG context data. */ dkgContext: Uint8Array; /** members is the list of members in the group. */ members: Member[]; /** round1_infos is the list of Round 1 information. */ round1Infos: Round1Info[]; /** round2_infos is the list of Round 2 information. */ round2Infos: Round2Info[]; /** complaints_with_status is the list of complaints with status. */ complaintsWithStatus: ComplaintsWithStatus[]; /** confirms is the list of confirms. */ confirms: Confirm[]; } export interface GroupResultProtoMsg { typeUrl: "/band.tss.v1beta1.GroupResult"; value: Uint8Array; } /** GroupResult is a tss group result from querying tss group information. */ export interface GroupResultAmino { /** group defines the group object containing group information. */ group?: GroupAmino; /** dkg_context defines the DKG context data. */ dkg_context?: string; /** members is the list of members in the group. */ members?: MemberAmino[]; /** round1_infos is the list of Round 1 information. */ round1_infos?: Round1InfoAmino[]; /** round2_infos is the list of Round 2 information. */ round2_infos?: Round2InfoAmino[]; /** complaints_with_status is the list of complaints with status. */ complaints_with_status?: ComplaintsWithStatusAmino[]; /** confirms is the list of confirms. */ confirms?: ConfirmAmino[]; } export interface GroupResultAminoMsg { type: "/band.tss.v1beta1.GroupResult"; value: GroupResultAmino; } /** GroupResult is a tss group result from querying tss group information. */ export interface GroupResultSDKType { group: GroupSDKType; dkg_context: Uint8Array; members: MemberSDKType[]; round1_infos: Round1InfoSDKType[]; round2_infos: Round2InfoSDKType[]; complaints_with_status: ComplaintsWithStatusSDKType[]; confirms: ConfirmSDKType[]; } /** Round1Info contains all necessary information for handling round 1 of the DKG process. */ export interface Round1Info { /** member_id is the unique identifier of a group member. */ memberId: bigint; /** coefficients_commits is a list of commitments to the coefficients of the member's secret polynomial. */ coefficientCommits: Uint8Array[]; /** one_time_pub_key is the one-time public key used by the member to encrypt secret shares. */ oneTimePubKey: Uint8Array; /** a0_signature is the member's signature on the first coefficient of its secret polynomial. */ a0Signature: Uint8Array; /** one_time_signature is the member's signature on its one-time public key. */ oneTimeSignature: Uint8Array; } export interface Round1InfoProtoMsg { typeUrl: "/band.tss.v1beta1.Round1Info"; value: Uint8Array; } /** Round1Info contains all necessary information for handling round 1 of the DKG process. */ export interface Round1InfoAmino { /** member_id is the unique identifier of a group member. */ member_id?: string; /** coefficients_commits is a list of commitments to the coefficients of the member's secret polynomial. */ coefficient_commits?: string[]; /** one_time_pub_key is the one-time public key used by the member to encrypt secret shares. */ one_time_pub_key?: string; /** a0_signature is the member's signature on the first coefficient of its secret polynomial. */ a0_signature?: string; /** one_time_signature is the member's signature on its one-time public key. */ one_time_signature?: string; } export interface Round1InfoAminoMsg { type: "/band.tss.v1beta1.Round1Info"; value: Round1InfoAmino; } /** Round1Info contains all necessary information for handling round 1 of the DKG process. */ export interface Round1InfoSDKType { member_id: bigint; coefficient_commits: Uint8Array[]; one_time_pub_key: Uint8Array; a0_signature: Uint8Array; one_time_signature: Uint8Array; } /** Round2Info contains all necessary information for handling round 2 of the DKG process. */ export interface Round2Info { /** member_id is the unique identifier of a group member. */ memberId: bigint; /** encrypted_secret_shares is a list of secret shares encrypted under the public keys of other members. */ encryptedSecretShares: Uint8Array[]; } export interface Round2InfoProtoMsg { typeUrl: "/band.tss.v1beta1.Round2Info"; value: Uint8Array; } /** Round2Info contains all necessary information for handling round 2 of the DKG process. */ export interface Round2InfoAmino { /** member_id is the unique identifier of a group member. */ member_id?: string; /** encrypted_secret_shares is a list of secret shares encrypted under the public keys of other members. */ encrypted_secret_shares?: string[]; } export interface Round2InfoAminoMsg { type: "/band.tss.v1beta1.Round2Info"; value: Round2InfoAmino; } /** Round2Info contains all necessary information for handling round 2 of the DKG process. */ export interface Round2InfoSDKType { member_id: bigint; encrypted_secret_shares: Uint8Array[]; } /** DE contains the public parts of a member's decryption and encryption keys. */ export interface DE { /** pub_d is the public value of own commitment (D). */ pubD: Uint8Array; /** pub_e is the public value of own commitment (E). */ pubE: Uint8Array; } export interface DEProtoMsg { typeUrl: "/band.tss.v1beta1.DE"; value: Uint8Array; } /** DE contains the public parts of a member's decryption and encryption keys. */ export interface DEAmino { /** pub_d is the public value of own commitment (D). */ pub_d?: string; /** pub_e is the public value of own commitment (E). */ pub_e?: string; } export interface DEAminoMsg { type: "/band.tss.v1beta1.DE"; value: DEAmino; } /** DE contains the public parts of a member's decryption and encryption keys. */ export interface DESDKType { pub_d: Uint8Array; pub_e: Uint8Array; } /** DEQueue is a simple queue data structure contains index of existing DE objects of each member. */ export interface DEQueue { /** head is the current index of the first element in the queue. */ head: bigint; /** tail is the current index of the last element in the queue. */ tail: bigint; } export interface DEQueueProtoMsg { typeUrl: "/band.tss.v1beta1.DEQueue"; value: Uint8Array; } /** DEQueue is a simple queue data structure contains index of existing DE objects of each member. */ export interface DEQueueAmino { /** head is the current index of the first element in the queue. */ head?: string; /** tail is the current index of the last element in the queue. */ tail?: string; } export interface DEQueueAminoMsg { type: "/band.tss.v1beta1.DEQueue"; value: DEQueueAmino; } /** DEQueue is a simple queue data structure contains index of existing DE objects of each member. */ export interface DEQueueSDKType { head: bigint; tail: bigint; } /** Signing contains all necessary information for handling a signing request. */ export interface Signing { /** id is the unique identifier of the signing. */ id: bigint; /** current_attempt is the latest round number that signing has been attempted. */ currentAttempt: bigint; /** group_id is the unique identifier of the group. */ groupId: bigint; /** group_pub_key is the public key of the group that sign this message. */ groupPubKey: Uint8Array; /** message is the message to be signed. */ message: Uint8Array; /** group_pub_nonce is the public nonce generated by the group for this signing process. */ groupPubNonce: Uint8Array; /** signature is the group's signature on the message. */ signature: Uint8Array; /** status represents the current stage of the signing in the signing process. */ status: SigningStatus; /** created_height is the block height when the signing was created. */ createdHeight: bigint; /** created_timestamp is the block timestamp when the signing was created. */ createdTimestamp: Date; } export interface SigningProtoMsg { typeUrl: "/band.tss.v1beta1.Signing"; value: Uint8Array; } /** Signing contains all necessary information for handling a signing request. */ export interface SigningAmino { /** id is the unique identifier of the signing. */ id?: string; /** current_attempt is the latest round number that signing has been attempted. */ current_attempt?: string; /** group_id is the unique identifier of the group. */ group_id?: string; /** group_pub_key is the public key of the group that sign this message. */ group_pub_key?: string; /** message is the message to be signed. */ message?: string; /** group_pub_nonce is the public nonce generated by the group for this signing process. */ group_pub_nonce?: string; /** signature is the group's signature on the message. */ signature?: string; /** status represents the current stage of the signing in the signing process. */ status?: SigningStatus; /** created_height is the block height when the signing was created. */ created_height?: string; /** created_timestamp is the block timestamp when the signing was created. */ created_timestamp?: string; } export interface SigningAminoMsg { type: "/band.tss.v1beta1.Signing"; value: SigningAmino; } /** Signing contains all necessary information for handling a signing request. */ export interface SigningSDKType { id: bigint; current_attempt: bigint; group_id: bigint; group_pub_key: Uint8Array; message: Uint8Array; group_pub_nonce: Uint8Array; signature: Uint8Array; status: SigningStatus; created_height: bigint; created_timestamp: Date; } /** * SigningAttempt contains a member that has been assigned to and expiration block height of * the specific attempt. */ export interface SigningAttempt { /** signing_id is the unique identifier of the signing. */ signingId: bigint; /** attempt is the number of round that this signing has been attempted. */ attempt: bigint; /** expired_height is the block height when this signing attempt was expired. */ expiredHeight: bigint; /** assigned_members is a list of members assigned to the signing process. */ assignedMembers: AssignedMember[]; } export interface SigningAttemptProtoMsg { typeUrl: "/band.tss.v1beta1.SigningAttempt"; value: Uint8Array; } /** * SigningAttempt contains a member that has been assigned to and expiration block height of * the specific attempt. */ export interface SigningAttemptAmino { /** signing_id is the unique identifier of the signing. */ signing_id?: string; /** attempt is the number of round that this signing has been attempted. */ attempt?: string; /** expired_height is the block height when this signing attempt was expired. */ expired_height?: string; /** assigned_members is a list of members assigned to the signing process. */ assigned_members?: AssignedMemberAmino[]; } export interface SigningAttemptAminoMsg { type: "/band.tss.v1beta1.SigningAttempt"; value: SigningAttemptAmino; } /** * SigningAttempt contains a member that has been assigned to and expiration block height of * the specific attempt. */ export interface SigningAttemptSDKType { signing_id: bigint; attempt: bigint; expired_height: bigint; assigned_members: AssignedMemberSDKType[]; } /** AssignedMember is a type representing a member that has been assigned to a signing process. */ export interface AssignedMember { /** member_id is the unique identifier of the member. */ memberId: bigint; /** member is the human-readable name of the member. */ address: string; /** pub_key is the public part of a member. */ pubKey: Uint8Array; /** pub_d is the public part of a member's decryption key. */ pubD: Uint8Array; /** pub_e is the public part of a member's encryption key. */ pubE: Uint8Array; /** binding_factor is the binding factor of the member for the signing process. */ bindingFactor: Uint8Array; /** pub_nonce is the public nonce of the member for the signing process. */ pubNonce: Uint8Array; } export interface AssignedMemberProtoMsg { typeUrl: "/band.tss.v1beta1.AssignedMember"; value: Uint8Array; } /** AssignedMember is a type representing a member that has been assigned to a signing process. */ export interface AssignedMemberAmino { /** member_id is the unique identifier of the member. */ member_id?: string; /** member is the human-readable name of the member. */ address?: string; /** pub_key is the public part of a member. */ pub_key?: string; /** pub_d is the public part of a member's decryption key. */ pub_d?: string; /** pub_e is the public part of a member's encryption key. */ pub_e?: string; /** binding_factor is the binding factor of the member for the signing process. */ binding_factor?: string; /** pub_nonce is the public nonce of the member for the signing process. */ pub_nonce?: string; } export interface AssignedMemberAminoMsg { type: "/band.tss.v1beta1.AssignedMember"; value: AssignedMemberAmino; } /** AssignedMember is a type representing a member that has been assigned to a signing process. */ export interface AssignedMemberSDKType { member_id: bigint; address: string; pub_key: Uint8Array; pub_d: Uint8Array; pub_e: Uint8Array; binding_factor: Uint8Array; pub_nonce: Uint8Array; } /** PendingSignings is a list of all signing processes that are currently pending. */ export interface PendingSignings { /** signing_ids is a list of identifiers for the signing processes. */ signingIds: bigint[]; } export interface PendingSigningsProtoMsg { typeUrl: "/band.tss.v1beta1.PendingSignings"; value: Uint8Array; } /** PendingSignings is a list of all signing processes that are currently pending. */ export interface PendingSigningsAmino { /** signing_ids is a list of identifiers for the signing processes. */ signing_ids?: string[]; } export interface PendingSigningsAminoMsg { type: "/band.tss.v1beta1.PendingSignings"; value: PendingSigningsAmino; } /** PendingSignings is a list of all signing processes that are currently pending. */ export interface PendingSigningsSDKType { signing_ids: bigint[]; } /** Member is a type representing a member of the group. */ export interface Member { /** id is the unique identifier of a member. */ id: bigint; /** group_id is the group id of this member. */ groupId: bigint; /** address is the address of the member. */ address: string; /** pub_key is the public key of the member. */ pubKey: Uint8Array; /** is_malicious is a boolean flag indicating whether the member is considered malicious. */ isMalicious: boolean; /** is_active is a boolean flag indicating whether the member is currently active in the protocol. */ isActive: boolean; } export interface MemberProtoMsg { typeUrl: "/band.tss.v1beta1.Member"; value: Uint8Array; } /** Member is a type representing a member of the group. */ export interface MemberAmino { /** id is the unique identifier of a member. */ id?: string; /** group_id is the group id of this member. */ group_id?: string; /** address is the address of the member. */ address?: string; /** pub_key is the public key of the member. */ pub_key?: string; /** is_malicious is a boolean flag indicating whether the member is considered malicious. */ is_malicious?: boolean; /** is_active is a boolean flag indicating whether the member is currently active in the protocol. */ is_active?: boolean; } export interface MemberAminoMsg { type: "/band.tss.v1beta1.Member"; value: MemberAmino; } /** Member is a type representing a member of the group. */ export interface MemberSDKType { id: bigint; group_id: bigint; address: string; pub_key: Uint8Array; is_malicious: boolean; is_active: boolean; } /** Confirm is a message type used to confirm participation in the protocol. */ export interface Confirm { /** member_id is the unique identifier of a group member. */ memberId: bigint; /** own_pub_key_sig is a signature over the member's own public key. */ ownPubKeySig: Uint8Array; } export interface ConfirmProtoMsg { typeUrl: "/band.tss.v1beta1.Confirm"; value: Uint8Array; } /** Confirm is a message type used to confirm participation in the protocol. */ export interface ConfirmAmino { /** member_id is the unique identifier of a group member. */ member_id?: string; /** own_pub_key_sig is a signature over the member's own public key. */ own_pub_key_sig?: string; } export interface ConfirmAminoMsg { type: "/band.tss.v1beta1.Confirm"; value: ConfirmAmino; } /** Confirm is a message type used to confirm participation in the protocol. */ export interface ConfirmSDKType { member_id: bigint; own_pub_key_sig: Uint8Array; } /** Complaint is a message type used to issue a complaint against a member. */ export interface Complaint { /** complainant is the member issuing the complaint. */ complainant: bigint; /** respondent is the member against whom the complaint is issued. */ respondent: bigint; /** key_sym is a symmetric key between respondent's private key and respondent's public key. */ keySym: Uint8Array; /** signature is the complaint signature that can do a symmetric key validation and complaint verification. */ signature: Uint8Array; } export interface ComplaintProtoMsg { typeUrl: "/band.tss.v1beta1.Complaint"; value: Uint8Array; } /** Complaint is a message type used to issue a complaint against a member. */ export interface ComplaintAmino { /** complainant is the member issuing the complaint. */ complainant?: string; /** respondent is the member against whom the complaint is issued. */ respondent?: string; /** key_sym is a symmetric key between respondent's private key and respondent's public key. */ key_sym?: string; /** signature is the complaint signature that can do a symmetric key validation and complaint verification. */ signature?: string; } export interface ComplaintAminoMsg { type: "/band.tss.v1beta1.Complaint"; value: ComplaintAmino; } /** Complaint is a message type used to issue a complaint against a member. */ export interface ComplaintSDKType { complainant: bigint; respondent: bigint; key_sym: Uint8Array; signature: Uint8Array; } /** ComplaintWithStatus contains information about a complaint with its status. */ export interface ComplaintWithStatus { /** complaint is the information about the complaint. */ complaint: Complaint; /** complaint_status is the status of the complaint. */ complaintStatus: ComplaintStatus; } export interface ComplaintWithStatusProtoMsg { typeUrl: "/band.tss.v1beta1.ComplaintWithStatus"; value: Uint8Array; } /** ComplaintWithStatus contains information about a complaint with its status. */ export interface ComplaintWithStatusAmino { /** complaint is the information about the complaint. */ complaint?: ComplaintAmino; /** complaint_status is the status of the complaint. */ complaint_status?: ComplaintStatus; } export interface ComplaintWithStatusAminoMsg { type: "/band.tss.v1beta1.ComplaintWithStatus"; value: ComplaintWithStatusAmino; } /** ComplaintWithStatus contains information about a complaint with its status. */ export interface ComplaintWithStatusSDKType { complaint: ComplaintSDKType; complaint_status: ComplaintStatus; } /** ComplaintsWithStatus contains information about multiple complaints and their status from a single member. */ export interface ComplaintsWithStatus { /** member_id is the identifier of the member filing the complaints. */ memberId: bigint; /** complaints_with_status is the list of complaints with their status from this member. */ complaintsWithStatus: ComplaintWithStatus[]; } export interface ComplaintsWithStatusProtoMsg { typeUrl: "/band.tss.v1beta1.ComplaintsWithStatus"; value: Uint8Array; } /** ComplaintsWithStatus contains information about multiple complaints and their status from a single member. */ export interface ComplaintsWithStatusAmino { /** member_id is the identifier of the member filing the complaints. */ member_id?: string; /** complaints_with_status is the list of complaints with their status from this member. */ complaints_with_status?: ComplaintWithStatusAmino[]; } export interface ComplaintsWithStatusAminoMsg { type: "/band.tss.v1beta1.ComplaintsWithStatus"; value: ComplaintsWithStatusAmino; } /** ComplaintsWithStatus contains information about multiple complaints and their status from a single member. */ export interface ComplaintsWithStatusSDKType { member_id: bigint; complaints_with_status: ComplaintWithStatusSDKType[]; } /** PendingProcessGroups is a list of groups that are waiting to be processed. */ export interface PendingProcessGroups { /** group_ids is a list of group IDs. */ groupIds: bigint[]; } export interface PendingProcessGroupsProtoMsg { typeUrl: "/band.tss.v1beta1.PendingProcessGroups"; value: Uint8Array; } /** PendingProcessGroups is a list of groups that are waiting to be processed. */ export interface PendingProcessGroupsAmino { /** group_ids is a list of group IDs. */ group_ids?: string[]; } export interface PendingProcessGroupsAminoMsg { type: "/band.tss.v1beta1.PendingProcessGroups"; value: PendingProcessGroupsAmino; } /** PendingProcessGroups is a list of groups that are waiting to be processed. */ export interface PendingProcessGroupsSDKType { group_ids: bigint[]; } /** PendingProcessSignings is a list of signings that are waiting to be processed. */ export interface PendingProcessSignings { /** signing_ids is a list of signing IDs. */ signingIds: bigint[]; } export interface PendingProcessSigningsProtoMsg { typeUrl: "/band.tss.v1beta1.PendingProcessSignings"; value: Uint8Array; } /** PendingProcessSignings is a list of signings that are waiting to be processed. */ export interface PendingProcessSigningsAmino { /** signing_ids is a list of signing IDs. */ signing_ids?: string[]; } export interface PendingProcessSigningsAminoMsg { type: "/band.tss.v1beta1.PendingProcessSignings"; value: PendingProcessSigningsAmino; } /** PendingProcessSignings is a list of signings that are waiting to be processed. */ export interface PendingProcessSigningsSDKType { signing_ids: bigint[]; } /** PartialSignature contains information about a member's partial signature. */ export interface PartialSignature { /** signing_id is the unique identifier of the signing. */ signingId: bigint; /** signing_attempt is the number of attempts for this signing. */ signingAttempt: bigint; /** member_id is the identifier of the member providing the partial signature. */ memberId: bigint; /** signature is the partial signature provided by this member. */ signature: Uint8Array; } export interface PartialSignatureProtoMsg { typeUrl: "/band.tss.v1beta1.PartialSignature"; value: Uint8Array; } /** PartialSignature contains information about a member's partial signature. */ export interface PartialSignatureAmino { /** signing_id is the unique identifier of the signing. */ signing_id?: string; /** signing_attempt is the number of attempts for this signing. */ signing_attempt?: string; /** member_id is the identifier of the member providing the partial signature. */ member_id?: string; /** signature is the partial signature provided by this member. */ signature?: string; } export interface PartialSignatureAminoMsg { type: "/band.tss.v1beta1.PartialSignature"; value: PartialSignatureAmino; } /** PartialSignature contains information about a member's partial signature. */ export interface PartialSignatureSDKType { signing_id: bigint; signing_attempt: bigint; member_id: bigint; signature: Uint8Array; } /** TextSignatureOrder defines a general text signature order. */ export interface TextSignatureOrder { $typeUrl?: "/band.tss.v1beta1.TextSignatureOrder"; /** message is the data that needs to be signed. */ message: Uint8Array; } export interface TextSignatureOrderProtoMsg { typeUrl: "/band.tss.v1beta1.TextSignatureOrder"; value: Uint8Array; } /** TextSignatureOrder defines a general text signature order. */ export interface TextSignatureOrderAmino { /** message is the data that needs to be signed. */ message?: string; } export interface TextSignatureOrderAminoMsg { type: "/band.tss.v1beta1.TextSignatureOrder"; value: TextSignatureOrderAmino; } /** TextSignatureOrder defines a general text signature order. */ export interface TextSignatureOrderSDKType { $typeUrl?: "/band.tss.v1beta1.TextSignatureOrder"; message: Uint8Array; } /** EVMSignature defines a signature in the EVM format. */ export interface EVMSignature { /** r_address is the address of the nonce for using in the contract. */ rAddress: Uint8Array; /** signature is the signature part for using in the contract. */ signature: Uint8Array; } export interface EVMSignatureProtoMsg { typeUrl: "/band.tss.v1beta1.EVMSignature"; value: Uint8Array; } /** EVMSignature defines a signature in the EVM format. */ export interface EVMSignatureAmino { /** r_address is the address of the nonce for using in the contract. */ r_address?: string; /** signature is the signature part for using in the contract. */ signature?: string; } export interface EVMSignatureAminoMsg { type: "/band.tss.v1beta1.EVMSignature"; value: EVMSignatureAmino; } /** EVMSignature defines a signature in the EVM format. */ export interface EVMSignatureSDKType { r_address: Uint8Array; signature: Uint8Array; } /** SigningResult is a tss signing result from querying tss signing information. */ export interface SigningResult { /** signing is the tss signing result. */ signing: Signing; /** current_signing_attempt is the current attempt information of the signing. */ currentSigningAttempt?: SigningAttempt; /** evm_signature is the signature in the format that can use directly in EVM. */ evmSignature?: EVMSignature; /** received_partial_signatures is a list of received partial signatures. */ receivedPartialSignatures: PartialSignature[]; } export interface SigningResultProtoMsg { typeUrl: "/band.tss.v1beta1.SigningResult"; value: Uint8Array; } /** SigningResult is a tss signing result from querying tss signing information. */ export interface SigningResultAmino { /** signing is the tss signing result. */ signing?: SigningAmino; /** current_signing_attempt is the current attempt information of the signing. */ current_signing_attempt?: SigningAttemptAmino; /** evm_signature is the signature in the format that can use directly in EVM. */ evm_signature?: EVMSignatureAmino; /** received_partial_signatures is a list of received partial signatures. */ received_partial_signatures?: PartialSignatureAmino[]; } export interface SigningResultAminoMsg { type: "/band.tss.v1beta1.SigningResult"; value: SigningResultAmino; } /** SigningResult is a tss signing result from querying tss signing information. */ export interface SigningResultSDKType { signing: SigningSDKType; current_signing_attempt?: SigningAttemptSDKType; evm_signature?: EVMSignatureSDKType; received_partial_signatures: PartialSignatureSDKType[]; } /** SigningExpiration defines the expiration time of the signing. */ export interface SigningExpiration { /** signing_id is the id of the signing. */ signingId: bigint; /** signing_attempt is the number of attempts of the signing. */ signingAttempt: bigint; } export interface SigningExpirationProtoMsg { typeUrl: "/band.tss.v1beta1.SigningExpiration"; value: Uint8Array; } /** SigningExpiration defines the expiration time of the signing. */ export interface SigningExpirationAmino { /** signing_id is the id of the signing. */ signing_id?: string; /** signing_attempt is the number of attempts of the signing. */ signing_attempt?: string; } export interface SigningExpirationAminoMsg { type: "/band.tss.v1beta1.SigningExpiration"; value: SigningExpirationAmino; } /** SigningExpiration defines the expiration time of the signing. */ export interface SigningExpirationSDKType { signing_id: bigint; signing_attempt: bigint; } /** SigningExpirations is a list of signing expiration information that are waiting in the queue. */ export interface SigningExpirations { /** signing_expirations is a list of SigningExpiration object. */ signingExpirations: SigningExpiration[]; } export interface SigningExpirationsProtoMsg { typeUrl: "/band.tss.v1beta1.SigningExpirations"; value: Uint8Array; } /** SigningExpirations is a list of signing expiration information that are waiting in the queue. */ export interface SigningExpirationsAmino { /** signing_expirations is a list of SigningExpiration object. */ signing_expirations?: SigningExpirationAmino[]; } export interface SigningExpirationsAminoMsg { type: "/band.tss.v1beta1.SigningExpirations"; value: SigningExpirationsAmino; } /** SigningExpirations is a list of signing expiration information that are waiting in the queue. */ export interface SigningExpirationsSDKType { signing_expirations: SigningExpirationSDKType[]; } export declare const Group: { typeUrl: string; encode(message: Group, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Group; fromPartial(object: Partial<Group>): Group; fromAmino(object: GroupAmino): Group; toAmino(message: Group): GroupAmino; fromAminoMsg(object: GroupAminoMsg): Group; fromProtoMsg(message: GroupProtoMsg): Group; toProto(message: Group): Uint8Array; toProtoMsg(message: Group): GroupProtoMsg; }; export declare const GroupResult: { typeUrl: string; encode(message: GroupResult, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GroupResult; fromPartial(object: Partial<GroupResult>): GroupResult; fromAmino(object: GroupResultAmino): GroupResult; toAmino(message: GroupResult): GroupResultAmino; fromAminoMsg(object: GroupResultAminoMsg): GroupResult; fromProtoMsg(message: GroupResultProtoMsg): GroupResult; toProto(message: GroupResult): Uint8Array; toProtoMsg(message: GroupResult): GroupResultProtoMsg; }; export declare const Round1Info: { typeUrl: string; encode(message: Round1Info, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Round1Info; fromPartial(object: Partial<Round1Info>): Round1Info; fromAmino(object: Round1InfoAmino): Round1Info; toAmino(message: Round1Info): Round1InfoAmino; fromAminoMsg(object: Round1InfoAminoMsg): Round1Info; fromProtoMsg(message: Round1InfoProtoMsg): Round1Info; toProto(message: Round1Info): Uint8Array; toProtoMsg(message: Round1Info): Round1InfoProtoMsg; }; export declare const Round2Info: { typeUrl: string; encode(message: Round2Info, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Round2Info; fromPartial(object: Partial<Round2Info>): Round2Info; fromAmino(object: Round2InfoAmino): Round2Info; toAmino(message: Round2Info): Round2InfoAmino; fromAminoMsg(object: Round2InfoAminoMsg): Round2Info; fromProtoMsg(message: Round2InfoProtoMsg): Round2Info; toProto(message: Round2Info): Uint8Array; toProtoMsg(message: Round2Info): Round2InfoProtoMsg; }; export declare const DE: { typeUrl: string; encode(message: DE, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DE; fromPartial(object: Partial<DE>): DE; fromAmino(object: DEAmino): DE; toAmino(message: DE): DEAmino; fromAminoMsg(object: DEAminoMsg): DE; fromProtoMsg(message: DEProtoMsg): DE; toProto(message: DE): Uint8Array; toProtoMsg(message: DE): DEProtoMsg; }; export declare const DEQueue: { typeUrl: string; encode(message: DEQueue, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DEQueue; fromPartial(object: Partial<DEQueue>): DEQueue; fromAmino(object: DEQueueAmino): DEQueue; toAmino(message: DEQueue): DEQueueAmino; fromAminoMsg(object: DEQueueAminoMsg): DEQueue; fromProtoMsg(message: DEQueueProtoMsg): DEQueue; toProto(message: DEQueue): Uint8Array; toProtoMsg(message: DEQueue): DEQueueProtoMsg; }; export declare const Signing: { typeUrl: string; encode(message: Signing, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Signing; fromPartial(object: Partial<Signing>): Signing; fromAmino(object: SigningAmino): Signing; toAmino(message: Signing): SigningAmino; fromAminoMsg(object: SigningAminoMsg): Signing; fromProtoMsg(message: SigningProtoMsg): Signing; toProto(message: Signing): Uint8Array; toProtoMsg(message: Signing): SigningProtoMsg; }; export declare const SigningAttempt: { typeUrl: string; encode(message: SigningAttempt, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SigningAttempt; fromPartial(object: Partial<SigningAttempt>): SigningAttempt; fromAmino(object: SigningAttemptAmino): SigningAttempt; toAmino(message: SigningAttempt): SigningAttemptAmino; fromAminoMsg(object: SigningAttemptAminoMsg): SigningAttempt; fromProtoMsg(message: SigningAttemptProtoMsg): SigningAttempt; toProto(message: SigningAttempt): Uint8Array; toProtoMsg(message: SigningAttempt): SigningAttemptProtoMsg; }; export declare const AssignedMember: { typeUrl: string; encode(message: AssignedMember, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): AssignedMember; fromPartial(object: Partial<AssignedMember>): AssignedMember; fromAmino(object: AssignedMemberAmino): AssignedMember; toAmino(message: AssignedMember): AssignedMemberAmino; fromAminoMsg(object: AssignedMemberAminoMsg): AssignedMember; fromProtoMsg(message: AssignedMemberProtoMsg): AssignedMember; toProto(message: AssignedMember): Uint8Array; toProtoMsg(message: AssignedMember): AssignedMemberProtoMsg; }; export declare const PendingSignings: { typeUrl: string; encode(message: PendingSignings, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PendingSignings; fromPartial(object: Partial<PendingSignings>): PendingSignings; fromAmino(object: PendingSigningsAmino): PendingSignings; toAmino(message: PendingSignings): PendingSigningsAmino; fromAminoMsg(object: PendingSigningsAminoMsg): PendingSignings; fromProtoMsg(message: PendingSigningsProtoMsg): PendingSignings; toProto(message: PendingSignings): Uint8Array; toProtoMsg(message: PendingSignings): PendingSigningsProtoMsg; }; export declare const Member: { typeUrl: string; encode(message: Member, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Member; fromPartial(object: Partial<Member>): Member; fromAmino(object: MemberAmino): Member; toAmino(message: Member): MemberAmino; fromAminoMsg(object: MemberAminoMsg): Member; fromProtoMsg(message: MemberProtoMsg): Member; toProto(message: Member): Uint8Array; toProtoMsg(message: Member): MemberProtoMsg; }; export declare const Confirm: { typeUrl: string; encode(message: Confirm, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Confirm; fromPartial(object: Partial<Confirm>): Confirm; fromAmino(object: ConfirmAmino): Confirm; toAmino(message: Confirm): ConfirmAmino; fromAminoMsg(object: ConfirmAminoMsg): Confirm; fromProtoMsg(message: ConfirmProtoMsg): Confirm; toProto(message: Confirm): Uint8Array; toProtoMsg(message: Confirm): ConfirmProtoMsg; }; export declare const Complaint: { typeUrl: string; encode(message: Complaint, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Complaint; fromPartial(object: Partial<Complaint>): Complaint; fromAmino(object: ComplaintAmino): Complaint; toAmino(message: Complaint): ComplaintAmino; fromAminoMsg(object: ComplaintAminoMsg): Complaint; fromProtoMsg(message: ComplaintProtoMsg): Complaint; toProto(message: Complaint): Uint8Array; toProtoMsg(message: Complaint): ComplaintProtoMsg; }; export declare const ComplaintWithStatus: { typeUrl: string; encode(message: ComplaintWithStatus, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ComplaintWithStatus; fromPartial(object: Partial<ComplaintWithStatus>): ComplaintWithStatus; fromAmino(object: ComplaintWithStatusAmino): ComplaintWithStatus; toAmino(message: ComplaintWithStatus): ComplaintWithStatusAmino; fromAminoMsg(object: ComplaintWithStatusAminoMsg): ComplaintWithStatus; fromProtoMsg(message: ComplaintWithStatusProtoMsg): ComplaintWithStatus; toProto(message: ComplaintWithStatus): Uint8Array; toProtoMsg(message: ComplaintWithStatus): ComplaintWithStatusProtoMsg; }; export declare const ComplaintsWithStatus: { typeUrl: string; encode(message: ComplaintsWithStatus, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ComplaintsWithStatus; fromPartial(object: Partial<ComplaintsWithStatus>): ComplaintsWithStatus; fromAmino(object: ComplaintsWithStatusAmino): ComplaintsWithStatus; toAmino(message: ComplaintsWithStatus): ComplaintsWithStatusAmino; fromAminoMsg(object: ComplaintsWithStatusAminoMsg): ComplaintsWithStatus; fromProtoMsg(message: ComplaintsWithStatusProtoMsg): ComplaintsWithStatus; toProto(message: ComplaintsWithStatus): Uint8Array; toProtoMsg(message: ComplaintsWithStatus): ComplaintsWithStatusProtoMsg; }; export declare const PendingProcessGroups: { typeUrl: string; encode(message: PendingProcessGroups, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PendingProcessGroups; fromPartial(object: Partial<PendingProcessGroups>): PendingProcessGroups; fromAmino(object: PendingProcessGroupsAmino): PendingProcessGroups; toAmino(message: PendingProcessGroups): PendingProcessGroupsAmino; fromAminoMsg(object: PendingProcessGroupsAminoMsg): PendingProcessGroups; fromProtoMsg(message: PendingProcessGroupsProtoMsg): PendingProcessGroups; toProto(message: PendingProcessGroups): Uint8Array; toProtoMsg(message: PendingProcessGroups): PendingProcessGroupsProtoMsg; }; export declare const PendingProcessSignings: { typeUrl: string; encode(message: PendingProcessSignings, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PendingProcessSignings; fromPartial(object: Partial<PendingProcessSignings>): PendingProcessSignings; fromAmino(object: PendingProcessSigningsAmino): PendingProcessSignings; toAmino(message: PendingProcessSignings): PendingProcessSigningsAmino; fromAminoMsg(object: PendingProcessSigningsAminoMsg): PendingProcessSignings; fromProtoMsg(message: PendingProcessSigningsProtoMsg): PendingProcessSignings; toProto(message: PendingProcessSignings): Uint8Array; toProtoMsg(message: PendingProcessSignings): PendingProcessSigningsProtoMsg; }; export declare const PartialSignature: { typeUrl: string; encode(message: PartialSignature, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PartialSignature; fromPartial(object: Partial<PartialSignature>): PartialSignature; fromAmino(object: PartialSignatureAmino): PartialSignature; toAmino(message: PartialSignature): PartialSignatureAmino; fromAminoMsg(object: PartialSignatureAminoMsg): PartialSignature; fromProtoMsg(message: PartialSignatureProtoMsg): PartialSignature; toProto(message: PartialSignature): Uint8Array; toProtoMsg(message: PartialSignature): PartialSignatureProtoMsg; }; export declare const TextSignatureOrder: { typeUrl: string; encode(message: TextSignatureOrder, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TextSignatureOrder; fromPartial(object: Partial<TextSignatureOrder>): TextSignatureOrder; fromAmino(object: TextSignatureOrderAmino): TextSignatureOrder; toAmino(message: TextSignatureOrder): TextSignatureOrderAmino; fromAminoMsg(object: TextSignatureOrderAminoMsg): TextSignatureOrder; fromProtoMsg(message: TextSignatureOrderProtoMsg): TextSignatureOrder; toProto(message: TextSignatureOrder): Uint8Array; toProtoMsg(message: TextSignatureOrder): TextSignatureOrderProtoMsg; }; export declare const EVMSignature: { typeUrl: string; encode(message: EVMSignature, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EVMSignature; fromPartial(object: Partial<EVMSignature>): EVMSignature; fromAmino(object: EVMSignatureAmino): EVMSignature; toAmino(message: EVMSignature): EVMSignatureAmino; fromAminoMsg(object: EVMSignatureAminoMsg): EVMSignature; fromProtoMsg(message: EVMSignatureProtoMsg): EVMSignature; toProto(message: EVMSignature): Uint8Array; toProtoMsg(message: EVMSignature): EVMSignatureProtoMsg; }; export declare const SigningResult: { typeUrl: string; encode(message: SigningResult, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SigningResult; fromPartial(object: Partial<SigningResult>): SigningResult; fromAmino(object: SigningResultAmino): SigningResult; toAmino(message: SigningResult): SigningResultAmino; fromAminoMsg(object: SigningResultAminoMsg): SigningResult; fromProtoMsg(message: SigningResultProtoMsg): SigningResult; toProto(message: SigningResult): Uint8Array; toProtoMsg(message: SigningResult): SigningResultProtoMsg; }; export declare const SigningExpiration: { typeUrl: string; encode(message: SigningExpiration, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SigningExpiration; fromPartial(object: Partial<SigningExpiration>): SigningExpiration; fromAmino(object: SigningExpirationAmino): SigningExpiration; toAmino(message: SigningExpiration): SigningExpirationAmino; fromAminoMsg(object: SigningExpirationAminoMsg): SigningExpiration; fromProtoMsg(message: SigningExpirationProtoMsg): SigningExpiration; toProto(message: SigningExpiration): Uint8Array; toProtoMsg(message: SigningExpiration): SigningExpirationProtoMsg; }; export declare const SigningExpirations: { typeUrl: string; encode(message: SigningExpirations, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SigningExpirations; fromPartial(object: Partial<SigningExpirations>): SigningExpirations; fromAmino(object: SigningExpirationsAmino): SigningExpirations; toAmino(message: SigningExpirations): SigningExpirationsAmino; fromAminoMsg(object: SigningExpirationsAminoMsg): SigningExpirations; fromProtoMsg(message: SigningExpirationsProtoMsg): SigningExpirations; toProto(message: SigningExpirations): Uint8Array; toProtoMsg(message: SigningExpirations): SigningExpirationsProtoMsg; };