Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIBCInflow ¶ added in v4.3.0
func CheckIBCInflow(ctx sdk.Context, packet channeltypes.Packet, lkeeper uibc.LeverageKeeper, dataDenom string, isSourceChain bool, ) ibcexported.Acknowledgement
Types ¶
type IBCModule ¶
type IBCModule struct { // embed the ICS-20 transfer's AppModule: ibctransfer.IBCModule ibcporttypes.IBCModule // contains filtered or unexported fields }
IBCModule wraps ICS-20 IBC module to limit token transfer inflows.
func NewIBCModule ¶
func NewIBCModule(leverageKeeper uibc.LeverageKeeper, am ibctransfer.IBCModule, k keeper.Keeper) IBCModule
func (IBCModule) OnRecvPacket ¶
func (am IBCModule) OnRecvPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) ibcexported.Acknowledgement
OnRecvPacket delegates the OnRecvPacket call to the embedded ICS-20 transfer IBCModule and updates metadata if successful.
Click to show internal directories.
Click to hide internal directories.