Documentation ¶
Index ¶
- func KeyPrototype() helpers.Key
- func MakeCodec() *codec.Codec
- func MappablePrototype() helpers.Mappable
- func NewKey(id string) helpers.Key
- func NewMappable(id string, value string) helpers.Mappable
- func NewTestMessage(addr sdkTypes.AccAddress, id string) sdkTypes.Msg
- func SetupTest(t *testing.T) (sdkTypes.Context, *sdkTypes.KVStoreKey, *sdkTypes.TransientStoreKey)
- func TestAuxiliaryKeeperPrototype() helpers.AuxiliaryKeeper
- func TestMessagePrototype() helpers.Message
- func TestQueryKeeperPrototype() helpers.QueryKeeper
- func TestQueryRequestPrototype() helpers.QueryRequest
- func TestQueryResponsePrototype() helpers.QueryResponse
- func TestTransactionKeeperPrototype() helpers.TransactionKeeper
- func TestTransactionRequestPrototype() helpers.TransactionRequest
- type TestMessage
- func (message TestMessage) GetSignBytes() []byte
- func (message TestMessage) GetSigners() []sdkTypes.AccAddress
- func (message TestMessage) RegisterCodec(codec *codec.Codec)
- func (message TestMessage) Route() string
- func (message TestMessage) Type() string
- func (message TestMessage) ValidateBasic() error
- type TestQueryKeeper
- func (t TestQueryKeeper) Enquire(_ sdkTypes.Context, _ helpers.QueryRequest) helpers.QueryResponse
- func (t TestQueryKeeper) Help(_ sdkTypes.Context, _ helpers.AuxiliaryRequest) helpers.AuxiliaryResponse
- func (t TestQueryKeeper) Initialize(mapper helpers.Mapper, _ helpers.Parameters, _ []interface{}) helpers.Keeper
- type TransactionRequest
- func (transactionRequest TransactionRequest) FromCLI(_ helpers.CLICommand, _ context.CLIContext) (helpers.TransactionRequest, error)
- func (transactionRequest TransactionRequest) FromJSON(rawMessage json.RawMessage) (helpers.TransactionRequest, error)
- func (transactionRequest TransactionRequest) GetBaseReq() rest.BaseReq
- func (transactionRequest TransactionRequest) MakeMsg() (sdkTypes.Msg, error)
- func (TransactionRequest) RegisterCodec(codec *codec.Codec)
- func (transactionRequest TransactionRequest) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyPrototype ¶
func MappablePrototype ¶
func NewTestMessage ¶
func NewTestMessage(addr sdkTypes.AccAddress, id string) sdkTypes.Msg
func SetupTest ¶
func SetupTest(t *testing.T) (sdkTypes.Context, *sdkTypes.KVStoreKey, *sdkTypes.TransientStoreKey)
func TestAuxiliaryKeeperPrototype ¶
func TestAuxiliaryKeeperPrototype() helpers.AuxiliaryKeeper
func TestMessagePrototype ¶
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 (t TestQueryKeeper) Enquire(_ sdkTypes.Context, _ helpers.QueryRequest) helpers.QueryResponse
func (TestQueryKeeper) Help ¶
func (t TestQueryKeeper) Help(_ sdkTypes.Context, _ helpers.AuxiliaryRequest) helpers.AuxiliaryResponse
func (TestQueryKeeper) Initialize ¶
func (t TestQueryKeeper) Initialize(mapper helpers.Mapper, _ helpers.Parameters, _ []interface{}) helpers.Keeper
type TransactionRequest ¶
func (TransactionRequest) FromCLI ¶
func (transactionRequest TransactionRequest) FromCLI(_ helpers.CLICommand, _ context.CLIContext) (helpers.TransactionRequest, error)
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
Click to show internal directories.
Click to hide internal directories.