package
0.2.0
Repository: https://github.com/goatnetwork/goat.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DecodeBtcAddress verifies if the address is valid and returns its payment script for later verification.
No description provided by the author
DefaultGenesis returns the default genesis state.
DefaultParams returns a default set of parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewParams creates a new Params instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

DefaultIndex is the default global index.
No description provided by the author
No description provided by the author
the current dust value is 546, we use a slightly larger value here.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MemStoreKey defines the in-memory store key.
No description provided by the author
4 version 1 input length 41 = 32 prevTxid + 4 prevTxOut + 1 sigScriptLength + 0 sigScript(witness) + 4 sequence 1 output length 8 value + 1 pkScriptLength + 34 p2wsh/p2tr || 8 value + 1 pkScriptLength + 22 p2wph + 8 value + 1 pkScriptLength + 26 data OP_RETURN 4 lockTime.
ModuleName defines the module name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StoreKey defines the primary module store key.
WITHDRAWAL_STATUS_CANCELED.
WITHDRAWAL_STATUS_CANCELING.
WITHDRAWAL_STATUS_PAID.
WITHDRAWAL_STATUS_PENDING.
WITHDRAWAL_STATUS_PROCESSING.
WITHDRAWAL_STATUS_UNSPECIFIED defines an invalid status.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

the bitcoin height and its raw header pair.
Deposit defines the deposit transaction and its proof.
DepositReceipt.
DepositGenesis.
EthTxQueue.
GenesisState defines the bitcoin module's genesis state.
MsgApproveCancellation.
MsgApproveCancellationResponse.
MsgFinalizeWithdrawal.
MsgFinalizeWithdrawalResponse.
MsgNewBlockHashes represents a solid block header is confirmed by relayer group.
MsgNewBlockHashesResponse defines the Msg/NewHeaders response type.
MsgNewConsolidation.
MsgNewConsolidationResponse.
MsgNewDeposits represents new deposits.
MsgNewDepositsResponse defines the Msg/NewDeposits response type.
MsgNewPubkey is the Msg/NewPubkey request type.
MsgNewPubkeyResponse is the Msg/NewPubkey response type.
MsgProcessWithdrawal.
MsgProcessWithdrawalResponse.
MsgReplaceWithdrawal.
MsgReplaceWithdrawalResponse.
Params defines the parameters for the module.
Processing.
ProcessingGenesis.
QueryBlockTipRequest.
QueryBlockTipResponse.
QueryDepositAddress is request type for the Query/DepositAddress RPC method.
QueryDepositAddressResponse is response type for the Query/DepositAddress RPC method.
QueryHasDeposited.
QueryHasDepositedResponse.
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
QueryPubkeyRequest is request type for the Query/Pubkey RPC method.
QueryPubkeyResponse is response type for the Query/Pubkey RPC method.
QueryWithdrawalRequest.
QueryWithdrawalResponse.
TxOuptut.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
Withdrawal.
WithdrawalExecReceipt.
WithdrawalGeneis.
WithdrawalReceipt.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
No description provided by the author

# Type aliases

WithdrawalStatus is the status of a withdrawal.