Documentation ¶
Index ¶
Constants ¶
View Source
const (
IncorrectAccountSequenceCode = 32
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SubmitterImpl ¶
type SubmitterImpl struct {
// contains filtered or unexported fields
}
SubmitterImpl can submit proofs using `sender` as the transaction transport mechanism
func NewSubmitterImpl ¶
func NewSubmitterImpl(sender *TxSender, allowKVCallbacks bool, clientID string) *SubmitterImpl
func (*SubmitterImpl) SubmitKVProof ¶
func (si *SubmitterImpl) SubmitKVProof( ctx context.Context, height, revision, queryId uint64, proof []*neutrontypes.StorageValue, updateClientMsg sdk.Msg, ) error
SubmitKVProof submits query with proof back to Neutron chain
func (*SubmitterImpl) SubmitTxProof ¶
func (si *SubmitterImpl) SubmitTxProof(ctx context.Context, queryId uint64, proof *neutrontypes.Block) (string, error)
SubmitTxProof submits tx query with proof back to Neutron chain
type TxSender ¶
type TxSender struct {
// contains filtered or unexported fields
}
func NewTxSender ¶
func (*TxSender) Send ¶
Send builds transaction with calculated input msgs, calculated gas and fees, signs it and submits to chain
func (*TxSender) SenderAddr ¶
Click to show internal directories.
Click to hide internal directories.