Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) BindPort(ctx sdk.Context, portID string) (*capabilitytypes.Capability, error)
- func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(portKeeper portkeeper.Keeper, scopedKeeper capabilitykeeper.ScopedKeeper) Keeper
func (Keeper) BindPort ¶
func (k Keeper) BindPort(ctx sdk.Context, portID string) (*capabilitytypes.Capability, error)
BindPort defines a wrapper function for the ort TPCKeeper's function in order to expose it to module's InitGenesis function
func (Keeper) ClaimCapability ¶
func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
ClaimCapability allows the transfer module that can claim a capability that IBC module passes to it
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis exports ibc-transfer module's portID and denom trace info into its genesis state.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
InitGenesis initializes the ibc-transfer state and binds to PortID.
Click to show internal directories.
Click to hide internal directories.