base

package
v0.0.0-...-f0435bf Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyPrototype

func KeyPrototype() helpers.Key

func MakeCodec

func MakeCodec() *codec.Codec

func MappablePrototype

func MappablePrototype() helpers.Mappable

func NewKey

func NewKey(id string) helpers.Key

func NewMappable

func NewMappable(id string, value string) helpers.Mappable

func NewTestMessage

func NewTestMessage(addr sdkTypes.AccAddress, id string) sdkTypes.Msg

func TestAuxiliaryKeeperPrototype

func TestAuxiliaryKeeperPrototype() helpers.AuxiliaryKeeper

func TestMessagePrototype

func TestMessagePrototype() helpers.Message

func TestQueryKeeperPrototype

func TestQueryKeeperPrototype() helpers.QueryKeeper

func TestQueryRequestPrototype

func TestQueryRequestPrototype() helpers.QueryRequest

func TestQueryResponsePrototype

func TestQueryResponsePrototype() helpers.QueryResponse

func TestTransactionKeeperPrototype

func TestTransactionKeeperPrototype() helpers.TransactionKeeper

func TestTransactionRequestPrototype

func TestTransactionRequestPrototype() helpers.TransactionRequest

Types

type TestMessage

type TestMessage struct {
	From sdkTypes.AccAddress
	ID   string
}

TestMessage msg type for testing

func (TestMessage) GetSignBytes

func (message TestMessage) GetSignBytes() []byte

func (TestMessage) GetSigners

func (message TestMessage) GetSigners() []sdkTypes.AccAddress

func (TestMessage) RegisterCodec

func (message TestMessage) RegisterCodec(codec *codec.Codec)

func (TestMessage) Route

func (message TestMessage) Route() string

func (TestMessage) Type

func (message TestMessage) Type() string

func (TestMessage) ValidateBasic

func (message TestMessage) ValidateBasic() error

type TestQueryKeeper

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

func (TestQueryKeeper) Enquire

func (TestQueryKeeper) Initialize

func (t TestQueryKeeper) Initialize(mapper helpers.Mapper, _ helpers.Parameters, _ []interface{}) helpers.Keeper

type TransactionRequest

type TransactionRequest struct {
	BaseReq rest.BaseReq
	ID      string
}

func (TransactionRequest) FromCLI

func (TransactionRequest) FromJSON

func (transactionRequest TransactionRequest) FromJSON(rawMessage json.RawMessage) (helpers.TransactionRequest, error)

func (TransactionRequest) GetBaseReq

func (transactionRequest TransactionRequest) GetBaseReq() rest.BaseReq

func (TransactionRequest) MakeMsg

func (transactionRequest TransactionRequest) MakeMsg() (sdkTypes.Msg, error)

func (TransactionRequest) RegisterCodec

func (TransactionRequest) RegisterCodec(codec *codec.Codec)

func (TransactionRequest) Validate

func (transactionRequest TransactionRequest) Validate() error

Jump to

Keyboard shortcuts

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