btcbridge

package
v1.0.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_QueryParams_FullMethodName                        = "/side.btcbridge.Query/QueryParams"
	Query_QueryChainTip_FullMethodName                      = "/side.btcbridge.Query/QueryChainTip"
	Query_QueryBlockHeaderByHeight_FullMethodName           = "/side.btcbridge.Query/QueryBlockHeaderByHeight"
	Query_QueryBlockHeaderByHash_FullMethodName             = "/side.btcbridge.Query/QueryBlockHeaderByHash"
	Query_QueryFeeRate_FullMethodName                       = "/side.btcbridge.Query/QueryFeeRate"
	Query_QueryWithdrawalNetworkFee_FullMethodName          = "/side.btcbridge.Query/QueryWithdrawalNetworkFee"
	Query_QueryWithdrawRequestsByAddress_FullMethodName     = "/side.btcbridge.Query/QueryWithdrawRequestsByAddress"
	Query_QueryWithdrawRequestsByTxHash_FullMethodName      = "/side.btcbridge.Query/QueryWithdrawRequestsByTxHash"
	Query_QueryPendingBtcWithdrawRequests_FullMethodName    = "/side.btcbridge.Query/QueryPendingBtcWithdrawRequests"
	Query_QuerySigningRequests_FullMethodName               = "/side.btcbridge.Query/QuerySigningRequests"
	Query_QuerySigningRequestsByAddress_FullMethodName      = "/side.btcbridge.Query/QuerySigningRequestsByAddress"
	Query_QuerySigningRequestByTxHash_FullMethodName        = "/side.btcbridge.Query/QuerySigningRequestByTxHash"
	Query_QueryUTXOs_FullMethodName                         = "/side.btcbridge.Query/QueryUTXOs"
	Query_QueryUTXOsByAddress_FullMethodName                = "/side.btcbridge.Query/QueryUTXOsByAddress"
	Query_QueryUTXOCountAndBalancesByAddress_FullMethodName = "/side.btcbridge.Query/QueryUTXOCountAndBalancesByAddress"
	Query_QueryDKGRequest_FullMethodName                    = "/side.btcbridge.Query/QueryDKGRequest"
	Query_QueryDKGRequests_FullMethodName                   = "/side.btcbridge.Query/QueryDKGRequests"
	Query_QueryAllDKGRequests_FullMethodName                = "/side.btcbridge.Query/QueryAllDKGRequests"
	Query_QueryDKGCompletionRequests_FullMethodName         = "/side.btcbridge.Query/QueryDKGCompletionRequests"
)
View Source
const (
	Msg_SubmitBlockHeaders_FullMethodName          = "/side.btcbridge.Msg/SubmitBlockHeaders"
	Msg_SubmitDepositTransaction_FullMethodName    = "/side.btcbridge.Msg/SubmitDepositTransaction"
	Msg_SubmitWithdrawTransaction_FullMethodName   = "/side.btcbridge.Msg/SubmitWithdrawTransaction"
	Msg_SubmitFeeRate_FullMethodName               = "/side.btcbridge.Msg/SubmitFeeRate"
	Msg_UpdateTrustedNonBtcRelayers_FullMethodName = "/side.btcbridge.Msg/UpdateTrustedNonBtcRelayers"
	Msg_UpdateTrustedOracles_FullMethodName        = "/side.btcbridge.Msg/UpdateTrustedOracles"
	Msg_WithdrawToBitcoin_FullMethodName           = "/side.btcbridge.Msg/WithdrawToBitcoin"
	Msg_SubmitSignatures_FullMethodName            = "/side.btcbridge.Msg/SubmitSignatures"
	Msg_ConsolidateVaults_FullMethodName           = "/side.btcbridge.Msg/ConsolidateVaults"
	Msg_InitiateDKG_FullMethodName                 = "/side.btcbridge.Msg/InitiateDKG"
	Msg_CompleteDKG_FullMethodName                 = "/side.btcbridge.Msg/CompleteDKG"
	Msg_TransferVault_FullMethodName               = "/side.btcbridge.Msg/TransferVault"
	Msg_UpdateParams_FullMethodName                = "/side.btcbridge.Msg/UpdateParams"
)

Variables

View Source
var (
	SigningStatus_name = map[int32]string{
		0: "SIGNING_STATUS_UNSPECIFIED",
		1: "SIGNING_STATUS_PENDING",
		2: "SIGNING_STATUS_BROADCASTED",
		3: "SIGNING_STATUS_CONFIRMED",
		4: "SIGNING_STATUS_FAILED",
	}
	SigningStatus_value = map[string]int32{
		"SIGNING_STATUS_UNSPECIFIED": 0,
		"SIGNING_STATUS_PENDING":     1,
		"SIGNING_STATUS_BROADCASTED": 2,
		"SIGNING_STATUS_CONFIRMED":   3,
		"SIGNING_STATUS_FAILED":      4,
	}
)

Enum value maps for SigningStatus.

View Source
var (
	DKGRequestStatus_name = map[int32]string{
		0: "DKG_REQUEST_STATUS_UNSPECIFIED",
		1: "DKG_REQUEST_STATUS_PENDING",
		2: "DKG_REQUEST_STATUS_COMPLETED",
		3: "DKG_REQUEST_STATUS_FAILED",
		4: "DKG_REQUEST_STATUS_TIMEDOUT",
	}
	DKGRequestStatus_value = map[string]int32{
		"DKG_REQUEST_STATUS_UNSPECIFIED": 0,
		"DKG_REQUEST_STATUS_PENDING":     1,
		"DKG_REQUEST_STATUS_COMPLETED":   2,
		"DKG_REQUEST_STATUS_FAILED":      3,
		"DKG_REQUEST_STATUS_TIMEDOUT":    4,
	}
)

Enum value maps for DKGRequestStatus.

View Source
var (
	AssetType_name = map[int32]string{
		0: "ASSET_TYPE_UNSPECIFIED",
		1: "ASSET_TYPE_BTC",
		2: "ASSET_TYPE_BRC20",
		3: "ASSET_TYPE_RUNES",
	}
	AssetType_value = map[string]int32{
		"ASSET_TYPE_UNSPECIFIED": 0,
		"ASSET_TYPE_BTC":         1,
		"ASSET_TYPE_BRC20":       2,
		"ASSET_TYPE_RUNES":       3,
	}
)

Enum value maps for AssetType.

View Source
var File_side_btcbridge_btcbridge_proto protoreflect.FileDescriptor
View Source
var File_side_btcbridge_genesis_proto protoreflect.FileDescriptor
View Source
var File_side_btcbridge_params_proto protoreflect.FileDescriptor
View Source
var File_side_btcbridge_query_proto protoreflect.FileDescriptor
View Source
var File_side_btcbridge_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "side.btcbridge.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitBlockHeaders",
			Handler:    _Msg_SubmitBlockHeaders_Handler,
		},
		{
			MethodName: "SubmitDepositTransaction",
			Handler:    _Msg_SubmitDepositTransaction_Handler,
		},
		{
			MethodName: "SubmitWithdrawTransaction",
			Handler:    _Msg_SubmitWithdrawTransaction_Handler,
		},
		{
			MethodName: "SubmitFeeRate",
			Handler:    _Msg_SubmitFeeRate_Handler,
		},
		{
			MethodName: "UpdateTrustedNonBtcRelayers",
			Handler:    _Msg_UpdateTrustedNonBtcRelayers_Handler,
		},
		{
			MethodName: "UpdateTrustedOracles",
			Handler:    _Msg_UpdateTrustedOracles_Handler,
		},
		{
			MethodName: "WithdrawToBitcoin",
			Handler:    _Msg_WithdrawToBitcoin_Handler,
		},
		{
			MethodName: "SubmitSignatures",
			Handler:    _Msg_SubmitSignatures_Handler,
		},
		{
			MethodName: "ConsolidateVaults",
			Handler:    _Msg_ConsolidateVaults_Handler,
		},
		{
			MethodName: "InitiateDKG",
			Handler:    _Msg_InitiateDKG_Handler,
		},
		{
			MethodName: "CompleteDKG",
			Handler:    _Msg_CompleteDKG_Handler,
		},
		{
			MethodName: "TransferVault",
			Handler:    _Msg_TransferVault_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "side/btcbridge/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "side.btcbridge.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryParams",
			Handler:    _Query_QueryParams_Handler,
		},
		{
			MethodName: "QueryChainTip",
			Handler:    _Query_QueryChainTip_Handler,
		},
		{
			MethodName: "QueryBlockHeaderByHeight",
			Handler:    _Query_QueryBlockHeaderByHeight_Handler,
		},
		{
			MethodName: "QueryBlockHeaderByHash",
			Handler:    _Query_QueryBlockHeaderByHash_Handler,
		},
		{
			MethodName: "QueryFeeRate",
			Handler:    _Query_QueryFeeRate_Handler,
		},
		{
			MethodName: "QueryWithdrawalNetworkFee",
			Handler:    _Query_QueryWithdrawalNetworkFee_Handler,
		},
		{
			MethodName: "QueryWithdrawRequestsByAddress",
			Handler:    _Query_QueryWithdrawRequestsByAddress_Handler,
		},
		{
			MethodName: "QueryWithdrawRequestsByTxHash",
			Handler:    _Query_QueryWithdrawRequestsByTxHash_Handler,
		},
		{
			MethodName: "QueryPendingBtcWithdrawRequests",
			Handler:    _Query_QueryPendingBtcWithdrawRequests_Handler,
		},
		{
			MethodName: "QuerySigningRequests",
			Handler:    _Query_QuerySigningRequests_Handler,
		},
		{
			MethodName: "QuerySigningRequestsByAddress",
			Handler:    _Query_QuerySigningRequestsByAddress_Handler,
		},
		{
			MethodName: "QuerySigningRequestByTxHash",
			Handler:    _Query_QuerySigningRequestByTxHash_Handler,
		},
		{
			MethodName: "QueryUTXOs",
			Handler:    _Query_QueryUTXOs_Handler,
		},
		{
			MethodName: "QueryUTXOsByAddress",
			Handler:    _Query_QueryUTXOsByAddress_Handler,
		},
		{
			MethodName: "QueryUTXOCountAndBalancesByAddress",
			Handler:    _Query_QueryUTXOCountAndBalancesByAddress_Handler,
		},
		{
			MethodName: "QueryDKGRequest",
			Handler:    _Query_QueryDKGRequest_Handler,
		},
		{
			MethodName: "QueryDKGRequests",
			Handler:    _Query_QueryDKGRequests_Handler,
		},
		{
			MethodName: "QueryAllDKGRequests",
			Handler:    _Query_QueryAllDKGRequests_Handler,
		},
		{
			MethodName: "QueryDKGCompletionRequests",
			Handler:    _Query_QueryDKGCompletionRequests_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "side/btcbridge/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type AssetType

type AssetType int32

AssetType defines the type of asset

const (
	// Unspecified asset type
	AssetType_ASSET_TYPE_UNSPECIFIED AssetType = 0
	// BTC
	AssetType_ASSET_TYPE_BTC AssetType = 1
	// BRC20: ordi, sats
	AssetType_ASSET_TYPE_BRC20 AssetType = 2
	// RUNE: dog•go•to•the•moon
	AssetType_ASSET_TYPE_RUNES AssetType = 3
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

func (AssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type BlockHeader

type BlockHeader struct {
	Version           uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Hash              string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Height            uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	PreviousBlockHash string `protobuf:"bytes,4,opt,name=previous_block_hash,json=previousBlockHash,proto3" json:"previous_block_hash,omitempty"`
	MerkleRoot        string `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	Nonce             uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Bits              string `protobuf:"bytes,7,opt,name=bits,proto3" json:"bits,omitempty"`
	Time              uint64 `protobuf:"varint,8,opt,name=time,proto3" json:"time,omitempty"`
	Ntx               uint64 `protobuf:"varint,9,opt,name=ntx,proto3" json:"ntx,omitempty"`
	// contains filtered or unexported fields
}

Bitcoin Block Header

func (*BlockHeader) Descriptor deprecated

func (*BlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetBits

func (x *BlockHeader) GetBits() string

func (*BlockHeader) GetHash

func (x *BlockHeader) GetHash() string

func (*BlockHeader) GetHeight

func (x *BlockHeader) GetHeight() uint64

func (*BlockHeader) GetMerkleRoot

func (x *BlockHeader) GetMerkleRoot() string

func (*BlockHeader) GetNonce

func (x *BlockHeader) GetNonce() uint64

func (*BlockHeader) GetNtx

func (x *BlockHeader) GetNtx() uint64

func (*BlockHeader) GetPreviousBlockHash

func (x *BlockHeader) GetPreviousBlockHash() string

func (*BlockHeader) GetTime

func (x *BlockHeader) GetTime() uint64

func (*BlockHeader) GetVersion

func (x *BlockHeader) GetVersion() uint64

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

func (x *BlockHeader) ProtoReflect() protoreflect.Message

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BtcConsolidation

type BtcConsolidation struct {

	// maximum threshold of the btc value
	TargetThreshold int64 `protobuf:"varint,1,opt,name=target_threshold,json=targetThreshold,proto3" json:"target_threshold,omitempty"`
	// maximum number of the utxos to be consolidated; 0 means all
	MaxNum uint32 `protobuf:"varint,2,opt,name=max_num,json=maxNum,proto3" json:"max_num,omitempty"`
	// contains filtered or unexported fields
}

BTC UTXO Consolidation

func (*BtcConsolidation) Descriptor deprecated

func (*BtcConsolidation) Descriptor() ([]byte, []int)

Deprecated: Use BtcConsolidation.ProtoReflect.Descriptor instead.

func (*BtcConsolidation) GetMaxNum

func (x *BtcConsolidation) GetMaxNum() uint32

func (*BtcConsolidation) GetTargetThreshold

func (x *BtcConsolidation) GetTargetThreshold() int64

func (*BtcConsolidation) ProtoMessage

func (*BtcConsolidation) ProtoMessage()

func (*BtcConsolidation) ProtoReflect

func (x *BtcConsolidation) ProtoReflect() protoreflect.Message

func (*BtcConsolidation) Reset

func (x *BtcConsolidation) Reset()

func (*BtcConsolidation) String

func (x *BtcConsolidation) String() string

type DKGCompletionRequest

type DKGCompletionRequest struct {

	// request id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// sender
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// new vaults generated by DKG
	Vaults []string `protobuf:"bytes,3,rep,name=vaults,proto3" json:"vaults,omitempty"`
	// consensus address of the corresponding validator
	ConsensusAddress string `protobuf:"bytes,4,opt,name=consensus_address,json=consensusAddress,proto3" json:"consensus_address,omitempty"`
	// hex encoded validator signature
	Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

DKG Completion Request

func (*DKGCompletionRequest) Descriptor deprecated

func (*DKGCompletionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DKGCompletionRequest.ProtoReflect.Descriptor instead.

func (*DKGCompletionRequest) GetConsensusAddress

func (x *DKGCompletionRequest) GetConsensusAddress() string

func (*DKGCompletionRequest) GetId

func (x *DKGCompletionRequest) GetId() uint64

func (*DKGCompletionRequest) GetSender

func (x *DKGCompletionRequest) GetSender() string

func (*DKGCompletionRequest) GetSignature

func (x *DKGCompletionRequest) GetSignature() string

func (*DKGCompletionRequest) GetVaults

func (x *DKGCompletionRequest) GetVaults() []string

func (*DKGCompletionRequest) ProtoMessage

func (*DKGCompletionRequest) ProtoMessage()

func (*DKGCompletionRequest) ProtoReflect

func (x *DKGCompletionRequest) ProtoReflect() protoreflect.Message

func (*DKGCompletionRequest) Reset

func (x *DKGCompletionRequest) Reset()

func (*DKGCompletionRequest) String

func (x *DKGCompletionRequest) String() string

type DKGParticipant

type DKGParticipant struct {

	// the moniker of the corresponding validator
	Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// the operator address of the corresponding validator
	OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	// the consensus public key of the corresponding validator
	ConsensusPubkey string `protobuf:"bytes,3,opt,name=consensus_pubkey,json=consensusPubkey,proto3" json:"consensus_pubkey,omitempty"`
	// contains filtered or unexported fields
}

DKG Participant

func (*DKGParticipant) Descriptor deprecated

func (*DKGParticipant) Descriptor() ([]byte, []int)

Deprecated: Use DKGParticipant.ProtoReflect.Descriptor instead.

func (*DKGParticipant) GetConsensusPubkey

func (x *DKGParticipant) GetConsensusPubkey() string

func (*DKGParticipant) GetMoniker

func (x *DKGParticipant) GetMoniker() string

func (*DKGParticipant) GetOperatorAddress

func (x *DKGParticipant) GetOperatorAddress() string

func (*DKGParticipant) ProtoMessage

func (*DKGParticipant) ProtoMessage()

func (*DKGParticipant) ProtoReflect

func (x *DKGParticipant) ProtoReflect() protoreflect.Message

func (*DKGParticipant) Reset

func (x *DKGParticipant) Reset()

func (*DKGParticipant) String

func (x *DKGParticipant) String() string

type DKGRequest

type DKGRequest struct {

	// the unique request id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// participant set
	Participants []*DKGParticipant `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"`
	// threshold required to perform DKG
	Threshold uint32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// asset types of vaults to be generated
	VaultTypes []AssetType `` /* 129-byte string literal not displayed */
	// indicates if transferring assets to the newly generated vaults when the DKG request is completed
	EnableTransfer bool `protobuf:"varint,5,opt,name=enable_transfer,json=enableTransfer,proto3" json:"enable_transfer,omitempty"`
	// target number of the UTXOs to be transferred each time
	TargetUtxoNum uint32 `protobuf:"varint,6,opt,name=target_utxo_num,json=targetUtxoNum,proto3" json:"target_utxo_num,omitempty"`
	// expiration time
	Expiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// status
	Status DKGRequestStatus `protobuf:"varint,8,opt,name=status,proto3,enum=side.btcbridge.DKGRequestStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

DKG Request

func (*DKGRequest) Descriptor deprecated

func (*DKGRequest) Descriptor() ([]byte, []int)

Deprecated: Use DKGRequest.ProtoReflect.Descriptor instead.

func (*DKGRequest) GetEnableTransfer

func (x *DKGRequest) GetEnableTransfer() bool

func (*DKGRequest) GetExpiration

func (x *DKGRequest) GetExpiration() *timestamppb.Timestamp

func (*DKGRequest) GetId

func (x *DKGRequest) GetId() uint64

func (*DKGRequest) GetParticipants

func (x *DKGRequest) GetParticipants() []*DKGParticipant

func (*DKGRequest) GetStatus

func (x *DKGRequest) GetStatus() DKGRequestStatus

func (*DKGRequest) GetTargetUtxoNum

func (x *DKGRequest) GetTargetUtxoNum() uint32

func (*DKGRequest) GetThreshold

func (x *DKGRequest) GetThreshold() uint32

func (*DKGRequest) GetVaultTypes

func (x *DKGRequest) GetVaultTypes() []AssetType

func (*DKGRequest) ProtoMessage

func (*DKGRequest) ProtoMessage()

func (*DKGRequest) ProtoReflect

func (x *DKGRequest) ProtoReflect() protoreflect.Message

func (*DKGRequest) Reset

func (x *DKGRequest) Reset()

func (*DKGRequest) String

func (x *DKGRequest) String() string

type DKGRequestStatus

type DKGRequestStatus int32
const (
	// DKG_REQUEST_STATUS_UNSPECIFIED defines the unknown DKG request status
	DKGRequestStatus_DKG_REQUEST_STATUS_UNSPECIFIED DKGRequestStatus = 0
	// DKG_REQUEST_STATUS_PENDING defines the status of the DKG request which is pending
	DKGRequestStatus_DKG_REQUEST_STATUS_PENDING DKGRequestStatus = 1
	// DKG_REQUEST_STATUS_COMPLETED defines the status of the DKG request which is completed
	DKGRequestStatus_DKG_REQUEST_STATUS_COMPLETED DKGRequestStatus = 2
	// DKG_REQUEST_STATUS_FAILED defines the status of the DKG request which failed
	DKGRequestStatus_DKG_REQUEST_STATUS_FAILED DKGRequestStatus = 3
	// DKG_REQUEST_STATUS_TIMEDOUT defines the status of the DKG request which timed out
	DKGRequestStatus_DKG_REQUEST_STATUS_TIMEDOUT DKGRequestStatus = 4
)

func (DKGRequestStatus) Descriptor

func (DKGRequestStatus) Enum

func (DKGRequestStatus) EnumDescriptor deprecated

func (DKGRequestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use DKGRequestStatus.Descriptor instead.

func (DKGRequestStatus) Number

func (DKGRequestStatus) String

func (x DKGRequestStatus) String() string

func (DKGRequestStatus) Type

type Edict

type Edict struct {
	Id     *RuneId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Amount string  `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Output uint32  `protobuf:"varint,3,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Rune Edict

func (*Edict) Descriptor deprecated

func (*Edict) Descriptor() ([]byte, []int)

Deprecated: Use Edict.ProtoReflect.Descriptor instead.

func (*Edict) GetAmount

func (x *Edict) GetAmount() string

func (*Edict) GetId

func (x *Edict) GetId() *RuneId

func (*Edict) GetOutput

func (x *Edict) GetOutput() uint32

func (*Edict) ProtoMessage

func (*Edict) ProtoMessage()

func (*Edict) ProtoReflect

func (x *Edict) ProtoReflect() protoreflect.Message

func (*Edict) Reset

func (x *Edict) Reset()

func (*Edict) String

func (x *Edict) String() string

type FeeRate

type FeeRate struct {

	// fee rate
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// block height at which the fee rate is submitted
	Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Fee rate

func (*FeeRate) Descriptor deprecated

func (*FeeRate) Descriptor() ([]byte, []int)

Deprecated: Use FeeRate.ProtoReflect.Descriptor instead.

func (*FeeRate) GetHeight

func (x *FeeRate) GetHeight() int64

func (*FeeRate) GetValue

func (x *FeeRate) GetValue() int64

func (*FeeRate) ProtoMessage

func (*FeeRate) ProtoMessage()

func (*FeeRate) ProtoReflect

func (x *FeeRate) ProtoReflect() protoreflect.Message

func (*FeeRate) Reset

func (x *FeeRate) Reset()

func (*FeeRate) String

func (x *FeeRate) String() string

type GenesisState

type GenesisState struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// the chain tip of the bitcoin chain
	BestBlockHeader *BlockHeader   `protobuf:"bytes,2,opt,name=best_block_header,json=bestBlockHeader,proto3" json:"best_block_header,omitempty"`
	BlockHeaders    []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"`
	Utxos           []*UTXO        `protobuf:"bytes,4,rep,name=utxos,proto3" json:"utxos,omitempty"`
	DkgRequest      *DKGRequest    `protobuf:"bytes,5,opt,name=dkg_request,json=dkgRequest,proto3" json:"dkg_request,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the btc bridge module's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetBestBlockHeader

func (x *GenesisState) GetBestBlockHeader() *BlockHeader

func (*GenesisState) GetBlockHeaders

func (x *GenesisState) GetBlockHeaders() []*BlockHeader

func (*GenesisState) GetDkgRequest

func (x *GenesisState) GetDkgRequest() *DKGRequest

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetUtxos

func (x *GenesisState) GetUtxos() []*UTXO

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	// SubmitBlockHeaders submits bitcoin block headers to the side chain.
	SubmitBlockHeaders(ctx context.Context, in *MsgSubmitBlockHeaders, opts ...grpc.CallOption) (*MsgSubmitBlockHeadersResponse, error)
	// SubmitDepositTransaction submits the bitcoin deposit transaction to the side chain.
	SubmitDepositTransaction(ctx context.Context, in *MsgSubmitDepositTransaction, opts ...grpc.CallOption) (*MsgSubmitDepositTransactionResponse, error)
	// SubmitWithdrawalTransaction submits the bitcoin withdrawal transaction to the side chain.
	SubmitWithdrawTransaction(ctx context.Context, in *MsgSubmitWithdrawTransaction, opts ...grpc.CallOption) (*MsgSubmitWithdrawTransactionResponse, error)
	// SubmitFeeRate submits the bitcoin network fee rate to the side chain.
	SubmitFeeRate(ctx context.Context, in *MsgSubmitFeeRate, opts ...grpc.CallOption) (*MsgSubmitFeeRateResponse, error)
	// UpdateTrustedNonBtcRelayers updates the trusted non-btc asset relayers.
	UpdateTrustedNonBtcRelayers(ctx context.Context, in *MsgUpdateTrustedNonBtcRelayers, opts ...grpc.CallOption) (*MsgUpdateTrustedNonBtcRelayersResponse, error)
	// UpdateTrustedOracles updates the trusted oracles.
	UpdateTrustedOracles(ctx context.Context, in *MsgUpdateTrustedOracles, opts ...grpc.CallOption) (*MsgUpdateTrustedOraclesResponse, error)
	// WithdrawToBitcoin withdraws the asset to bitcoin.
	WithdrawToBitcoin(ctx context.Context, in *MsgWithdrawToBitcoin, opts ...grpc.CallOption) (*MsgWithdrawToBitcoinResponse, error)
	// SubmitSignatures submits the signatures of the signing request to the side chain.
	SubmitSignatures(ctx context.Context, in *MsgSubmitSignatures, opts ...grpc.CallOption) (*MsgSubmitSignaturesResponse, error)
	// ConsolidateVaults performs the utxo consolidation for the given vaults.
	ConsolidateVaults(ctx context.Context, in *MsgConsolidateVaults, opts ...grpc.CallOption) (*MsgConsolidateVaultsResponse, error)
	// InitiateDKG initiates the DKG request.
	InitiateDKG(ctx context.Context, in *MsgInitiateDKG, opts ...grpc.CallOption) (*MsgInitiateDKGResponse, error)
	// CompleteDKG completes the given DKG request.
	CompleteDKG(ctx context.Context, in *MsgCompleteDKG, opts ...grpc.CallOption) (*MsgCompleteDKGResponse, error)
	// TransferVault transfers the vault asset from the source version to the destination version.
	TransferVault(ctx context.Context, in *MsgTransferVault, opts ...grpc.CallOption) (*MsgTransferVaultResponse, error)
	// UpdateParams defines a governance operation for updating the x/btcbridge module
	// parameters. The authority defaults to the x/gov module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCompleteDKG

type MsgCompleteDKG struct {

	// the sender
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// DKG request id
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// new vaults generated by DKG
	Vaults []string `protobuf:"bytes,3,rep,name=vaults,proto3" json:"vaults,omitempty"`
	// consensus address of the corresponding validator
	ConsensusAddress string `protobuf:"bytes,4,opt,name=consensus_address,json=consensusAddress,proto3" json:"consensus_address,omitempty"`
	// hex encoded validator signature
	Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

MsgCompleteDKG is the Msg/CompleteDKG request type.

func (*MsgCompleteDKG) Descriptor deprecated

func (*MsgCompleteDKG) Descriptor() ([]byte, []int)

Deprecated: Use MsgCompleteDKG.ProtoReflect.Descriptor instead.

func (*MsgCompleteDKG) GetConsensusAddress

func (x *MsgCompleteDKG) GetConsensusAddress() string

func (*MsgCompleteDKG) GetId

func (x *MsgCompleteDKG) GetId() uint64

func (*MsgCompleteDKG) GetSender

func (x *MsgCompleteDKG) GetSender() string

func (*MsgCompleteDKG) GetSignature

func (x *MsgCompleteDKG) GetSignature() string

func (*MsgCompleteDKG) GetVaults

func (x *MsgCompleteDKG) GetVaults() []string

func (*MsgCompleteDKG) ProtoMessage

func (*MsgCompleteDKG) ProtoMessage()

func (*MsgCompleteDKG) ProtoReflect

func (x *MsgCompleteDKG) ProtoReflect() protoreflect.Message

func (*MsgCompleteDKG) Reset

func (x *MsgCompleteDKG) Reset()

func (*MsgCompleteDKG) String

func (x *MsgCompleteDKG) String() string

type MsgCompleteDKGResponse

type MsgCompleteDKGResponse struct {
	// contains filtered or unexported fields
}

MsgCompleteDKGResponse defines the Msg/CompleteDKG response type.

func (*MsgCompleteDKGResponse) Descriptor deprecated

func (*MsgCompleteDKGResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCompleteDKGResponse.ProtoReflect.Descriptor instead.

func (*MsgCompleteDKGResponse) ProtoMessage

func (*MsgCompleteDKGResponse) ProtoMessage()

func (*MsgCompleteDKGResponse) ProtoReflect

func (x *MsgCompleteDKGResponse) ProtoReflect() protoreflect.Message

func (*MsgCompleteDKGResponse) Reset

func (x *MsgCompleteDKGResponse) Reset()

func (*MsgCompleteDKGResponse) String

func (x *MsgCompleteDKGResponse) String() string

type MsgConsolidateVaults

type MsgConsolidateVaults struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// vault version
	VaultVersion uint64 `protobuf:"varint,2,opt,name=vault_version,json=vaultVersion,proto3" json:"vault_version,omitempty"`
	// btc consolidation
	BtcConsolidation *BtcConsolidation `protobuf:"bytes,3,opt,name=btc_consolidation,json=btcConsolidation,proto3" json:"btc_consolidation,omitempty"`
	// runes consolidations
	RunesConsolidations []*RunesConsolidation `protobuf:"bytes,4,rep,name=runes_consolidations,json=runesConsolidations,proto3" json:"runes_consolidations,omitempty"`
	// contains filtered or unexported fields
}

MsgConsolidateVaults is the Msg/ConsolidateVaults request type.

func (*MsgConsolidateVaults) Descriptor deprecated

func (*MsgConsolidateVaults) Descriptor() ([]byte, []int)

Deprecated: Use MsgConsolidateVaults.ProtoReflect.Descriptor instead.

func (*MsgConsolidateVaults) GetAuthority

func (x *MsgConsolidateVaults) GetAuthority() string

func (*MsgConsolidateVaults) GetBtcConsolidation

func (x *MsgConsolidateVaults) GetBtcConsolidation() *BtcConsolidation

func (*MsgConsolidateVaults) GetRunesConsolidations

func (x *MsgConsolidateVaults) GetRunesConsolidations() []*RunesConsolidation

func (*MsgConsolidateVaults) GetVaultVersion

func (x *MsgConsolidateVaults) GetVaultVersion() uint64

func (*MsgConsolidateVaults) ProtoMessage

func (*MsgConsolidateVaults) ProtoMessage()

func (*MsgConsolidateVaults) ProtoReflect

func (x *MsgConsolidateVaults) ProtoReflect() protoreflect.Message

func (*MsgConsolidateVaults) Reset

func (x *MsgConsolidateVaults) Reset()

func (*MsgConsolidateVaults) String

func (x *MsgConsolidateVaults) String() string

type MsgConsolidateVaultsResponse

type MsgConsolidateVaultsResponse struct {
	// contains filtered or unexported fields
}

MsgConsolidateVaultsResponse defines the Msg/ConsolidateVaults response type.

func (*MsgConsolidateVaultsResponse) Descriptor deprecated

func (*MsgConsolidateVaultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgConsolidateVaultsResponse.ProtoReflect.Descriptor instead.

func (*MsgConsolidateVaultsResponse) ProtoMessage

func (*MsgConsolidateVaultsResponse) ProtoMessage()

func (*MsgConsolidateVaultsResponse) ProtoReflect

func (*MsgConsolidateVaultsResponse) Reset

func (x *MsgConsolidateVaultsResponse) Reset()

func (*MsgConsolidateVaultsResponse) String

type MsgInitiateDKG

type MsgInitiateDKG struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// expected participant set
	Participants []*DKGParticipant `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"`
	// threshold required to perform DKG
	Threshold uint32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// asset types of vaults to be generated
	VaultTypes []AssetType `` /* 129-byte string literal not displayed */
	// indicates if transferring the current vaults to the newly generated vaults when the DKG request is completed
	EnableTransfer bool `protobuf:"varint,5,opt,name=enable_transfer,json=enableTransfer,proto3" json:"enable_transfer,omitempty"`
	// target number of the UTXOs to be transferred each time
	TargetUtxoNum uint32 `protobuf:"varint,6,opt,name=target_utxo_num,json=targetUtxoNum,proto3" json:"target_utxo_num,omitempty"`
	// contains filtered or unexported fields
}

MsgInitiateDKG is the Msg/InitiateDKG request type.

func (*MsgInitiateDKG) Descriptor deprecated

func (*MsgInitiateDKG) Descriptor() ([]byte, []int)

Deprecated: Use MsgInitiateDKG.ProtoReflect.Descriptor instead.

func (*MsgInitiateDKG) GetAuthority

func (x *MsgInitiateDKG) GetAuthority() string

func (*MsgInitiateDKG) GetEnableTransfer

func (x *MsgInitiateDKG) GetEnableTransfer() bool

func (*MsgInitiateDKG) GetParticipants

func (x *MsgInitiateDKG) GetParticipants() []*DKGParticipant

func (*MsgInitiateDKG) GetTargetUtxoNum

func (x *MsgInitiateDKG) GetTargetUtxoNum() uint32

func (*MsgInitiateDKG) GetThreshold

func (x *MsgInitiateDKG) GetThreshold() uint32

func (*MsgInitiateDKG) GetVaultTypes

func (x *MsgInitiateDKG) GetVaultTypes() []AssetType

func (*MsgInitiateDKG) ProtoMessage

func (*MsgInitiateDKG) ProtoMessage()

func (*MsgInitiateDKG) ProtoReflect

func (x *MsgInitiateDKG) ProtoReflect() protoreflect.Message

func (*MsgInitiateDKG) Reset

func (x *MsgInitiateDKG) Reset()

func (*MsgInitiateDKG) String

func (x *MsgInitiateDKG) String() string

type MsgInitiateDKGResponse

type MsgInitiateDKGResponse struct {
	// contains filtered or unexported fields
}

MsgInitiateDKGResponse defines the Msg/InitiateDKG response type.

func (*MsgInitiateDKGResponse) Descriptor deprecated

func (*MsgInitiateDKGResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgInitiateDKGResponse.ProtoReflect.Descriptor instead.

func (*MsgInitiateDKGResponse) ProtoMessage

func (*MsgInitiateDKGResponse) ProtoMessage()

func (*MsgInitiateDKGResponse) ProtoReflect

func (x *MsgInitiateDKGResponse) ProtoReflect() protoreflect.Message

func (*MsgInitiateDKGResponse) Reset

func (x *MsgInitiateDKGResponse) Reset()

func (*MsgInitiateDKGResponse) String

func (x *MsgInitiateDKGResponse) String() string

type MsgServer

type MsgServer interface {
	// SubmitBlockHeaders submits bitcoin block headers to the side chain.
	SubmitBlockHeaders(context.Context, *MsgSubmitBlockHeaders) (*MsgSubmitBlockHeadersResponse, error)
	// SubmitDepositTransaction submits the bitcoin deposit transaction to the side chain.
	SubmitDepositTransaction(context.Context, *MsgSubmitDepositTransaction) (*MsgSubmitDepositTransactionResponse, error)
	// SubmitWithdrawalTransaction submits the bitcoin withdrawal transaction to the side chain.
	SubmitWithdrawTransaction(context.Context, *MsgSubmitWithdrawTransaction) (*MsgSubmitWithdrawTransactionResponse, error)
	// SubmitFeeRate submits the bitcoin network fee rate to the side chain.
	SubmitFeeRate(context.Context, *MsgSubmitFeeRate) (*MsgSubmitFeeRateResponse, error)
	// UpdateTrustedNonBtcRelayers updates the trusted non-btc asset relayers.
	UpdateTrustedNonBtcRelayers(context.Context, *MsgUpdateTrustedNonBtcRelayers) (*MsgUpdateTrustedNonBtcRelayersResponse, error)
	// UpdateTrustedOracles updates the trusted oracles.
	UpdateTrustedOracles(context.Context, *MsgUpdateTrustedOracles) (*MsgUpdateTrustedOraclesResponse, error)
	// WithdrawToBitcoin withdraws the asset to bitcoin.
	WithdrawToBitcoin(context.Context, *MsgWithdrawToBitcoin) (*MsgWithdrawToBitcoinResponse, error)
	// SubmitSignatures submits the signatures of the signing request to the side chain.
	SubmitSignatures(context.Context, *MsgSubmitSignatures) (*MsgSubmitSignaturesResponse, error)
	// ConsolidateVaults performs the utxo consolidation for the given vaults.
	ConsolidateVaults(context.Context, *MsgConsolidateVaults) (*MsgConsolidateVaultsResponse, error)
	// InitiateDKG initiates the DKG request.
	InitiateDKG(context.Context, *MsgInitiateDKG) (*MsgInitiateDKGResponse, error)
	// CompleteDKG completes the given DKG request.
	CompleteDKG(context.Context, *MsgCompleteDKG) (*MsgCompleteDKGResponse, error)
	// TransferVault transfers the vault asset from the source version to the destination version.
	TransferVault(context.Context, *MsgTransferVault) (*MsgTransferVaultResponse, error)
	// UpdateParams defines a governance operation for updating the x/btcbridge module
	// parameters. The authority defaults to the x/gov module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSubmitBlockHeaders

type MsgSubmitBlockHeaders struct {
	Sender       string         `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	BlockHeaders []*BlockHeader `protobuf:"bytes,2,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitBlockHeaders defines the Msg/SubmitBlockHeaders request type.

func (*MsgSubmitBlockHeaders) Descriptor deprecated

func (*MsgSubmitBlockHeaders) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitBlockHeaders.ProtoReflect.Descriptor instead.

func (*MsgSubmitBlockHeaders) GetBlockHeaders

func (x *MsgSubmitBlockHeaders) GetBlockHeaders() []*BlockHeader

func (*MsgSubmitBlockHeaders) GetSender

func (x *MsgSubmitBlockHeaders) GetSender() string

func (*MsgSubmitBlockHeaders) ProtoMessage

func (*MsgSubmitBlockHeaders) ProtoMessage()

func (*MsgSubmitBlockHeaders) ProtoReflect

func (x *MsgSubmitBlockHeaders) ProtoReflect() protoreflect.Message

func (*MsgSubmitBlockHeaders) Reset

func (x *MsgSubmitBlockHeaders) Reset()

func (*MsgSubmitBlockHeaders) String

func (x *MsgSubmitBlockHeaders) String() string

type MsgSubmitBlockHeadersResponse

type MsgSubmitBlockHeadersResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitBlockHeadersResponse defines the Msg/SubmitBlockHeaders response type.

func (*MsgSubmitBlockHeadersResponse) Descriptor deprecated

func (*MsgSubmitBlockHeadersResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitBlockHeadersResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitBlockHeadersResponse) ProtoMessage

func (*MsgSubmitBlockHeadersResponse) ProtoMessage()

func (*MsgSubmitBlockHeadersResponse) ProtoReflect

func (*MsgSubmitBlockHeadersResponse) Reset

func (x *MsgSubmitBlockHeadersResponse) Reset()

func (*MsgSubmitBlockHeadersResponse) String

type MsgSubmitDepositTransaction

type MsgSubmitDepositTransaction struct {

	// this is the relayer address who submits the bitcoin transaction to the side chain
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
	// the tx bytes in base64 format
	// used for parsing the sender of the transaction
	PrevTxBytes string `protobuf:"bytes,3,opt,name=prev_tx_bytes,json=prevTxBytes,proto3" json:"prev_tx_bytes,omitempty"`
	// the tx bytes in base64 format
	TxBytes string   `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	Proof   []string `protobuf:"bytes,5,rep,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitDepositTransaction defines the Msg/SubmitDepositTransaction request type.

func (*MsgSubmitDepositTransaction) Descriptor deprecated

func (*MsgSubmitDepositTransaction) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitDepositTransaction.ProtoReflect.Descriptor instead.

func (*MsgSubmitDepositTransaction) GetBlockhash

func (x *MsgSubmitDepositTransaction) GetBlockhash() string

func (*MsgSubmitDepositTransaction) GetPrevTxBytes

func (x *MsgSubmitDepositTransaction) GetPrevTxBytes() string

func (*MsgSubmitDepositTransaction) GetProof

func (x *MsgSubmitDepositTransaction) GetProof() []string

func (*MsgSubmitDepositTransaction) GetSender

func (x *MsgSubmitDepositTransaction) GetSender() string

func (*MsgSubmitDepositTransaction) GetTxBytes

func (x *MsgSubmitDepositTransaction) GetTxBytes() string

func (*MsgSubmitDepositTransaction) ProtoMessage

func (*MsgSubmitDepositTransaction) ProtoMessage()

func (*MsgSubmitDepositTransaction) ProtoReflect

func (*MsgSubmitDepositTransaction) Reset

func (x *MsgSubmitDepositTransaction) Reset()

func (*MsgSubmitDepositTransaction) String

func (x *MsgSubmitDepositTransaction) String() string

type MsgSubmitDepositTransactionResponse

type MsgSubmitDepositTransactionResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitDepositTransactionResponse defines the Msg/SubmitDepositTransaction response type.

func (*MsgSubmitDepositTransactionResponse) Descriptor deprecated

func (*MsgSubmitDepositTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitDepositTransactionResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitDepositTransactionResponse) ProtoMessage

func (*MsgSubmitDepositTransactionResponse) ProtoMessage()

func (*MsgSubmitDepositTransactionResponse) ProtoReflect

func (*MsgSubmitDepositTransactionResponse) Reset

func (*MsgSubmitDepositTransactionResponse) String

type MsgSubmitFeeRate

type MsgSubmitFeeRate struct {
	Sender  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	FeeRate int64  `protobuf:"varint,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitFeeRate defines the Msg/SubmitFeeRate request type.

func (*MsgSubmitFeeRate) Descriptor deprecated

func (*MsgSubmitFeeRate) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitFeeRate.ProtoReflect.Descriptor instead.

func (*MsgSubmitFeeRate) GetFeeRate

func (x *MsgSubmitFeeRate) GetFeeRate() int64

func (*MsgSubmitFeeRate) GetSender

func (x *MsgSubmitFeeRate) GetSender() string

func (*MsgSubmitFeeRate) ProtoMessage

func (*MsgSubmitFeeRate) ProtoMessage()

func (*MsgSubmitFeeRate) ProtoReflect

func (x *MsgSubmitFeeRate) ProtoReflect() protoreflect.Message

func (*MsgSubmitFeeRate) Reset

func (x *MsgSubmitFeeRate) Reset()

func (*MsgSubmitFeeRate) String

func (x *MsgSubmitFeeRate) String() string

type MsgSubmitFeeRateResponse

type MsgSubmitFeeRateResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitFeeRateResponse defines the Msg/SubmitFeeRate response type.

func (*MsgSubmitFeeRateResponse) Descriptor deprecated

func (*MsgSubmitFeeRateResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitFeeRateResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitFeeRateResponse) ProtoMessage

func (*MsgSubmitFeeRateResponse) ProtoMessage()

func (*MsgSubmitFeeRateResponse) ProtoReflect

func (x *MsgSubmitFeeRateResponse) ProtoReflect() protoreflect.Message

func (*MsgSubmitFeeRateResponse) Reset

func (x *MsgSubmitFeeRateResponse) Reset()

func (*MsgSubmitFeeRateResponse) String

func (x *MsgSubmitFeeRateResponse) String() string

type MsgSubmitSignatures

type MsgSubmitSignatures struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Txid   string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`
	Psbt   string `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitSignatures defines the Msg/SubmitSignatures request type.

func (*MsgSubmitSignatures) Descriptor deprecated

func (*MsgSubmitSignatures) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitSignatures.ProtoReflect.Descriptor instead.

func (*MsgSubmitSignatures) GetPsbt

func (x *MsgSubmitSignatures) GetPsbt() string

func (*MsgSubmitSignatures) GetSender

func (x *MsgSubmitSignatures) GetSender() string

func (*MsgSubmitSignatures) GetTxid

func (x *MsgSubmitSignatures) GetTxid() string

func (*MsgSubmitSignatures) ProtoMessage

func (*MsgSubmitSignatures) ProtoMessage()

func (*MsgSubmitSignatures) ProtoReflect

func (x *MsgSubmitSignatures) ProtoReflect() protoreflect.Message

func (*MsgSubmitSignatures) Reset

func (x *MsgSubmitSignatures) Reset()

func (*MsgSubmitSignatures) String

func (x *MsgSubmitSignatures) String() string

type MsgSubmitSignaturesResponse

type MsgSubmitSignaturesResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitSignaturesResponse defines the Msg/SubmitSignatures response type.

func (*MsgSubmitSignaturesResponse) Descriptor deprecated

func (*MsgSubmitSignaturesResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitSignaturesResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitSignaturesResponse) ProtoMessage

func (*MsgSubmitSignaturesResponse) ProtoMessage()

func (*MsgSubmitSignaturesResponse) ProtoReflect

func (*MsgSubmitSignaturesResponse) Reset

func (x *MsgSubmitSignaturesResponse) Reset()

func (*MsgSubmitSignaturesResponse) String

func (x *MsgSubmitSignaturesResponse) String() string

type MsgSubmitWithdrawTransaction

type MsgSubmitWithdrawTransaction struct {

	// this is the relayer address who submits the bitcoin transaction to the side chain
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
	// the tx bytes in base64 format
	TxBytes string   `protobuf:"bytes,3,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	Proof   []string `protobuf:"bytes,4,rep,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitWithdrawTransaction defines the Msg/SubmitWithdrawTransaction request type.

func (*MsgSubmitWithdrawTransaction) Descriptor deprecated

func (*MsgSubmitWithdrawTransaction) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitWithdrawTransaction.ProtoReflect.Descriptor instead.

func (*MsgSubmitWithdrawTransaction) GetBlockhash

func (x *MsgSubmitWithdrawTransaction) GetBlockhash() string

func (*MsgSubmitWithdrawTransaction) GetProof

func (x *MsgSubmitWithdrawTransaction) GetProof() []string

func (*MsgSubmitWithdrawTransaction) GetSender

func (x *MsgSubmitWithdrawTransaction) GetSender() string

func (*MsgSubmitWithdrawTransaction) GetTxBytes

func (x *MsgSubmitWithdrawTransaction) GetTxBytes() string

func (*MsgSubmitWithdrawTransaction) ProtoMessage

func (*MsgSubmitWithdrawTransaction) ProtoMessage()

func (*MsgSubmitWithdrawTransaction) ProtoReflect

func (*MsgSubmitWithdrawTransaction) Reset

func (x *MsgSubmitWithdrawTransaction) Reset()

func (*MsgSubmitWithdrawTransaction) String

type MsgSubmitWithdrawTransactionResponse

type MsgSubmitWithdrawTransactionResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitWithdrawTransactionResponse defines the Msg/SubmitWithdrawTransaction response type.

func (*MsgSubmitWithdrawTransactionResponse) Descriptor deprecated

func (*MsgSubmitWithdrawTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitWithdrawTransactionResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitWithdrawTransactionResponse) ProtoMessage

func (*MsgSubmitWithdrawTransactionResponse) ProtoMessage()

func (*MsgSubmitWithdrawTransactionResponse) ProtoReflect

func (*MsgSubmitWithdrawTransactionResponse) Reset

func (*MsgSubmitWithdrawTransactionResponse) String

type MsgTransferVault

type MsgTransferVault struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// version of the source vault
	SourceVersion uint64 `protobuf:"varint,2,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
	// version of the destination vault
	DestVersion uint64 `protobuf:"varint,3,opt,name=dest_version,json=destVersion,proto3" json:"dest_version,omitempty"`
	// asset type
	AssetType AssetType `protobuf:"varint,4,opt,name=asset_type,json=assetType,proto3,enum=side.btcbridge.AssetType" json:"asset_type,omitempty"`
	// a set of optional pre-built PSBTs to perform the asset transfer
	Psbts []string `protobuf:"bytes,5,rep,name=psbts,proto3" json:"psbts,omitempty"`
	// target number of the UTXOs to be transferred; only take effect when psbt not provided
	TargetUtxoNum uint32 `protobuf:"varint,6,opt,name=target_utxo_num,json=targetUtxoNum,proto3" json:"target_utxo_num,omitempty"`
	// contains filtered or unexported fields
}

MsgTransferVault is the Msg/TransferVault request type.

func (*MsgTransferVault) Descriptor deprecated

func (*MsgTransferVault) Descriptor() ([]byte, []int)

Deprecated: Use MsgTransferVault.ProtoReflect.Descriptor instead.

func (*MsgTransferVault) GetAssetType

func (x *MsgTransferVault) GetAssetType() AssetType

func (*MsgTransferVault) GetAuthority

func (x *MsgTransferVault) GetAuthority() string

func (*MsgTransferVault) GetDestVersion

func (x *MsgTransferVault) GetDestVersion() uint64

func (*MsgTransferVault) GetPsbts

func (x *MsgTransferVault) GetPsbts() []string

func (*MsgTransferVault) GetSourceVersion

func (x *MsgTransferVault) GetSourceVersion() uint64

func (*MsgTransferVault) GetTargetUtxoNum

func (x *MsgTransferVault) GetTargetUtxoNum() uint32

func (*MsgTransferVault) ProtoMessage

func (*MsgTransferVault) ProtoMessage()

func (*MsgTransferVault) ProtoReflect

func (x *MsgTransferVault) ProtoReflect() protoreflect.Message

func (*MsgTransferVault) Reset

func (x *MsgTransferVault) Reset()

func (*MsgTransferVault) String

func (x *MsgTransferVault) String() string

type MsgTransferVaultResponse

type MsgTransferVaultResponse struct {
	// contains filtered or unexported fields
}

MsgTransferVaultResponse defines the Msg/TransferVault response type.

func (*MsgTransferVaultResponse) Descriptor deprecated

func (*MsgTransferVaultResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgTransferVaultResponse.ProtoReflect.Descriptor instead.

func (*MsgTransferVaultResponse) ProtoMessage

func (*MsgTransferVaultResponse) ProtoMessage()

func (*MsgTransferVaultResponse) ProtoReflect

func (x *MsgTransferVaultResponse) ProtoReflect() protoreflect.Message

func (*MsgTransferVaultResponse) Reset

func (x *MsgTransferVaultResponse) Reset()

func (*MsgTransferVaultResponse) String

func (x *MsgTransferVaultResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/btcbridge parameters to be updated.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the Msg/UpdateParams response type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateTrustedNonBtcRelayers

type MsgUpdateTrustedNonBtcRelayers struct {
	Sender   string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Relayers []string `protobuf:"bytes,2,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateTrustedNonBtcRelayers defines the Msg/UpdateTrustedNonBtcRelayers request type.

func (*MsgUpdateTrustedNonBtcRelayers) Descriptor deprecated

func (*MsgUpdateTrustedNonBtcRelayers) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateTrustedNonBtcRelayers.ProtoReflect.Descriptor instead.

func (*MsgUpdateTrustedNonBtcRelayers) GetRelayers

func (x *MsgUpdateTrustedNonBtcRelayers) GetRelayers() []string

func (*MsgUpdateTrustedNonBtcRelayers) GetSender

func (x *MsgUpdateTrustedNonBtcRelayers) GetSender() string

func (*MsgUpdateTrustedNonBtcRelayers) ProtoMessage

func (*MsgUpdateTrustedNonBtcRelayers) ProtoMessage()

func (*MsgUpdateTrustedNonBtcRelayers) ProtoReflect

func (*MsgUpdateTrustedNonBtcRelayers) Reset

func (x *MsgUpdateTrustedNonBtcRelayers) Reset()

func (*MsgUpdateTrustedNonBtcRelayers) String

type MsgUpdateTrustedNonBtcRelayersResponse

type MsgUpdateTrustedNonBtcRelayersResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateTrustedNonBtcRelayersResponse defines the Msg/UpdateTrustedNonBtcRelayers response type.

func (*MsgUpdateTrustedNonBtcRelayersResponse) Descriptor deprecated

func (*MsgUpdateTrustedNonBtcRelayersResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateTrustedNonBtcRelayersResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateTrustedNonBtcRelayersResponse) ProtoMessage

func (*MsgUpdateTrustedNonBtcRelayersResponse) ProtoReflect

func (*MsgUpdateTrustedNonBtcRelayersResponse) Reset

func (*MsgUpdateTrustedNonBtcRelayersResponse) String

type MsgUpdateTrustedOracles

type MsgUpdateTrustedOracles struct {
	Sender  string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Oracles []string `protobuf:"bytes,2,rep,name=oracles,proto3" json:"oracles,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateTrustedOracles defines the Msg/UpdateTrustedOracles request type.

func (*MsgUpdateTrustedOracles) Descriptor deprecated

func (*MsgUpdateTrustedOracles) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateTrustedOracles.ProtoReflect.Descriptor instead.

func (*MsgUpdateTrustedOracles) GetOracles

func (x *MsgUpdateTrustedOracles) GetOracles() []string

func (*MsgUpdateTrustedOracles) GetSender

func (x *MsgUpdateTrustedOracles) GetSender() string

func (*MsgUpdateTrustedOracles) ProtoMessage

func (*MsgUpdateTrustedOracles) ProtoMessage()

func (*MsgUpdateTrustedOracles) ProtoReflect

func (x *MsgUpdateTrustedOracles) ProtoReflect() protoreflect.Message

func (*MsgUpdateTrustedOracles) Reset

func (x *MsgUpdateTrustedOracles) Reset()

func (*MsgUpdateTrustedOracles) String

func (x *MsgUpdateTrustedOracles) String() string

type MsgUpdateTrustedOraclesResponse

type MsgUpdateTrustedOraclesResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateTrustedOraclesResponse defines the Msg/UpdateTrustedOracles response type.

func (*MsgUpdateTrustedOraclesResponse) Descriptor deprecated

func (*MsgUpdateTrustedOraclesResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateTrustedOraclesResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateTrustedOraclesResponse) ProtoMessage

func (*MsgUpdateTrustedOraclesResponse) ProtoMessage()

func (*MsgUpdateTrustedOraclesResponse) ProtoReflect

func (*MsgUpdateTrustedOraclesResponse) Reset

func (*MsgUpdateTrustedOraclesResponse) String

type MsgWithdrawToBitcoin

type MsgWithdrawToBitcoin struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// withdraw amount in satoshi, etc: 100000000sat = 1btc
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawToBitcoin defines the Msg/WithdrawToBitcoin request type.

func (*MsgWithdrawToBitcoin) Descriptor deprecated

func (*MsgWithdrawToBitcoin) Descriptor() ([]byte, []int)

Deprecated: Use MsgWithdrawToBitcoin.ProtoReflect.Descriptor instead.

func (*MsgWithdrawToBitcoin) GetAmount

func (x *MsgWithdrawToBitcoin) GetAmount() string

func (*MsgWithdrawToBitcoin) GetSender

func (x *MsgWithdrawToBitcoin) GetSender() string

func (*MsgWithdrawToBitcoin) ProtoMessage

func (*MsgWithdrawToBitcoin) ProtoMessage()

func (*MsgWithdrawToBitcoin) ProtoReflect

func (x *MsgWithdrawToBitcoin) ProtoReflect() protoreflect.Message

func (*MsgWithdrawToBitcoin) Reset

func (x *MsgWithdrawToBitcoin) Reset()

func (*MsgWithdrawToBitcoin) String

func (x *MsgWithdrawToBitcoin) String() string

type MsgWithdrawToBitcoinResponse

type MsgWithdrawToBitcoinResponse struct {
	// contains filtered or unexported fields
}

MsgWithdrawToBitcoinResponse defines the Msg/WithdrawToBitcoin response type.

func (*MsgWithdrawToBitcoinResponse) Descriptor deprecated

func (*MsgWithdrawToBitcoinResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgWithdrawToBitcoinResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawToBitcoinResponse) ProtoMessage

func (*MsgWithdrawToBitcoinResponse) ProtoMessage()

func (*MsgWithdrawToBitcoinResponse) ProtoReflect

func (*MsgWithdrawToBitcoinResponse) Reset

func (x *MsgWithdrawToBitcoinResponse) Reset()

func (*MsgWithdrawToBitcoinResponse) String

type Params

type Params struct {

	// The minimum number of confirmations required for a block to be accepted
	Confirmations int32 `protobuf:"varint,1,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	// Indicates the maximum depth or distance from the latest block up to which transactions are considered for acceptance.
	MaxAcceptableBlockDepth uint64 `` /* 135-byte string literal not displayed */
	// The denomination of the voucher
	BtcVoucherDenom string `protobuf:"bytes,3,opt,name=btc_voucher_denom,json=btcVoucherDenom,proto3" json:"btc_voucher_denom,omitempty"`
	// Indicates if deposit is enabled
	DepositEnabled bool `protobuf:"varint,4,opt,name=deposit_enabled,json=depositEnabled,proto3" json:"deposit_enabled,omitempty"`
	// Indicates if withdrawal is enabled
	WithdrawEnabled bool `protobuf:"varint,5,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
	// Trusted relayers to submit bitcoin block headers
	TrustedBtcRelayers []string `protobuf:"bytes,6,rep,name=trusted_btc_relayers,json=trustedBtcRelayers,proto3" json:"trusted_btc_relayers,omitempty"`
	// Trusted relayers for non-btc asset deposit
	TrustedNonBtcRelayers []string `` /* 128-byte string literal not displayed */
	// Trusted oracles for providing offchain data, e.g. bitcoin fee rate
	TrustedOracles []string `protobuf:"bytes,8,rep,name=trusted_oracles,json=trustedOracles,proto3" json:"trusted_oracles,omitempty"`
	// Period of validity for the fee rate
	FeeRateValidityPeriod int64 `` /* 129-byte string literal not displayed */
	// Asset vaults
	Vaults []*Vault `protobuf:"bytes,10,rep,name=vaults,proto3" json:"vaults,omitempty"`
	// Withdrawal params
	WithdrawParams *WithdrawParams `protobuf:"bytes,11,opt,name=withdraw_params,json=withdrawParams,proto3" json:"withdraw_params,omitempty"`
	// Protocol limitations
	ProtocolLimits *ProtocolLimits `protobuf:"bytes,12,opt,name=protocol_limits,json=protocolLimits,proto3" json:"protocol_limits,omitempty"`
	// Protocol fees
	ProtocolFees *ProtocolFees `protobuf:"bytes,13,opt,name=protocol_fees,json=protocolFees,proto3" json:"protocol_fees,omitempty"`
	// TSS params
	TssParams *TSSParams `protobuf:"bytes,14,opt,name=tss_params,json=tssParams,proto3" json:"tss_params,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBtcVoucherDenom

func (x *Params) GetBtcVoucherDenom() string

func (*Params) GetConfirmations

func (x *Params) GetConfirmations() int32

func (*Params) GetDepositEnabled

func (x *Params) GetDepositEnabled() bool

func (*Params) GetFeeRateValidityPeriod

func (x *Params) GetFeeRateValidityPeriod() int64

func (*Params) GetMaxAcceptableBlockDepth

func (x *Params) GetMaxAcceptableBlockDepth() uint64

func (*Params) GetProtocolFees

func (x *Params) GetProtocolFees() *ProtocolFees

func (*Params) GetProtocolLimits

func (x *Params) GetProtocolLimits() *ProtocolLimits

func (*Params) GetTrustedBtcRelayers

func (x *Params) GetTrustedBtcRelayers() []string

func (*Params) GetTrustedNonBtcRelayers

func (x *Params) GetTrustedNonBtcRelayers() []string

func (*Params) GetTrustedOracles

func (x *Params) GetTrustedOracles() []string

func (*Params) GetTssParams

func (x *Params) GetTssParams() *TSSParams

func (*Params) GetVaults

func (x *Params) GetVaults() []*Vault

func (*Params) GetWithdrawEnabled

func (x *Params) GetWithdrawEnabled() bool

func (*Params) GetWithdrawParams

func (x *Params) GetWithdrawParams() *WithdrawParams

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type ProtocolFees

type ProtocolFees struct {

	// Protocol fee amount for deposit in sat
	DepositFee int64 `protobuf:"varint,1,opt,name=deposit_fee,json=depositFee,proto3" json:"deposit_fee,omitempty"`
	// Protocol fee amount for withdrawal in sat
	WithdrawFee int64 `protobuf:"varint,2,opt,name=withdraw_fee,json=withdrawFee,proto3" json:"withdraw_fee,omitempty"`
	// Protocol fee collector
	Collector string `protobuf:"bytes,3,opt,name=collector,proto3" json:"collector,omitempty"`
	// contains filtered or unexported fields
}

ProtocolFees defines the params related to the protocol fees

func (*ProtocolFees) Descriptor deprecated

func (*ProtocolFees) Descriptor() ([]byte, []int)

Deprecated: Use ProtocolFees.ProtoReflect.Descriptor instead.

func (*ProtocolFees) GetCollector

func (x *ProtocolFees) GetCollector() string

func (*ProtocolFees) GetDepositFee

func (x *ProtocolFees) GetDepositFee() int64

func (*ProtocolFees) GetWithdrawFee

func (x *ProtocolFees) GetWithdrawFee() int64

func (*ProtocolFees) ProtoMessage

func (*ProtocolFees) ProtoMessage()

func (*ProtocolFees) ProtoReflect

func (x *ProtocolFees) ProtoReflect() protoreflect.Message

func (*ProtocolFees) Reset

func (x *ProtocolFees) Reset()

func (*ProtocolFees) String

func (x *ProtocolFees) String() string

type ProtocolLimits

type ProtocolLimits struct {

	// The minimum deposit amount for btc in sat
	BtcMinDeposit int64 `protobuf:"varint,1,opt,name=btc_min_deposit,json=btcMinDeposit,proto3" json:"btc_min_deposit,omitempty"`
	// The minimum withdrawal amount for btc in sat
	BtcMinWithdraw int64 `protobuf:"varint,2,opt,name=btc_min_withdraw,json=btcMinWithdraw,proto3" json:"btc_min_withdraw,omitempty"`
	// The maximum withdrawal amount for btc in sat
	BtcMaxWithdraw int64 `protobuf:"varint,3,opt,name=btc_max_withdraw,json=btcMaxWithdraw,proto3" json:"btc_max_withdraw,omitempty"`
	// contains filtered or unexported fields
}

ProtocolLimits defines the params related to the the protocol limitations

func (*ProtocolLimits) Descriptor deprecated

func (*ProtocolLimits) Descriptor() ([]byte, []int)

Deprecated: Use ProtocolLimits.ProtoReflect.Descriptor instead.

func (*ProtocolLimits) GetBtcMaxWithdraw

func (x *ProtocolLimits) GetBtcMaxWithdraw() int64

func (*ProtocolLimits) GetBtcMinDeposit

func (x *ProtocolLimits) GetBtcMinDeposit() int64

func (*ProtocolLimits) GetBtcMinWithdraw

func (x *ProtocolLimits) GetBtcMinWithdraw() int64

func (*ProtocolLimits) ProtoMessage

func (*ProtocolLimits) ProtoMessage()

func (*ProtocolLimits) ProtoReflect

func (x *ProtocolLimits) ProtoReflect() protoreflect.Message

func (*ProtocolLimits) Reset

func (x *ProtocolLimits) Reset()

func (*ProtocolLimits) String

func (x *ProtocolLimits) String() string

type QueryAllDKGRequestsRequest

type QueryAllDKGRequestsRequest struct {
	// contains filtered or unexported fields
}

QueryAllDKGRequestsRequest is the request type for the Query/AllDKGRequests RPC method.

func (*QueryAllDKGRequestsRequest) Descriptor deprecated

func (*QueryAllDKGRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllDKGRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryAllDKGRequestsRequest) ProtoMessage

func (*QueryAllDKGRequestsRequest) ProtoMessage()

func (*QueryAllDKGRequestsRequest) ProtoReflect

func (*QueryAllDKGRequestsRequest) Reset

func (x *QueryAllDKGRequestsRequest) Reset()

func (*QueryAllDKGRequestsRequest) String

func (x *QueryAllDKGRequestsRequest) String() string

type QueryAllDKGRequestsResponse

type QueryAllDKGRequestsResponse struct {
	Requests []*DKGRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

QueryAllDKGRequestsResponse is the response type for the Query/AllDKGRequests RPC method.

func (*QueryAllDKGRequestsResponse) Descriptor deprecated

func (*QueryAllDKGRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllDKGRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryAllDKGRequestsResponse) GetRequests

func (x *QueryAllDKGRequestsResponse) GetRequests() []*DKGRequest

func (*QueryAllDKGRequestsResponse) ProtoMessage

func (*QueryAllDKGRequestsResponse) ProtoMessage()

func (*QueryAllDKGRequestsResponse) ProtoReflect

func (*QueryAllDKGRequestsResponse) Reset

func (x *QueryAllDKGRequestsResponse) Reset()

func (*QueryAllDKGRequestsResponse) String

func (x *QueryAllDKGRequestsResponse) String() string

type QueryBlockHeaderByHashRequest

type QueryBlockHeaderByHashRequest struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

QueryBlockHeaderByHashRequest is the request type for the Query/BlockHeaderByHash RPC method.

func (*QueryBlockHeaderByHashRequest) Descriptor deprecated

func (*QueryBlockHeaderByHashRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlockHeaderByHashRequest.ProtoReflect.Descriptor instead.

func (*QueryBlockHeaderByHashRequest) GetHash

func (*QueryBlockHeaderByHashRequest) ProtoMessage

func (*QueryBlockHeaderByHashRequest) ProtoMessage()

func (*QueryBlockHeaderByHashRequest) ProtoReflect

func (*QueryBlockHeaderByHashRequest) Reset

func (x *QueryBlockHeaderByHashRequest) Reset()

func (*QueryBlockHeaderByHashRequest) String

type QueryBlockHeaderByHashResponse

type QueryBlockHeaderByHashResponse struct {
	BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	// contains filtered or unexported fields
}

QueryBlockHeaderByHashResponse is the response type for the Query/BlockHeaderByHash RPC method.

func (*QueryBlockHeaderByHashResponse) Descriptor deprecated

func (*QueryBlockHeaderByHashResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlockHeaderByHashResponse.ProtoReflect.Descriptor instead.

func (*QueryBlockHeaderByHashResponse) GetBlockHeader

func (x *QueryBlockHeaderByHashResponse) GetBlockHeader() *BlockHeader

func (*QueryBlockHeaderByHashResponse) ProtoMessage

func (*QueryBlockHeaderByHashResponse) ProtoMessage()

func (*QueryBlockHeaderByHashResponse) ProtoReflect

func (*QueryBlockHeaderByHashResponse) Reset

func (x *QueryBlockHeaderByHashResponse) Reset()

func (*QueryBlockHeaderByHashResponse) String

type QueryBlockHeaderByHeightRequest

type QueryBlockHeaderByHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

QueryBlockHeaderByHeightRequest is the request type for the Query/BlockHeaderByHeight RPC method.

func (*QueryBlockHeaderByHeightRequest) Descriptor deprecated

func (*QueryBlockHeaderByHeightRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlockHeaderByHeightRequest.ProtoReflect.Descriptor instead.

func (*QueryBlockHeaderByHeightRequest) GetHeight

func (x *QueryBlockHeaderByHeightRequest) GetHeight() uint64

func (*QueryBlockHeaderByHeightRequest) ProtoMessage

func (*QueryBlockHeaderByHeightRequest) ProtoMessage()

func (*QueryBlockHeaderByHeightRequest) ProtoReflect

func (*QueryBlockHeaderByHeightRequest) Reset

func (*QueryBlockHeaderByHeightRequest) String

type QueryBlockHeaderByHeightResponse

type QueryBlockHeaderByHeightResponse struct {
	BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	// contains filtered or unexported fields
}

QueryBlockHeaderByHeightResponse is the response type for the Query/BlockHeaderByHeight RPC method.

func (*QueryBlockHeaderByHeightResponse) Descriptor deprecated

func (*QueryBlockHeaderByHeightResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlockHeaderByHeightResponse.ProtoReflect.Descriptor instead.

func (*QueryBlockHeaderByHeightResponse) GetBlockHeader

func (x *QueryBlockHeaderByHeightResponse) GetBlockHeader() *BlockHeader

func (*QueryBlockHeaderByHeightResponse) ProtoMessage

func (*QueryBlockHeaderByHeightResponse) ProtoMessage()

func (*QueryBlockHeaderByHeightResponse) ProtoReflect

func (*QueryBlockHeaderByHeightResponse) Reset

func (*QueryBlockHeaderByHeightResponse) String

type QueryChainTipRequest

type QueryChainTipRequest struct {
	// contains filtered or unexported fields
}

QueryChainTipRequest is request type for the Query/ChainTip RPC method.

func (*QueryChainTipRequest) Descriptor deprecated

func (*QueryChainTipRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryChainTipRequest.ProtoReflect.Descriptor instead.

func (*QueryChainTipRequest) ProtoMessage

func (*QueryChainTipRequest) ProtoMessage()

func (*QueryChainTipRequest) ProtoReflect

func (x *QueryChainTipRequest) ProtoReflect() protoreflect.Message

func (*QueryChainTipRequest) Reset

func (x *QueryChainTipRequest) Reset()

func (*QueryChainTipRequest) String

func (x *QueryChainTipRequest) String() string

type QueryChainTipResponse

type QueryChainTipResponse struct {
	Hash   string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

QueryChainTipResponse is response type for the Query/ChainTip RPC method.

func (*QueryChainTipResponse) Descriptor deprecated

func (*QueryChainTipResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryChainTipResponse.ProtoReflect.Descriptor instead.

func (*QueryChainTipResponse) GetHash

func (x *QueryChainTipResponse) GetHash() string

func (*QueryChainTipResponse) GetHeight

func (x *QueryChainTipResponse) GetHeight() uint64

func (*QueryChainTipResponse) ProtoMessage

func (*QueryChainTipResponse) ProtoMessage()

func (*QueryChainTipResponse) ProtoReflect

func (x *QueryChainTipResponse) ProtoReflect() protoreflect.Message

func (*QueryChainTipResponse) Reset

func (x *QueryChainTipResponse) Reset()

func (*QueryChainTipResponse) String

func (x *QueryChainTipResponse) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// ChainTip queries the chain tip of the module.
	QueryChainTip(ctx context.Context, in *QueryChainTipRequest, opts ...grpc.CallOption) (*QueryChainTipResponse, error)
	// BlockHeaderByHeight queries the block header by height.
	QueryBlockHeaderByHeight(ctx context.Context, in *QueryBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*QueryBlockHeaderByHeightResponse, error)
	// BlockHeaderByHash queries the block header by hash.
	QueryBlockHeaderByHash(ctx context.Context, in *QueryBlockHeaderByHashRequest, opts ...grpc.CallOption) (*QueryBlockHeaderByHashResponse, error)
	// QueryFeeRate queries the bitcoin network fee rate on the side chain.
	QueryFeeRate(ctx context.Context, in *QueryFeeRateRequest, opts ...grpc.CallOption) (*QueryFeeRateResponse, error)
	// QueryWithdrawalNetworkFee queries the estimated btc network fee for the given withdrawal.
	QueryWithdrawalNetworkFee(ctx context.Context, in *QueryWithdrawalNetworkFeeRequest, opts ...grpc.CallOption) (*QueryWithdrawalNetworkFeeResponse, error)
	// QueryWithdrawRequestsByAddress queries the withdrawal requests by the given address.
	QueryWithdrawRequestsByAddress(ctx context.Context, in *QueryWithdrawRequestsByAddressRequest, opts ...grpc.CallOption) (*QueryWithdrawRequestsByAddressResponse, error)
	// QueryWithdrawRequestsByTxHash queries the withdrawal requests by the given tx hash.
	QueryWithdrawRequestsByTxHash(ctx context.Context, in *QueryWithdrawRequestsByTxHashRequest, opts ...grpc.CallOption) (*QueryWithdrawRequestsByTxHashResponse, error)
	// QueryPendingBtcWithdrawRequests queries the pending btc withdrawal requests.
	QueryPendingBtcWithdrawRequests(ctx context.Context, in *QueryPendingBtcWithdrawRequestsRequest, opts ...grpc.CallOption) (*QueryPendingBtcWithdrawRequestsResponse, error)
	// QuerySigningRequests queries the signing requests by the given status.
	QuerySigningRequests(ctx context.Context, in *QuerySigningRequestsRequest, opts ...grpc.CallOption) (*QuerySigningRequestsResponse, error)
	// QuerySigningRequestsByAddress queries the signing requests by the given address.
	QuerySigningRequestsByAddress(ctx context.Context, in *QuerySigningRequestsByAddressRequest, opts ...grpc.CallOption) (*QuerySigningRequestsByAddressResponse, error)
	// QuerySigningRequestByTxHash queries the signing request by the given tx hash.
	QuerySigningRequestByTxHash(ctx context.Context, in *QuerySigningRequestByTxHashRequest, opts ...grpc.CallOption) (*QuerySigningRequestByTxHashResponse, error)
	// QueryUTXOs queries all utxos.
	QueryUTXOs(ctx context.Context, in *QueryUTXOsRequest, opts ...grpc.CallOption) (*QueryUTXOsResponse, error)
	// QueryUTXOsByAddress queries the utxos of the given address.
	QueryUTXOsByAddress(ctx context.Context, in *QueryUTXOsByAddressRequest, opts ...grpc.CallOption) (*QueryUTXOsByAddressResponse, error)
	// QueryUTXOCountAndBalancesByAddress queries the total count and balances of the unlocked utxos by the given address.
	QueryUTXOCountAndBalancesByAddress(ctx context.Context, in *QueryUTXOCountAndBalancesByAddressRequest, opts ...grpc.CallOption) (*QueryUTXOCountAndBalancesByAddressResponse, error)
	// QueryDKGRequest queries the DKG request by the given id.
	QueryDKGRequest(ctx context.Context, in *QueryDKGRequestRequest, opts ...grpc.CallOption) (*QueryDKGRequestResponse, error)
	// QueryDKGRequests queries the DKG requests by the given status
	QueryDKGRequests(ctx context.Context, in *QueryDKGRequestsRequest, opts ...grpc.CallOption) (*QueryDKGRequestsResponse, error)
	// QueryAllDKGRequests queries all DKG requests.
	QueryAllDKGRequests(ctx context.Context, in *QueryAllDKGRequestsRequest, opts ...grpc.CallOption) (*QueryAllDKGRequestsResponse, error)
	// QueryDKGCompletionRequests queries DKG completion requests by the given id.
	QueryDKGCompletionRequests(ctx context.Context, in *QueryDKGCompletionRequestsRequest, opts ...grpc.CallOption) (*QueryDKGCompletionRequestsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDKGCompletionRequestsRequest

type QueryDKGCompletionRequestsRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGCompletionRequestsRequest is the request type for the Query/DKGCompletionRequests RPC method.

func (*QueryDKGCompletionRequestsRequest) Descriptor deprecated

func (*QueryDKGCompletionRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGCompletionRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryDKGCompletionRequestsRequest) GetId

func (*QueryDKGCompletionRequestsRequest) ProtoMessage

func (*QueryDKGCompletionRequestsRequest) ProtoMessage()

func (*QueryDKGCompletionRequestsRequest) ProtoReflect

func (*QueryDKGCompletionRequestsRequest) Reset

func (*QueryDKGCompletionRequestsRequest) String

type QueryDKGCompletionRequestsResponse

type QueryDKGCompletionRequestsResponse struct {
	Requests []*DKGCompletionRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGCompletionRequestsResponse is the response type for the Query/DKGCompletionRequests RPC method.

func (*QueryDKGCompletionRequestsResponse) Descriptor deprecated

func (*QueryDKGCompletionRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGCompletionRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryDKGCompletionRequestsResponse) GetRequests

func (*QueryDKGCompletionRequestsResponse) ProtoMessage

func (*QueryDKGCompletionRequestsResponse) ProtoMessage()

func (*QueryDKGCompletionRequestsResponse) ProtoReflect

func (*QueryDKGCompletionRequestsResponse) Reset

func (*QueryDKGCompletionRequestsResponse) String

type QueryDKGRequestRequest

type QueryDKGRequestRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGRequestRequest is the request type for the Query/DKGRequest RPC method.

func (*QueryDKGRequestRequest) Descriptor deprecated

func (*QueryDKGRequestRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGRequestRequest.ProtoReflect.Descriptor instead.

func (*QueryDKGRequestRequest) GetId

func (x *QueryDKGRequestRequest) GetId() uint64

func (*QueryDKGRequestRequest) ProtoMessage

func (*QueryDKGRequestRequest) ProtoMessage()

func (*QueryDKGRequestRequest) ProtoReflect

func (x *QueryDKGRequestRequest) ProtoReflect() protoreflect.Message

func (*QueryDKGRequestRequest) Reset

func (x *QueryDKGRequestRequest) Reset()

func (*QueryDKGRequestRequest) String

func (x *QueryDKGRequestRequest) String() string

type QueryDKGRequestResponse

type QueryDKGRequestResponse struct {
	Request *DKGRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGRequestResponse is the response type for the Query/DKGRequest RPC method.

func (*QueryDKGRequestResponse) Descriptor deprecated

func (*QueryDKGRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGRequestResponse.ProtoReflect.Descriptor instead.

func (*QueryDKGRequestResponse) GetRequest

func (x *QueryDKGRequestResponse) GetRequest() *DKGRequest

func (*QueryDKGRequestResponse) ProtoMessage

func (*QueryDKGRequestResponse) ProtoMessage()

func (*QueryDKGRequestResponse) ProtoReflect

func (x *QueryDKGRequestResponse) ProtoReflect() protoreflect.Message

func (*QueryDKGRequestResponse) Reset

func (x *QueryDKGRequestResponse) Reset()

func (*QueryDKGRequestResponse) String

func (x *QueryDKGRequestResponse) String() string

type QueryDKGRequestsRequest

type QueryDKGRequestsRequest struct {
	Status DKGRequestStatus `protobuf:"varint,1,opt,name=status,proto3,enum=side.btcbridge.DKGRequestStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGRequestsRequest is the request type for the Query/DKGRequests RPC method.

func (*QueryDKGRequestsRequest) Descriptor deprecated

func (*QueryDKGRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryDKGRequestsRequest) GetStatus

func (*QueryDKGRequestsRequest) ProtoMessage

func (*QueryDKGRequestsRequest) ProtoMessage()

func (*QueryDKGRequestsRequest) ProtoReflect

func (x *QueryDKGRequestsRequest) ProtoReflect() protoreflect.Message

func (*QueryDKGRequestsRequest) Reset

func (x *QueryDKGRequestsRequest) Reset()

func (*QueryDKGRequestsRequest) String

func (x *QueryDKGRequestsRequest) String() string

type QueryDKGRequestsResponse

type QueryDKGRequestsResponse struct {
	Requests []*DKGRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

QueryDKGRequestsResponse is the response type for the Query/DKGRequests RPC method.

func (*QueryDKGRequestsResponse) Descriptor deprecated

func (*QueryDKGRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryDKGRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryDKGRequestsResponse) GetRequests

func (x *QueryDKGRequestsResponse) GetRequests() []*DKGRequest

func (*QueryDKGRequestsResponse) ProtoMessage

func (*QueryDKGRequestsResponse) ProtoMessage()

func (*QueryDKGRequestsResponse) ProtoReflect

func (x *QueryDKGRequestsResponse) ProtoReflect() protoreflect.Message

func (*QueryDKGRequestsResponse) Reset

func (x *QueryDKGRequestsResponse) Reset()

func (*QueryDKGRequestsResponse) String

func (x *QueryDKGRequestsResponse) String() string

type QueryFeeRateRequest

type QueryFeeRateRequest struct {
	// contains filtered or unexported fields
}

QueryFeeRateRequest is request type for the Query/FeeRate RPC method.

func (*QueryFeeRateRequest) Descriptor deprecated

func (*QueryFeeRateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryFeeRateRequest.ProtoReflect.Descriptor instead.

func (*QueryFeeRateRequest) ProtoMessage

func (*QueryFeeRateRequest) ProtoMessage()

func (*QueryFeeRateRequest) ProtoReflect

func (x *QueryFeeRateRequest) ProtoReflect() protoreflect.Message

func (*QueryFeeRateRequest) Reset

func (x *QueryFeeRateRequest) Reset()

func (*QueryFeeRateRequest) String

func (x *QueryFeeRateRequest) String() string

type QueryFeeRateResponse

type QueryFeeRateResponse struct {
	FeeRate *FeeRate `protobuf:"bytes,1,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// contains filtered or unexported fields
}

QueryFeeRateResponse is response type for the Query/FeeRate RPC method.

func (*QueryFeeRateResponse) Descriptor deprecated

func (*QueryFeeRateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryFeeRateResponse.ProtoReflect.Descriptor instead.

func (*QueryFeeRateResponse) GetFeeRate

func (x *QueryFeeRateResponse) GetFeeRate() *FeeRate

func (*QueryFeeRateResponse) ProtoMessage

func (*QueryFeeRateResponse) ProtoMessage()

func (*QueryFeeRateResponse) ProtoReflect

func (x *QueryFeeRateResponse) ProtoReflect() protoreflect.Message

func (*QueryFeeRateResponse) Reset

func (x *QueryFeeRateResponse) Reset()

func (*QueryFeeRateResponse) String

func (x *QueryFeeRateResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryPendingBtcWithdrawRequestsRequest

type QueryPendingBtcWithdrawRequestsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingBtcWithdrawRequestsRequest is request type for the Query/PendingBtcWithdrawRequests RPC method.

func (*QueryPendingBtcWithdrawRequestsRequest) Descriptor deprecated

func (*QueryPendingBtcWithdrawRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryPendingBtcWithdrawRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryPendingBtcWithdrawRequestsRequest) GetPagination

func (*QueryPendingBtcWithdrawRequestsRequest) ProtoMessage

func (*QueryPendingBtcWithdrawRequestsRequest) ProtoReflect

func (*QueryPendingBtcWithdrawRequestsRequest) Reset

func (*QueryPendingBtcWithdrawRequestsRequest) String

type QueryPendingBtcWithdrawRequestsResponse

type QueryPendingBtcWithdrawRequestsResponse struct {
	Requests   []*WithdrawRequest    `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingBtcWithdrawRequestsResponse is response type for the Query/PendingBtcWithdrawRequests RPC method.

func (*QueryPendingBtcWithdrawRequestsResponse) Descriptor deprecated

func (*QueryPendingBtcWithdrawRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryPendingBtcWithdrawRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryPendingBtcWithdrawRequestsResponse) GetPagination

func (*QueryPendingBtcWithdrawRequestsResponse) GetRequests

func (*QueryPendingBtcWithdrawRequestsResponse) ProtoMessage

func (*QueryPendingBtcWithdrawRequestsResponse) ProtoReflect

func (*QueryPendingBtcWithdrawRequestsResponse) Reset

func (*QueryPendingBtcWithdrawRequestsResponse) String

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// ChainTip queries the chain tip of the module.
	QueryChainTip(context.Context, *QueryChainTipRequest) (*QueryChainTipResponse, error)
	// BlockHeaderByHeight queries the block header by height.
	QueryBlockHeaderByHeight(context.Context, *QueryBlockHeaderByHeightRequest) (*QueryBlockHeaderByHeightResponse, error)
	// BlockHeaderByHash queries the block header by hash.
	QueryBlockHeaderByHash(context.Context, *QueryBlockHeaderByHashRequest) (*QueryBlockHeaderByHashResponse, error)
	// QueryFeeRate queries the bitcoin network fee rate on the side chain.
	QueryFeeRate(context.Context, *QueryFeeRateRequest) (*QueryFeeRateResponse, error)
	// QueryWithdrawalNetworkFee queries the estimated btc network fee for the given withdrawal.
	QueryWithdrawalNetworkFee(context.Context, *QueryWithdrawalNetworkFeeRequest) (*QueryWithdrawalNetworkFeeResponse, error)
	// QueryWithdrawRequestsByAddress queries the withdrawal requests by the given address.
	QueryWithdrawRequestsByAddress(context.Context, *QueryWithdrawRequestsByAddressRequest) (*QueryWithdrawRequestsByAddressResponse, error)
	// QueryWithdrawRequestsByTxHash queries the withdrawal requests by the given tx hash.
	QueryWithdrawRequestsByTxHash(context.Context, *QueryWithdrawRequestsByTxHashRequest) (*QueryWithdrawRequestsByTxHashResponse, error)
	// QueryPendingBtcWithdrawRequests queries the pending btc withdrawal requests.
	QueryPendingBtcWithdrawRequests(context.Context, *QueryPendingBtcWithdrawRequestsRequest) (*QueryPendingBtcWithdrawRequestsResponse, error)
	// QuerySigningRequests queries the signing requests by the given status.
	QuerySigningRequests(context.Context, *QuerySigningRequestsRequest) (*QuerySigningRequestsResponse, error)
	// QuerySigningRequestsByAddress queries the signing requests by the given address.
	QuerySigningRequestsByAddress(context.Context, *QuerySigningRequestsByAddressRequest) (*QuerySigningRequestsByAddressResponse, error)
	// QuerySigningRequestByTxHash queries the signing request by the given tx hash.
	QuerySigningRequestByTxHash(context.Context, *QuerySigningRequestByTxHashRequest) (*QuerySigningRequestByTxHashResponse, error)
	// QueryUTXOs queries all utxos.
	QueryUTXOs(context.Context, *QueryUTXOsRequest) (*QueryUTXOsResponse, error)
	// QueryUTXOsByAddress queries the utxos of the given address.
	QueryUTXOsByAddress(context.Context, *QueryUTXOsByAddressRequest) (*QueryUTXOsByAddressResponse, error)
	// QueryUTXOCountAndBalancesByAddress queries the total count and balances of the unlocked utxos by the given address.
	QueryUTXOCountAndBalancesByAddress(context.Context, *QueryUTXOCountAndBalancesByAddressRequest) (*QueryUTXOCountAndBalancesByAddressResponse, error)
	// QueryDKGRequest queries the DKG request by the given id.
	QueryDKGRequest(context.Context, *QueryDKGRequestRequest) (*QueryDKGRequestResponse, error)
	// QueryDKGRequests queries the DKG requests by the given status
	QueryDKGRequests(context.Context, *QueryDKGRequestsRequest) (*QueryDKGRequestsResponse, error)
	// QueryAllDKGRequests queries all DKG requests.
	QueryAllDKGRequests(context.Context, *QueryAllDKGRequestsRequest) (*QueryAllDKGRequestsResponse, error)
	// QueryDKGCompletionRequests queries DKG completion requests by the given id.
	QueryDKGCompletionRequests(context.Context, *QueryDKGCompletionRequestsRequest) (*QueryDKGCompletionRequestsResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QuerySigningRequestByTxHashRequest

type QuerySigningRequestByTxHashRequest struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestByTxHashRequest is request type for the Query/SigningRequestByTxHash RPC method.

func (*QuerySigningRequestByTxHashRequest) Descriptor deprecated

func (*QuerySigningRequestByTxHashRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestByTxHashRequest.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestByTxHashRequest) GetTxid

func (*QuerySigningRequestByTxHashRequest) ProtoMessage

func (*QuerySigningRequestByTxHashRequest) ProtoMessage()

func (*QuerySigningRequestByTxHashRequest) ProtoReflect

func (*QuerySigningRequestByTxHashRequest) Reset

func (*QuerySigningRequestByTxHashRequest) String

type QuerySigningRequestByTxHashResponse

type QuerySigningRequestByTxHashResponse struct {
	Request *SigningRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestByTxHashResponse is response type for the Query/SigningRequestByTxHashResponse RPC method.

func (*QuerySigningRequestByTxHashResponse) Descriptor deprecated

func (*QuerySigningRequestByTxHashResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestByTxHashResponse.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestByTxHashResponse) GetRequest

func (*QuerySigningRequestByTxHashResponse) ProtoMessage

func (*QuerySigningRequestByTxHashResponse) ProtoMessage()

func (*QuerySigningRequestByTxHashResponse) ProtoReflect

func (*QuerySigningRequestByTxHashResponse) Reset

func (*QuerySigningRequestByTxHashResponse) String

type QuerySigningRequestsByAddressRequest

type QuerySigningRequestsByAddressRequest struct {
	Address    string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestsByAddressRequest is request type for the Query/SigningRequestsByAddress RPC method.

func (*QuerySigningRequestsByAddressRequest) Descriptor deprecated

func (*QuerySigningRequestsByAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestsByAddressRequest.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestsByAddressRequest) GetAddress

func (*QuerySigningRequestsByAddressRequest) GetPagination

func (*QuerySigningRequestsByAddressRequest) ProtoMessage

func (*QuerySigningRequestsByAddressRequest) ProtoMessage()

func (*QuerySigningRequestsByAddressRequest) ProtoReflect

func (*QuerySigningRequestsByAddressRequest) Reset

func (*QuerySigningRequestsByAddressRequest) String

type QuerySigningRequestsByAddressResponse

type QuerySigningRequestsByAddressResponse struct {
	Requests   []*SigningRequest     `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestsByAddressResponse is response type for the Query/SigningRequestsByAddress RPC method.

func (*QuerySigningRequestsByAddressResponse) Descriptor deprecated

func (*QuerySigningRequestsByAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestsByAddressResponse.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestsByAddressResponse) GetPagination

func (*QuerySigningRequestsByAddressResponse) GetRequests

func (*QuerySigningRequestsByAddressResponse) ProtoMessage

func (*QuerySigningRequestsByAddressResponse) ProtoMessage()

func (*QuerySigningRequestsByAddressResponse) ProtoReflect

func (*QuerySigningRequestsByAddressResponse) Reset

func (*QuerySigningRequestsByAddressResponse) String

type QuerySigningRequestsRequest

type QuerySigningRequestsRequest struct {
	Status     SigningStatus        `protobuf:"varint,1,opt,name=status,proto3,enum=side.btcbridge.SigningStatus" json:"status,omitempty"`
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestsRequest is request type for the Query/SigningRequests RPC method.

func (*QuerySigningRequestsRequest) Descriptor deprecated

func (*QuerySigningRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestsRequest.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestsRequest) GetPagination

func (x *QuerySigningRequestsRequest) GetPagination() *v1beta1.PageRequest

func (*QuerySigningRequestsRequest) GetStatus

func (*QuerySigningRequestsRequest) ProtoMessage

func (*QuerySigningRequestsRequest) ProtoMessage()

func (*QuerySigningRequestsRequest) ProtoReflect

func (*QuerySigningRequestsRequest) Reset

func (x *QuerySigningRequestsRequest) Reset()

func (*QuerySigningRequestsRequest) String

func (x *QuerySigningRequestsRequest) String() string

type QuerySigningRequestsResponse

type QuerySigningRequestsResponse struct {
	Requests   []*SigningRequest     `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequestsResponse is response type for the Query/SigningRequests RPC method.

func (*QuerySigningRequestsResponse) Descriptor deprecated

func (*QuerySigningRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySigningRequestsResponse.ProtoReflect.Descriptor instead.

func (*QuerySigningRequestsResponse) GetPagination

func (*QuerySigningRequestsResponse) GetRequests

func (x *QuerySigningRequestsResponse) GetRequests() []*SigningRequest

func (*QuerySigningRequestsResponse) ProtoMessage

func (*QuerySigningRequestsResponse) ProtoMessage()

func (*QuerySigningRequestsResponse) ProtoReflect

func (*QuerySigningRequestsResponse) Reset

func (x *QuerySigningRequestsResponse) Reset()

func (*QuerySigningRequestsResponse) String

type QueryUTXOCountAndBalancesByAddressRequest

type QueryUTXOCountAndBalancesByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryUTXOCountAndBalancesByAddressRequest is the request type for the Query/UTXOCountAndBalancesByAddress RPC method.

func (*QueryUTXOCountAndBalancesByAddressRequest) Descriptor deprecated

func (*QueryUTXOCountAndBalancesByAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryUTXOCountAndBalancesByAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryUTXOCountAndBalancesByAddressRequest) GetAddress

func (*QueryUTXOCountAndBalancesByAddressRequest) ProtoMessage

func (*QueryUTXOCountAndBalancesByAddressRequest) ProtoReflect

func (*QueryUTXOCountAndBalancesByAddressRequest) Reset

func (*QueryUTXOCountAndBalancesByAddressRequest) String

type QueryUTXOCountAndBalancesByAddressResponse

type QueryUTXOCountAndBalancesByAddressResponse struct {
	Count        uint32         `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Value        int64          `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	RuneBalances []*RuneBalance `protobuf:"bytes,3,rep,name=runeBalances,proto3" json:"runeBalances,omitempty"`
	// contains filtered or unexported fields
}

QueryUTXOCountAndBalancesByAddressResponse is the response type for the Query/UTXOCountAndBalancesByAddress RPC method.

func (*QueryUTXOCountAndBalancesByAddressResponse) Descriptor deprecated

Deprecated: Use QueryUTXOCountAndBalancesByAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryUTXOCountAndBalancesByAddressResponse) GetCount

func (*QueryUTXOCountAndBalancesByAddressResponse) GetRuneBalances

func (*QueryUTXOCountAndBalancesByAddressResponse) GetValue

func (*QueryUTXOCountAndBalancesByAddressResponse) ProtoMessage

func (*QueryUTXOCountAndBalancesByAddressResponse) ProtoReflect

func (*QueryUTXOCountAndBalancesByAddressResponse) Reset

func (*QueryUTXOCountAndBalancesByAddressResponse) String

type QueryUTXOsByAddressRequest

type QueryUTXOsByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryUTXOsByAddressRequest is the request type for the Query/UTXOsByAddress RPC method.

func (*QueryUTXOsByAddressRequest) Descriptor deprecated

func (*QueryUTXOsByAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryUTXOsByAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryUTXOsByAddressRequest) GetAddress

func (x *QueryUTXOsByAddressRequest) GetAddress() string

func (*QueryUTXOsByAddressRequest) ProtoMessage

func (*QueryUTXOsByAddressRequest) ProtoMessage()

func (*QueryUTXOsByAddressRequest) ProtoReflect

func (*QueryUTXOsByAddressRequest) Reset

func (x *QueryUTXOsByAddressRequest) Reset()

func (*QueryUTXOsByAddressRequest) String

func (x *QueryUTXOsByAddressRequest) String() string

type QueryUTXOsByAddressResponse

type QueryUTXOsByAddressResponse struct {
	Utxos []*UTXO `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

QueryUTXOsByAddressResponse is the response type for the Query/UTXOsByAddress RPC method.

func (*QueryUTXOsByAddressResponse) Descriptor deprecated

func (*QueryUTXOsByAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryUTXOsByAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryUTXOsByAddressResponse) GetUtxos

func (x *QueryUTXOsByAddressResponse) GetUtxos() []*UTXO

func (*QueryUTXOsByAddressResponse) ProtoMessage

func (*QueryUTXOsByAddressResponse) ProtoMessage()

func (*QueryUTXOsByAddressResponse) ProtoReflect

func (*QueryUTXOsByAddressResponse) Reset

func (x *QueryUTXOsByAddressResponse) Reset()

func (*QueryUTXOsByAddressResponse) String

func (x *QueryUTXOsByAddressResponse) String() string

type QueryUTXOsRequest

type QueryUTXOsRequest struct {
	// contains filtered or unexported fields
}

QueryUTXOsRequest is the request type for the Query/UTXOs RPC method.

func (*QueryUTXOsRequest) Descriptor deprecated

func (*QueryUTXOsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryUTXOsRequest.ProtoReflect.Descriptor instead.

func (*QueryUTXOsRequest) ProtoMessage

func (*QueryUTXOsRequest) ProtoMessage()

func (*QueryUTXOsRequest) ProtoReflect

func (x *QueryUTXOsRequest) ProtoReflect() protoreflect.Message

func (*QueryUTXOsRequest) Reset

func (x *QueryUTXOsRequest) Reset()

func (*QueryUTXOsRequest) String

func (x *QueryUTXOsRequest) String() string

type QueryUTXOsResponse

type QueryUTXOsResponse struct {
	Utxos []*UTXO `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

QueryUTXOsResponse is the response type for the Query/UTXOs RPC method.

func (*QueryUTXOsResponse) Descriptor deprecated

func (*QueryUTXOsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryUTXOsResponse.ProtoReflect.Descriptor instead.

func (*QueryUTXOsResponse) GetUtxos

func (x *QueryUTXOsResponse) GetUtxos() []*UTXO

func (*QueryUTXOsResponse) ProtoMessage

func (*QueryUTXOsResponse) ProtoMessage()

func (*QueryUTXOsResponse) ProtoReflect

func (x *QueryUTXOsResponse) ProtoReflect() protoreflect.Message

func (*QueryUTXOsResponse) Reset

func (x *QueryUTXOsResponse) Reset()

func (*QueryUTXOsResponse) String

func (x *QueryUTXOsResponse) String() string

type QueryWithdrawRequestsByAddressRequest

type QueryWithdrawRequestsByAddressRequest struct {
	Address    string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawRequestsByAddressRequest is request type for the Query/WithdrawRequestsByAddress RPC method.

func (*QueryWithdrawRequestsByAddressRequest) Descriptor deprecated

func (*QueryWithdrawRequestsByAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawRequestsByAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryWithdrawRequestsByAddressRequest) GetAddress

func (*QueryWithdrawRequestsByAddressRequest) GetPagination

func (*QueryWithdrawRequestsByAddressRequest) ProtoMessage

func (*QueryWithdrawRequestsByAddressRequest) ProtoMessage()

func (*QueryWithdrawRequestsByAddressRequest) ProtoReflect

func (*QueryWithdrawRequestsByAddressRequest) Reset

func (*QueryWithdrawRequestsByAddressRequest) String

type QueryWithdrawRequestsByAddressResponse

type QueryWithdrawRequestsByAddressResponse struct {
	Requests   []*WithdrawRequest    `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawRequestsByAddressResponse is response type for the Query/WithdrawRequestsByAddress RPC method.

func (*QueryWithdrawRequestsByAddressResponse) Descriptor deprecated

func (*QueryWithdrawRequestsByAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawRequestsByAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryWithdrawRequestsByAddressResponse) GetPagination

func (*QueryWithdrawRequestsByAddressResponse) GetRequests

func (*QueryWithdrawRequestsByAddressResponse) ProtoMessage

func (*QueryWithdrawRequestsByAddressResponse) ProtoReflect

func (*QueryWithdrawRequestsByAddressResponse) Reset

func (*QueryWithdrawRequestsByAddressResponse) String

type QueryWithdrawRequestsByTxHashRequest

type QueryWithdrawRequestsByTxHashRequest struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawRequestsByTxHashRequest is request type for the Query/WithdrawRequestsByTxHash RPC method.

func (*QueryWithdrawRequestsByTxHashRequest) Descriptor deprecated

func (*QueryWithdrawRequestsByTxHashRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawRequestsByTxHashRequest.ProtoReflect.Descriptor instead.

func (*QueryWithdrawRequestsByTxHashRequest) GetTxid

func (*QueryWithdrawRequestsByTxHashRequest) ProtoMessage

func (*QueryWithdrawRequestsByTxHashRequest) ProtoMessage()

func (*QueryWithdrawRequestsByTxHashRequest) ProtoReflect

func (*QueryWithdrawRequestsByTxHashRequest) Reset

func (*QueryWithdrawRequestsByTxHashRequest) String

type QueryWithdrawRequestsByTxHashResponse

type QueryWithdrawRequestsByTxHashResponse struct {
	Requests []*WithdrawRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawRequestsByTxHashResponse is response type for the Query/WithdrawRequestsByTxHash RPC method.

func (*QueryWithdrawRequestsByTxHashResponse) Descriptor deprecated

func (*QueryWithdrawRequestsByTxHashResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawRequestsByTxHashResponse.ProtoReflect.Descriptor instead.

func (*QueryWithdrawRequestsByTxHashResponse) GetRequests

func (*QueryWithdrawRequestsByTxHashResponse) ProtoMessage

func (*QueryWithdrawRequestsByTxHashResponse) ProtoMessage()

func (*QueryWithdrawRequestsByTxHashResponse) ProtoReflect

func (*QueryWithdrawRequestsByTxHashResponse) Reset

func (*QueryWithdrawRequestsByTxHashResponse) String

type QueryWithdrawalNetworkFeeRequest

type QueryWithdrawalNetworkFeeRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	FeeRate int64  `protobuf:"varint,3,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawalNetworkFeeRequest is request type for the Query/WithdrawalNetworkFee RPC method.

func (*QueryWithdrawalNetworkFeeRequest) Descriptor deprecated

func (*QueryWithdrawalNetworkFeeRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawalNetworkFeeRequest.ProtoReflect.Descriptor instead.

func (*QueryWithdrawalNetworkFeeRequest) GetAddress

func (x *QueryWithdrawalNetworkFeeRequest) GetAddress() string

func (*QueryWithdrawalNetworkFeeRequest) GetAmount

func (*QueryWithdrawalNetworkFeeRequest) GetFeeRate

func (x *QueryWithdrawalNetworkFeeRequest) GetFeeRate() int64

func (*QueryWithdrawalNetworkFeeRequest) ProtoMessage

func (*QueryWithdrawalNetworkFeeRequest) ProtoMessage()

func (*QueryWithdrawalNetworkFeeRequest) ProtoReflect

func (*QueryWithdrawalNetworkFeeRequest) Reset

func (*QueryWithdrawalNetworkFeeRequest) String

type QueryWithdrawalNetworkFeeResponse

type QueryWithdrawalNetworkFeeResponse struct {
	FeeRate int64  `protobuf:"varint,1,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	Fee     string `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawalNetworkFeeResponse is response type for the Query/WithdrawalNetworkFee RPC method.

func (*QueryWithdrawalNetworkFeeResponse) Descriptor deprecated

func (*QueryWithdrawalNetworkFeeResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryWithdrawalNetworkFeeResponse.ProtoReflect.Descriptor instead.

func (*QueryWithdrawalNetworkFeeResponse) GetFee

func (*QueryWithdrawalNetworkFeeResponse) GetFeeRate

func (x *QueryWithdrawalNetworkFeeResponse) GetFeeRate() int64

func (*QueryWithdrawalNetworkFeeResponse) ProtoMessage

func (*QueryWithdrawalNetworkFeeResponse) ProtoMessage()

func (*QueryWithdrawalNetworkFeeResponse) ProtoReflect

func (*QueryWithdrawalNetworkFeeResponse) Reset

func (*QueryWithdrawalNetworkFeeResponse) String

type RuneBalance

type RuneBalance struct {

	// serialized rune id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// rune amount
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Rune Balance

func (*RuneBalance) Descriptor deprecated

func (*RuneBalance) Descriptor() ([]byte, []int)

Deprecated: Use RuneBalance.ProtoReflect.Descriptor instead.

func (*RuneBalance) GetAmount

func (x *RuneBalance) GetAmount() string

func (*RuneBalance) GetId

func (x *RuneBalance) GetId() string

func (*RuneBalance) ProtoMessage

func (*RuneBalance) ProtoMessage()

func (*RuneBalance) ProtoReflect

func (x *RuneBalance) ProtoReflect() protoreflect.Message

func (*RuneBalance) Reset

func (x *RuneBalance) Reset()

func (*RuneBalance) String

func (x *RuneBalance) String() string

type RuneId

type RuneId struct {

	// block height
	Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
	// tx index
	Tx uint32 `protobuf:"varint,2,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

Rune ID

func (*RuneId) Descriptor deprecated

func (*RuneId) Descriptor() ([]byte, []int)

Deprecated: Use RuneId.ProtoReflect.Descriptor instead.

func (*RuneId) GetBlock

func (x *RuneId) GetBlock() uint64

func (*RuneId) GetTx

func (x *RuneId) GetTx() uint32

func (*RuneId) ProtoMessage

func (*RuneId) ProtoMessage()

func (*RuneId) ProtoReflect

func (x *RuneId) ProtoReflect() protoreflect.Message

func (*RuneId) Reset

func (x *RuneId) Reset()

func (*RuneId) String

func (x *RuneId) String() string

type RunesConsolidation

type RunesConsolidation struct {

	// rune id
	RuneId string `protobuf:"bytes,1,opt,name=rune_id,json=runeId,proto3" json:"rune_id,omitempty"`
	// maximum threshold of the corresponding rune balance
	TargetThreshold string `protobuf:"bytes,2,opt,name=target_threshold,json=targetThreshold,proto3" json:"target_threshold,omitempty"`
	// maximum number of the utxos to be consolidated; 0 means all
	MaxNum uint32 `protobuf:"varint,3,opt,name=max_num,json=maxNum,proto3" json:"max_num,omitempty"`
	// contains filtered or unexported fields
}

Runes UTXO Consolidation

func (*RunesConsolidation) Descriptor deprecated

func (*RunesConsolidation) Descriptor() ([]byte, []int)

Deprecated: Use RunesConsolidation.ProtoReflect.Descriptor instead.

func (*RunesConsolidation) GetMaxNum

func (x *RunesConsolidation) GetMaxNum() uint32

func (*RunesConsolidation) GetRuneId

func (x *RunesConsolidation) GetRuneId() string

func (*RunesConsolidation) GetTargetThreshold

func (x *RunesConsolidation) GetTargetThreshold() string

func (*RunesConsolidation) ProtoMessage

func (*RunesConsolidation) ProtoMessage()

func (*RunesConsolidation) ProtoReflect

func (x *RunesConsolidation) ProtoReflect() protoreflect.Message

func (*RunesConsolidation) Reset

func (x *RunesConsolidation) Reset()

func (*RunesConsolidation) String

func (x *RunesConsolidation) String() string

type SigningRequest

type SigningRequest struct {
	Address      string                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Sequence     uint64                 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Txid         string                 `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"`
	Psbt         string                 `protobuf:"bytes,4,opt,name=psbt,proto3" json:"psbt,omitempty"`
	CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	Status       SigningStatus          `protobuf:"varint,6,opt,name=status,proto3,enum=side.btcbridge.SigningStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Bitcoin Signing Request

func (*SigningRequest) Descriptor deprecated

func (*SigningRequest) Descriptor() ([]byte, []int)

Deprecated: Use SigningRequest.ProtoReflect.Descriptor instead.

func (*SigningRequest) GetAddress

func (x *SigningRequest) GetAddress() string

func (*SigningRequest) GetCreationTime

func (x *SigningRequest) GetCreationTime() *timestamppb.Timestamp

func (*SigningRequest) GetPsbt

func (x *SigningRequest) GetPsbt() string

func (*SigningRequest) GetSequence

func (x *SigningRequest) GetSequence() uint64

func (*SigningRequest) GetStatus

func (x *SigningRequest) GetStatus() SigningStatus

func (*SigningRequest) GetTxid

func (x *SigningRequest) GetTxid() string

func (*SigningRequest) ProtoMessage

func (*SigningRequest) ProtoMessage()

func (*SigningRequest) ProtoReflect

func (x *SigningRequest) ProtoReflect() protoreflect.Message

func (*SigningRequest) Reset

func (x *SigningRequest) Reset()

func (*SigningRequest) String

func (x *SigningRequest) String() string

type SigningStatus

type SigningStatus int32

Bitcoin Signing Status

const (
	// SIGNING_STATUS_UNSPECIFIED - Default value, should not be used
	SigningStatus_SIGNING_STATUS_UNSPECIFIED SigningStatus = 0
	// SIGNING_STATUS_PENDING - The signing request is pending
	SigningStatus_SIGNING_STATUS_PENDING SigningStatus = 1
	// SIGNING_STATUS_BROADCASTED - The signing request is broadcasted
	SigningStatus_SIGNING_STATUS_BROADCASTED SigningStatus = 2
	// SIGNING_STATUS_CONFIRMED - The signing request is confirmed
	SigningStatus_SIGNING_STATUS_CONFIRMED SigningStatus = 3
	// SIGNING_STATUS_FAILED - The signing request failed to be signed or broadcast due to unexpected exceptions
	SigningStatus_SIGNING_STATUS_FAILED SigningStatus = 4
)

func (SigningStatus) Descriptor

func (SigningStatus) Enum

func (x SigningStatus) Enum() *SigningStatus

func (SigningStatus) EnumDescriptor deprecated

func (SigningStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use SigningStatus.Descriptor instead.

func (SigningStatus) Number

func (SigningStatus) String

func (x SigningStatus) String() string

func (SigningStatus) Type

type TSSParams

type TSSParams struct {

	// Timeout duration for DKG request
	DkgTimeoutPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=dkg_timeout_period,json=dkgTimeoutPeriod,proto3" json:"dkg_timeout_period,omitempty"`
	// Transition period after which TSS participants update process is completed
	ParticipantUpdateTransitionPeriod *durationpb.Duration `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

TSSParams defines the params related to TSS

func (*TSSParams) Descriptor deprecated

func (*TSSParams) Descriptor() ([]byte, []int)

Deprecated: Use TSSParams.ProtoReflect.Descriptor instead.

func (*TSSParams) GetDkgTimeoutPeriod

func (x *TSSParams) GetDkgTimeoutPeriod() *durationpb.Duration

func (*TSSParams) GetParticipantUpdateTransitionPeriod

func (x *TSSParams) GetParticipantUpdateTransitionPeriod() *durationpb.Duration

func (*TSSParams) ProtoMessage

func (*TSSParams) ProtoMessage()

func (*TSSParams) ProtoReflect

func (x *TSSParams) ProtoReflect() protoreflect.Message

func (*TSSParams) Reset

func (x *TSSParams) Reset()

func (*TSSParams) String

func (x *TSSParams) String() string

type UTXO

type UTXO struct {
	Txid         string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Vout         uint64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"`
	Address      string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Amount       uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Height       uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	PubKeyScript []byte `protobuf:"bytes,6,opt,name=pub_key_script,json=pubKeyScript,proto3" json:"pub_key_script,omitempty"`
	IsLocked     bool   `protobuf:"varint,7,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"`
	// rune balances associated with the UTXO
	Runes []*RuneBalance `protobuf:"bytes,8,rep,name=runes,proto3" json:"runes,omitempty"`
	// contains filtered or unexported fields
}

Bitcoin UTXO

func (*UTXO) Descriptor deprecated

func (*UTXO) Descriptor() ([]byte, []int)

Deprecated: Use UTXO.ProtoReflect.Descriptor instead.

func (*UTXO) GetAddress

func (x *UTXO) GetAddress() string

func (*UTXO) GetAmount

func (x *UTXO) GetAmount() uint64

func (*UTXO) GetHeight

func (x *UTXO) GetHeight() uint64

func (*UTXO) GetIsLocked

func (x *UTXO) GetIsLocked() bool

func (*UTXO) GetPubKeyScript

func (x *UTXO) GetPubKeyScript() []byte

func (*UTXO) GetRunes

func (x *UTXO) GetRunes() []*RuneBalance

func (*UTXO) GetTxid

func (x *UTXO) GetTxid() string

func (*UTXO) GetVout

func (x *UTXO) GetVout() uint64

func (*UTXO) ProtoMessage

func (*UTXO) ProtoMessage()

func (*UTXO) ProtoReflect

func (x *UTXO) ProtoReflect() protoreflect.Message

func (*UTXO) Reset

func (x *UTXO) Reset()

func (*UTXO) String

func (x *UTXO) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CompleteDKG

func (UnimplementedMsgServer) InitiateDKG

func (UnimplementedMsgServer) SubmitFeeRate

func (UnimplementedMsgServer) SubmitSignatures

func (UnimplementedMsgServer) TransferVault

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) QueryChainTip

func (UnimplementedQueryServer) QueryDKGRequest

func (UnimplementedQueryServer) QueryDKGRequests

func (UnimplementedQueryServer) QueryFeeRate

func (UnimplementedQueryServer) QueryParams

func (UnimplementedQueryServer) QueryUTXOs

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type Vault

type Vault struct {

	// the vault address for deposit
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// public key of the vault
	PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// the asset type supported by the vault
	AssetType AssetType `protobuf:"varint,3,opt,name=asset_type,json=assetType,proto3,enum=side.btcbridge.AssetType" json:"asset_type,omitempty"`
	// version
	Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Vault defines the asset vault

func (*Vault) Descriptor deprecated

func (*Vault) Descriptor() ([]byte, []int)

Deprecated: Use Vault.ProtoReflect.Descriptor instead.

func (*Vault) GetAddress

func (x *Vault) GetAddress() string

func (*Vault) GetAssetType

func (x *Vault) GetAssetType() AssetType

func (*Vault) GetPubKey

func (x *Vault) GetPubKey() string

func (*Vault) GetVersion

func (x *Vault) GetVersion() uint64

func (*Vault) ProtoMessage

func (*Vault) ProtoMessage()

func (*Vault) ProtoReflect

func (x *Vault) ProtoReflect() protoreflect.Message

func (*Vault) Reset

func (x *Vault) Reset()

func (*Vault) String

func (x *Vault) String() string

type WithdrawParams

type WithdrawParams struct {

	// Maximum number of utxos used to build the signing request; O means unlimited
	MaxUtxoNum uint32 `protobuf:"varint,1,opt,name=max_utxo_num,json=maxUtxoNum,proto3" json:"max_utxo_num,omitempty"`
	// Period for handling btc withdrawal requests
	BtcBatchWithdrawPeriod int64 `` /* 132-byte string literal not displayed */
	// Maximum number of btc withdrawal requests to be handled per batch
	MaxBtcBatchWithdrawNum uint32 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WithdrawParams) Descriptor deprecated

func (*WithdrawParams) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawParams.ProtoReflect.Descriptor instead.

func (*WithdrawParams) GetBtcBatchWithdrawPeriod

func (x *WithdrawParams) GetBtcBatchWithdrawPeriod() int64

func (*WithdrawParams) GetMaxBtcBatchWithdrawNum

func (x *WithdrawParams) GetMaxBtcBatchWithdrawNum() uint32

func (*WithdrawParams) GetMaxUtxoNum

func (x *WithdrawParams) GetMaxUtxoNum() uint32

func (*WithdrawParams) ProtoMessage

func (*WithdrawParams) ProtoMessage()

func (*WithdrawParams) ProtoReflect

func (x *WithdrawParams) ProtoReflect() protoreflect.Message

func (*WithdrawParams) Reset

func (x *WithdrawParams) Reset()

func (*WithdrawParams) String

func (x *WithdrawParams) String() string

type WithdrawRequest

type WithdrawRequest struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount   string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Txid     string `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

Withdrawal Request

func (*WithdrawRequest) Descriptor deprecated

func (*WithdrawRequest) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawRequest.ProtoReflect.Descriptor instead.

func (*WithdrawRequest) GetAddress

func (x *WithdrawRequest) GetAddress() string

func (*WithdrawRequest) GetAmount

func (x *WithdrawRequest) GetAmount() string

func (*WithdrawRequest) GetSequence

func (x *WithdrawRequest) GetSequence() uint64

func (*WithdrawRequest) GetTxid

func (x *WithdrawRequest) GetTxid() string

func (*WithdrawRequest) ProtoMessage

func (*WithdrawRequest) ProtoMessage()

func (*WithdrawRequest) ProtoReflect

func (x *WithdrawRequest) ProtoReflect() protoreflect.Message

func (*WithdrawRequest) Reset

func (x *WithdrawRequest) Reset()

func (*WithdrawRequest) String

func (x *WithdrawRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL