Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { ibctransferkeeper.Keeper GmpKeeper *types2.GmpKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, key storetypes.StoreKey, paramSpace paramtypes.Subspace, ics4Wrapper porttypes.ICS4Wrapper, channelKeeper types.ChannelKeeper, portKeeper types.PortKeeper, authKeeper types.AccountKeeper, bankKeeper types.BankKeeper, scopedKeeper exported.ScopedKeeper, gmpKeeper types2.GmpKeeper, ) Keeper
NewKeeper creates a new IBC transfer Keeper instance
func (Keeper) Transfer ¶
func (k Keeper) Transfer(goCtx context.Context, msg *types.MsgTransfer) (*types.MsgTransferResponse, error)
Transfer defines a wrapper function for the ICS20 Transfer method. If the receiver for the tx is axelar's GMP address, Then it expects a payload of the gmptypes.MsgBridge msg. If it does not have this format, it will error out. If it does, it will build a MsgTransfer with the payload.
Click to show internal directories.
Click to hide internal directories.