types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 62 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// default tx version
	TxVersion = 2

	// default minimum relay fee
	MinRelayFee = 1000

	// default maximum allowed transaction weight
	MaxTransactionWeight = 400000

	// default sig hash type
	DefaultSigHashType = txscript.SigHashDefault
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "btcbridge"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_btcbridge"
)
View Source
const (
	// maximum allowed number of the non-vault outputs for the btc deposit transaction
	MaxNonVaultOutNum = 1

	// maximum allowed number of the non-vault outputs for the runes deposit transaction
	RunesMaxNonVaultOutNum = 3

	// allowed number of edicts in the runes payload for the runes deposit transaction
	RunesEdictNum = 1

	// transaction input sequence intended to identify the txs built by the bridge (for relayers' convenience)
	MagicSequence = 1<<31 + 0xde
)
View Source
const (
	// runes protocol name
	RunesProtocolName = "runes"

	// runes magic number
	MagicNumber = txscript.OP_13

	// tag indicating that the following are edicts
	TagBody = 0

	// the number of components of each edict
	EdictLen = 4

	// sats in the runes output by default
	RunesOutValue = 546
)

Variables

View Source
var (
	ErrInvalidLengthBtcbridge        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBtcbridge          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBtcbridge = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidBlockHeader  = errorsmod.Register(ModuleName, 1100, "invalid block header")
	ErrInvalidBlockHeaders = errorsmod.Register(ModuleName, 1101, "invalid block headers")
	ErrInvalidReorgDepth   = errorsmod.Register(ModuleName, 1102, "invalid reorg depth")

	ErrBlockNotFound             = errorsmod.Register(ModuleName, 2101, "block not found")
	ErrTransactionNotIncluded    = errorsmod.Register(ModuleName, 2102, "transaction not included in block")
	ErrNotConfirmed              = errorsmod.Register(ModuleName, 2103, "transaction not confirmed")
	ErrExceedMaxAcceptanceDepth  = errorsmod.Register(ModuleName, 2104, "exceed max acceptance block depth")
	ErrUnsupportedScriptType     = errorsmod.Register(ModuleName, 2105, "unsupported script type")
	ErrInvalidBtcTransaction     = errorsmod.Register(ModuleName, 2106, "invalid bitcoin transaction")
	ErrTransactionAlreadyMinted  = errorsmod.Register(ModuleName, 2107, "transaction already minted")
	ErrInvalidDepositTransaction = errorsmod.Register(ModuleName, 2108, "invalid deposit transaction")
	ErrInvalidDepositAmount      = errorsmod.Register(ModuleName, 2109, "invalid deposit amount")
	ErrDepositNotEnabled         = errorsmod.Register(ModuleName, 2110, "deposit not enabled")
	ErrUntrustedBtcRelayer       = errorsmod.Register(ModuleName, 2111, "untrusted btc relayer")
	ErrUntrustedNonBtcRelayer    = errorsmod.Register(ModuleName, 2112, "untrusted non btc relayer")
	ErrUntrustedFeeProvider      = errorsmod.Register(ModuleName, 2113, "untrusted fee provider")

	ErrInvalidWithdrawAmount        = errorsmod.Register(ModuleName, 3100, "invalid withdrawal amount")
	ErrInvalidBtcAddress            = errorsmod.Register(ModuleName, 3101, "invalid btc address")
	ErrAssetNotSupported            = errorsmod.Register(ModuleName, 3102, "asset not supported")
	ErrInvalidFeeRate               = errorsmod.Register(ModuleName, 3103, "invalid fee rate")
	ErrDustOutput                   = errorsmod.Register(ModuleName, 3104, "too small output amount")
	ErrInsufficientUTXOs            = errorsmod.Register(ModuleName, 3105, "insufficient utxos")
	ErrMaxTransactionWeightExceeded = errorsmod.Register(ModuleName, 3106, "maximum transaction weight exceeded")
	ErrMaxUTXONumExceeded           = errorsmod.Register(ModuleName, 3107, "maximum utxo number exceeded")
	ErrFailToSerializePsbt          = errorsmod.Register(ModuleName, 3108, "failed to serialize psbt")
	ErrInvalidSignatures            = errorsmod.Register(ModuleName, 3109, "invalid signatures")
	ErrSigningRequestDoesNotExist   = errorsmod.Register(ModuleName, 3110, "signing request does not exist")
	ErrSigningRequestConfirmed      = errorsmod.Register(ModuleName, 3111, "signing request has been confirmed")
	ErrWithdrawNotEnabled           = errorsmod.Register(ModuleName, 3112, "withdrawal not enabled")

	ErrUTXODoesNotExist = errorsmod.Register(ModuleName, 4100, "utxo does not exist")
	ErrUTXOLocked       = errorsmod.Register(ModuleName, 4101, "utxo locked")
	ErrUTXOUnlocked     = errorsmod.Register(ModuleName, 4102, "utxo unlocked")

	ErrInvalidRunes  = errorsmod.Register(ModuleName, 5100, "invalid runes")
	ErrInvalidRuneId = errorsmod.Register(ModuleName, 5101, "invalid rune id")

	ErrInvalidParams       = errorsmod.Register(ModuleName, 6100, "invalid module params")
	ErrInvalidRelayers     = errorsmod.Register(ModuleName, 6101, "invalid relayers")
	ErrInvalidFeeProviders = errorsmod.Register(ModuleName, 6102, "invalid fee providers")

	ErrInvalidDKGParams                 = errorsmod.Register(ModuleName, 7100, "invalid dkg params")
	ErrDKGRequestDoesNotExist           = errorsmod.Register(ModuleName, 7101, "dkg request does not exist")
	ErrDKGCompletionRequestExists       = errorsmod.Register(ModuleName, 7102, "dkg completion request already exists")
	ErrInvalidDKGCompletionRequest      = errorsmod.Register(ModuleName, 7103, "invalid dkg completion request")
	ErrUnauthorizedDKGCompletionRequest = errorsmod.Register(ModuleName, 7104, "unauthorized dkg completion request")
	ErrInvalidVaultVersion              = errorsmod.Register(ModuleName, 7105, "invalid vault version")
	ErrInvalidVault                     = errorsmod.Register(ModuleName, 7106, "invalid vault")
	ErrVaultDoesNotExist                = errorsmod.Register(ModuleName, 7107, "vault does not exist")
	ErrInvalidPsbt                      = errorsmod.Register(ModuleName, 7108, "invalid psbt")

	ErrInvalidConsolidation = errorsmod.Register(ModuleName, 8100, "invalid consolidation")
)

x/btcbridge module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamsStoreKey = []byte{0x1}

	BtcBlockHeaderHashPrefix   = []byte{0x10} // prefix for each key to a block header, for a hash
	BtcBlockHeaderHeightPrefix = []byte{0x11} // prefix for each key to a block hash, for a height
	BtcBestBlockHeaderKey      = []byte{0x12} // key for the best block height
	BtcFeeRateKey              = []byte{0x13} // key for the bitcoin network fee rate

	BtcWithdrawRequestSequenceKey       = []byte{0x20} // key for the withdrawal request sequence
	BtcWithdrawRequestKeyPrefix         = []byte{0x21} // prefix for each key to a withdrawal request
	BtcWithdrawRequestByTxHashKeyPrefix = []byte{0x22} // prefix for each key to a withdrawal request by tx hash
	BtcWithdrawRequestQueueKeyPrefix    = []byte{0x23} // prefix for each key to a pending btc withdrawal request
	BtcSigningRequestSequenceKey        = []byte{0x24} // key for the signing request sequence
	BtcSigningRequestPrefix             = []byte{0x25} // prefix for each key to a signing request
	BtcSigningRequestByTxHashPrefix     = []byte{0x26} // prefix for each key to a signing request from tx hash
	BtcSigningRequestByStatusKeyPrefix  = []byte{0x27} // prefix for each key to a signing request by status
	BtcMintedTxHashKeyPrefix            = []byte{0x28} // prefix for each key to a minted tx hash

	BtcUtxoKeyPrefix              = []byte{0x30} // prefix for each key to a utxo
	BtcOwnerUtxoKeyPrefix         = []byte{0x31} // prefix for each key to an owned utxo
	BtcOwnerUtxoByAmountKeyPrefix = []byte{0x32} // prefix for each key to an owned utxo by amount
	BtcOwnerRunesUtxoKeyPrefix    = []byte{0x33} // prefix for each key to an owned runes utxo

	DKGRequestIDKey               = []byte{0x40} // key for the DKG request id
	DKGRequestKeyPrefix           = []byte{0x41} // prefix for each key to a DKG request
	DKGCompletionRequestKeyPrefix = []byte{0x42} // prefix for each key to a DKG completion request
	VaultVersionKey               = []byte{0x43} // key for vault version increased by 1 once updated
)
View Source
var (

	// default confirmation depth for bitcoin deposit transactions
	DefaultDepositConfirmationDepth = int32(6)

	// default confirmation depth for bitcoin withdrawal transactions
	DefaultWithdrawConfirmationDepth = int32(6)

	// default allowed maximum depth for bitcoin block reorganization
	DefaultMaxReorgDepth = int32(6)

	// default BTC voucher denom
	DefaultBtcVoucherDenom = "sat"

	// default period of validity for the fee rate provided by fee provider
	DefaultFeeRateValidityPeriod = int64(100) // 100 blocks

	// default maximum number of utxos used to build the signing request
	DefaultMaxUtxoNum = uint32(200)

	// default btc batch withdrawal period
	DefaultBtcBatchWithdrawPeriod = int64(10)

	// default maximum number of btc batch withdrawal per batch
	DefaultMaxBtcBatchWithdrawNum = uint32(100)

	// default DKG timeout period
	DefaultDKGTimeoutPeriod = time.Duration(86400) * time.Second // 1 day

	// default TSS participant update transition period; not used for now
	DefaultTSSParticipantUpdateTransitionPeriod = time.Duration(1209600) * time.Second // 14 days
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AssetType_name = map[int32]string{
	0: "ASSET_TYPE_UNSPECIFIED",
	1: "ASSET_TYPE_BTC",
	2: "ASSET_TYPE_BRC20",
	3: "ASSET_TYPE_RUNES",
}
View Source
var AssetType_value = map[string]int32{
	"ASSET_TYPE_UNSPECIFIED": 0,
	"ASSET_TYPE_BTC":         1,
	"ASSET_TYPE_BRC20":       2,
	"ASSET_TYPE_RUNES":       3,
}
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",
}
View Source
var 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,
}
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc
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",
}
View Source
var 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,
}

Functions

func AddPaymentUTXOToTx

func AddPaymentUTXOToTx(tx *wire.MsgTx, utxos []*UTXO, utxo *UTXO, inOutDiff int64, changeOut *wire.TxOut, feeRate int64, maxUTXONum int) (bool, error)

AddPaymentUTXOToTx adds the given payment utxo to the tx.

func AddUTXOToTx

func AddUTXOToTx(tx *wire.MsgTx, utxo *UTXO)

AddUTXOToTx adds the given utxo to the specified tx Make sure the utxo is valid

func BitsToTarget

func BitsToTarget(bits string) *big.Int

func BitsToTargetUint32

func BitsToTargetUint32(bits string) uint32

func BtcBlockHeaderHashKey

func BtcBlockHeaderHashKey(hash string) []byte

func BtcBlockHeaderHeightKey

func BtcBlockHeaderHeightKey(height uint64) []byte

func BtcMintedTxHashKey

func BtcMintedTxHashKey(hash string) []byte

func BtcOwnerRunesUtxoKey

func BtcOwnerRunesUtxoKey(owner string, id string, amount string, hash string, vout uint64) []byte

func BtcOwnerUtxoByAmountKey

func BtcOwnerUtxoByAmountKey(owner string, amount uint64, hash string, vout uint64) []byte

func BtcOwnerUtxoKey

func BtcOwnerUtxoKey(owner string, hash string, vout uint64) []byte

func BtcSigningRequestByStatusKey

func BtcSigningRequestByStatusKey(status SigningStatus, sequence uint64) []byte

func BtcSigningRequestByTxHashKey

func BtcSigningRequestByTxHashKey(txid string) []byte

func BtcSigningRequestKey

func BtcSigningRequestKey(sequence uint64) []byte

func BtcUtxoKey

func BtcUtxoKey(hash string, vout uint64) []byte

func BtcWithdrawRequestByTxHashKey

func BtcWithdrawRequestByTxHashKey(txid string, sequence uint64) []byte

func BtcWithdrawRequestKey

func BtcWithdrawRequestKey(sequence uint64) []byte

func BtcWithdrawRequestQueueKey

func BtcWithdrawRequestQueueKey(sequence uint64) []byte

func BuildBtcBatchWithdrawPsbt

func BuildBtcBatchWithdrawPsbt(utxoIterator UTXOIterator, withdrawRequests []*WithdrawRequest, feeRate int64, change string, maxUTXONum int) (*psbt.Packet, []*UTXO, *UTXO, error)

BuildBtcBatchWithdrawPsbt builds the psbt to perform btc batch withdrawal

func BuildEdictScript

func BuildEdictScript(runeId string, amount uint128.Uint128, output uint32) ([]byte, error)

BuildEdictScript builds the edict script

func BuildPsbt

func BuildPsbt(utxoIterator UTXOIterator, recipient string, amount int64, feeRate int64, change string, maxUTXONum int) (*psbt.Packet, []*UTXO, *UTXO, error)

BuildPsbt builds a bitcoin psbt from the given params. Assume that the utxo script type is witness.

func BuildRunesPsbt

func BuildRunesPsbt(utxos []*UTXO, paymentUTXOIterator UTXOIterator, recipient string, runeId string, amount uint128.Uint128, feeRate int64, runeBalancesDelta []*RuneBalance, runesChange string, change string, maxUTXONum int) (*psbt.Packet, []*UTXO, *UTXO, *UTXO, error)

BuildRunesPsbt builds a bitcoin psbt for runes edict from the given params. Assume that the utxo script type is witness.

func BuildTransferAllRunesPsbt

func BuildTransferAllRunesPsbt(utxos []*UTXO, paymentUTXOIterator UTXOIterator, recipient string, runeBalancesDelta []*RuneBalance, feeRate int64, btcChange string, maxUTXONum int) (*psbt.Packet, []*UTXO, *UTXO, *UTXO, error)

BuildTransferAllRunesPsbt builds a bitcoin psbt to transfer all specified runes. Assume that the utxo script type is witness.

func BuildUnsignedTransaction

func BuildUnsignedTransaction(utxos []*UTXO, txOuts []*wire.TxOut, paymentUTXOIterator UTXOIterator, feeRate int64, change btcutil.Address, maxUTXONum int) (*wire.MsgTx, []*UTXO, *UTXO, error)

BuildUnsignedTransaction builds an unsigned tx from the given params.

func BuildUnsignedTransactionWithoutExtraChange

func BuildUnsignedTransactionWithoutExtraChange(utxos []*UTXO, txOuts []*wire.TxOut, paymentUTXOs []*UTXO, feeRate int64) (*wire.MsgTx, error)

BuildUnsignedTransactionWithoutExtraChange builds an unsigned tx from the given params. All payment utxos will be spent and the last out is the recipient (and change) out.

func CheckDKGCompletionRequests

func CheckDKGCompletionRequests(requests []*DKGCompletionRequest) bool

CheckDKGCompletionRequests checks if the vaults of all the DKG completion requests are same

func CheckTransactionWeight

func CheckTransactionWeight(tx *wire.MsgTx, utxos []*UTXO) error

CheckTransactionWeight checks if the weight of the given tx exceeds the allowed maximum weight

func DKGCompletionRequestKey

func DKGCompletionRequestKey(id uint64, consAddress string) []byte

func DKGRequestKey

func DKGRequestKey(id uint64) []byte

func Decode

func Decode(bz []byte) (uint128.Uint128, int, error)

func DecodeVec

func DecodeVec(payload []byte) ([]uint128.Uint128, error)

func EncodeBigInt

func EncodeBigInt(n *big.Int) []byte

func EncodeUint128

func EncodeUint128(n *uint128.Uint128) []byte

func EncodeUint32

func EncodeUint32(n uint32) []byte

func EncodeUint64

func EncodeUint64(n uint64) []byte

func ExtractCommonRecipientAddr

func ExtractCommonRecipientAddr(tx *wire.MsgTx, prevTx *wire.MsgTx, vaults []*Vault, chainCfg *chaincfg.Params) (btcutil.Address, error)

ExtractCommonRecipientAddr extracts the recipient address for minting voucher token in the common case. First, extract the recipient from the tx out which is a non-vault address; Then fall back to the first input

func ExtractRecipientAddr

func ExtractRecipientAddr(tx *wire.MsgTx, prevTx *wire.MsgTx, vaults []*Vault, isRunes bool, chainCfg *chaincfg.Params) (btcutil.Address, error)

ExtractRecipientAddr extracts the recipient address for minting voucher token by the type of the asset to be deposited

func ExtractRunesRecipientAddr

func ExtractRunesRecipientAddr(tx *wire.MsgTx, prevTx *wire.MsgTx, vaults []*Vault, chainCfg *chaincfg.Params) (btcutil.Address, error)

ExtractRunesRecipientAddr extracts the recipient address for minting runes voucher token. First, extract the recipient from the tx out which is a non-vault and non-OP_RETURN output; Then fall back to the first input

func GetSigMsgFromDKGCompletionReq

func GetSigMsgFromDKGCompletionReq(req *DKGCompletionRequest) []byte

GetSigMsgFromDKGCompletionReq gets the msg to be signed from the given DKG completion request

func GetTxVirtualSize

func GetTxVirtualSize(tx *wire.MsgTx, utxos []*UTXO) int64

GetTxVirtualSize gets the virtual size of the given tx.

func IsDustOut

func IsDustOut(out *wire.TxOut) bool

IsDustOut returns true if the given output is dust, false otherwise

func IsOpReturnOutput

func IsOpReturnOutput(out *wire.TxOut) bool

IsOpReturnOutput returns true if the script of the given out starts with OP_RETURN

func IsValidBtcAddress

func IsValidBtcAddress(address string) bool

IsValidBtcAddress returns true if the given address is a standard bitcoin address, false otherwise

func MarshalRuneAmount

func MarshalRuneAmount(amount uint128.Uint128) []byte

MarshalRuneAmount marshals the given amount

func MarshalRuneAmountFromString

func MarshalRuneAmountFromString(s string) []byte

MarshalRuneAmountFromString marshals the given amount string

func MarshalRuneIdFromString

func MarshalRuneIdFromString(s string) []byte

MarshalRuneIdFromString marshals the given id string

func MustGetConsensusAddr

func MustGetConsensusAddr(consPubKey string) string

MustGetConsensusAddr gets the hex-encoded consensus address from the given consensus public key Panic if any error occurs

func MustPkScriptFromAddress

func MustPkScriptFromAddress(address string) []byte

MustPkScriptFromAddress returns the public key script of the given address Panic if any error occurred

func ParticipantExists

func ParticipantExists(participants []*DKGParticipant, consAddress string) bool

ParticipantExists returns true if the given address is a participant, false otherwise

func PopulateTxWithDummyTaprootWitness

func PopulateTxWithDummyTaprootWitness(tx *wire.MsgTx) *wire.MsgTx

PopulateTxWithDummyTaprootWitness populates the given tx with the dummy taproot witness

func PopulateTxWithDummyWitness

func PopulateTxWithDummyWitness(tx *wire.MsgTx, utxos []*UTXO) *wire.MsgTx

PopulateTxWithDummyWitness populates the given tx with the dummy witness Assume that the utxo script type is the witness type. If utxos are not provided, the witness type is defaulted to taproot

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RuneAmountFromString

func RuneAmountFromString(s string) uint128.Uint128

RuneAmountFromString converts the given string to the rune amount Panic if any error occurred

func UnmarshalRuneAmount

func UnmarshalRuneAmount(bz []byte) uint128.Uint128

UnmarshalRuneAmount unmarshals the given bytes to the rune amount

func VerifyMerkleProof

func VerifyMerkleProof(proofs []string, txHash, root *chainhash.Hash) bool

VerifyMerkleProof verifies the merkle proof

func VerifyPsbtSignatures

func VerifyPsbtSignatures(p *psbt.Packet) bool

VerifyPsbtSignatures verifies the signatures of the given psbt Note: assume that the psbt is finalized and all inputs are witness type

func VerifySignature

func VerifySignature(signature string, pubKey []byte, req *DKGCompletionRequest) bool

VerifySignature verifies the given signature against the given DKG completion request

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

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 AssetTypeFromDenom

func AssetTypeFromDenom(denom string, p Params) AssetType

AssetTypeFromDenom returns the asset type according to the denom

func SupportedAssetTypes

func SupportedAssetTypes() []AssetType

SupportedAssetTypes returns the currently supported asset types

func (AssetType) EnumDescriptor

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

func (AssetType) String

func (x AssetType) String() string

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins

	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error

	SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	SetDenomMetaData(ctx context.Context, denomMetaData banktype.Metadata)

	MintCoins(ctx context.Context, moduleName string, amounts sdk.Coins) error
	BurnCoins(ctx context.Context, moduleName string, amounts sdk.Coins) error

	HasSupply(ctx context.Context, denom string) bool
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper defines the expected interface needed to retrieve account balances.

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"`
}

Bitcoin Block Header

func DefaultBestBlockHeader

func DefaultBestBlockHeader() *BlockHeader

func DefaultMainNetBestBlockHeader

func DefaultMainNetBestBlockHeader() *BlockHeader

func DefaultSignetBestBlockHeader

func DefaultSignetBestBlockHeader() *BlockHeader

func DefaultTestnetBestBlockHeader

func DefaultTestnetBestBlockHeader() *BlockHeader

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetBits

func (m *BlockHeader) GetBits() string

func (*BlockHeader) GetHash

func (m *BlockHeader) GetHash() string

func (*BlockHeader) GetHeight

func (m *BlockHeader) GetHeight() uint64

func (*BlockHeader) GetMerkleRoot

func (m *BlockHeader) GetMerkleRoot() string

func (*BlockHeader) GetNonce

func (m *BlockHeader) GetNonce() uint64

func (*BlockHeader) GetNtx

func (m *BlockHeader) GetNtx() uint64

func (*BlockHeader) GetPreviousBlockHash

func (m *BlockHeader) GetPreviousBlockHash() string

func (*BlockHeader) GetTime

func (m *BlockHeader) GetTime() uint64

func (*BlockHeader) GetVersion

func (m *BlockHeader) GetVersion() uint64

func (*BlockHeader) GetWork

func (header *BlockHeader) GetWork() *big.Int

GetWork gets the work of the block header

func (*BlockHeader) Marshal

func (m *BlockHeader) Marshal() (dAtA []byte, err error)

func (*BlockHeader) MarshalTo

func (m *BlockHeader) MarshalTo(dAtA []byte) (int, error)

func (*BlockHeader) MarshalToSizedBuffer

func (m *BlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) Size

func (m *BlockHeader) Size() (n int)

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) ToWireHeader

func (header *BlockHeader) ToWireHeader() *wire.BlockHeader

ToWireHeader converts the block header to wire.BlockHeader

func (*BlockHeader) Unmarshal

func (m *BlockHeader) Unmarshal(dAtA []byte) error

func (*BlockHeader) Validate

func (header *BlockHeader) Validate() error

Validate validates the block header

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHeader) XXX_Merge

func (m *BlockHeader) XXX_Merge(src proto.Message)

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

func (m *BlockHeader) XXX_Unmarshal(b []byte) error

type BlockHeaders

type BlockHeaders []*BlockHeader

BlockHeaders defines a set of block headers which form a chain

func (BlockHeaders) GetTotalWork

func (headers BlockHeaders) GetTotalWork() *big.Int

GetTotalWork gets the total work of the block headers

func (BlockHeaders) Validate

func (headers BlockHeaders) Validate() error

Validate validates if each block header is valid and if the block headers form a chain

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"`
}

BTC UTXO Consolidation

func (*BtcConsolidation) Descriptor

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

func (*BtcConsolidation) GetMaxNum

func (m *BtcConsolidation) GetMaxNum() uint32

func (*BtcConsolidation) GetTargetThreshold

func (m *BtcConsolidation) GetTargetThreshold() int64

func (*BtcConsolidation) Marshal

func (m *BtcConsolidation) Marshal() (dAtA []byte, err error)

func (*BtcConsolidation) MarshalTo

func (m *BtcConsolidation) MarshalTo(dAtA []byte) (int, error)

func (*BtcConsolidation) MarshalToSizedBuffer

func (m *BtcConsolidation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BtcConsolidation) ProtoMessage

func (*BtcConsolidation) ProtoMessage()

func (*BtcConsolidation) Reset

func (m *BtcConsolidation) Reset()

func (*BtcConsolidation) Size

func (m *BtcConsolidation) Size() (n int)

func (*BtcConsolidation) String

func (m *BtcConsolidation) String() string

func (*BtcConsolidation) Unmarshal

func (m *BtcConsolidation) Unmarshal(dAtA []byte) error

func (*BtcConsolidation) XXX_DiscardUnknown

func (m *BtcConsolidation) XXX_DiscardUnknown()

func (*BtcConsolidation) XXX_Marshal

func (m *BtcConsolidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BtcConsolidation) XXX_Merge

func (m *BtcConsolidation) XXX_Merge(src proto.Message)

func (*BtcConsolidation) XXX_Size

func (m *BtcConsolidation) XXX_Size() int

func (*BtcConsolidation) XXX_Unmarshal

func (m *BtcConsolidation) XXX_Unmarshal(b []byte) error

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"`
}

DKG Completion Request

func (*DKGCompletionRequest) Descriptor

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

func (*DKGCompletionRequest) GetConsensusAddress

func (m *DKGCompletionRequest) GetConsensusAddress() string

func (*DKGCompletionRequest) GetId

func (m *DKGCompletionRequest) GetId() uint64

func (*DKGCompletionRequest) GetSender

func (m *DKGCompletionRequest) GetSender() string

func (*DKGCompletionRequest) GetSignature

func (m *DKGCompletionRequest) GetSignature() string

func (*DKGCompletionRequest) GetVaults

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

func (*DKGCompletionRequest) Marshal

func (m *DKGCompletionRequest) Marshal() (dAtA []byte, err error)

func (*DKGCompletionRequest) MarshalTo

func (m *DKGCompletionRequest) MarshalTo(dAtA []byte) (int, error)

func (*DKGCompletionRequest) MarshalToSizedBuffer

func (m *DKGCompletionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DKGCompletionRequest) ProtoMessage

func (*DKGCompletionRequest) ProtoMessage()

func (*DKGCompletionRequest) Reset

func (m *DKGCompletionRequest) Reset()

func (*DKGCompletionRequest) Size

func (m *DKGCompletionRequest) Size() (n int)

func (*DKGCompletionRequest) String

func (m *DKGCompletionRequest) String() string

func (*DKGCompletionRequest) Unmarshal

func (m *DKGCompletionRequest) Unmarshal(dAtA []byte) error

func (*DKGCompletionRequest) XXX_DiscardUnknown

func (m *DKGCompletionRequest) XXX_DiscardUnknown()

func (*DKGCompletionRequest) XXX_Marshal

func (m *DKGCompletionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DKGCompletionRequest) XXX_Merge

func (m *DKGCompletionRequest) XXX_Merge(src proto.Message)

func (*DKGCompletionRequest) XXX_Size

func (m *DKGCompletionRequest) XXX_Size() int

func (*DKGCompletionRequest) XXX_Unmarshal

func (m *DKGCompletionRequest) XXX_Unmarshal(b []byte) error

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"`
}

DKG Participant

func (*DKGParticipant) Descriptor

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

func (*DKGParticipant) GetConsensusPubkey

func (m *DKGParticipant) GetConsensusPubkey() string

func (*DKGParticipant) GetMoniker

func (m *DKGParticipant) GetMoniker() string

func (*DKGParticipant) GetOperatorAddress

func (m *DKGParticipant) GetOperatorAddress() string

func (*DKGParticipant) Marshal

func (m *DKGParticipant) Marshal() (dAtA []byte, err error)

func (*DKGParticipant) MarshalTo

func (m *DKGParticipant) MarshalTo(dAtA []byte) (int, error)

func (*DKGParticipant) MarshalToSizedBuffer

func (m *DKGParticipant) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DKGParticipant) ProtoMessage

func (*DKGParticipant) ProtoMessage()

func (*DKGParticipant) Reset

func (m *DKGParticipant) Reset()

func (*DKGParticipant) Size

func (m *DKGParticipant) Size() (n int)

func (*DKGParticipant) String

func (m *DKGParticipant) String() string

func (*DKGParticipant) Unmarshal

func (m *DKGParticipant) Unmarshal(dAtA []byte) error

func (*DKGParticipant) XXX_DiscardUnknown

func (m *DKGParticipant) XXX_DiscardUnknown()

func (*DKGParticipant) XXX_Marshal

func (m *DKGParticipant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DKGParticipant) XXX_Merge

func (m *DKGParticipant) XXX_Merge(src proto.Message)

func (*DKGParticipant) XXX_Size

func (m *DKGParticipant) XXX_Size() int

func (*DKGParticipant) XXX_Unmarshal

func (m *DKGParticipant) XXX_Unmarshal(b []byte) error

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 *time.Time `protobuf:"bytes,7,opt,name=expiration,proto3,stdtime" json:"expiration,omitempty"`
	// status
	Status DKGRequestStatus `protobuf:"varint,8,opt,name=status,proto3,enum=side.btcbridge.DKGRequestStatus" json:"status,omitempty"`
}

DKG Request

func (*DKGRequest) Descriptor

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

func (*DKGRequest) GetEnableTransfer

func (m *DKGRequest) GetEnableTransfer() bool

func (*DKGRequest) GetExpiration

func (m *DKGRequest) GetExpiration() *time.Time

func (*DKGRequest) GetId

func (m *DKGRequest) GetId() uint64

func (*DKGRequest) GetParticipants

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

func (*DKGRequest) GetStatus

func (m *DKGRequest) GetStatus() DKGRequestStatus

func (*DKGRequest) GetTargetUtxoNum

func (m *DKGRequest) GetTargetUtxoNum() uint32

func (*DKGRequest) GetThreshold

func (m *DKGRequest) GetThreshold() uint32

func (*DKGRequest) GetVaultTypes

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

func (*DKGRequest) Marshal

func (m *DKGRequest) Marshal() (dAtA []byte, err error)

func (*DKGRequest) MarshalTo

func (m *DKGRequest) MarshalTo(dAtA []byte) (int, error)

func (*DKGRequest) MarshalToSizedBuffer

func (m *DKGRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DKGRequest) ProtoMessage

func (*DKGRequest) ProtoMessage()

func (*DKGRequest) Reset

func (m *DKGRequest) Reset()

func (*DKGRequest) Size

func (m *DKGRequest) Size() (n int)

func (*DKGRequest) String

func (m *DKGRequest) String() string

func (*DKGRequest) Unmarshal

func (m *DKGRequest) Unmarshal(dAtA []byte) error

func (*DKGRequest) XXX_DiscardUnknown

func (m *DKGRequest) XXX_DiscardUnknown()

func (*DKGRequest) XXX_Marshal

func (m *DKGRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DKGRequest) XXX_Merge

func (m *DKGRequest) XXX_Merge(src proto.Message)

func (*DKGRequest) XXX_Size

func (m *DKGRequest) XXX_Size() int

func (*DKGRequest) XXX_Unmarshal

func (m *DKGRequest) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (DKGRequestStatus) String

func (x DKGRequestStatus) String() string

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"`
}

Rune Edict

func CheckRunesDepositTransaction

func CheckRunesDepositTransaction(tx *wire.MsgTx, vaults []*Vault) (*Edict, error)

CheckRunesDepositTransaction checks if the given tx is valid runes deposit tx

func ParseEdict

func ParseEdict(payload []byte) (*Edict, error)

ParseEdict parses the given payload to edict

func ParseEdicts

func ParseEdicts(tx *wire.MsgTx, payload []byte) ([]*Edict, error)

ParseEdicts parses the given payload to a set of edicts

func ParseRunes

func ParseRunes(tx *wire.MsgTx) ([]*Edict, error)

ParseRunes parses the potential runes protocol from the given tx; If no OP_RETURN found, no error returned Only support edicts for now

func (*Edict) Descriptor

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

func (*Edict) GetAmount

func (m *Edict) GetAmount() string

func (*Edict) GetId

func (m *Edict) GetId() *RuneId

func (*Edict) GetOutput

func (m *Edict) GetOutput() uint32

func (*Edict) Marshal

func (m *Edict) Marshal() (dAtA []byte, err error)

func (*Edict) MarshalTo

func (m *Edict) MarshalTo(dAtA []byte) (int, error)

func (*Edict) MarshalToSizedBuffer

func (m *Edict) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Edict) MustMarshalLEB128

func (e *Edict) MustMarshalLEB128() []byte

func (*Edict) ProtoMessage

func (*Edict) ProtoMessage()

func (*Edict) Reset

func (m *Edict) Reset()

func (*Edict) Size

func (m *Edict) Size() (n int)

func (*Edict) String

func (m *Edict) String() string

func (*Edict) Unmarshal

func (m *Edict) Unmarshal(dAtA []byte) error

func (*Edict) XXX_DiscardUnknown

func (m *Edict) XXX_DiscardUnknown()

func (*Edict) XXX_Marshal

func (m *Edict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Edict) XXX_Merge

func (m *Edict) XXX_Merge(src proto.Message)

func (*Edict) XXX_Size

func (m *Edict) XXX_Size() int

func (*Edict) XXX_Unmarshal

func (m *Edict) XXX_Unmarshal(b []byte) error

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"`
}

Fee rate

func (*FeeRate) Descriptor

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

func (*FeeRate) GetHeight

func (m *FeeRate) GetHeight() int64

func (*FeeRate) GetValue

func (m *FeeRate) GetValue() int64

func (*FeeRate) Marshal

func (m *FeeRate) Marshal() (dAtA []byte, err error)

func (*FeeRate) MarshalTo

func (m *FeeRate) MarshalTo(dAtA []byte) (int, error)

func (*FeeRate) MarshalToSizedBuffer

func (m *FeeRate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeRate) ProtoMessage

func (*FeeRate) ProtoMessage()

func (*FeeRate) Reset

func (m *FeeRate) Reset()

func (*FeeRate) Size

func (m *FeeRate) Size() (n int)

func (*FeeRate) String

func (m *FeeRate) String() string

func (*FeeRate) Unmarshal

func (m *FeeRate) Unmarshal(dAtA []byte) error

func (*FeeRate) XXX_DiscardUnknown

func (m *FeeRate) XXX_DiscardUnknown()

func (*FeeRate) XXX_Marshal

func (m *FeeRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeRate) XXX_Merge

func (m *FeeRate) XXX_Merge(src proto.Message)

func (*FeeRate) XXX_Size

func (m *FeeRate) XXX_Size() int

func (*FeeRate) XXX_Unmarshal

func (m *FeeRate) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// 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"`
}

GenesisState defines the btc bridge module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetBestBlockHeader

func (m *GenesisState) GetBestBlockHeader() *BlockHeader

func (*GenesisState) GetBlockHeaders

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

func (*GenesisState) GetDkgRequest

func (m *GenesisState) GetDkgRequest() *DKGRequest

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetUtxos

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

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type IncentiveKeeper

type IncentiveKeeper interface {
	DepositIncentiveEnabled(ctx sdk.Context) bool
	WithdrawIncentiveEnabled(ctx sdk.Context) bool

	DistributeDepositReward(ctx sdk.Context, addr string) error
	DistributeWithdrawReward(ctx sdk.Context, addr string) error
}

IncentiveKeeper defines the expected incentive keeper

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)
	// UpdateTrustedFeeProviders updates the trusted fee providers.
	UpdateTrustedFeeProviders(ctx context.Context, in *MsgUpdateTrustedFeeProviders, opts ...grpc.CallOption) (*MsgUpdateTrustedFeeProvidersResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) 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"`
}

MsgCompleteDKG is the Msg/CompleteDKG request type.

func NewMsgCompleteDKG

func NewMsgCompleteDKG(
	sender string,
	id uint64,
	vaults []string,
	consAddress string,
	signature string,
) *MsgCompleteDKG

func (*MsgCompleteDKG) Descriptor

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

func (*MsgCompleteDKG) GetConsensusAddress

func (m *MsgCompleteDKG) GetConsensusAddress() string

func (*MsgCompleteDKG) GetId

func (m *MsgCompleteDKG) GetId() uint64

func (*MsgCompleteDKG) GetSender

func (m *MsgCompleteDKG) GetSender() string

func (*MsgCompleteDKG) GetSignature

func (m *MsgCompleteDKG) GetSignature() string

func (*MsgCompleteDKG) GetVaults

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

func (*MsgCompleteDKG) Marshal

func (m *MsgCompleteDKG) Marshal() (dAtA []byte, err error)

func (*MsgCompleteDKG) MarshalTo

func (m *MsgCompleteDKG) MarshalTo(dAtA []byte) (int, error)

func (*MsgCompleteDKG) MarshalToSizedBuffer

func (m *MsgCompleteDKG) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCompleteDKG) ProtoMessage

func (*MsgCompleteDKG) ProtoMessage()

func (*MsgCompleteDKG) Reset

func (m *MsgCompleteDKG) Reset()

func (*MsgCompleteDKG) Size

func (m *MsgCompleteDKG) Size() (n int)

func (*MsgCompleteDKG) String

func (m *MsgCompleteDKG) String() string

func (*MsgCompleteDKG) Unmarshal

func (m *MsgCompleteDKG) Unmarshal(dAtA []byte) error

func (*MsgCompleteDKG) ValidateBasic

func (m *MsgCompleteDKG) ValidateBasic() error

ValidateBasic performs basic MsgCompleteDKG message validation.

func (*MsgCompleteDKG) XXX_DiscardUnknown

func (m *MsgCompleteDKG) XXX_DiscardUnknown()

func (*MsgCompleteDKG) XXX_Marshal

func (m *MsgCompleteDKG) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCompleteDKG) XXX_Merge

func (m *MsgCompleteDKG) XXX_Merge(src proto.Message)

func (*MsgCompleteDKG) XXX_Size

func (m *MsgCompleteDKG) XXX_Size() int

func (*MsgCompleteDKG) XXX_Unmarshal

func (m *MsgCompleteDKG) XXX_Unmarshal(b []byte) error

type MsgCompleteDKGResponse

type MsgCompleteDKGResponse struct {
}

MsgCompleteDKGResponse defines the Msg/CompleteDKG response type.

func (*MsgCompleteDKGResponse) Descriptor

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

func (*MsgCompleteDKGResponse) Marshal

func (m *MsgCompleteDKGResponse) Marshal() (dAtA []byte, err error)

func (*MsgCompleteDKGResponse) MarshalTo

func (m *MsgCompleteDKGResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCompleteDKGResponse) MarshalToSizedBuffer

func (m *MsgCompleteDKGResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCompleteDKGResponse) ProtoMessage

func (*MsgCompleteDKGResponse) ProtoMessage()

func (*MsgCompleteDKGResponse) Reset

func (m *MsgCompleteDKGResponse) Reset()

func (*MsgCompleteDKGResponse) Size

func (m *MsgCompleteDKGResponse) Size() (n int)

func (*MsgCompleteDKGResponse) String

func (m *MsgCompleteDKGResponse) String() string

func (*MsgCompleteDKGResponse) Unmarshal

func (m *MsgCompleteDKGResponse) Unmarshal(dAtA []byte) error

func (*MsgCompleteDKGResponse) XXX_DiscardUnknown

func (m *MsgCompleteDKGResponse) XXX_DiscardUnknown()

func (*MsgCompleteDKGResponse) XXX_Marshal

func (m *MsgCompleteDKGResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCompleteDKGResponse) XXX_Merge

func (m *MsgCompleteDKGResponse) XXX_Merge(src proto.Message)

func (*MsgCompleteDKGResponse) XXX_Size

func (m *MsgCompleteDKGResponse) XXX_Size() int

func (*MsgCompleteDKGResponse) XXX_Unmarshal

func (m *MsgCompleteDKGResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgConsolidateVaults is the Msg/ConsolidateVaults request type.

func (*MsgConsolidateVaults) Descriptor

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

func (*MsgConsolidateVaults) GetAuthority

func (m *MsgConsolidateVaults) GetAuthority() string

func (*MsgConsolidateVaults) GetBtcConsolidation

func (m *MsgConsolidateVaults) GetBtcConsolidation() *BtcConsolidation

func (*MsgConsolidateVaults) GetRunesConsolidations

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

func (*MsgConsolidateVaults) GetVaultVersion

func (m *MsgConsolidateVaults) GetVaultVersion() uint64

func (*MsgConsolidateVaults) Marshal

func (m *MsgConsolidateVaults) Marshal() (dAtA []byte, err error)

func (*MsgConsolidateVaults) MarshalTo

func (m *MsgConsolidateVaults) MarshalTo(dAtA []byte) (int, error)

func (*MsgConsolidateVaults) MarshalToSizedBuffer

func (m *MsgConsolidateVaults) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgConsolidateVaults) ProtoMessage

func (*MsgConsolidateVaults) ProtoMessage()

func (*MsgConsolidateVaults) Reset

func (m *MsgConsolidateVaults) Reset()

func (*MsgConsolidateVaults) Size

func (m *MsgConsolidateVaults) Size() (n int)

func (*MsgConsolidateVaults) String

func (m *MsgConsolidateVaults) String() string

func (*MsgConsolidateVaults) Unmarshal

func (m *MsgConsolidateVaults) Unmarshal(dAtA []byte) error

func (*MsgConsolidateVaults) ValidateBasic

func (m *MsgConsolidateVaults) ValidateBasic() error

ValidateBasic performs basic MsgConsolidateVaults message validation.

func (*MsgConsolidateVaults) XXX_DiscardUnknown

func (m *MsgConsolidateVaults) XXX_DiscardUnknown()

func (*MsgConsolidateVaults) XXX_Marshal

func (m *MsgConsolidateVaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConsolidateVaults) XXX_Merge

func (m *MsgConsolidateVaults) XXX_Merge(src proto.Message)

func (*MsgConsolidateVaults) XXX_Size

func (m *MsgConsolidateVaults) XXX_Size() int

func (*MsgConsolidateVaults) XXX_Unmarshal

func (m *MsgConsolidateVaults) XXX_Unmarshal(b []byte) error

type MsgConsolidateVaultsResponse

type MsgConsolidateVaultsResponse struct {
}

MsgConsolidateVaultsResponse defines the Msg/ConsolidateVaults response type.

func (*MsgConsolidateVaultsResponse) Descriptor

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

func (*MsgConsolidateVaultsResponse) Marshal

func (m *MsgConsolidateVaultsResponse) Marshal() (dAtA []byte, err error)

func (*MsgConsolidateVaultsResponse) MarshalTo

func (m *MsgConsolidateVaultsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgConsolidateVaultsResponse) MarshalToSizedBuffer

func (m *MsgConsolidateVaultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgConsolidateVaultsResponse) ProtoMessage

func (*MsgConsolidateVaultsResponse) ProtoMessage()

func (*MsgConsolidateVaultsResponse) Reset

func (m *MsgConsolidateVaultsResponse) Reset()

func (*MsgConsolidateVaultsResponse) Size

func (m *MsgConsolidateVaultsResponse) Size() (n int)

func (*MsgConsolidateVaultsResponse) String

func (*MsgConsolidateVaultsResponse) Unmarshal

func (m *MsgConsolidateVaultsResponse) Unmarshal(dAtA []byte) error

func (*MsgConsolidateVaultsResponse) XXX_DiscardUnknown

func (m *MsgConsolidateVaultsResponse) XXX_DiscardUnknown()

func (*MsgConsolidateVaultsResponse) XXX_Marshal

func (m *MsgConsolidateVaultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConsolidateVaultsResponse) XXX_Merge

func (m *MsgConsolidateVaultsResponse) XXX_Merge(src proto.Message)

func (*MsgConsolidateVaultsResponse) XXX_Size

func (m *MsgConsolidateVaultsResponse) XXX_Size() int

func (*MsgConsolidateVaultsResponse) XXX_Unmarshal

func (m *MsgConsolidateVaultsResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgInitiateDKG is the Msg/InitiateDKG request type.

func (*MsgInitiateDKG) Descriptor

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

func (*MsgInitiateDKG) GetAuthority

func (m *MsgInitiateDKG) GetAuthority() string

func (*MsgInitiateDKG) GetEnableTransfer

func (m *MsgInitiateDKG) GetEnableTransfer() bool

func (*MsgInitiateDKG) GetParticipants

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

func (*MsgInitiateDKG) GetTargetUtxoNum

func (m *MsgInitiateDKG) GetTargetUtxoNum() uint32

func (*MsgInitiateDKG) GetThreshold

func (m *MsgInitiateDKG) GetThreshold() uint32

func (*MsgInitiateDKG) GetVaultTypes

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

func (*MsgInitiateDKG) Marshal

func (m *MsgInitiateDKG) Marshal() (dAtA []byte, err error)

func (*MsgInitiateDKG) MarshalTo

func (m *MsgInitiateDKG) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitiateDKG) MarshalToSizedBuffer

func (m *MsgInitiateDKG) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitiateDKG) ProtoMessage

func (*MsgInitiateDKG) ProtoMessage()

func (*MsgInitiateDKG) Reset

func (m *MsgInitiateDKG) Reset()

func (*MsgInitiateDKG) Size

func (m *MsgInitiateDKG) Size() (n int)

func (*MsgInitiateDKG) String

func (m *MsgInitiateDKG) String() string

func (*MsgInitiateDKG) Unmarshal

func (m *MsgInitiateDKG) Unmarshal(dAtA []byte) error

func (*MsgInitiateDKG) ValidateBasic

func (m *MsgInitiateDKG) ValidateBasic() error

ValidateBasic performs basic MsgInitiateDKG message validation.

func (*MsgInitiateDKG) XXX_DiscardUnknown

func (m *MsgInitiateDKG) XXX_DiscardUnknown()

func (*MsgInitiateDKG) XXX_Marshal

func (m *MsgInitiateDKG) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitiateDKG) XXX_Merge

func (m *MsgInitiateDKG) XXX_Merge(src proto.Message)

func (*MsgInitiateDKG) XXX_Size

func (m *MsgInitiateDKG) XXX_Size() int

func (*MsgInitiateDKG) XXX_Unmarshal

func (m *MsgInitiateDKG) XXX_Unmarshal(b []byte) error

type MsgInitiateDKGResponse

type MsgInitiateDKGResponse struct {
}

MsgInitiateDKGResponse defines the Msg/InitiateDKG response type.

func (*MsgInitiateDKGResponse) Descriptor

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

func (*MsgInitiateDKGResponse) Marshal

func (m *MsgInitiateDKGResponse) Marshal() (dAtA []byte, err error)

func (*MsgInitiateDKGResponse) MarshalTo

func (m *MsgInitiateDKGResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitiateDKGResponse) MarshalToSizedBuffer

func (m *MsgInitiateDKGResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitiateDKGResponse) ProtoMessage

func (*MsgInitiateDKGResponse) ProtoMessage()

func (*MsgInitiateDKGResponse) Reset

func (m *MsgInitiateDKGResponse) Reset()

func (*MsgInitiateDKGResponse) Size

func (m *MsgInitiateDKGResponse) Size() (n int)

func (*MsgInitiateDKGResponse) String

func (m *MsgInitiateDKGResponse) String() string

func (*MsgInitiateDKGResponse) Unmarshal

func (m *MsgInitiateDKGResponse) Unmarshal(dAtA []byte) error

func (*MsgInitiateDKGResponse) XXX_DiscardUnknown

func (m *MsgInitiateDKGResponse) XXX_DiscardUnknown()

func (*MsgInitiateDKGResponse) XXX_Marshal

func (m *MsgInitiateDKGResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitiateDKGResponse) XXX_Merge

func (m *MsgInitiateDKGResponse) XXX_Merge(src proto.Message)

func (*MsgInitiateDKGResponse) XXX_Size

func (m *MsgInitiateDKGResponse) XXX_Size() int

func (*MsgInitiateDKGResponse) XXX_Unmarshal

func (m *MsgInitiateDKGResponse) XXX_Unmarshal(b []byte) error

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)
	// UpdateTrustedFeeProviders updates the trusted fee providers.
	UpdateTrustedFeeProviders(context.Context, *MsgUpdateTrustedFeeProviders) (*MsgUpdateTrustedFeeProvidersResponse, 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)
}

MsgServer is the server API for Msg service.

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"`
}

MsgSubmitBlockHeaders defines the Msg/SubmitBlockHeaders request type.

func NewMsgSubmitBlockHeaders

func NewMsgSubmitBlockHeaders(
	sender string,
	headers []*BlockHeader,
) *MsgSubmitBlockHeaders

func (*MsgSubmitBlockHeaders) Descriptor

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

func (*MsgSubmitBlockHeaders) GetBlockHeaders

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

func (*MsgSubmitBlockHeaders) GetSender

func (m *MsgSubmitBlockHeaders) GetSender() string

func (*MsgSubmitBlockHeaders) Marshal

func (m *MsgSubmitBlockHeaders) Marshal() (dAtA []byte, err error)

func (*MsgSubmitBlockHeaders) MarshalTo

func (m *MsgSubmitBlockHeaders) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitBlockHeaders) MarshalToSizedBuffer

func (m *MsgSubmitBlockHeaders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitBlockHeaders) ProtoMessage

func (*MsgSubmitBlockHeaders) ProtoMessage()

func (*MsgSubmitBlockHeaders) Reset

func (m *MsgSubmitBlockHeaders) Reset()

func (*MsgSubmitBlockHeaders) Size

func (m *MsgSubmitBlockHeaders) Size() (n int)

func (*MsgSubmitBlockHeaders) String

func (m *MsgSubmitBlockHeaders) String() string

func (*MsgSubmitBlockHeaders) Unmarshal

func (m *MsgSubmitBlockHeaders) Unmarshal(dAtA []byte) error

func (*MsgSubmitBlockHeaders) ValidateBasic

func (msg *MsgSubmitBlockHeaders) ValidateBasic() error

func (*MsgSubmitBlockHeaders) XXX_DiscardUnknown

func (m *MsgSubmitBlockHeaders) XXX_DiscardUnknown()

func (*MsgSubmitBlockHeaders) XXX_Marshal

func (m *MsgSubmitBlockHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitBlockHeaders) XXX_Merge

func (m *MsgSubmitBlockHeaders) XXX_Merge(src proto.Message)

func (*MsgSubmitBlockHeaders) XXX_Size

func (m *MsgSubmitBlockHeaders) XXX_Size() int

func (*MsgSubmitBlockHeaders) XXX_Unmarshal

func (m *MsgSubmitBlockHeaders) XXX_Unmarshal(b []byte) error

type MsgSubmitBlockHeadersResponse

type MsgSubmitBlockHeadersResponse struct {
}

MsgSubmitBlockHeadersResponse defines the Msg/SubmitBlockHeaders response type.

func (*MsgSubmitBlockHeadersResponse) Descriptor

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

func (*MsgSubmitBlockHeadersResponse) Marshal

func (m *MsgSubmitBlockHeadersResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitBlockHeadersResponse) MarshalTo

func (m *MsgSubmitBlockHeadersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitBlockHeadersResponse) MarshalToSizedBuffer

func (m *MsgSubmitBlockHeadersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitBlockHeadersResponse) ProtoMessage

func (*MsgSubmitBlockHeadersResponse) ProtoMessage()

func (*MsgSubmitBlockHeadersResponse) Reset

func (m *MsgSubmitBlockHeadersResponse) Reset()

func (*MsgSubmitBlockHeadersResponse) Size

func (m *MsgSubmitBlockHeadersResponse) Size() (n int)

func (*MsgSubmitBlockHeadersResponse) String

func (*MsgSubmitBlockHeadersResponse) Unmarshal

func (m *MsgSubmitBlockHeadersResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitBlockHeadersResponse) XXX_DiscardUnknown

func (m *MsgSubmitBlockHeadersResponse) XXX_DiscardUnknown()

func (*MsgSubmitBlockHeadersResponse) XXX_Marshal

func (m *MsgSubmitBlockHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitBlockHeadersResponse) XXX_Merge

func (m *MsgSubmitBlockHeadersResponse) XXX_Merge(src proto.Message)

func (*MsgSubmitBlockHeadersResponse) XXX_Size

func (m *MsgSubmitBlockHeadersResponse) XXX_Size() int

func (*MsgSubmitBlockHeadersResponse) XXX_Unmarshal

func (m *MsgSubmitBlockHeadersResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgSubmitDepositTransaction defines the Msg/SubmitDepositTransaction request type.

func NewMsgSubmitDepositTransaction

func NewMsgSubmitDepositTransaction(
	sender string,
	blockhash string,
	prevTx string,
	tx string,
	proof []string,
) *MsgSubmitDepositTransaction

func (*MsgSubmitDepositTransaction) Descriptor

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

func (*MsgSubmitDepositTransaction) GetBlockhash

func (m *MsgSubmitDepositTransaction) GetBlockhash() string

func (*MsgSubmitDepositTransaction) GetPrevTxBytes

func (m *MsgSubmitDepositTransaction) GetPrevTxBytes() string

func (*MsgSubmitDepositTransaction) GetProof

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

func (*MsgSubmitDepositTransaction) GetSender

func (m *MsgSubmitDepositTransaction) GetSender() string

func (*MsgSubmitDepositTransaction) GetTxBytes

func (m *MsgSubmitDepositTransaction) GetTxBytes() string

func (*MsgSubmitDepositTransaction) Marshal

func (m *MsgSubmitDepositTransaction) Marshal() (dAtA []byte, err error)

func (*MsgSubmitDepositTransaction) MarshalTo

func (m *MsgSubmitDepositTransaction) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitDepositTransaction) MarshalToSizedBuffer

func (m *MsgSubmitDepositTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitDepositTransaction) ProtoMessage

func (*MsgSubmitDepositTransaction) ProtoMessage()

func (*MsgSubmitDepositTransaction) Reset

func (m *MsgSubmitDepositTransaction) Reset()

func (*MsgSubmitDepositTransaction) Size

func (m *MsgSubmitDepositTransaction) Size() (n int)

func (*MsgSubmitDepositTransaction) String

func (m *MsgSubmitDepositTransaction) String() string

func (*MsgSubmitDepositTransaction) Unmarshal

func (m *MsgSubmitDepositTransaction) Unmarshal(dAtA []byte) error

func (*MsgSubmitDepositTransaction) ValidateBasic

func (msg *MsgSubmitDepositTransaction) ValidateBasic() error

func (*MsgSubmitDepositTransaction) XXX_DiscardUnknown

func (m *MsgSubmitDepositTransaction) XXX_DiscardUnknown()

func (*MsgSubmitDepositTransaction) XXX_Marshal

func (m *MsgSubmitDepositTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitDepositTransaction) XXX_Merge

func (m *MsgSubmitDepositTransaction) XXX_Merge(src proto.Message)

func (*MsgSubmitDepositTransaction) XXX_Size

func (m *MsgSubmitDepositTransaction) XXX_Size() int

func (*MsgSubmitDepositTransaction) XXX_Unmarshal

func (m *MsgSubmitDepositTransaction) XXX_Unmarshal(b []byte) error

type MsgSubmitDepositTransactionResponse

type MsgSubmitDepositTransactionResponse struct {
}

MsgSubmitDepositTransactionResponse defines the Msg/SubmitDepositTransaction response type.

func (*MsgSubmitDepositTransactionResponse) Descriptor

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

func (*MsgSubmitDepositTransactionResponse) Marshal

func (m *MsgSubmitDepositTransactionResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitDepositTransactionResponse) MarshalTo

func (m *MsgSubmitDepositTransactionResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitDepositTransactionResponse) MarshalToSizedBuffer

func (m *MsgSubmitDepositTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitDepositTransactionResponse) ProtoMessage

func (*MsgSubmitDepositTransactionResponse) ProtoMessage()

func (*MsgSubmitDepositTransactionResponse) Reset

func (*MsgSubmitDepositTransactionResponse) Size

func (*MsgSubmitDepositTransactionResponse) String

func (*MsgSubmitDepositTransactionResponse) Unmarshal

func (m *MsgSubmitDepositTransactionResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitDepositTransactionResponse) XXX_DiscardUnknown

func (m *MsgSubmitDepositTransactionResponse) XXX_DiscardUnknown()

func (*MsgSubmitDepositTransactionResponse) XXX_Marshal

func (m *MsgSubmitDepositTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitDepositTransactionResponse) XXX_Merge

func (*MsgSubmitDepositTransactionResponse) XXX_Size

func (*MsgSubmitDepositTransactionResponse) XXX_Unmarshal

func (m *MsgSubmitDepositTransactionResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgSubmitFeeRate defines the Msg/SubmitFeeRate request type.

func NewMsgSubmitFeeRate

func NewMsgSubmitFeeRate(
	sender string,
	feeRate int64,
) *MsgSubmitFeeRate

func (*MsgSubmitFeeRate) Descriptor

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

func (*MsgSubmitFeeRate) GetFeeRate

func (m *MsgSubmitFeeRate) GetFeeRate() int64

func (*MsgSubmitFeeRate) GetSender

func (m *MsgSubmitFeeRate) GetSender() string

func (*MsgSubmitFeeRate) Marshal

func (m *MsgSubmitFeeRate) Marshal() (dAtA []byte, err error)

func (*MsgSubmitFeeRate) MarshalTo

func (m *MsgSubmitFeeRate) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitFeeRate) MarshalToSizedBuffer

func (m *MsgSubmitFeeRate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitFeeRate) ProtoMessage

func (*MsgSubmitFeeRate) ProtoMessage()

func (*MsgSubmitFeeRate) Reset

func (m *MsgSubmitFeeRate) Reset()

func (*MsgSubmitFeeRate) Size

func (m *MsgSubmitFeeRate) Size() (n int)

func (*MsgSubmitFeeRate) String

func (m *MsgSubmitFeeRate) String() string

func (*MsgSubmitFeeRate) Unmarshal

func (m *MsgSubmitFeeRate) Unmarshal(dAtA []byte) error

func (*MsgSubmitFeeRate) ValidateBasic

func (msg *MsgSubmitFeeRate) ValidateBasic() error

func (*MsgSubmitFeeRate) XXX_DiscardUnknown

func (m *MsgSubmitFeeRate) XXX_DiscardUnknown()

func (*MsgSubmitFeeRate) XXX_Marshal

func (m *MsgSubmitFeeRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitFeeRate) XXX_Merge

func (m *MsgSubmitFeeRate) XXX_Merge(src proto.Message)

func (*MsgSubmitFeeRate) XXX_Size

func (m *MsgSubmitFeeRate) XXX_Size() int

func (*MsgSubmitFeeRate) XXX_Unmarshal

func (m *MsgSubmitFeeRate) XXX_Unmarshal(b []byte) error

type MsgSubmitFeeRateResponse

type MsgSubmitFeeRateResponse struct {
}

MsgSubmitFeeRateResponse defines the Msg/SubmitFeeRate response type.

func (*MsgSubmitFeeRateResponse) Descriptor

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

func (*MsgSubmitFeeRateResponse) Marshal

func (m *MsgSubmitFeeRateResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitFeeRateResponse) MarshalTo

func (m *MsgSubmitFeeRateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitFeeRateResponse) MarshalToSizedBuffer

func (m *MsgSubmitFeeRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitFeeRateResponse) ProtoMessage

func (*MsgSubmitFeeRateResponse) ProtoMessage()

func (*MsgSubmitFeeRateResponse) Reset

func (m *MsgSubmitFeeRateResponse) Reset()

func (*MsgSubmitFeeRateResponse) Size

func (m *MsgSubmitFeeRateResponse) Size() (n int)

func (*MsgSubmitFeeRateResponse) String

func (m *MsgSubmitFeeRateResponse) String() string

func (*MsgSubmitFeeRateResponse) Unmarshal

func (m *MsgSubmitFeeRateResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitFeeRateResponse) XXX_DiscardUnknown

func (m *MsgSubmitFeeRateResponse) XXX_DiscardUnknown()

func (*MsgSubmitFeeRateResponse) XXX_Marshal

func (m *MsgSubmitFeeRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitFeeRateResponse) XXX_Merge

func (m *MsgSubmitFeeRateResponse) XXX_Merge(src proto.Message)

func (*MsgSubmitFeeRateResponse) XXX_Size

func (m *MsgSubmitFeeRateResponse) XXX_Size() int

func (*MsgSubmitFeeRateResponse) XXX_Unmarshal

func (m *MsgSubmitFeeRateResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgSubmitSignatures defines the Msg/SubmitSignatures request type.

func NewMsgSubmitSignatures

func NewMsgSubmitSignatures(
	sender string,
	txid string,
	pbst string,
) *MsgSubmitSignatures

func (*MsgSubmitSignatures) Descriptor

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

func (*MsgSubmitSignatures) GetPsbt

func (m *MsgSubmitSignatures) GetPsbt() string

func (*MsgSubmitSignatures) GetSender

func (m *MsgSubmitSignatures) GetSender() string

func (*MsgSubmitSignatures) GetTxid

func (m *MsgSubmitSignatures) GetTxid() string

func (*MsgSubmitSignatures) Marshal

func (m *MsgSubmitSignatures) Marshal() (dAtA []byte, err error)

func (*MsgSubmitSignatures) MarshalTo

func (m *MsgSubmitSignatures) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitSignatures) MarshalToSizedBuffer

func (m *MsgSubmitSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitSignatures) ProtoMessage

func (*MsgSubmitSignatures) ProtoMessage()

func (*MsgSubmitSignatures) Reset

func (m *MsgSubmitSignatures) Reset()

func (*MsgSubmitSignatures) Size

func (m *MsgSubmitSignatures) Size() (n int)

func (*MsgSubmitSignatures) String

func (m *MsgSubmitSignatures) String() string

func (*MsgSubmitSignatures) Unmarshal

func (m *MsgSubmitSignatures) Unmarshal(dAtA []byte) error

func (*MsgSubmitSignatures) ValidateBasic

func (msg *MsgSubmitSignatures) ValidateBasic() error

func (*MsgSubmitSignatures) XXX_DiscardUnknown

func (m *MsgSubmitSignatures) XXX_DiscardUnknown()

func (*MsgSubmitSignatures) XXX_Marshal

func (m *MsgSubmitSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitSignatures) XXX_Merge

func (m *MsgSubmitSignatures) XXX_Merge(src proto.Message)

func (*MsgSubmitSignatures) XXX_Size

func (m *MsgSubmitSignatures) XXX_Size() int

func (*MsgSubmitSignatures) XXX_Unmarshal

func (m *MsgSubmitSignatures) XXX_Unmarshal(b []byte) error

type MsgSubmitSignaturesResponse

type MsgSubmitSignaturesResponse struct {
}

MsgSubmitSignaturesResponse defines the Msg/SubmitSignatures response type.

func (*MsgSubmitSignaturesResponse) Descriptor

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

func (*MsgSubmitSignaturesResponse) Marshal

func (m *MsgSubmitSignaturesResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitSignaturesResponse) MarshalTo

func (m *MsgSubmitSignaturesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitSignaturesResponse) MarshalToSizedBuffer

func (m *MsgSubmitSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitSignaturesResponse) ProtoMessage

func (*MsgSubmitSignaturesResponse) ProtoMessage()

func (*MsgSubmitSignaturesResponse) Reset

func (m *MsgSubmitSignaturesResponse) Reset()

func (*MsgSubmitSignaturesResponse) Size

func (m *MsgSubmitSignaturesResponse) Size() (n int)

func (*MsgSubmitSignaturesResponse) String

func (m *MsgSubmitSignaturesResponse) String() string

func (*MsgSubmitSignaturesResponse) Unmarshal

func (m *MsgSubmitSignaturesResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitSignaturesResponse) XXX_DiscardUnknown

func (m *MsgSubmitSignaturesResponse) XXX_DiscardUnknown()

func (*MsgSubmitSignaturesResponse) XXX_Marshal

func (m *MsgSubmitSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitSignaturesResponse) XXX_Merge

func (m *MsgSubmitSignaturesResponse) XXX_Merge(src proto.Message)

func (*MsgSubmitSignaturesResponse) XXX_Size

func (m *MsgSubmitSignaturesResponse) XXX_Size() int

func (*MsgSubmitSignaturesResponse) XXX_Unmarshal

func (m *MsgSubmitSignaturesResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgSubmitWithdrawTransaction defines the Msg/SubmitWithdrawTransaction request type.

func NewMsgSubmitWithdrawTransaction

func NewMsgSubmitWithdrawTransaction(
	sender string,
	blockhash string,
	transaction string,
	proof []string,
) *MsgSubmitWithdrawTransaction

func (*MsgSubmitWithdrawTransaction) Descriptor

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

func (*MsgSubmitWithdrawTransaction) GetBlockhash

func (m *MsgSubmitWithdrawTransaction) GetBlockhash() string

func (*MsgSubmitWithdrawTransaction) GetProof

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

func (*MsgSubmitWithdrawTransaction) GetSender

func (m *MsgSubmitWithdrawTransaction) GetSender() string

func (*MsgSubmitWithdrawTransaction) GetTxBytes

func (m *MsgSubmitWithdrawTransaction) GetTxBytes() string

func (*MsgSubmitWithdrawTransaction) Marshal

func (m *MsgSubmitWithdrawTransaction) Marshal() (dAtA []byte, err error)

func (*MsgSubmitWithdrawTransaction) MarshalTo

func (m *MsgSubmitWithdrawTransaction) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitWithdrawTransaction) MarshalToSizedBuffer

func (m *MsgSubmitWithdrawTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitWithdrawTransaction) ProtoMessage

func (*MsgSubmitWithdrawTransaction) ProtoMessage()

func (*MsgSubmitWithdrawTransaction) Reset

func (m *MsgSubmitWithdrawTransaction) Reset()

func (*MsgSubmitWithdrawTransaction) Size

func (m *MsgSubmitWithdrawTransaction) Size() (n int)

func (*MsgSubmitWithdrawTransaction) String

func (*MsgSubmitWithdrawTransaction) Unmarshal

func (m *MsgSubmitWithdrawTransaction) Unmarshal(dAtA []byte) error

func (*MsgSubmitWithdrawTransaction) ValidateBasic

func (msg *MsgSubmitWithdrawTransaction) ValidateBasic() error

func (*MsgSubmitWithdrawTransaction) XXX_DiscardUnknown

func (m *MsgSubmitWithdrawTransaction) XXX_DiscardUnknown()

func (*MsgSubmitWithdrawTransaction) XXX_Marshal

func (m *MsgSubmitWithdrawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitWithdrawTransaction) XXX_Merge

func (m *MsgSubmitWithdrawTransaction) XXX_Merge(src proto.Message)

func (*MsgSubmitWithdrawTransaction) XXX_Size

func (m *MsgSubmitWithdrawTransaction) XXX_Size() int

func (*MsgSubmitWithdrawTransaction) XXX_Unmarshal

func (m *MsgSubmitWithdrawTransaction) XXX_Unmarshal(b []byte) error

type MsgSubmitWithdrawTransactionResponse

type MsgSubmitWithdrawTransactionResponse struct {
}

MsgSubmitWithdrawTransactionResponse defines the Msg/SubmitWithdrawTransaction response type.

func (*MsgSubmitWithdrawTransactionResponse) Descriptor

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

func (*MsgSubmitWithdrawTransactionResponse) Marshal

func (m *MsgSubmitWithdrawTransactionResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitWithdrawTransactionResponse) MarshalTo

func (m *MsgSubmitWithdrawTransactionResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitWithdrawTransactionResponse) MarshalToSizedBuffer

func (m *MsgSubmitWithdrawTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitWithdrawTransactionResponse) ProtoMessage

func (*MsgSubmitWithdrawTransactionResponse) ProtoMessage()

func (*MsgSubmitWithdrawTransactionResponse) Reset

func (*MsgSubmitWithdrawTransactionResponse) Size

func (*MsgSubmitWithdrawTransactionResponse) String

func (*MsgSubmitWithdrawTransactionResponse) Unmarshal

func (m *MsgSubmitWithdrawTransactionResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitWithdrawTransactionResponse) XXX_DiscardUnknown

func (m *MsgSubmitWithdrawTransactionResponse) XXX_DiscardUnknown()

func (*MsgSubmitWithdrawTransactionResponse) XXX_Marshal

func (m *MsgSubmitWithdrawTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitWithdrawTransactionResponse) XXX_Merge

func (*MsgSubmitWithdrawTransactionResponse) XXX_Size

func (*MsgSubmitWithdrawTransactionResponse) XXX_Unmarshal

func (m *MsgSubmitWithdrawTransactionResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgTransferVault is the Msg/TransferVault request type.

func (*MsgTransferVault) Descriptor

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

func (*MsgTransferVault) GetAssetType

func (m *MsgTransferVault) GetAssetType() AssetType

func (*MsgTransferVault) GetAuthority

func (m *MsgTransferVault) GetAuthority() string

func (*MsgTransferVault) GetDestVersion

func (m *MsgTransferVault) GetDestVersion() uint64

func (*MsgTransferVault) GetPsbts

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

func (*MsgTransferVault) GetSourceVersion

func (m *MsgTransferVault) GetSourceVersion() uint64

func (*MsgTransferVault) GetTargetUtxoNum

func (m *MsgTransferVault) GetTargetUtxoNum() uint32

func (*MsgTransferVault) Marshal

func (m *MsgTransferVault) Marshal() (dAtA []byte, err error)

func (*MsgTransferVault) MarshalTo

func (m *MsgTransferVault) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferVault) MarshalToSizedBuffer

func (m *MsgTransferVault) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferVault) ProtoMessage

func (*MsgTransferVault) ProtoMessage()

func (*MsgTransferVault) Reset

func (m *MsgTransferVault) Reset()

func (*MsgTransferVault) Size

func (m *MsgTransferVault) Size() (n int)

func (*MsgTransferVault) String

func (m *MsgTransferVault) String() string

func (*MsgTransferVault) Unmarshal

func (m *MsgTransferVault) Unmarshal(dAtA []byte) error

func (*MsgTransferVault) ValidateBasic

func (m *MsgTransferVault) ValidateBasic() error

ValidateBasic performs basic MsgTransferVault message validation.

func (*MsgTransferVault) XXX_DiscardUnknown

func (m *MsgTransferVault) XXX_DiscardUnknown()

func (*MsgTransferVault) XXX_Marshal

func (m *MsgTransferVault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferVault) XXX_Merge

func (m *MsgTransferVault) XXX_Merge(src proto.Message)

func (*MsgTransferVault) XXX_Size

func (m *MsgTransferVault) XXX_Size() int

func (*MsgTransferVault) XXX_Unmarshal

func (m *MsgTransferVault) XXX_Unmarshal(b []byte) error

type MsgTransferVaultResponse

type MsgTransferVaultResponse struct {
}

MsgTransferVaultResponse defines the Msg/TransferVault response type.

func (*MsgTransferVaultResponse) Descriptor

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

func (*MsgTransferVaultResponse) Marshal

func (m *MsgTransferVaultResponse) Marshal() (dAtA []byte, err error)

func (*MsgTransferVaultResponse) MarshalTo

func (m *MsgTransferVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferVaultResponse) MarshalToSizedBuffer

func (m *MsgTransferVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferVaultResponse) ProtoMessage

func (*MsgTransferVaultResponse) ProtoMessage()

func (*MsgTransferVaultResponse) Reset

func (m *MsgTransferVaultResponse) Reset()

func (*MsgTransferVaultResponse) Size

func (m *MsgTransferVaultResponse) Size() (n int)

func (*MsgTransferVaultResponse) String

func (m *MsgTransferVaultResponse) String() string

func (*MsgTransferVaultResponse) Unmarshal

func (m *MsgTransferVaultResponse) Unmarshal(dAtA []byte) error

func (*MsgTransferVaultResponse) XXX_DiscardUnknown

func (m *MsgTransferVaultResponse) XXX_DiscardUnknown()

func (*MsgTransferVaultResponse) XXX_Marshal

func (m *MsgTransferVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferVaultResponse) XXX_Merge

func (m *MsgTransferVaultResponse) XXX_Merge(src proto.Message)

func (*MsgTransferVaultResponse) XXX_Size

func (m *MsgTransferVaultResponse) XXX_Size() int

func (*MsgTransferVaultResponse) XXX_Unmarshal

func (m *MsgTransferVaultResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic performs basic MsgUpdateParams message validation.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the Msg/UpdateParams response type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateTrustedFeeProviders

type MsgUpdateTrustedFeeProviders struct {
	Sender       string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	FeeProviders []string `protobuf:"bytes,2,rep,name=FeeProviders,proto3" json:"FeeProviders,omitempty"`
}

MsgUpdateTrustedFeeProviders defines the Msg/UpdateTrustedFeeProviders request type.

func NewMsgUpdateTrustedFeeProviders

func NewMsgUpdateTrustedFeeProviders(
	sender string,
	feeProviders []string,
) *MsgUpdateTrustedFeeProviders

func (*MsgUpdateTrustedFeeProviders) Descriptor

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

func (*MsgUpdateTrustedFeeProviders) GetFeeProviders

func (m *MsgUpdateTrustedFeeProviders) GetFeeProviders() []string

func (*MsgUpdateTrustedFeeProviders) GetSender

func (m *MsgUpdateTrustedFeeProviders) GetSender() string

func (*MsgUpdateTrustedFeeProviders) Marshal

func (m *MsgUpdateTrustedFeeProviders) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTrustedFeeProviders) MarshalTo

func (m *MsgUpdateTrustedFeeProviders) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTrustedFeeProviders) MarshalToSizedBuffer

func (m *MsgUpdateTrustedFeeProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTrustedFeeProviders) ProtoMessage

func (*MsgUpdateTrustedFeeProviders) ProtoMessage()

func (*MsgUpdateTrustedFeeProviders) Reset

func (m *MsgUpdateTrustedFeeProviders) Reset()

func (*MsgUpdateTrustedFeeProviders) Size

func (m *MsgUpdateTrustedFeeProviders) Size() (n int)

func (*MsgUpdateTrustedFeeProviders) String

func (*MsgUpdateTrustedFeeProviders) Unmarshal

func (m *MsgUpdateTrustedFeeProviders) Unmarshal(dAtA []byte) error

func (*MsgUpdateTrustedFeeProviders) ValidateBasic

func (msg *MsgUpdateTrustedFeeProviders) ValidateBasic() error

func (*MsgUpdateTrustedFeeProviders) XXX_DiscardUnknown

func (m *MsgUpdateTrustedFeeProviders) XXX_DiscardUnknown()

func (*MsgUpdateTrustedFeeProviders) XXX_Marshal

func (m *MsgUpdateTrustedFeeProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTrustedFeeProviders) XXX_Merge

func (m *MsgUpdateTrustedFeeProviders) XXX_Merge(src proto.Message)

func (*MsgUpdateTrustedFeeProviders) XXX_Size

func (m *MsgUpdateTrustedFeeProviders) XXX_Size() int

func (*MsgUpdateTrustedFeeProviders) XXX_Unmarshal

func (m *MsgUpdateTrustedFeeProviders) XXX_Unmarshal(b []byte) error

type MsgUpdateTrustedFeeProvidersResponse

type MsgUpdateTrustedFeeProvidersResponse struct {
}

MsgUpdateTrustedFeeProvidersResponse defines the Msg/UpdateTrustedFeeProviders response type.

func (*MsgUpdateTrustedFeeProvidersResponse) Descriptor

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

func (*MsgUpdateTrustedFeeProvidersResponse) Marshal

func (m *MsgUpdateTrustedFeeProvidersResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTrustedFeeProvidersResponse) MarshalTo

func (m *MsgUpdateTrustedFeeProvidersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTrustedFeeProvidersResponse) MarshalToSizedBuffer

func (m *MsgUpdateTrustedFeeProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTrustedFeeProvidersResponse) ProtoMessage

func (*MsgUpdateTrustedFeeProvidersResponse) ProtoMessage()

func (*MsgUpdateTrustedFeeProvidersResponse) Reset

func (*MsgUpdateTrustedFeeProvidersResponse) Size

func (*MsgUpdateTrustedFeeProvidersResponse) String

func (*MsgUpdateTrustedFeeProvidersResponse) Unmarshal

func (m *MsgUpdateTrustedFeeProvidersResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateTrustedFeeProvidersResponse) XXX_DiscardUnknown

func (m *MsgUpdateTrustedFeeProvidersResponse) XXX_DiscardUnknown()

func (*MsgUpdateTrustedFeeProvidersResponse) XXX_Marshal

func (m *MsgUpdateTrustedFeeProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTrustedFeeProvidersResponse) XXX_Merge

func (*MsgUpdateTrustedFeeProvidersResponse) XXX_Size

func (*MsgUpdateTrustedFeeProvidersResponse) XXX_Unmarshal

func (m *MsgUpdateTrustedFeeProvidersResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgUpdateTrustedNonBtcRelayers defines the Msg/UpdateTrustedNonBtcRelayers request type.

func NewMsgUpdateTrustedNonBtcRelayers

func NewMsgUpdateTrustedNonBtcRelayers(
	sender string,
	relayers []string,
) *MsgUpdateTrustedNonBtcRelayers

func (*MsgUpdateTrustedNonBtcRelayers) Descriptor

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

func (*MsgUpdateTrustedNonBtcRelayers) GetRelayers

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

func (*MsgUpdateTrustedNonBtcRelayers) GetSender

func (m *MsgUpdateTrustedNonBtcRelayers) GetSender() string

func (*MsgUpdateTrustedNonBtcRelayers) Marshal

func (m *MsgUpdateTrustedNonBtcRelayers) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTrustedNonBtcRelayers) MarshalTo

func (m *MsgUpdateTrustedNonBtcRelayers) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTrustedNonBtcRelayers) MarshalToSizedBuffer

func (m *MsgUpdateTrustedNonBtcRelayers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTrustedNonBtcRelayers) ProtoMessage

func (*MsgUpdateTrustedNonBtcRelayers) ProtoMessage()

func (*MsgUpdateTrustedNonBtcRelayers) Reset

func (m *MsgUpdateTrustedNonBtcRelayers) Reset()

func (*MsgUpdateTrustedNonBtcRelayers) Size

func (m *MsgUpdateTrustedNonBtcRelayers) Size() (n int)

func (*MsgUpdateTrustedNonBtcRelayers) String

func (*MsgUpdateTrustedNonBtcRelayers) Unmarshal

func (m *MsgUpdateTrustedNonBtcRelayers) Unmarshal(dAtA []byte) error

func (*MsgUpdateTrustedNonBtcRelayers) ValidateBasic

func (msg *MsgUpdateTrustedNonBtcRelayers) ValidateBasic() error

func (*MsgUpdateTrustedNonBtcRelayers) XXX_DiscardUnknown

func (m *MsgUpdateTrustedNonBtcRelayers) XXX_DiscardUnknown()

func (*MsgUpdateTrustedNonBtcRelayers) XXX_Marshal

func (m *MsgUpdateTrustedNonBtcRelayers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTrustedNonBtcRelayers) XXX_Merge

func (m *MsgUpdateTrustedNonBtcRelayers) XXX_Merge(src proto.Message)

func (*MsgUpdateTrustedNonBtcRelayers) XXX_Size

func (m *MsgUpdateTrustedNonBtcRelayers) XXX_Size() int

func (*MsgUpdateTrustedNonBtcRelayers) XXX_Unmarshal

func (m *MsgUpdateTrustedNonBtcRelayers) XXX_Unmarshal(b []byte) error

type MsgUpdateTrustedNonBtcRelayersResponse

type MsgUpdateTrustedNonBtcRelayersResponse struct {
}

MsgUpdateTrustedNonBtcRelayersResponse defines the Msg/UpdateTrustedNonBtcRelayers response type.

func (*MsgUpdateTrustedNonBtcRelayersResponse) Descriptor

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

func (*MsgUpdateTrustedNonBtcRelayersResponse) Marshal

func (m *MsgUpdateTrustedNonBtcRelayersResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTrustedNonBtcRelayersResponse) MarshalTo

func (m *MsgUpdateTrustedNonBtcRelayersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTrustedNonBtcRelayersResponse) MarshalToSizedBuffer

func (m *MsgUpdateTrustedNonBtcRelayersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTrustedNonBtcRelayersResponse) ProtoMessage

func (*MsgUpdateTrustedNonBtcRelayersResponse) Reset

func (*MsgUpdateTrustedNonBtcRelayersResponse) Size

func (*MsgUpdateTrustedNonBtcRelayersResponse) String

func (*MsgUpdateTrustedNonBtcRelayersResponse) Unmarshal

func (m *MsgUpdateTrustedNonBtcRelayersResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateTrustedNonBtcRelayersResponse) XXX_DiscardUnknown

func (m *MsgUpdateTrustedNonBtcRelayersResponse) XXX_DiscardUnknown()

func (*MsgUpdateTrustedNonBtcRelayersResponse) XXX_Marshal

func (m *MsgUpdateTrustedNonBtcRelayersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTrustedNonBtcRelayersResponse) XXX_Merge

func (*MsgUpdateTrustedNonBtcRelayersResponse) XXX_Size

func (*MsgUpdateTrustedNonBtcRelayersResponse) XXX_Unmarshal

func (m *MsgUpdateTrustedNonBtcRelayersResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgWithdrawToBitcoin defines the Msg/WithdrawToBitcoin request type.

func NewMsgWithdrawToBitcoin

func NewMsgWithdrawToBitcoin(
	sender string,
	amount string,
) *MsgWithdrawToBitcoin

func (*MsgWithdrawToBitcoin) Descriptor

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

func (*MsgWithdrawToBitcoin) GetAmount

func (m *MsgWithdrawToBitcoin) GetAmount() string

func (*MsgWithdrawToBitcoin) GetSender

func (m *MsgWithdrawToBitcoin) GetSender() string

func (*MsgWithdrawToBitcoin) Marshal

func (m *MsgWithdrawToBitcoin) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawToBitcoin) MarshalTo

func (m *MsgWithdrawToBitcoin) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawToBitcoin) MarshalToSizedBuffer

func (m *MsgWithdrawToBitcoin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawToBitcoin) ProtoMessage

func (*MsgWithdrawToBitcoin) ProtoMessage()

func (*MsgWithdrawToBitcoin) Reset

func (m *MsgWithdrawToBitcoin) Reset()

func (*MsgWithdrawToBitcoin) Size

func (m *MsgWithdrawToBitcoin) Size() (n int)

func (*MsgWithdrawToBitcoin) String

func (m *MsgWithdrawToBitcoin) String() string

func (*MsgWithdrawToBitcoin) Unmarshal

func (m *MsgWithdrawToBitcoin) Unmarshal(dAtA []byte) error

func (*MsgWithdrawToBitcoin) ValidateBasic

func (msg *MsgWithdrawToBitcoin) ValidateBasic() error

func (*MsgWithdrawToBitcoin) XXX_DiscardUnknown

func (m *MsgWithdrawToBitcoin) XXX_DiscardUnknown()

func (*MsgWithdrawToBitcoin) XXX_Marshal

func (m *MsgWithdrawToBitcoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawToBitcoin) XXX_Merge

func (m *MsgWithdrawToBitcoin) XXX_Merge(src proto.Message)

func (*MsgWithdrawToBitcoin) XXX_Size

func (m *MsgWithdrawToBitcoin) XXX_Size() int

func (*MsgWithdrawToBitcoin) XXX_Unmarshal

func (m *MsgWithdrawToBitcoin) XXX_Unmarshal(b []byte) error

type MsgWithdrawToBitcoinResponse

type MsgWithdrawToBitcoinResponse struct {
}

MsgWithdrawToBitcoinResponse defines the Msg/WithdrawToBitcoin response type.

func (*MsgWithdrawToBitcoinResponse) Descriptor

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

func (*MsgWithdrawToBitcoinResponse) Marshal

func (m *MsgWithdrawToBitcoinResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawToBitcoinResponse) MarshalTo

func (m *MsgWithdrawToBitcoinResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawToBitcoinResponse) MarshalToSizedBuffer

func (m *MsgWithdrawToBitcoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawToBitcoinResponse) ProtoMessage

func (*MsgWithdrawToBitcoinResponse) ProtoMessage()

func (*MsgWithdrawToBitcoinResponse) Reset

func (m *MsgWithdrawToBitcoinResponse) Reset()

func (*MsgWithdrawToBitcoinResponse) Size

func (m *MsgWithdrawToBitcoinResponse) Size() (n int)

func (*MsgWithdrawToBitcoinResponse) String

func (*MsgWithdrawToBitcoinResponse) Unmarshal

func (m *MsgWithdrawToBitcoinResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawToBitcoinResponse) XXX_DiscardUnknown

func (m *MsgWithdrawToBitcoinResponse) XXX_DiscardUnknown()

func (*MsgWithdrawToBitcoinResponse) XXX_Marshal

func (m *MsgWithdrawToBitcoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawToBitcoinResponse) XXX_Merge

func (m *MsgWithdrawToBitcoinResponse) XXX_Merge(src proto.Message)

func (*MsgWithdrawToBitcoinResponse) XXX_Size

func (m *MsgWithdrawToBitcoinResponse) XXX_Size() int

func (*MsgWithdrawToBitcoinResponse) XXX_Unmarshal

func (m *MsgWithdrawToBitcoinResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// The minimum number of confirmations required for the deposit transactions
	DepositConfirmationDepth int32 `` /* 136-byte string literal not displayed */
	// The minimum number of confirmations required for the withdrawal transactions
	WithdrawConfirmationDepth int32 `` /* 139-byte string literal not displayed */
	// The allowed maximum depth for bitcoin block reorganization
	MaxReorgDepth int32 `protobuf:"varint,3,opt,name=max_reorg_depth,json=maxReorgDepth,proto3" json:"max_reorg_depth,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,5,opt,name=btc_voucher_denom,json=btcVoucherDenom,proto3" json:"btc_voucher_denom,omitempty"`
	// Indicates if deposit is enabled
	DepositEnabled bool `protobuf:"varint,6,opt,name=deposit_enabled,json=depositEnabled,proto3" json:"deposit_enabled,omitempty"`
	// Indicates if withdrawal is enabled
	WithdrawEnabled bool `protobuf:"varint,7,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
	// Trusted relayers to submit bitcoin block headers
	TrustedBtcRelayers []string `protobuf:"bytes,8,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 fee providers to submit bitcoin fee rate
	TrustedFeeProviders []string `protobuf:"bytes,10,rep,name=trusted_fee_providers,json=trustedFeeProviders,proto3" json:"trusted_fee_providers,omitempty"`
	// Period of validity for the fee rate
	FeeRateValidityPeriod int64 `` /* 130-byte string literal not displayed */
	// Asset vaults
	Vaults []*Vault `protobuf:"bytes,12,rep,name=vaults,proto3" json:"vaults,omitempty"`
	// Withdrawal params
	WithdrawParams WithdrawParams `protobuf:"bytes,13,opt,name=withdraw_params,json=withdrawParams,proto3" json:"withdraw_params"`
	// Protocol limitations
	ProtocolLimits ProtocolLimits `protobuf:"bytes,14,opt,name=protocol_limits,json=protocolLimits,proto3" json:"protocol_limits"`
	// Protocol fees
	ProtocolFees ProtocolFees `protobuf:"bytes,15,opt,name=protocol_fees,json=protocolFees,proto3" json:"protocol_fees"`
	// TSS params
	TssParams TSSParams `protobuf:"bytes,16,opt,name=tss_params,json=tssParams,proto3" json:"tss_params"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetBtcVoucherDenom

func (m *Params) GetBtcVoucherDenom() string

func (*Params) GetDepositConfirmationDepth

func (m *Params) GetDepositConfirmationDepth() int32

func (*Params) GetDepositEnabled

func (m *Params) GetDepositEnabled() bool

func (*Params) GetFeeRateValidityPeriod

func (m *Params) GetFeeRateValidityPeriod() int64

func (*Params) GetMaxAcceptableBlockDepth

func (m *Params) GetMaxAcceptableBlockDepth() uint64

func (*Params) GetMaxReorgDepth

func (m *Params) GetMaxReorgDepth() int32

func (*Params) GetProtocolFees

func (m *Params) GetProtocolFees() ProtocolFees

func (*Params) GetProtocolLimits

func (m *Params) GetProtocolLimits() ProtocolLimits

func (*Params) GetTrustedBtcRelayers

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

func (*Params) GetTrustedFeeProviders

func (m *Params) GetTrustedFeeProviders() []string

func (*Params) GetTrustedNonBtcRelayers

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

func (*Params) GetTssParams

func (m *Params) GetTssParams() TSSParams

func (*Params) GetVaults

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

func (*Params) GetWithdrawConfirmationDepth

func (m *Params) GetWithdrawConfirmationDepth() int32

func (*Params) GetWithdrawEnabled

func (m *Params) GetWithdrawEnabled() bool

func (*Params) GetWithdrawParams

func (m *Params) GetWithdrawParams() WithdrawParams

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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"`
}

ProtocolFees defines the params related to the protocol fees

func (*ProtocolFees) Descriptor

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

func (*ProtocolFees) GetCollector

func (m *ProtocolFees) GetCollector() string

func (*ProtocolFees) GetDepositFee

func (m *ProtocolFees) GetDepositFee() int64

func (*ProtocolFees) GetWithdrawFee

func (m *ProtocolFees) GetWithdrawFee() int64

func (*ProtocolFees) Marshal

func (m *ProtocolFees) Marshal() (dAtA []byte, err error)

func (*ProtocolFees) MarshalTo

func (m *ProtocolFees) MarshalTo(dAtA []byte) (int, error)

func (*ProtocolFees) MarshalToSizedBuffer

func (m *ProtocolFees) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtocolFees) ProtoMessage

func (*ProtocolFees) ProtoMessage()

func (*ProtocolFees) Reset

func (m *ProtocolFees) Reset()

func (*ProtocolFees) Size

func (m *ProtocolFees) Size() (n int)

func (*ProtocolFees) String

func (m *ProtocolFees) String() string

func (*ProtocolFees) Unmarshal

func (m *ProtocolFees) Unmarshal(dAtA []byte) error

func (*ProtocolFees) XXX_DiscardUnknown

func (m *ProtocolFees) XXX_DiscardUnknown()

func (*ProtocolFees) XXX_Marshal

func (m *ProtocolFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtocolFees) XXX_Merge

func (m *ProtocolFees) XXX_Merge(src proto.Message)

func (*ProtocolFees) XXX_Size

func (m *ProtocolFees) XXX_Size() int

func (*ProtocolFees) XXX_Unmarshal

func (m *ProtocolFees) XXX_Unmarshal(b []byte) error

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"`
}

ProtocolLimits defines the params related to the the protocol limitations

func (*ProtocolLimits) Descriptor

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

func (*ProtocolLimits) GetBtcMaxWithdraw

func (m *ProtocolLimits) GetBtcMaxWithdraw() int64

func (*ProtocolLimits) GetBtcMinDeposit

func (m *ProtocolLimits) GetBtcMinDeposit() int64

func (*ProtocolLimits) GetBtcMinWithdraw

func (m *ProtocolLimits) GetBtcMinWithdraw() int64

func (*ProtocolLimits) Marshal

func (m *ProtocolLimits) Marshal() (dAtA []byte, err error)

func (*ProtocolLimits) MarshalTo

func (m *ProtocolLimits) MarshalTo(dAtA []byte) (int, error)

func (*ProtocolLimits) MarshalToSizedBuffer

func (m *ProtocolLimits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtocolLimits) ProtoMessage

func (*ProtocolLimits) ProtoMessage()

func (*ProtocolLimits) Reset

func (m *ProtocolLimits) Reset()

func (*ProtocolLimits) Size

func (m *ProtocolLimits) Size() (n int)

func (*ProtocolLimits) String

func (m *ProtocolLimits) String() string

func (*ProtocolLimits) Unmarshal

func (m *ProtocolLimits) Unmarshal(dAtA []byte) error

func (*ProtocolLimits) XXX_DiscardUnknown

func (m *ProtocolLimits) XXX_DiscardUnknown()

func (*ProtocolLimits) XXX_Marshal

func (m *ProtocolLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtocolLimits) XXX_Merge

func (m *ProtocolLimits) XXX_Merge(src proto.Message)

func (*ProtocolLimits) XXX_Size

func (m *ProtocolLimits) XXX_Size() int

func (*ProtocolLimits) XXX_Unmarshal

func (m *ProtocolLimits) XXX_Unmarshal(b []byte) error

type QueryAllDKGRequestsRequest

type QueryAllDKGRequestsRequest struct {
}

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

func (*QueryAllDKGRequestsRequest) Descriptor

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

func (*QueryAllDKGRequestsRequest) Marshal

func (m *QueryAllDKGRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllDKGRequestsRequest) MarshalTo

func (m *QueryAllDKGRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDKGRequestsRequest) MarshalToSizedBuffer

func (m *QueryAllDKGRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDKGRequestsRequest) ProtoMessage

func (*QueryAllDKGRequestsRequest) ProtoMessage()

func (*QueryAllDKGRequestsRequest) Reset

func (m *QueryAllDKGRequestsRequest) Reset()

func (*QueryAllDKGRequestsRequest) Size

func (m *QueryAllDKGRequestsRequest) Size() (n int)

func (*QueryAllDKGRequestsRequest) String

func (m *QueryAllDKGRequestsRequest) String() string

func (*QueryAllDKGRequestsRequest) Unmarshal

func (m *QueryAllDKGRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllDKGRequestsRequest) XXX_DiscardUnknown

func (m *QueryAllDKGRequestsRequest) XXX_DiscardUnknown()

func (*QueryAllDKGRequestsRequest) XXX_Marshal

func (m *QueryAllDKGRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDKGRequestsRequest) XXX_Merge

func (m *QueryAllDKGRequestsRequest) XXX_Merge(src proto.Message)

func (*QueryAllDKGRequestsRequest) XXX_Size

func (m *QueryAllDKGRequestsRequest) XXX_Size() int

func (*QueryAllDKGRequestsRequest) XXX_Unmarshal

func (m *QueryAllDKGRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryAllDKGRequestsResponse

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

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

func (*QueryAllDKGRequestsResponse) Descriptor

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

func (*QueryAllDKGRequestsResponse) GetRequests

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

func (*QueryAllDKGRequestsResponse) Marshal

func (m *QueryAllDKGRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllDKGRequestsResponse) MarshalTo

func (m *QueryAllDKGRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDKGRequestsResponse) MarshalToSizedBuffer

func (m *QueryAllDKGRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDKGRequestsResponse) ProtoMessage

func (*QueryAllDKGRequestsResponse) ProtoMessage()

func (*QueryAllDKGRequestsResponse) Reset

func (m *QueryAllDKGRequestsResponse) Reset()

func (*QueryAllDKGRequestsResponse) Size

func (m *QueryAllDKGRequestsResponse) Size() (n int)

func (*QueryAllDKGRequestsResponse) String

func (m *QueryAllDKGRequestsResponse) String() string

func (*QueryAllDKGRequestsResponse) Unmarshal

func (m *QueryAllDKGRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllDKGRequestsResponse) XXX_DiscardUnknown

func (m *QueryAllDKGRequestsResponse) XXX_DiscardUnknown()

func (*QueryAllDKGRequestsResponse) XXX_Marshal

func (m *QueryAllDKGRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDKGRequestsResponse) XXX_Merge

func (m *QueryAllDKGRequestsResponse) XXX_Merge(src proto.Message)

func (*QueryAllDKGRequestsResponse) XXX_Size

func (m *QueryAllDKGRequestsResponse) XXX_Size() int

func (*QueryAllDKGRequestsResponse) XXX_Unmarshal

func (m *QueryAllDKGRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryBlockHeaderByHashRequest

type QueryBlockHeaderByHashRequest struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}

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

func (*QueryBlockHeaderByHashRequest) Descriptor

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

func (*QueryBlockHeaderByHashRequest) GetHash

func (*QueryBlockHeaderByHashRequest) Marshal

func (m *QueryBlockHeaderByHashRequest) Marshal() (dAtA []byte, err error)

func (*QueryBlockHeaderByHashRequest) MarshalTo

func (m *QueryBlockHeaderByHashRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHashRequest) MarshalToSizedBuffer

func (m *QueryBlockHeaderByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHashRequest) ProtoMessage

func (*QueryBlockHeaderByHashRequest) ProtoMessage()

func (*QueryBlockHeaderByHashRequest) Reset

func (m *QueryBlockHeaderByHashRequest) Reset()

func (*QueryBlockHeaderByHashRequest) Size

func (m *QueryBlockHeaderByHashRequest) Size() (n int)

func (*QueryBlockHeaderByHashRequest) String

func (*QueryBlockHeaderByHashRequest) Unmarshal

func (m *QueryBlockHeaderByHashRequest) Unmarshal(dAtA []byte) error

func (*QueryBlockHeaderByHashRequest) XXX_DiscardUnknown

func (m *QueryBlockHeaderByHashRequest) XXX_DiscardUnknown()

func (*QueryBlockHeaderByHashRequest) XXX_Marshal

func (m *QueryBlockHeaderByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBlockHeaderByHashRequest) XXX_Merge

func (m *QueryBlockHeaderByHashRequest) XXX_Merge(src proto.Message)

func (*QueryBlockHeaderByHashRequest) XXX_Size

func (m *QueryBlockHeaderByHashRequest) XXX_Size() int

func (*QueryBlockHeaderByHashRequest) XXX_Unmarshal

func (m *QueryBlockHeaderByHashRequest) XXX_Unmarshal(b []byte) error

type QueryBlockHeaderByHashResponse

type QueryBlockHeaderByHashResponse struct {
	BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
}

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

func (*QueryBlockHeaderByHashResponse) Descriptor

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

func (*QueryBlockHeaderByHashResponse) GetBlockHeader

func (m *QueryBlockHeaderByHashResponse) GetBlockHeader() *BlockHeader

func (*QueryBlockHeaderByHashResponse) Marshal

func (m *QueryBlockHeaderByHashResponse) Marshal() (dAtA []byte, err error)

func (*QueryBlockHeaderByHashResponse) MarshalTo

func (m *QueryBlockHeaderByHashResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHashResponse) MarshalToSizedBuffer

func (m *QueryBlockHeaderByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHashResponse) ProtoMessage

func (*QueryBlockHeaderByHashResponse) ProtoMessage()

func (*QueryBlockHeaderByHashResponse) Reset

func (m *QueryBlockHeaderByHashResponse) Reset()

func (*QueryBlockHeaderByHashResponse) Size

func (m *QueryBlockHeaderByHashResponse) Size() (n int)

func (*QueryBlockHeaderByHashResponse) String

func (*QueryBlockHeaderByHashResponse) Unmarshal

func (m *QueryBlockHeaderByHashResponse) Unmarshal(dAtA []byte) error

func (*QueryBlockHeaderByHashResponse) XXX_DiscardUnknown

func (m *QueryBlockHeaderByHashResponse) XXX_DiscardUnknown()

func (*QueryBlockHeaderByHashResponse) XXX_Marshal

func (m *QueryBlockHeaderByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBlockHeaderByHashResponse) XXX_Merge

func (m *QueryBlockHeaderByHashResponse) XXX_Merge(src proto.Message)

func (*QueryBlockHeaderByHashResponse) XXX_Size

func (m *QueryBlockHeaderByHashResponse) XXX_Size() int

func (*QueryBlockHeaderByHashResponse) XXX_Unmarshal

func (m *QueryBlockHeaderByHashResponse) XXX_Unmarshal(b []byte) error

type QueryBlockHeaderByHeightRequest

type QueryBlockHeaderByHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

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

func (*QueryBlockHeaderByHeightRequest) Descriptor

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

func (*QueryBlockHeaderByHeightRequest) GetHeight

func (m *QueryBlockHeaderByHeightRequest) GetHeight() uint64

func (*QueryBlockHeaderByHeightRequest) Marshal

func (m *QueryBlockHeaderByHeightRequest) Marshal() (dAtA []byte, err error)

func (*QueryBlockHeaderByHeightRequest) MarshalTo

func (m *QueryBlockHeaderByHeightRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHeightRequest) MarshalToSizedBuffer

func (m *QueryBlockHeaderByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHeightRequest) ProtoMessage

func (*QueryBlockHeaderByHeightRequest) ProtoMessage()

func (*QueryBlockHeaderByHeightRequest) Reset

func (*QueryBlockHeaderByHeightRequest) Size

func (m *QueryBlockHeaderByHeightRequest) Size() (n int)

func (*QueryBlockHeaderByHeightRequest) String

func (*QueryBlockHeaderByHeightRequest) Unmarshal

func (m *QueryBlockHeaderByHeightRequest) Unmarshal(dAtA []byte) error

func (*QueryBlockHeaderByHeightRequest) XXX_DiscardUnknown

func (m *QueryBlockHeaderByHeightRequest) XXX_DiscardUnknown()

func (*QueryBlockHeaderByHeightRequest) XXX_Marshal

func (m *QueryBlockHeaderByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBlockHeaderByHeightRequest) XXX_Merge

func (m *QueryBlockHeaderByHeightRequest) XXX_Merge(src proto.Message)

func (*QueryBlockHeaderByHeightRequest) XXX_Size

func (m *QueryBlockHeaderByHeightRequest) XXX_Size() int

func (*QueryBlockHeaderByHeightRequest) XXX_Unmarshal

func (m *QueryBlockHeaderByHeightRequest) XXX_Unmarshal(b []byte) error

type QueryBlockHeaderByHeightResponse

type QueryBlockHeaderByHeightResponse struct {
	BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
}

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

func (*QueryBlockHeaderByHeightResponse) Descriptor

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

func (*QueryBlockHeaderByHeightResponse) GetBlockHeader

func (m *QueryBlockHeaderByHeightResponse) GetBlockHeader() *BlockHeader

func (*QueryBlockHeaderByHeightResponse) Marshal

func (m *QueryBlockHeaderByHeightResponse) Marshal() (dAtA []byte, err error)

func (*QueryBlockHeaderByHeightResponse) MarshalTo

func (m *QueryBlockHeaderByHeightResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHeightResponse) MarshalToSizedBuffer

func (m *QueryBlockHeaderByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBlockHeaderByHeightResponse) ProtoMessage

func (*QueryBlockHeaderByHeightResponse) ProtoMessage()

func (*QueryBlockHeaderByHeightResponse) Reset

func (*QueryBlockHeaderByHeightResponse) Size

func (m *QueryBlockHeaderByHeightResponse) Size() (n int)

func (*QueryBlockHeaderByHeightResponse) String

func (*QueryBlockHeaderByHeightResponse) Unmarshal

func (m *QueryBlockHeaderByHeightResponse) Unmarshal(dAtA []byte) error

func (*QueryBlockHeaderByHeightResponse) XXX_DiscardUnknown

func (m *QueryBlockHeaderByHeightResponse) XXX_DiscardUnknown()

func (*QueryBlockHeaderByHeightResponse) XXX_Marshal

func (m *QueryBlockHeaderByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBlockHeaderByHeightResponse) XXX_Merge

func (*QueryBlockHeaderByHeightResponse) XXX_Size

func (m *QueryBlockHeaderByHeightResponse) XXX_Size() int

func (*QueryBlockHeaderByHeightResponse) XXX_Unmarshal

func (m *QueryBlockHeaderByHeightResponse) XXX_Unmarshal(b []byte) error

type QueryChainTipRequest

type QueryChainTipRequest struct {
}

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

func (*QueryChainTipRequest) Descriptor

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

func (*QueryChainTipRequest) Marshal

func (m *QueryChainTipRequest) Marshal() (dAtA []byte, err error)

func (*QueryChainTipRequest) MarshalTo

func (m *QueryChainTipRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChainTipRequest) MarshalToSizedBuffer

func (m *QueryChainTipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChainTipRequest) ProtoMessage

func (*QueryChainTipRequest) ProtoMessage()

func (*QueryChainTipRequest) Reset

func (m *QueryChainTipRequest) Reset()

func (*QueryChainTipRequest) Size

func (m *QueryChainTipRequest) Size() (n int)

func (*QueryChainTipRequest) String

func (m *QueryChainTipRequest) String() string

func (*QueryChainTipRequest) Unmarshal

func (m *QueryChainTipRequest) Unmarshal(dAtA []byte) error

func (*QueryChainTipRequest) XXX_DiscardUnknown

func (m *QueryChainTipRequest) XXX_DiscardUnknown()

func (*QueryChainTipRequest) XXX_Marshal

func (m *QueryChainTipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChainTipRequest) XXX_Merge

func (m *QueryChainTipRequest) XXX_Merge(src proto.Message)

func (*QueryChainTipRequest) XXX_Size

func (m *QueryChainTipRequest) XXX_Size() int

func (*QueryChainTipRequest) XXX_Unmarshal

func (m *QueryChainTipRequest) XXX_Unmarshal(b []byte) error

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"`
}

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

func (*QueryChainTipResponse) Descriptor

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

func (*QueryChainTipResponse) GetHash

func (m *QueryChainTipResponse) GetHash() string

func (*QueryChainTipResponse) GetHeight

func (m *QueryChainTipResponse) GetHeight() uint64

func (*QueryChainTipResponse) Marshal

func (m *QueryChainTipResponse) Marshal() (dAtA []byte, err error)

func (*QueryChainTipResponse) MarshalTo

func (m *QueryChainTipResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChainTipResponse) MarshalToSizedBuffer

func (m *QueryChainTipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChainTipResponse) ProtoMessage

func (*QueryChainTipResponse) ProtoMessage()

func (*QueryChainTipResponse) Reset

func (m *QueryChainTipResponse) Reset()

func (*QueryChainTipResponse) Size

func (m *QueryChainTipResponse) Size() (n int)

func (*QueryChainTipResponse) String

func (m *QueryChainTipResponse) String() string

func (*QueryChainTipResponse) Unmarshal

func (m *QueryChainTipResponse) Unmarshal(dAtA []byte) error

func (*QueryChainTipResponse) XXX_DiscardUnknown

func (m *QueryChainTipResponse) XXX_DiscardUnknown()

func (*QueryChainTipResponse) XXX_Marshal

func (m *QueryChainTipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChainTipResponse) XXX_Merge

func (m *QueryChainTipResponse) XXX_Merge(src proto.Message)

func (*QueryChainTipResponse) XXX_Size

func (m *QueryChainTipResponse) XXX_Size() int

func (*QueryChainTipResponse) XXX_Unmarshal

func (m *QueryChainTipResponse) XXX_Unmarshal(b []byte) error

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)
	// QuerySigningRequest queries the signing requests by sequence.
	QuerySigningRequest(ctx context.Context, in *QuerySigningRequestRequest, opts ...grpc.CallOption) (*QuerySigningRequestResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDKGCompletionRequestsRequest

type QueryDKGCompletionRequestsRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

func (*QueryDKGCompletionRequestsRequest) Descriptor

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

func (*QueryDKGCompletionRequestsRequest) GetId

func (*QueryDKGCompletionRequestsRequest) Marshal

func (m *QueryDKGCompletionRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDKGCompletionRequestsRequest) MarshalTo

func (m *QueryDKGCompletionRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGCompletionRequestsRequest) MarshalToSizedBuffer

func (m *QueryDKGCompletionRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGCompletionRequestsRequest) ProtoMessage

func (*QueryDKGCompletionRequestsRequest) ProtoMessage()

func (*QueryDKGCompletionRequestsRequest) Reset

func (*QueryDKGCompletionRequestsRequest) Size

func (m *QueryDKGCompletionRequestsRequest) Size() (n int)

func (*QueryDKGCompletionRequestsRequest) String

func (*QueryDKGCompletionRequestsRequest) Unmarshal

func (m *QueryDKGCompletionRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryDKGCompletionRequestsRequest) XXX_DiscardUnknown

func (m *QueryDKGCompletionRequestsRequest) XXX_DiscardUnknown()

func (*QueryDKGCompletionRequestsRequest) XXX_Marshal

func (m *QueryDKGCompletionRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGCompletionRequestsRequest) XXX_Merge

func (*QueryDKGCompletionRequestsRequest) XXX_Size

func (m *QueryDKGCompletionRequestsRequest) XXX_Size() int

func (*QueryDKGCompletionRequestsRequest) XXX_Unmarshal

func (m *QueryDKGCompletionRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryDKGCompletionRequestsResponse

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

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

func (*QueryDKGCompletionRequestsResponse) Descriptor

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

func (*QueryDKGCompletionRequestsResponse) GetRequests

func (*QueryDKGCompletionRequestsResponse) Marshal

func (m *QueryDKGCompletionRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDKGCompletionRequestsResponse) MarshalTo

func (m *QueryDKGCompletionRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGCompletionRequestsResponse) MarshalToSizedBuffer

func (m *QueryDKGCompletionRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGCompletionRequestsResponse) ProtoMessage

func (*QueryDKGCompletionRequestsResponse) ProtoMessage()

func (*QueryDKGCompletionRequestsResponse) Reset

func (*QueryDKGCompletionRequestsResponse) Size

func (*QueryDKGCompletionRequestsResponse) String

func (*QueryDKGCompletionRequestsResponse) Unmarshal

func (m *QueryDKGCompletionRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryDKGCompletionRequestsResponse) XXX_DiscardUnknown

func (m *QueryDKGCompletionRequestsResponse) XXX_DiscardUnknown()

func (*QueryDKGCompletionRequestsResponse) XXX_Marshal

func (m *QueryDKGCompletionRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGCompletionRequestsResponse) XXX_Merge

func (*QueryDKGCompletionRequestsResponse) XXX_Size

func (*QueryDKGCompletionRequestsResponse) XXX_Unmarshal

func (m *QueryDKGCompletionRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryDKGRequestRequest

type QueryDKGRequestRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

func (*QueryDKGRequestRequest) Descriptor

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

func (*QueryDKGRequestRequest) GetId

func (m *QueryDKGRequestRequest) GetId() uint64

func (*QueryDKGRequestRequest) Marshal

func (m *QueryDKGRequestRequest) Marshal() (dAtA []byte, err error)

func (*QueryDKGRequestRequest) MarshalTo

func (m *QueryDKGRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGRequestRequest) MarshalToSizedBuffer

func (m *QueryDKGRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGRequestRequest) ProtoMessage

func (*QueryDKGRequestRequest) ProtoMessage()

func (*QueryDKGRequestRequest) Reset

func (m *QueryDKGRequestRequest) Reset()

func (*QueryDKGRequestRequest) Size

func (m *QueryDKGRequestRequest) Size() (n int)

func (*QueryDKGRequestRequest) String

func (m *QueryDKGRequestRequest) String() string

func (*QueryDKGRequestRequest) Unmarshal

func (m *QueryDKGRequestRequest) Unmarshal(dAtA []byte) error

func (*QueryDKGRequestRequest) XXX_DiscardUnknown

func (m *QueryDKGRequestRequest) XXX_DiscardUnknown()

func (*QueryDKGRequestRequest) XXX_Marshal

func (m *QueryDKGRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGRequestRequest) XXX_Merge

func (m *QueryDKGRequestRequest) XXX_Merge(src proto.Message)

func (*QueryDKGRequestRequest) XXX_Size

func (m *QueryDKGRequestRequest) XXX_Size() int

func (*QueryDKGRequestRequest) XXX_Unmarshal

func (m *QueryDKGRequestRequest) XXX_Unmarshal(b []byte) error

type QueryDKGRequestResponse

type QueryDKGRequestResponse struct {
	Request *DKGRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
}

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

func (*QueryDKGRequestResponse) Descriptor

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

func (*QueryDKGRequestResponse) GetRequest

func (m *QueryDKGRequestResponse) GetRequest() *DKGRequest

func (*QueryDKGRequestResponse) Marshal

func (m *QueryDKGRequestResponse) Marshal() (dAtA []byte, err error)

func (*QueryDKGRequestResponse) MarshalTo

func (m *QueryDKGRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGRequestResponse) MarshalToSizedBuffer

func (m *QueryDKGRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGRequestResponse) ProtoMessage

func (*QueryDKGRequestResponse) ProtoMessage()

func (*QueryDKGRequestResponse) Reset

func (m *QueryDKGRequestResponse) Reset()

func (*QueryDKGRequestResponse) Size

func (m *QueryDKGRequestResponse) Size() (n int)

func (*QueryDKGRequestResponse) String

func (m *QueryDKGRequestResponse) String() string

func (*QueryDKGRequestResponse) Unmarshal

func (m *QueryDKGRequestResponse) Unmarshal(dAtA []byte) error

func (*QueryDKGRequestResponse) XXX_DiscardUnknown

func (m *QueryDKGRequestResponse) XXX_DiscardUnknown()

func (*QueryDKGRequestResponse) XXX_Marshal

func (m *QueryDKGRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGRequestResponse) XXX_Merge

func (m *QueryDKGRequestResponse) XXX_Merge(src proto.Message)

func (*QueryDKGRequestResponse) XXX_Size

func (m *QueryDKGRequestResponse) XXX_Size() int

func (*QueryDKGRequestResponse) XXX_Unmarshal

func (m *QueryDKGRequestResponse) XXX_Unmarshal(b []byte) error

type QueryDKGRequestsRequest

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

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

func (*QueryDKGRequestsRequest) Descriptor

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

func (*QueryDKGRequestsRequest) GetStatus

func (*QueryDKGRequestsRequest) Marshal

func (m *QueryDKGRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDKGRequestsRequest) MarshalTo

func (m *QueryDKGRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGRequestsRequest) MarshalToSizedBuffer

func (m *QueryDKGRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGRequestsRequest) ProtoMessage

func (*QueryDKGRequestsRequest) ProtoMessage()

func (*QueryDKGRequestsRequest) Reset

func (m *QueryDKGRequestsRequest) Reset()

func (*QueryDKGRequestsRequest) Size

func (m *QueryDKGRequestsRequest) Size() (n int)

func (*QueryDKGRequestsRequest) String

func (m *QueryDKGRequestsRequest) String() string

func (*QueryDKGRequestsRequest) Unmarshal

func (m *QueryDKGRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryDKGRequestsRequest) XXX_DiscardUnknown

func (m *QueryDKGRequestsRequest) XXX_DiscardUnknown()

func (*QueryDKGRequestsRequest) XXX_Marshal

func (m *QueryDKGRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGRequestsRequest) XXX_Merge

func (m *QueryDKGRequestsRequest) XXX_Merge(src proto.Message)

func (*QueryDKGRequestsRequest) XXX_Size

func (m *QueryDKGRequestsRequest) XXX_Size() int

func (*QueryDKGRequestsRequest) XXX_Unmarshal

func (m *QueryDKGRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryDKGRequestsResponse

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

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

func (*QueryDKGRequestsResponse) Descriptor

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

func (*QueryDKGRequestsResponse) GetRequests

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

func (*QueryDKGRequestsResponse) Marshal

func (m *QueryDKGRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDKGRequestsResponse) MarshalTo

func (m *QueryDKGRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDKGRequestsResponse) MarshalToSizedBuffer

func (m *QueryDKGRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDKGRequestsResponse) ProtoMessage

func (*QueryDKGRequestsResponse) ProtoMessage()

func (*QueryDKGRequestsResponse) Reset

func (m *QueryDKGRequestsResponse) Reset()

func (*QueryDKGRequestsResponse) Size

func (m *QueryDKGRequestsResponse) Size() (n int)

func (*QueryDKGRequestsResponse) String

func (m *QueryDKGRequestsResponse) String() string

func (*QueryDKGRequestsResponse) Unmarshal

func (m *QueryDKGRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryDKGRequestsResponse) XXX_DiscardUnknown

func (m *QueryDKGRequestsResponse) XXX_DiscardUnknown()

func (*QueryDKGRequestsResponse) XXX_Marshal

func (m *QueryDKGRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDKGRequestsResponse) XXX_Merge

func (m *QueryDKGRequestsResponse) XXX_Merge(src proto.Message)

func (*QueryDKGRequestsResponse) XXX_Size

func (m *QueryDKGRequestsResponse) XXX_Size() int

func (*QueryDKGRequestsResponse) XXX_Unmarshal

func (m *QueryDKGRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryFeeRateRequest

type QueryFeeRateRequest struct {
}

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

func (*QueryFeeRateRequest) Descriptor

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

func (*QueryFeeRateRequest) Marshal

func (m *QueryFeeRateRequest) Marshal() (dAtA []byte, err error)

func (*QueryFeeRateRequest) MarshalTo

func (m *QueryFeeRateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeRateRequest) MarshalToSizedBuffer

func (m *QueryFeeRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeRateRequest) ProtoMessage

func (*QueryFeeRateRequest) ProtoMessage()

func (*QueryFeeRateRequest) Reset

func (m *QueryFeeRateRequest) Reset()

func (*QueryFeeRateRequest) Size

func (m *QueryFeeRateRequest) Size() (n int)

func (*QueryFeeRateRequest) String

func (m *QueryFeeRateRequest) String() string

func (*QueryFeeRateRequest) Unmarshal

func (m *QueryFeeRateRequest) Unmarshal(dAtA []byte) error

func (*QueryFeeRateRequest) XXX_DiscardUnknown

func (m *QueryFeeRateRequest) XXX_DiscardUnknown()

func (*QueryFeeRateRequest) XXX_Marshal

func (m *QueryFeeRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeRateRequest) XXX_Merge

func (m *QueryFeeRateRequest) XXX_Merge(src proto.Message)

func (*QueryFeeRateRequest) XXX_Size

func (m *QueryFeeRateRequest) XXX_Size() int

func (*QueryFeeRateRequest) XXX_Unmarshal

func (m *QueryFeeRateRequest) XXX_Unmarshal(b []byte) error

type QueryFeeRateResponse

type QueryFeeRateResponse struct {
	FeeRate *FeeRate `protobuf:"bytes,1,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
}

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

func (*QueryFeeRateResponse) Descriptor

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

func (*QueryFeeRateResponse) GetFeeRate

func (m *QueryFeeRateResponse) GetFeeRate() *FeeRate

func (*QueryFeeRateResponse) Marshal

func (m *QueryFeeRateResponse) Marshal() (dAtA []byte, err error)

func (*QueryFeeRateResponse) MarshalTo

func (m *QueryFeeRateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeRateResponse) MarshalToSizedBuffer

func (m *QueryFeeRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeRateResponse) ProtoMessage

func (*QueryFeeRateResponse) ProtoMessage()

func (*QueryFeeRateResponse) Reset

func (m *QueryFeeRateResponse) Reset()

func (*QueryFeeRateResponse) Size

func (m *QueryFeeRateResponse) Size() (n int)

func (*QueryFeeRateResponse) String

func (m *QueryFeeRateResponse) String() string

func (*QueryFeeRateResponse) Unmarshal

func (m *QueryFeeRateResponse) Unmarshal(dAtA []byte) error

func (*QueryFeeRateResponse) XXX_DiscardUnknown

func (m *QueryFeeRateResponse) XXX_DiscardUnknown()

func (*QueryFeeRateResponse) XXX_Marshal

func (m *QueryFeeRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeRateResponse) XXX_Merge

func (m *QueryFeeRateResponse) XXX_Merge(src proto.Message)

func (*QueryFeeRateResponse) XXX_Size

func (m *QueryFeeRateResponse) XXX_Size() int

func (*QueryFeeRateResponse) XXX_Unmarshal

func (m *QueryFeeRateResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPendingBtcWithdrawRequestsRequest

type QueryPendingBtcWithdrawRequestsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QueryPendingBtcWithdrawRequestsRequest) Descriptor

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

func (*QueryPendingBtcWithdrawRequestsRequest) GetPagination

func (*QueryPendingBtcWithdrawRequestsRequest) Marshal

func (m *QueryPendingBtcWithdrawRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPendingBtcWithdrawRequestsRequest) MarshalTo

func (m *QueryPendingBtcWithdrawRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingBtcWithdrawRequestsRequest) MarshalToSizedBuffer

func (m *QueryPendingBtcWithdrawRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingBtcWithdrawRequestsRequest) ProtoMessage

func (*QueryPendingBtcWithdrawRequestsRequest) Reset

func (*QueryPendingBtcWithdrawRequestsRequest) Size

func (*QueryPendingBtcWithdrawRequestsRequest) String

func (*QueryPendingBtcWithdrawRequestsRequest) Unmarshal

func (m *QueryPendingBtcWithdrawRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryPendingBtcWithdrawRequestsRequest) XXX_DiscardUnknown

func (m *QueryPendingBtcWithdrawRequestsRequest) XXX_DiscardUnknown()

func (*QueryPendingBtcWithdrawRequestsRequest) XXX_Marshal

func (m *QueryPendingBtcWithdrawRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingBtcWithdrawRequestsRequest) XXX_Merge

func (*QueryPendingBtcWithdrawRequestsRequest) XXX_Size

func (*QueryPendingBtcWithdrawRequestsRequest) XXX_Unmarshal

func (m *QueryPendingBtcWithdrawRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryPendingBtcWithdrawRequestsResponse

type QueryPendingBtcWithdrawRequestsResponse struct {
	Requests   []*WithdrawRequest  `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QueryPendingBtcWithdrawRequestsResponse) Descriptor

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

func (*QueryPendingBtcWithdrawRequestsResponse) GetPagination

func (*QueryPendingBtcWithdrawRequestsResponse) GetRequests

func (*QueryPendingBtcWithdrawRequestsResponse) Marshal

func (m *QueryPendingBtcWithdrawRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPendingBtcWithdrawRequestsResponse) MarshalTo

func (m *QueryPendingBtcWithdrawRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingBtcWithdrawRequestsResponse) MarshalToSizedBuffer

func (m *QueryPendingBtcWithdrawRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingBtcWithdrawRequestsResponse) ProtoMessage

func (*QueryPendingBtcWithdrawRequestsResponse) Reset

func (*QueryPendingBtcWithdrawRequestsResponse) Size

func (*QueryPendingBtcWithdrawRequestsResponse) String

func (*QueryPendingBtcWithdrawRequestsResponse) Unmarshal

func (m *QueryPendingBtcWithdrawRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryPendingBtcWithdrawRequestsResponse) XXX_DiscardUnknown

func (m *QueryPendingBtcWithdrawRequestsResponse) XXX_DiscardUnknown()

func (*QueryPendingBtcWithdrawRequestsResponse) XXX_Marshal

func (m *QueryPendingBtcWithdrawRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingBtcWithdrawRequestsResponse) XXX_Merge

func (*QueryPendingBtcWithdrawRequestsResponse) XXX_Size

func (*QueryPendingBtcWithdrawRequestsResponse) XXX_Unmarshal

func (m *QueryPendingBtcWithdrawRequestsResponse) XXX_Unmarshal(b []byte) error

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)
	// QuerySigningRequest queries the signing requests by sequence.
	QuerySigningRequest(context.Context, *QuerySigningRequestRequest) (*QuerySigningRequestResponse, 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)
}

QueryServer is the server API for Query service.

type QuerySigningRequestByTxHashRequest

type QuerySigningRequestByTxHashRequest struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
}

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

func (*QuerySigningRequestByTxHashRequest) Descriptor

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

func (*QuerySigningRequestByTxHashRequest) GetTxid

func (*QuerySigningRequestByTxHashRequest) Marshal

func (m *QuerySigningRequestByTxHashRequest) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestByTxHashRequest) MarshalTo

func (m *QuerySigningRequestByTxHashRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestByTxHashRequest) MarshalToSizedBuffer

func (m *QuerySigningRequestByTxHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestByTxHashRequest) ProtoMessage

func (*QuerySigningRequestByTxHashRequest) ProtoMessage()

func (*QuerySigningRequestByTxHashRequest) Reset

func (*QuerySigningRequestByTxHashRequest) Size

func (*QuerySigningRequestByTxHashRequest) String

func (*QuerySigningRequestByTxHashRequest) Unmarshal

func (m *QuerySigningRequestByTxHashRequest) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestByTxHashRequest) XXX_DiscardUnknown

func (m *QuerySigningRequestByTxHashRequest) XXX_DiscardUnknown()

func (*QuerySigningRequestByTxHashRequest) XXX_Marshal

func (m *QuerySigningRequestByTxHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestByTxHashRequest) XXX_Merge

func (*QuerySigningRequestByTxHashRequest) XXX_Size

func (*QuerySigningRequestByTxHashRequest) XXX_Unmarshal

func (m *QuerySigningRequestByTxHashRequest) XXX_Unmarshal(b []byte) error

type QuerySigningRequestByTxHashResponse

type QuerySigningRequestByTxHashResponse struct {
	Request *SigningRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
}

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

func (*QuerySigningRequestByTxHashResponse) Descriptor

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

func (*QuerySigningRequestByTxHashResponse) GetRequest

func (*QuerySigningRequestByTxHashResponse) Marshal

func (m *QuerySigningRequestByTxHashResponse) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestByTxHashResponse) MarshalTo

func (m *QuerySigningRequestByTxHashResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestByTxHashResponse) MarshalToSizedBuffer

func (m *QuerySigningRequestByTxHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestByTxHashResponse) ProtoMessage

func (*QuerySigningRequestByTxHashResponse) ProtoMessage()

func (*QuerySigningRequestByTxHashResponse) Reset

func (*QuerySigningRequestByTxHashResponse) Size

func (*QuerySigningRequestByTxHashResponse) String

func (*QuerySigningRequestByTxHashResponse) Unmarshal

func (m *QuerySigningRequestByTxHashResponse) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestByTxHashResponse) XXX_DiscardUnknown

func (m *QuerySigningRequestByTxHashResponse) XXX_DiscardUnknown()

func (*QuerySigningRequestByTxHashResponse) XXX_Marshal

func (m *QuerySigningRequestByTxHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestByTxHashResponse) XXX_Merge

func (*QuerySigningRequestByTxHashResponse) XXX_Size

func (*QuerySigningRequestByTxHashResponse) XXX_Unmarshal

func (m *QuerySigningRequestByTxHashResponse) XXX_Unmarshal(b []byte) error

type QuerySigningRequestRequest

type QuerySigningRequestRequest struct {
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

QuerySigningRequestRequest is request type for the Query/SigningRequest RPC method.

func (*QuerySigningRequestRequest) Descriptor

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

func (*QuerySigningRequestRequest) GetSequence

func (m *QuerySigningRequestRequest) GetSequence() uint64

func (*QuerySigningRequestRequest) Marshal

func (m *QuerySigningRequestRequest) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestRequest) MarshalTo

func (m *QuerySigningRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestRequest) MarshalToSizedBuffer

func (m *QuerySigningRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestRequest) ProtoMessage

func (*QuerySigningRequestRequest) ProtoMessage()

func (*QuerySigningRequestRequest) Reset

func (m *QuerySigningRequestRequest) Reset()

func (*QuerySigningRequestRequest) Size

func (m *QuerySigningRequestRequest) Size() (n int)

func (*QuerySigningRequestRequest) String

func (m *QuerySigningRequestRequest) String() string

func (*QuerySigningRequestRequest) Unmarshal

func (m *QuerySigningRequestRequest) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestRequest) XXX_DiscardUnknown

func (m *QuerySigningRequestRequest) XXX_DiscardUnknown()

func (*QuerySigningRequestRequest) XXX_Marshal

func (m *QuerySigningRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestRequest) XXX_Merge

func (m *QuerySigningRequestRequest) XXX_Merge(src proto.Message)

func (*QuerySigningRequestRequest) XXX_Size

func (m *QuerySigningRequestRequest) XXX_Size() int

func (*QuerySigningRequestRequest) XXX_Unmarshal

func (m *QuerySigningRequestRequest) XXX_Unmarshal(b []byte) error

type QuerySigningRequestResponse

type QuerySigningRequestResponse struct {
	Request *SigningRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
}

QuerySigningRequestResponse is response type for the Query/SigningRequest RPC method.

func (*QuerySigningRequestResponse) Descriptor

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

func (*QuerySigningRequestResponse) GetRequest

func (*QuerySigningRequestResponse) Marshal

func (m *QuerySigningRequestResponse) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestResponse) MarshalTo

func (m *QuerySigningRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestResponse) MarshalToSizedBuffer

func (m *QuerySigningRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestResponse) ProtoMessage

func (*QuerySigningRequestResponse) ProtoMessage()

func (*QuerySigningRequestResponse) Reset

func (m *QuerySigningRequestResponse) Reset()

func (*QuerySigningRequestResponse) Size

func (m *QuerySigningRequestResponse) Size() (n int)

func (*QuerySigningRequestResponse) String

func (m *QuerySigningRequestResponse) String() string

func (*QuerySigningRequestResponse) Unmarshal

func (m *QuerySigningRequestResponse) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestResponse) XXX_DiscardUnknown

func (m *QuerySigningRequestResponse) XXX_DiscardUnknown()

func (*QuerySigningRequestResponse) XXX_Marshal

func (m *QuerySigningRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestResponse) XXX_Merge

func (m *QuerySigningRequestResponse) XXX_Merge(src proto.Message)

func (*QuerySigningRequestResponse) XXX_Size

func (m *QuerySigningRequestResponse) XXX_Size() int

func (*QuerySigningRequestResponse) XXX_Unmarshal

func (m *QuerySigningRequestResponse) XXX_Unmarshal(b []byte) error

type QuerySigningRequestsByAddressRequest

type QuerySigningRequestsByAddressRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QuerySigningRequestsByAddressRequest) Descriptor

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

func (*QuerySigningRequestsByAddressRequest) GetAddress

func (*QuerySigningRequestsByAddressRequest) GetPagination

func (*QuerySigningRequestsByAddressRequest) Marshal

func (m *QuerySigningRequestsByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestsByAddressRequest) MarshalTo

func (m *QuerySigningRequestsByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestsByAddressRequest) MarshalToSizedBuffer

func (m *QuerySigningRequestsByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestsByAddressRequest) ProtoMessage

func (*QuerySigningRequestsByAddressRequest) ProtoMessage()

func (*QuerySigningRequestsByAddressRequest) Reset

func (*QuerySigningRequestsByAddressRequest) Size

func (*QuerySigningRequestsByAddressRequest) String

func (*QuerySigningRequestsByAddressRequest) Unmarshal

func (m *QuerySigningRequestsByAddressRequest) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestsByAddressRequest) XXX_DiscardUnknown

func (m *QuerySigningRequestsByAddressRequest) XXX_DiscardUnknown()

func (*QuerySigningRequestsByAddressRequest) XXX_Marshal

func (m *QuerySigningRequestsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestsByAddressRequest) XXX_Merge

func (*QuerySigningRequestsByAddressRequest) XXX_Size

func (*QuerySigningRequestsByAddressRequest) XXX_Unmarshal

func (m *QuerySigningRequestsByAddressRequest) XXX_Unmarshal(b []byte) error

type QuerySigningRequestsByAddressResponse

type QuerySigningRequestsByAddressResponse struct {
	Requests   []*SigningRequest   `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QuerySigningRequestsByAddressResponse) Descriptor

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

func (*QuerySigningRequestsByAddressResponse) GetPagination

func (*QuerySigningRequestsByAddressResponse) GetRequests

func (*QuerySigningRequestsByAddressResponse) Marshal

func (m *QuerySigningRequestsByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestsByAddressResponse) MarshalTo

func (m *QuerySigningRequestsByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestsByAddressResponse) MarshalToSizedBuffer

func (m *QuerySigningRequestsByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestsByAddressResponse) ProtoMessage

func (*QuerySigningRequestsByAddressResponse) ProtoMessage()

func (*QuerySigningRequestsByAddressResponse) Reset

func (*QuerySigningRequestsByAddressResponse) Size

func (*QuerySigningRequestsByAddressResponse) String

func (*QuerySigningRequestsByAddressResponse) Unmarshal

func (m *QuerySigningRequestsByAddressResponse) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestsByAddressResponse) XXX_DiscardUnknown

func (m *QuerySigningRequestsByAddressResponse) XXX_DiscardUnknown()

func (*QuerySigningRequestsByAddressResponse) XXX_Marshal

func (m *QuerySigningRequestsByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestsByAddressResponse) XXX_Merge

func (*QuerySigningRequestsByAddressResponse) XXX_Size

func (*QuerySigningRequestsByAddressResponse) XXX_Unmarshal

func (m *QuerySigningRequestsByAddressResponse) XXX_Unmarshal(b []byte) error

type QuerySigningRequestsRequest

type QuerySigningRequestsRequest struct {
	Status     SigningStatus      `protobuf:"varint,1,opt,name=status,proto3,enum=side.btcbridge.SigningStatus" json:"status,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QuerySigningRequestsRequest) Descriptor

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

func (*QuerySigningRequestsRequest) GetPagination

func (m *QuerySigningRequestsRequest) GetPagination() *query.PageRequest

func (*QuerySigningRequestsRequest) GetStatus

func (*QuerySigningRequestsRequest) Marshal

func (m *QuerySigningRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestsRequest) MarshalTo

func (m *QuerySigningRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestsRequest) MarshalToSizedBuffer

func (m *QuerySigningRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestsRequest) ProtoMessage

func (*QuerySigningRequestsRequest) ProtoMessage()

func (*QuerySigningRequestsRequest) Reset

func (m *QuerySigningRequestsRequest) Reset()

func (*QuerySigningRequestsRequest) Size

func (m *QuerySigningRequestsRequest) Size() (n int)

func (*QuerySigningRequestsRequest) String

func (m *QuerySigningRequestsRequest) String() string

func (*QuerySigningRequestsRequest) Unmarshal

func (m *QuerySigningRequestsRequest) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestsRequest) XXX_DiscardUnknown

func (m *QuerySigningRequestsRequest) XXX_DiscardUnknown()

func (*QuerySigningRequestsRequest) XXX_Marshal

func (m *QuerySigningRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestsRequest) XXX_Merge

func (m *QuerySigningRequestsRequest) XXX_Merge(src proto.Message)

func (*QuerySigningRequestsRequest) XXX_Size

func (m *QuerySigningRequestsRequest) XXX_Size() int

func (*QuerySigningRequestsRequest) XXX_Unmarshal

func (m *QuerySigningRequestsRequest) XXX_Unmarshal(b []byte) error

type QuerySigningRequestsResponse

type QuerySigningRequestsResponse struct {
	Requests   []*SigningRequest   `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QuerySigningRequestsResponse) Descriptor

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

func (*QuerySigningRequestsResponse) GetPagination

func (m *QuerySigningRequestsResponse) GetPagination() *query.PageResponse

func (*QuerySigningRequestsResponse) GetRequests

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

func (*QuerySigningRequestsResponse) Marshal

func (m *QuerySigningRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QuerySigningRequestsResponse) MarshalTo

func (m *QuerySigningRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySigningRequestsResponse) MarshalToSizedBuffer

func (m *QuerySigningRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySigningRequestsResponse) ProtoMessage

func (*QuerySigningRequestsResponse) ProtoMessage()

func (*QuerySigningRequestsResponse) Reset

func (m *QuerySigningRequestsResponse) Reset()

func (*QuerySigningRequestsResponse) Size

func (m *QuerySigningRequestsResponse) Size() (n int)

func (*QuerySigningRequestsResponse) String

func (*QuerySigningRequestsResponse) Unmarshal

func (m *QuerySigningRequestsResponse) Unmarshal(dAtA []byte) error

func (*QuerySigningRequestsResponse) XXX_DiscardUnknown

func (m *QuerySigningRequestsResponse) XXX_DiscardUnknown()

func (*QuerySigningRequestsResponse) XXX_Marshal

func (m *QuerySigningRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySigningRequestsResponse) XXX_Merge

func (m *QuerySigningRequestsResponse) XXX_Merge(src proto.Message)

func (*QuerySigningRequestsResponse) XXX_Size

func (m *QuerySigningRequestsResponse) XXX_Size() int

func (*QuerySigningRequestsResponse) XXX_Unmarshal

func (m *QuerySigningRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryUTXOCountAndBalancesByAddressRequest

type QueryUTXOCountAndBalancesByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

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

func (*QueryUTXOCountAndBalancesByAddressRequest) Descriptor

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

func (*QueryUTXOCountAndBalancesByAddressRequest) GetAddress

func (*QueryUTXOCountAndBalancesByAddressRequest) Marshal

func (m *QueryUTXOCountAndBalancesByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryUTXOCountAndBalancesByAddressRequest) MarshalTo

func (m *QueryUTXOCountAndBalancesByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOCountAndBalancesByAddressRequest) MarshalToSizedBuffer

func (m *QueryUTXOCountAndBalancesByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOCountAndBalancesByAddressRequest) ProtoMessage

func (*QueryUTXOCountAndBalancesByAddressRequest) Reset

func (*QueryUTXOCountAndBalancesByAddressRequest) Size

func (*QueryUTXOCountAndBalancesByAddressRequest) String

func (*QueryUTXOCountAndBalancesByAddressRequest) Unmarshal

func (*QueryUTXOCountAndBalancesByAddressRequest) XXX_DiscardUnknown

func (m *QueryUTXOCountAndBalancesByAddressRequest) XXX_DiscardUnknown()

func (*QueryUTXOCountAndBalancesByAddressRequest) XXX_Marshal

func (m *QueryUTXOCountAndBalancesByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOCountAndBalancesByAddressRequest) XXX_Merge

func (*QueryUTXOCountAndBalancesByAddressRequest) XXX_Size

func (*QueryUTXOCountAndBalancesByAddressRequest) XXX_Unmarshal

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"`
}

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

func (*QueryUTXOCountAndBalancesByAddressResponse) Descriptor

func (*QueryUTXOCountAndBalancesByAddressResponse) GetCount

func (*QueryUTXOCountAndBalancesByAddressResponse) GetRuneBalances

func (*QueryUTXOCountAndBalancesByAddressResponse) GetValue

func (*QueryUTXOCountAndBalancesByAddressResponse) Marshal

func (m *QueryUTXOCountAndBalancesByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryUTXOCountAndBalancesByAddressResponse) MarshalTo

func (m *QueryUTXOCountAndBalancesByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOCountAndBalancesByAddressResponse) MarshalToSizedBuffer

func (m *QueryUTXOCountAndBalancesByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOCountAndBalancesByAddressResponse) ProtoMessage

func (*QueryUTXOCountAndBalancesByAddressResponse) Reset

func (*QueryUTXOCountAndBalancesByAddressResponse) Size

func (*QueryUTXOCountAndBalancesByAddressResponse) String

func (*QueryUTXOCountAndBalancesByAddressResponse) Unmarshal

func (*QueryUTXOCountAndBalancesByAddressResponse) XXX_DiscardUnknown

func (m *QueryUTXOCountAndBalancesByAddressResponse) XXX_DiscardUnknown()

func (*QueryUTXOCountAndBalancesByAddressResponse) XXX_Marshal

func (m *QueryUTXOCountAndBalancesByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOCountAndBalancesByAddressResponse) XXX_Merge

func (*QueryUTXOCountAndBalancesByAddressResponse) XXX_Size

func (*QueryUTXOCountAndBalancesByAddressResponse) XXX_Unmarshal

type QueryUTXOsByAddressRequest

type QueryUTXOsByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

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

func (*QueryUTXOsByAddressRequest) Descriptor

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

func (*QueryUTXOsByAddressRequest) GetAddress

func (m *QueryUTXOsByAddressRequest) GetAddress() string

func (*QueryUTXOsByAddressRequest) Marshal

func (m *QueryUTXOsByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryUTXOsByAddressRequest) MarshalTo

func (m *QueryUTXOsByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOsByAddressRequest) MarshalToSizedBuffer

func (m *QueryUTXOsByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOsByAddressRequest) ProtoMessage

func (*QueryUTXOsByAddressRequest) ProtoMessage()

func (*QueryUTXOsByAddressRequest) Reset

func (m *QueryUTXOsByAddressRequest) Reset()

func (*QueryUTXOsByAddressRequest) Size

func (m *QueryUTXOsByAddressRequest) Size() (n int)

func (*QueryUTXOsByAddressRequest) String

func (m *QueryUTXOsByAddressRequest) String() string

func (*QueryUTXOsByAddressRequest) Unmarshal

func (m *QueryUTXOsByAddressRequest) Unmarshal(dAtA []byte) error

func (*QueryUTXOsByAddressRequest) XXX_DiscardUnknown

func (m *QueryUTXOsByAddressRequest) XXX_DiscardUnknown()

func (*QueryUTXOsByAddressRequest) XXX_Marshal

func (m *QueryUTXOsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOsByAddressRequest) XXX_Merge

func (m *QueryUTXOsByAddressRequest) XXX_Merge(src proto.Message)

func (*QueryUTXOsByAddressRequest) XXX_Size

func (m *QueryUTXOsByAddressRequest) XXX_Size() int

func (*QueryUTXOsByAddressRequest) XXX_Unmarshal

func (m *QueryUTXOsByAddressRequest) XXX_Unmarshal(b []byte) error

type QueryUTXOsByAddressResponse

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

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

func (*QueryUTXOsByAddressResponse) Descriptor

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

func (*QueryUTXOsByAddressResponse) GetUtxos

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

func (*QueryUTXOsByAddressResponse) Marshal

func (m *QueryUTXOsByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryUTXOsByAddressResponse) MarshalTo

func (m *QueryUTXOsByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOsByAddressResponse) MarshalToSizedBuffer

func (m *QueryUTXOsByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOsByAddressResponse) ProtoMessage

func (*QueryUTXOsByAddressResponse) ProtoMessage()

func (*QueryUTXOsByAddressResponse) Reset

func (m *QueryUTXOsByAddressResponse) Reset()

func (*QueryUTXOsByAddressResponse) Size

func (m *QueryUTXOsByAddressResponse) Size() (n int)

func (*QueryUTXOsByAddressResponse) String

func (m *QueryUTXOsByAddressResponse) String() string

func (*QueryUTXOsByAddressResponse) Unmarshal

func (m *QueryUTXOsByAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryUTXOsByAddressResponse) XXX_DiscardUnknown

func (m *QueryUTXOsByAddressResponse) XXX_DiscardUnknown()

func (*QueryUTXOsByAddressResponse) XXX_Marshal

func (m *QueryUTXOsByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOsByAddressResponse) XXX_Merge

func (m *QueryUTXOsByAddressResponse) XXX_Merge(src proto.Message)

func (*QueryUTXOsByAddressResponse) XXX_Size

func (m *QueryUTXOsByAddressResponse) XXX_Size() int

func (*QueryUTXOsByAddressResponse) XXX_Unmarshal

func (m *QueryUTXOsByAddressResponse) XXX_Unmarshal(b []byte) error

type QueryUTXOsRequest

type QueryUTXOsRequest struct {
}

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

func (*QueryUTXOsRequest) Descriptor

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

func (*QueryUTXOsRequest) Marshal

func (m *QueryUTXOsRequest) Marshal() (dAtA []byte, err error)

func (*QueryUTXOsRequest) MarshalTo

func (m *QueryUTXOsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOsRequest) MarshalToSizedBuffer

func (m *QueryUTXOsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOsRequest) ProtoMessage

func (*QueryUTXOsRequest) ProtoMessage()

func (*QueryUTXOsRequest) Reset

func (m *QueryUTXOsRequest) Reset()

func (*QueryUTXOsRequest) Size

func (m *QueryUTXOsRequest) Size() (n int)

func (*QueryUTXOsRequest) String

func (m *QueryUTXOsRequest) String() string

func (*QueryUTXOsRequest) Unmarshal

func (m *QueryUTXOsRequest) Unmarshal(dAtA []byte) error

func (*QueryUTXOsRequest) XXX_DiscardUnknown

func (m *QueryUTXOsRequest) XXX_DiscardUnknown()

func (*QueryUTXOsRequest) XXX_Marshal

func (m *QueryUTXOsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOsRequest) XXX_Merge

func (m *QueryUTXOsRequest) XXX_Merge(src proto.Message)

func (*QueryUTXOsRequest) XXX_Size

func (m *QueryUTXOsRequest) XXX_Size() int

func (*QueryUTXOsRequest) XXX_Unmarshal

func (m *QueryUTXOsRequest) XXX_Unmarshal(b []byte) error

type QueryUTXOsResponse

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

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

func (*QueryUTXOsResponse) Descriptor

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

func (*QueryUTXOsResponse) GetUtxos

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

func (*QueryUTXOsResponse) Marshal

func (m *QueryUTXOsResponse) Marshal() (dAtA []byte, err error)

func (*QueryUTXOsResponse) MarshalTo

func (m *QueryUTXOsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUTXOsResponse) MarshalToSizedBuffer

func (m *QueryUTXOsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUTXOsResponse) ProtoMessage

func (*QueryUTXOsResponse) ProtoMessage()

func (*QueryUTXOsResponse) Reset

func (m *QueryUTXOsResponse) Reset()

func (*QueryUTXOsResponse) Size

func (m *QueryUTXOsResponse) Size() (n int)

func (*QueryUTXOsResponse) String

func (m *QueryUTXOsResponse) String() string

func (*QueryUTXOsResponse) Unmarshal

func (m *QueryUTXOsResponse) Unmarshal(dAtA []byte) error

func (*QueryUTXOsResponse) XXX_DiscardUnknown

func (m *QueryUTXOsResponse) XXX_DiscardUnknown()

func (*QueryUTXOsResponse) XXX_Marshal

func (m *QueryUTXOsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUTXOsResponse) XXX_Merge

func (m *QueryUTXOsResponse) XXX_Merge(src proto.Message)

func (*QueryUTXOsResponse) XXX_Size

func (m *QueryUTXOsResponse) XXX_Size() int

func (*QueryUTXOsResponse) XXX_Unmarshal

func (m *QueryUTXOsResponse) XXX_Unmarshal(b []byte) error

type QueryWithdrawRequestsByAddressRequest

type QueryWithdrawRequestsByAddressRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QueryWithdrawRequestsByAddressRequest) Descriptor

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

func (*QueryWithdrawRequestsByAddressRequest) GetAddress

func (*QueryWithdrawRequestsByAddressRequest) GetPagination

func (*QueryWithdrawRequestsByAddressRequest) Marshal

func (m *QueryWithdrawRequestsByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawRequestsByAddressRequest) MarshalTo

func (m *QueryWithdrawRequestsByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByAddressRequest) MarshalToSizedBuffer

func (m *QueryWithdrawRequestsByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByAddressRequest) ProtoMessage

func (*QueryWithdrawRequestsByAddressRequest) ProtoMessage()

func (*QueryWithdrawRequestsByAddressRequest) Reset

func (*QueryWithdrawRequestsByAddressRequest) Size

func (*QueryWithdrawRequestsByAddressRequest) String

func (*QueryWithdrawRequestsByAddressRequest) Unmarshal

func (m *QueryWithdrawRequestsByAddressRequest) Unmarshal(dAtA []byte) error

func (*QueryWithdrawRequestsByAddressRequest) XXX_DiscardUnknown

func (m *QueryWithdrawRequestsByAddressRequest) XXX_DiscardUnknown()

func (*QueryWithdrawRequestsByAddressRequest) XXX_Marshal

func (m *QueryWithdrawRequestsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawRequestsByAddressRequest) XXX_Merge

func (*QueryWithdrawRequestsByAddressRequest) XXX_Size

func (*QueryWithdrawRequestsByAddressRequest) XXX_Unmarshal

func (m *QueryWithdrawRequestsByAddressRequest) XXX_Unmarshal(b []byte) error

type QueryWithdrawRequestsByAddressResponse

type QueryWithdrawRequestsByAddressResponse struct {
	Requests   []*WithdrawRequest  `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

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

func (*QueryWithdrawRequestsByAddressResponse) Descriptor

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

func (*QueryWithdrawRequestsByAddressResponse) GetPagination

func (*QueryWithdrawRequestsByAddressResponse) GetRequests

func (*QueryWithdrawRequestsByAddressResponse) Marshal

func (m *QueryWithdrawRequestsByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawRequestsByAddressResponse) MarshalTo

func (m *QueryWithdrawRequestsByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByAddressResponse) MarshalToSizedBuffer

func (m *QueryWithdrawRequestsByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByAddressResponse) ProtoMessage

func (*QueryWithdrawRequestsByAddressResponse) Reset

func (*QueryWithdrawRequestsByAddressResponse) Size

func (*QueryWithdrawRequestsByAddressResponse) String

func (*QueryWithdrawRequestsByAddressResponse) Unmarshal

func (m *QueryWithdrawRequestsByAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryWithdrawRequestsByAddressResponse) XXX_DiscardUnknown

func (m *QueryWithdrawRequestsByAddressResponse) XXX_DiscardUnknown()

func (*QueryWithdrawRequestsByAddressResponse) XXX_Marshal

func (m *QueryWithdrawRequestsByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawRequestsByAddressResponse) XXX_Merge

func (*QueryWithdrawRequestsByAddressResponse) XXX_Size

func (*QueryWithdrawRequestsByAddressResponse) XXX_Unmarshal

func (m *QueryWithdrawRequestsByAddressResponse) XXX_Unmarshal(b []byte) error

type QueryWithdrawRequestsByTxHashRequest

type QueryWithdrawRequestsByTxHashRequest struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
}

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

func (*QueryWithdrawRequestsByTxHashRequest) Descriptor

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

func (*QueryWithdrawRequestsByTxHashRequest) GetTxid

func (*QueryWithdrawRequestsByTxHashRequest) Marshal

func (m *QueryWithdrawRequestsByTxHashRequest) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawRequestsByTxHashRequest) MarshalTo

func (m *QueryWithdrawRequestsByTxHashRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByTxHashRequest) MarshalToSizedBuffer

func (m *QueryWithdrawRequestsByTxHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByTxHashRequest) ProtoMessage

func (*QueryWithdrawRequestsByTxHashRequest) ProtoMessage()

func (*QueryWithdrawRequestsByTxHashRequest) Reset

func (*QueryWithdrawRequestsByTxHashRequest) Size

func (*QueryWithdrawRequestsByTxHashRequest) String

func (*QueryWithdrawRequestsByTxHashRequest) Unmarshal

func (m *QueryWithdrawRequestsByTxHashRequest) Unmarshal(dAtA []byte) error

func (*QueryWithdrawRequestsByTxHashRequest) XXX_DiscardUnknown

func (m *QueryWithdrawRequestsByTxHashRequest) XXX_DiscardUnknown()

func (*QueryWithdrawRequestsByTxHashRequest) XXX_Marshal

func (m *QueryWithdrawRequestsByTxHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawRequestsByTxHashRequest) XXX_Merge

func (*QueryWithdrawRequestsByTxHashRequest) XXX_Size

func (*QueryWithdrawRequestsByTxHashRequest) XXX_Unmarshal

func (m *QueryWithdrawRequestsByTxHashRequest) XXX_Unmarshal(b []byte) error

type QueryWithdrawRequestsByTxHashResponse

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

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

func (*QueryWithdrawRequestsByTxHashResponse) Descriptor

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

func (*QueryWithdrawRequestsByTxHashResponse) GetRequests

func (*QueryWithdrawRequestsByTxHashResponse) Marshal

func (m *QueryWithdrawRequestsByTxHashResponse) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawRequestsByTxHashResponse) MarshalTo

func (m *QueryWithdrawRequestsByTxHashResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByTxHashResponse) MarshalToSizedBuffer

func (m *QueryWithdrawRequestsByTxHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawRequestsByTxHashResponse) ProtoMessage

func (*QueryWithdrawRequestsByTxHashResponse) ProtoMessage()

func (*QueryWithdrawRequestsByTxHashResponse) Reset

func (*QueryWithdrawRequestsByTxHashResponse) Size

func (*QueryWithdrawRequestsByTxHashResponse) String

func (*QueryWithdrawRequestsByTxHashResponse) Unmarshal

func (m *QueryWithdrawRequestsByTxHashResponse) Unmarshal(dAtA []byte) error

func (*QueryWithdrawRequestsByTxHashResponse) XXX_DiscardUnknown

func (m *QueryWithdrawRequestsByTxHashResponse) XXX_DiscardUnknown()

func (*QueryWithdrawRequestsByTxHashResponse) XXX_Marshal

func (m *QueryWithdrawRequestsByTxHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawRequestsByTxHashResponse) XXX_Merge

func (*QueryWithdrawRequestsByTxHashResponse) XXX_Size

func (*QueryWithdrawRequestsByTxHashResponse) XXX_Unmarshal

func (m *QueryWithdrawRequestsByTxHashResponse) XXX_Unmarshal(b []byte) error

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"`
}

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

func (*QueryWithdrawalNetworkFeeRequest) Descriptor

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

func (*QueryWithdrawalNetworkFeeRequest) GetAddress

func (m *QueryWithdrawalNetworkFeeRequest) GetAddress() string

func (*QueryWithdrawalNetworkFeeRequest) GetAmount

func (*QueryWithdrawalNetworkFeeRequest) GetFeeRate

func (m *QueryWithdrawalNetworkFeeRequest) GetFeeRate() int64

func (*QueryWithdrawalNetworkFeeRequest) Marshal

func (m *QueryWithdrawalNetworkFeeRequest) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawalNetworkFeeRequest) MarshalTo

func (m *QueryWithdrawalNetworkFeeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawalNetworkFeeRequest) MarshalToSizedBuffer

func (m *QueryWithdrawalNetworkFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawalNetworkFeeRequest) ProtoMessage

func (*QueryWithdrawalNetworkFeeRequest) ProtoMessage()

func (*QueryWithdrawalNetworkFeeRequest) Reset

func (*QueryWithdrawalNetworkFeeRequest) Size

func (m *QueryWithdrawalNetworkFeeRequest) Size() (n int)

func (*QueryWithdrawalNetworkFeeRequest) String

func (*QueryWithdrawalNetworkFeeRequest) Unmarshal

func (m *QueryWithdrawalNetworkFeeRequest) Unmarshal(dAtA []byte) error

func (*QueryWithdrawalNetworkFeeRequest) XXX_DiscardUnknown

func (m *QueryWithdrawalNetworkFeeRequest) XXX_DiscardUnknown()

func (*QueryWithdrawalNetworkFeeRequest) XXX_Marshal

func (m *QueryWithdrawalNetworkFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawalNetworkFeeRequest) XXX_Merge

func (*QueryWithdrawalNetworkFeeRequest) XXX_Size

func (m *QueryWithdrawalNetworkFeeRequest) XXX_Size() int

func (*QueryWithdrawalNetworkFeeRequest) XXX_Unmarshal

func (m *QueryWithdrawalNetworkFeeRequest) XXX_Unmarshal(b []byte) error

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"`
}

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

func (*QueryWithdrawalNetworkFeeResponse) Descriptor

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

func (*QueryWithdrawalNetworkFeeResponse) GetFee

func (*QueryWithdrawalNetworkFeeResponse) GetFeeRate

func (m *QueryWithdrawalNetworkFeeResponse) GetFeeRate() int64

func (*QueryWithdrawalNetworkFeeResponse) Marshal

func (m *QueryWithdrawalNetworkFeeResponse) Marshal() (dAtA []byte, err error)

func (*QueryWithdrawalNetworkFeeResponse) MarshalTo

func (m *QueryWithdrawalNetworkFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryWithdrawalNetworkFeeResponse) MarshalToSizedBuffer

func (m *QueryWithdrawalNetworkFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryWithdrawalNetworkFeeResponse) ProtoMessage

func (*QueryWithdrawalNetworkFeeResponse) ProtoMessage()

func (*QueryWithdrawalNetworkFeeResponse) Reset

func (*QueryWithdrawalNetworkFeeResponse) Size

func (m *QueryWithdrawalNetworkFeeResponse) Size() (n int)

func (*QueryWithdrawalNetworkFeeResponse) String

func (*QueryWithdrawalNetworkFeeResponse) Unmarshal

func (m *QueryWithdrawalNetworkFeeResponse) Unmarshal(dAtA []byte) error

func (*QueryWithdrawalNetworkFeeResponse) XXX_DiscardUnknown

func (m *QueryWithdrawalNetworkFeeResponse) XXX_DiscardUnknown()

func (*QueryWithdrawalNetworkFeeResponse) XXX_Marshal

func (m *QueryWithdrawalNetworkFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWithdrawalNetworkFeeResponse) XXX_Merge

func (*QueryWithdrawalNetworkFeeResponse) XXX_Size

func (m *QueryWithdrawalNetworkFeeResponse) XXX_Size() int

func (*QueryWithdrawalNetworkFeeResponse) XXX_Unmarshal

func (m *QueryWithdrawalNetworkFeeResponse) XXX_Unmarshal(b []byte) error

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"`
}

Rune Balance

func (*RuneBalance) Descriptor

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

func (*RuneBalance) GetAmount

func (m *RuneBalance) GetAmount() string

func (*RuneBalance) GetId

func (m *RuneBalance) GetId() string

func (*RuneBalance) Marshal

func (m *RuneBalance) Marshal() (dAtA []byte, err error)

func (*RuneBalance) MarshalTo

func (m *RuneBalance) MarshalTo(dAtA []byte) (int, error)

func (*RuneBalance) MarshalToSizedBuffer

func (m *RuneBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuneBalance) ProtoMessage

func (*RuneBalance) ProtoMessage()

func (*RuneBalance) Reset

func (m *RuneBalance) Reset()

func (*RuneBalance) Size

func (m *RuneBalance) Size() (n int)

func (*RuneBalance) String

func (m *RuneBalance) String() string

func (*RuneBalance) Unmarshal

func (m *RuneBalance) Unmarshal(dAtA []byte) error

func (*RuneBalance) XXX_DiscardUnknown

func (m *RuneBalance) XXX_DiscardUnknown()

func (*RuneBalance) XXX_Marshal

func (m *RuneBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuneBalance) XXX_Merge

func (m *RuneBalance) XXX_Merge(src proto.Message)

func (*RuneBalance) XXX_Size

func (m *RuneBalance) XXX_Size() int

func (*RuneBalance) XXX_Unmarshal

func (m *RuneBalance) XXX_Unmarshal(b []byte) error

type RuneBalances

type RuneBalances []*RuneBalance

RuneBalances defines a set of rune balances

func (RuneBalances) GetBalance

func (rbs RuneBalances) GetBalance(id string) (int, uint128.Uint128)

GetBalance gets the rune balance by id

func (RuneBalances) Merge

func (rbs RuneBalances) Merge(other RuneBalances) RuneBalances

Merge merges the another rune balances

func (RuneBalances) Update

func (rbs RuneBalances) Update(id string, amount uint128.Uint128) RuneBalances

Update updates the balance to the specified amount for the given rune id The rune balance will be removed if the given amount is zero Assume that the given RuneBalances is compact

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"`
}

Rune ID

func UnmarshalRuneId

func UnmarshalRuneId(bz []byte) RuneId

UnmarshalRuneId unmarshals the given bytes to the rune id

func (*RuneId) Denom

func (id *RuneId) Denom() string

Denom returns the corresponding denom for the runes voucher token

func (*RuneId) Descriptor

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

func (*RuneId) FromDenom

func (id *RuneId) FromDenom(denom string)

FromDenom converts the denom to the rune id

func (*RuneId) FromString

func (id *RuneId) FromString(idStr string) error

func (*RuneId) GetBlock

func (m *RuneId) GetBlock() uint64

func (*RuneId) GetTx

func (m *RuneId) GetTx() uint32

func (*RuneId) Marshal

func (m *RuneId) Marshal() (dAtA []byte, err error)

func (*RuneId) MarshalTo

func (m *RuneId) MarshalTo(dAtA []byte) (int, error)

func (*RuneId) MarshalToBytes

func (id *RuneId) MarshalToBytes() []byte

func (*RuneId) MarshalToSizedBuffer

func (m *RuneId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuneId) MustUnmarshalFromString

func (id *RuneId) MustUnmarshalFromString(s string)

func (*RuneId) ProtoMessage

func (*RuneId) ProtoMessage()

func (*RuneId) Reset

func (m *RuneId) Reset()

func (*RuneId) Size

func (m *RuneId) Size() (n int)

func (*RuneId) String

func (m *RuneId) String() string

func (*RuneId) ToString

func (id *RuneId) ToString() string

func (*RuneId) Unmarshal

func (m *RuneId) Unmarshal(dAtA []byte) error

func (*RuneId) UnmarshalFromBytes

func (id *RuneId) UnmarshalFromBytes(bz []byte)

func (*RuneId) XXX_DiscardUnknown

func (m *RuneId) XXX_DiscardUnknown()

func (*RuneId) XXX_Marshal

func (m *RuneId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuneId) XXX_Merge

func (m *RuneId) XXX_Merge(src proto.Message)

func (*RuneId) XXX_Size

func (m *RuneId) XXX_Size() int

func (*RuneId) XXX_Unmarshal

func (m *RuneId) XXX_Unmarshal(b []byte) error

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"`
}

Runes UTXO Consolidation

func (*RunesConsolidation) Descriptor

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

func (*RunesConsolidation) GetMaxNum

func (m *RunesConsolidation) GetMaxNum() uint32

func (*RunesConsolidation) GetRuneId

func (m *RunesConsolidation) GetRuneId() string

func (*RunesConsolidation) GetTargetThreshold

func (m *RunesConsolidation) GetTargetThreshold() string

func (*RunesConsolidation) Marshal

func (m *RunesConsolidation) Marshal() (dAtA []byte, err error)

func (*RunesConsolidation) MarshalTo

func (m *RunesConsolidation) MarshalTo(dAtA []byte) (int, error)

func (*RunesConsolidation) MarshalToSizedBuffer

func (m *RunesConsolidation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunesConsolidation) ProtoMessage

func (*RunesConsolidation) ProtoMessage()

func (*RunesConsolidation) Reset

func (m *RunesConsolidation) Reset()

func (*RunesConsolidation) Size

func (m *RunesConsolidation) Size() (n int)

func (*RunesConsolidation) String

func (m *RunesConsolidation) String() string

func (*RunesConsolidation) Unmarshal

func (m *RunesConsolidation) Unmarshal(dAtA []byte) error

func (*RunesConsolidation) XXX_DiscardUnknown

func (m *RunesConsolidation) XXX_DiscardUnknown()

func (*RunesConsolidation) XXX_Marshal

func (m *RunesConsolidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunesConsolidation) XXX_Merge

func (m *RunesConsolidation) XXX_Merge(src proto.Message)

func (*RunesConsolidation) XXX_Size

func (m *RunesConsolidation) XXX_Size() int

func (*RunesConsolidation) XXX_Unmarshal

func (m *RunesConsolidation) XXX_Unmarshal(b []byte) error

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"`
	Type         AssetType     `protobuf:"varint,3,opt,name=type,proto3,enum=side.btcbridge.AssetType" json:"type,omitempty"`
	Txid         string        `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"`
	Psbt         string        `protobuf:"bytes,5,opt,name=psbt,proto3" json:"psbt,omitempty"`
	CreationTime time.Time     `protobuf:"bytes,6,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time"`
	Status       SigningStatus `protobuf:"varint,7,opt,name=status,proto3,enum=side.btcbridge.SigningStatus" json:"status,omitempty"`
}

Bitcoin Signing Request

func (*SigningRequest) Descriptor

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

func (*SigningRequest) GetAddress

func (m *SigningRequest) GetAddress() string

func (*SigningRequest) GetCreationTime

func (m *SigningRequest) GetCreationTime() time.Time

func (*SigningRequest) GetPsbt

func (m *SigningRequest) GetPsbt() string

func (*SigningRequest) GetSequence

func (m *SigningRequest) GetSequence() uint64

func (*SigningRequest) GetStatus

func (m *SigningRequest) GetStatus() SigningStatus

func (*SigningRequest) GetTxid

func (m *SigningRequest) GetTxid() string

func (*SigningRequest) GetType

func (m *SigningRequest) GetType() AssetType

func (*SigningRequest) Marshal

func (m *SigningRequest) Marshal() (dAtA []byte, err error)

func (*SigningRequest) MarshalTo

func (m *SigningRequest) MarshalTo(dAtA []byte) (int, error)

func (*SigningRequest) MarshalToSizedBuffer

func (m *SigningRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigningRequest) ProtoMessage

func (*SigningRequest) ProtoMessage()

func (*SigningRequest) Reset

func (m *SigningRequest) Reset()

func (*SigningRequest) Size

func (m *SigningRequest) Size() (n int)

func (*SigningRequest) String

func (m *SigningRequest) String() string

func (*SigningRequest) Unmarshal

func (m *SigningRequest) Unmarshal(dAtA []byte) error

func (*SigningRequest) XXX_DiscardUnknown

func (m *SigningRequest) XXX_DiscardUnknown()

func (*SigningRequest) XXX_Marshal

func (m *SigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigningRequest) XXX_Merge

func (m *SigningRequest) XXX_Merge(src proto.Message)

func (*SigningRequest) XXX_Size

func (m *SigningRequest) XXX_Size() int

func (*SigningRequest) XXX_Unmarshal

func (m *SigningRequest) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SigningStatus) String

func (x SigningStatus) String() string

type StakingKeeper

type StakingKeeper interface {
	GetValidator(ctx context.Context, addr sdk.ValAddress) (stakingtypes.Validator, error)
	GetValidatorByConsAddr(ctx context.Context, consAddr sdk.ConsAddress) (stakingtypes.Validator, error)
}

StakingKeeper defines the expected staking keeper used to retrieve validator (noalias)

type TSSParams

type TSSParams struct {
	// Timeout duration for DKG request
	DkgTimeoutPeriod time.Duration `protobuf:"bytes,1,opt,name=dkg_timeout_period,json=dkgTimeoutPeriod,proto3,stdduration" json:"dkg_timeout_period"`
	// Transition period after which TSS participants update process is completed
	ParticipantUpdateTransitionPeriod time.Duration `` /* 166-byte string literal not displayed */
}

TSSParams defines the params related to TSS

func (*TSSParams) Descriptor

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

func (*TSSParams) GetDkgTimeoutPeriod

func (m *TSSParams) GetDkgTimeoutPeriod() time.Duration

func (*TSSParams) GetParticipantUpdateTransitionPeriod

func (m *TSSParams) GetParticipantUpdateTransitionPeriod() time.Duration

func (*TSSParams) Marshal

func (m *TSSParams) Marshal() (dAtA []byte, err error)

func (*TSSParams) MarshalTo

func (m *TSSParams) MarshalTo(dAtA []byte) (int, error)

func (*TSSParams) MarshalToSizedBuffer

func (m *TSSParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TSSParams) ProtoMessage

func (*TSSParams) ProtoMessage()

func (*TSSParams) Reset

func (m *TSSParams) Reset()

func (*TSSParams) Size

func (m *TSSParams) Size() (n int)

func (*TSSParams) String

func (m *TSSParams) String() string

func (*TSSParams) Unmarshal

func (m *TSSParams) Unmarshal(dAtA []byte) error

func (*TSSParams) XXX_DiscardUnknown

func (m *TSSParams) XXX_DiscardUnknown()

func (*TSSParams) XXX_Marshal

func (m *TSSParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TSSParams) XXX_Merge

func (m *TSSParams) XXX_Merge(src proto.Message)

func (*TSSParams) XXX_Size

func (m *TSSParams) XXX_Size() int

func (*TSSParams) XXX_Unmarshal

func (m *TSSParams) XXX_Unmarshal(b []byte) error

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"`
}

Bitcoin UTXO

func AddPaymentUTXOsToTx

func AddPaymentUTXOsToTx(tx *wire.MsgTx, utxos []*UTXO, inOutDiff int64, paymentUTXOIterator UTXOIterator, changeOut *wire.TxOut, feeRate int64, maxUTXONum int) ([]*UTXO, error)

AddPaymentUTXOsToTx adds the given payment utxos to the tx.

func BuildTransferAllBtcPsbt

func BuildTransferAllBtcPsbt(utxos []*UTXO, recipient string, feeRate int64) (*psbt.Packet, *UTXO, error)

BuildTransferAllBtcPsbt builds a bitcoin psbt to transfer all given btc. Assume that the utxo script type is witness.

func GetChangeUTXO

func GetChangeUTXO(tx *wire.MsgTx, change string) *UTXO

GetChangeUTXO returns the change output from the given tx Make sure that the tx is valid and the change output is the last output

func GetRunesChangeUTXO

func GetRunesChangeUTXO(runeBalancesDelta []*RuneBalance, change string, changePkScript []byte, outIndex uint32) *UTXO

GetRunesChangeUTXO gets the runes change utxo.

func (*UTXO) Descriptor

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

func (*UTXO) GetAddress

func (m *UTXO) GetAddress() string

func (*UTXO) GetAmount

func (m *UTXO) GetAmount() uint64

func (*UTXO) GetHeight

func (m *UTXO) GetHeight() uint64

func (*UTXO) GetIsLocked

func (m *UTXO) GetIsLocked() bool

func (*UTXO) GetPubKeyScript

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

func (*UTXO) GetRunes

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

func (*UTXO) GetTxid

func (m *UTXO) GetTxid() string

func (*UTXO) GetVout

func (m *UTXO) GetVout() uint64

func (*UTXO) Marshal

func (m *UTXO) Marshal() (dAtA []byte, err error)

func (*UTXO) MarshalTo

func (m *UTXO) MarshalTo(dAtA []byte) (int, error)

func (*UTXO) MarshalToSizedBuffer

func (m *UTXO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UTXO) ProtoMessage

func (*UTXO) ProtoMessage()

func (*UTXO) Reset

func (m *UTXO) Reset()

func (*UTXO) Size

func (m *UTXO) Size() (n int)

func (*UTXO) String

func (m *UTXO) String() string

func (*UTXO) Unmarshal

func (m *UTXO) Unmarshal(dAtA []byte) error

func (*UTXO) XXX_DiscardUnknown

func (m *UTXO) XXX_DiscardUnknown()

func (*UTXO) XXX_Marshal

func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXO) XXX_Merge

func (m *UTXO) XXX_Merge(src proto.Message)

func (*UTXO) XXX_Size

func (m *UTXO) XXX_Size() int

func (*UTXO) XXX_Unmarshal

func (m *UTXO) XXX_Unmarshal(b []byte) error

type UTXOIterator

type UTXOIterator interface {
	Valid() bool
	Next()
	Close() error

	GetUTXO() *UTXO
	GetMinimumUTXO() *UTXO
}

UTXOIterator defines the interface of the iterator over the utxos

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CompleteDKG

func (*UnimplementedMsgServer) ConsolidateVaults

func (*UnimplementedMsgServer) InitiateDKG

func (*UnimplementedMsgServer) SubmitBlockHeaders

func (*UnimplementedMsgServer) SubmitDepositTransaction

func (*UnimplementedMsgServer) SubmitFeeRate

func (*UnimplementedMsgServer) SubmitSignatures

func (*UnimplementedMsgServer) SubmitWithdrawTransaction

func (*UnimplementedMsgServer) TransferVault

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdateTrustedFeeProviders

func (*UnimplementedMsgServer) WithdrawToBitcoin

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) QueryAllDKGRequests

func (*UnimplementedQueryServer) QueryBlockHeaderByHash

func (*UnimplementedQueryServer) QueryBlockHeaderByHeight

func (*UnimplementedQueryServer) QueryChainTip

func (*UnimplementedQueryServer) QueryDKGCompletionRequests

func (*UnimplementedQueryServer) QueryDKGRequest

func (*UnimplementedQueryServer) QueryDKGRequests

func (*UnimplementedQueryServer) QueryFeeRate

func (*UnimplementedQueryServer) QueryParams

func (*UnimplementedQueryServer) QuerySigningRequest

func (*UnimplementedQueryServer) QuerySigningRequests

func (*UnimplementedQueryServer) QueryUTXOs

func (*UnimplementedQueryServer) QueryUTXOsByAddress

func (*UnimplementedQueryServer) QueryWithdrawalNetworkFee

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"`
}

Vault defines the asset vault

func SelectVaultByAddress

func SelectVaultByAddress(vaults []*Vault, address string) *Vault

SelectVaultByAddress returns the vault by the given address

func SelectVaultByAssetType

func SelectVaultByAssetType(vaults []*Vault, assetType AssetType) *Vault

SelectVaultByAssetType returns the vault by the asset type of the highest version

func SelectVaultByPkScript

func SelectVaultByPkScript(vaults []*Vault, pkScript []byte) *Vault

SelectVaultByPkScript returns the vault by the given pk script for convenience

func SelectVaultByPubKey

func SelectVaultByPubKey(vaults []*Vault, pubKey string) *Vault

SelectVaultByPubKey returns the vault by the given public key

func (*Vault) Descriptor

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

func (*Vault) GetAddress

func (m *Vault) GetAddress() string

func (*Vault) GetAssetType

func (m *Vault) GetAssetType() AssetType

func (*Vault) GetPubKey

func (m *Vault) GetPubKey() string

func (*Vault) GetVersion

func (m *Vault) GetVersion() uint64

func (*Vault) Marshal

func (m *Vault) Marshal() (dAtA []byte, err error)

func (*Vault) MarshalTo

func (m *Vault) MarshalTo(dAtA []byte) (int, error)

func (*Vault) MarshalToSizedBuffer

func (m *Vault) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Vault) ProtoMessage

func (*Vault) ProtoMessage()

func (*Vault) Reset

func (m *Vault) Reset()

func (*Vault) Size

func (m *Vault) Size() (n int)

func (*Vault) String

func (m *Vault) String() string

func (*Vault) Unmarshal

func (m *Vault) Unmarshal(dAtA []byte) error

func (*Vault) XXX_DiscardUnknown

func (m *Vault) XXX_DiscardUnknown()

func (*Vault) XXX_Marshal

func (m *Vault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vault) XXX_Merge

func (m *Vault) XXX_Merge(src proto.Message)

func (*Vault) XXX_Size

func (m *Vault) XXX_Size() int

func (*Vault) XXX_Unmarshal

func (m *Vault) XXX_Unmarshal(b []byte) error

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 */
}

func (*WithdrawParams) Descriptor

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

func (*WithdrawParams) GetBtcBatchWithdrawPeriod

func (m *WithdrawParams) GetBtcBatchWithdrawPeriod() int64

func (*WithdrawParams) GetMaxBtcBatchWithdrawNum

func (m *WithdrawParams) GetMaxBtcBatchWithdrawNum() uint32

func (*WithdrawParams) GetMaxUtxoNum

func (m *WithdrawParams) GetMaxUtxoNum() uint32

func (*WithdrawParams) Marshal

func (m *WithdrawParams) Marshal() (dAtA []byte, err error)

func (*WithdrawParams) MarshalTo

func (m *WithdrawParams) MarshalTo(dAtA []byte) (int, error)

func (*WithdrawParams) MarshalToSizedBuffer

func (m *WithdrawParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WithdrawParams) ProtoMessage

func (*WithdrawParams) ProtoMessage()

func (*WithdrawParams) Reset

func (m *WithdrawParams) Reset()

func (*WithdrawParams) Size

func (m *WithdrawParams) Size() (n int)

func (*WithdrawParams) String

func (m *WithdrawParams) String() string

func (*WithdrawParams) Unmarshal

func (m *WithdrawParams) Unmarshal(dAtA []byte) error

func (*WithdrawParams) XXX_DiscardUnknown

func (m *WithdrawParams) XXX_DiscardUnknown()

func (*WithdrawParams) XXX_Marshal

func (m *WithdrawParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WithdrawParams) XXX_Merge

func (m *WithdrawParams) XXX_Merge(src proto.Message)

func (*WithdrawParams) XXX_Size

func (m *WithdrawParams) XXX_Size() int

func (*WithdrawParams) XXX_Unmarshal

func (m *WithdrawParams) XXX_Unmarshal(b []byte) error

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"`
}

Withdrawal Request

func (*WithdrawRequest) Descriptor

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

func (*WithdrawRequest) GetAddress

func (m *WithdrawRequest) GetAddress() string

func (*WithdrawRequest) GetAmount

func (m *WithdrawRequest) GetAmount() string

func (*WithdrawRequest) GetSequence

func (m *WithdrawRequest) GetSequence() uint64

func (*WithdrawRequest) GetTxid

func (m *WithdrawRequest) GetTxid() string

func (*WithdrawRequest) Marshal

func (m *WithdrawRequest) Marshal() (dAtA []byte, err error)

func (*WithdrawRequest) MarshalTo

func (m *WithdrawRequest) MarshalTo(dAtA []byte) (int, error)

func (*WithdrawRequest) MarshalToSizedBuffer

func (m *WithdrawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WithdrawRequest) ProtoMessage

func (*WithdrawRequest) ProtoMessage()

func (*WithdrawRequest) Reset

func (m *WithdrawRequest) Reset()

func (*WithdrawRequest) Size

func (m *WithdrawRequest) Size() (n int)

func (*WithdrawRequest) String

func (m *WithdrawRequest) String() string

func (*WithdrawRequest) Unmarshal

func (m *WithdrawRequest) Unmarshal(dAtA []byte) error

func (*WithdrawRequest) XXX_DiscardUnknown

func (m *WithdrawRequest) XXX_DiscardUnknown()

func (*WithdrawRequest) XXX_Marshal

func (m *WithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WithdrawRequest) XXX_Merge

func (m *WithdrawRequest) XXX_Merge(src proto.Message)

func (*WithdrawRequest) XXX_Size

func (m *WithdrawRequest) XXX_Size() int

func (*WithdrawRequest) XXX_Unmarshal

func (m *WithdrawRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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