msgs

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Implements message type to confirm call.

Implements new message type to revoke confirmation from call.

Create new message type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgConfirmCall

type MsgConfirmCall struct {
	MsgId  uint64         `json:"msg_id"`
	Sender sdk.AccAddress `json:"sender"`
}

Message type.

func NewMsgConfirmCall

func NewMsgConfirmCall(msgId uint64, sender sdk.AccAddress) MsgConfirmCall

New instance of message.

func (MsgConfirmCall) GetSignBytes

func (msg MsgConfirmCall) GetSignBytes() []byte

func (MsgConfirmCall) GetSigners

func (msg MsgConfirmCall) GetSigners() []sdk.AccAddress

func (MsgConfirmCall) Route

func (msg MsgConfirmCall) Route() string

func (MsgConfirmCall) Type

func (msg MsgConfirmCall) Type() string

func (MsgConfirmCall) ValidateBasic

func (msg MsgConfirmCall) ValidateBasic() sdk.Error

type MsgRevokeConfirm

type MsgRevokeConfirm struct {
	MsgId  uint64         `json:"msg_id"`
	Sender sdk.AccAddress `json:"sender"`
}

Message to revoke confirmation from call.

func NewMsgRevokeConfirm

func NewMsgRevokeConfirm(msgId uint64, sender sdk.AccAddress) MsgRevokeConfirm

Create new message instance to revoke confirmation.

func (MsgRevokeConfirm) GetSignBytes

func (msg MsgRevokeConfirm) GetSignBytes() []byte

func (MsgRevokeConfirm) GetSigners

func (msg MsgRevokeConfirm) GetSigners() []sdk.AccAddress

func (MsgRevokeConfirm) Route

func (msg MsgRevokeConfirm) Route() string

func (MsgRevokeConfirm) Type

func (msg MsgRevokeConfirm) Type() string

func (MsgRevokeConfirm) ValidateBasic

func (msg MsgRevokeConfirm) ValidateBasic() sdk.Error

type MsgSubmitCall

type MsgSubmitCall struct {
	Msg      core.MsMsg     `json:"msg"`
	UniqueID string         `json:"uniqueID"`
	Sender   sdk.AccAddress `json:"sender"`
}

Message for submit call

func NewMsgSubmitCall

func NewMsgSubmitCall(msg core.MsMsg, uniqueID string, sender sdk.AccAddress) MsgSubmitCall

Create new instance of message to submit call.

func (MsgSubmitCall) GetSignBytes

func (msg MsgSubmitCall) GetSignBytes() []byte

func (MsgSubmitCall) GetSigners

func (msg MsgSubmitCall) GetSigners() []sdk.AccAddress

func (MsgSubmitCall) Route

func (msg MsgSubmitCall) Route() string

func (MsgSubmitCall) Type

func (msg MsgSubmitCall) Type() string

func (MsgSubmitCall) ValidateBasic

func (msg MsgSubmitCall) ValidateBasic() sdk.Error

Jump to

Keyboard shortcuts

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