Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendStub ¶
func SendStub(ctx sdk.Context, transferKeeper sdktransferkeeper.Keeper, bankKeeper sdktransfertypes.BankKeeper, token sdk.Coin, sender sdk.AccAddress, sourcePort, sourceChannel string) (string, error)
Types ¶
type MsgServerStub ¶
type MsgServerStub struct {
// contains filtered or unexported fields
}
Can be passed to sctransferkeeper.MsgServer as the SDK stub, so that sctransferkeeper.MsgServer can be used in other tests as well.
func (*MsgServerStub) Transfer ¶
func (srv *MsgServerStub) Transfer(ctx context.Context, msg *sdktransfertypes.MsgTransfer) (*sdktransfertypes.MsgTransferResponse, error)
Click to show internal directories.
Click to hide internal directories.