Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CreateIgp(goCtx context.Context, msg *types.MsgCreateIgp) (*types.MsgCreateIgpResponse, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context) types.GenesisState
- func (k Keeper) GetBeneficiary(ctx context.Context, req *types.GetBeneficiaryRequest) (*types.GetBeneficiaryResponse, error)
- func (k Keeper) GetExchangeRateAndGasPrice(ctx context.Context, req *types.GetExchangeRateAndGasPriceRequest) (*types.GetExchangeRateAndGasPriceResponse, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, gs types.GenesisState) error
- func (k Keeper) PayForGas(goCtx context.Context, msg *types.MsgPayForGas) (*types.MsgPayForGasResponse, error)
- func (k Keeper) QuoteGasPayment(ctx context.Context, req *types.QuoteGasPaymentRequest) (*types.QuoteGasPaymentResponse, error)
- func (k Keeper) SetBeneficiary(goCtx context.Context, msg *types.MsgSetBeneficiary) (*types.MsgSetBeneficiaryResponse, error)
- func (k Keeper) SetDestinationGasOverhead(goCtx context.Context, msg *types.MsgSetDestinationGasOverhead) (*types.MsgSetDestinationGasOverheadResponse, error)
- func (k Keeper) SetGasOracles(goCtx context.Context, msg *types.MsgSetGasOracles) (*types.MsgSetGasOraclesResponse, error)
- func (k Keeper) SetRemoteGasData(goCtx context.Context, msg *types.MsgSetRemoteGasData) (*types.MsgSetRemoteGasDataResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl return an implementation of the igp MsgServer interface for the provided keeper
Types ¶
type Keeper ¶
type Keeper struct { // implements gRPC QueryServer interface types.QueryServer // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, sendKeeper bankTypes.SendKeeper, stakingKeeper types.StakingKeeper, beneficiary string) Keeper
func (Keeper) CreateIgp ¶
func (k Keeper) CreateIgp(goCtx context.Context, msg *types.MsgCreateIgp) (*types.MsgCreateIgpResponse, error)
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) types.GenesisState
ExportGenesis returns the hyperlane IGP module's exported genesis.
func (Keeper) GetBeneficiary ¶
func (k Keeper) GetBeneficiary(ctx context.Context, req *types.GetBeneficiaryRequest) (*types.GetBeneficiaryResponse, error)
GetBeneficiary returns the beneficiary for the given IGP
func (Keeper) GetExchangeRateAndGasPrice ¶
func (k Keeper) GetExchangeRateAndGasPrice(ctx context.Context, req *types.GetExchangeRateAndGasPriceRequest) (*types.GetExchangeRateAndGasPriceResponse, error)
GetExchangeRateAndGasPrice implements the Query
func (Keeper) InitGenesis ¶
InitGenesis initializes the hyperlane IGP module's state from a provided genesis state.
func (Keeper) PayForGas ¶
func (k Keeper) PayForGas(goCtx context.Context, msg *types.MsgPayForGas) (*types.MsgPayForGasResponse, error)
PayForGas Make payments for relayer to deliver message to a destination domain
func (Keeper) QuoteGasPayment ¶
func (k Keeper) QuoteGasPayment(ctx context.Context, req *types.QuoteGasPaymentRequest) (*types.QuoteGasPaymentResponse, error)
QuoteGasPayment implements the Query
func (Keeper) SetBeneficiary ¶
func (k Keeper) SetBeneficiary(goCtx context.Context, msg *types.MsgSetBeneficiary) (*types.MsgSetBeneficiaryResponse, error)
SetBeneficiary updates the IGP's beneficiary (account sent relayer gas payments)
func (Keeper) SetDestinationGasOverhead ¶
func (k Keeper) SetDestinationGasOverhead(goCtx context.Context, msg *types.MsgSetDestinationGasOverhead) (*types.MsgSetDestinationGasOverheadResponse, error)
func (Keeper) SetGasOracles ¶
func (k Keeper) SetGasOracles(goCtx context.Context, msg *types.MsgSetGasOracles) (*types.MsgSetGasOraclesResponse, error)
SetGasOracles defines a rpc handler method for MsgSetGasOracles
func (Keeper) SetRemoteGasData ¶
func (k Keeper) SetRemoteGasData(goCtx context.Context, msg *types.MsgSetRemoteGasData) (*types.MsgSetRemoteGasDataResponse, error)
Click to show internal directories.
Click to hide internal directories.