Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddBannedDenom(ctx sdk.Context, chainId uint8, denom string)
- func (k Keeper) AddChainId(ctx sdk.Context, chainId uint8)
- func (k Keeper) BannedDenomList(goCtx context.Context, req *types.QueryBannedDenomListRequest) (*types.QueryBannedDenomListResponse, error)
- func (k Keeper) ChaindIds(goCtx context.Context, req *types.QueryChaindIdsRequest) (*types.QueryChaindIdsResponse, error)
- func (k Keeper) GetBannedDenomList(ctx sdk.Context) []*types.BannedDenom
- func (k Keeper) GetChainIdList(ctx sdk.Context) []uint32
- func (k Keeper) GetDepositCount(goCtx context.Context, req *types.QueryGetDepositCountRequest) (*types.QueryGetDepositCountResponse, error)
- func (k Keeper) GetDepositCountById(ctx sdk.Context, chainId uint8) uint64
- func (k Keeper) GetDepositCountList(ctx sdk.Context) []*types.DepositCount
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetProposal(ctx sdk.Context, chainId uint8, depositNonce uint64, resourceId [32]byte, ...) (*types.Proposal, bool)
- func (k Keeper) GetProposalList(ctx sdk.Context) []*types.GenesisProposal
- func (k Keeper) GetRelayFee(ctx sdk.Context, chainId uint8) (value sdk.Coin)
- func (k Keeper) GetRelayFeeList(ctx sdk.Context) []*types.RelayFee
- func (k Keeper) GetRelayFeeReceiver(ctx sdk.Context) (sdk.AccAddress, bool)
- func (k Keeper) GetResourceIdToDenomByDenom(ctx sdk.Context, denom string) (*types.ResourceIdToDenom, bool)
- func (k Keeper) GetResourceIdToDenomByResourceId(ctx sdk.Context, resourceId string) (*types.ResourceIdToDenom, bool)
- func (k Keeper) GetResourceIdToDenomList(ctx sdk.Context) []*types.ResourceIdToDenom
- func (k Keeper) HasBannedDenom(ctx sdk.Context, chainId uint8, denom string) bool
- func (k Keeper) HasChainId(ctx sdk.Context, chainId uint8) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) ProposalDetail(goCtx context.Context, req *types.QueryProposalDetailRequest) (*types.QueryProposalDetailResponse, error)
- func (k Keeper) RelayFee(goCtx context.Context, req *types.QueryRelayFeeRequest) (*types.QueryRelayFeeResponse, error)
- func (k Keeper) RelayFeeReceiver(goCtx context.Context, req *types.QueryRelayFeeReceiverRequest) (*types.QueryRelayFeeReceiverResponse, error)
- func (k Keeper) ResourceidToDenoms(goCtx context.Context, req *types.QueryResourceidToDenomsRequest) (*types.QueryResourceidToDenomsResponse, error)
- func (k Keeper) RmBannedDenom(ctx sdk.Context, chainId uint8, denom string)
- func (k Keeper) RmChainId(ctx sdk.Context, chainId uint8)
- func (k Keeper) SetDepositCount(ctx sdk.Context, chainId uint8, count uint64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetProposal(ctx sdk.Context, chainId uint8, depositNonce uint64, resourceId [32]byte, ...)
- func (k Keeper) SetRelayFee(ctx sdk.Context, chainId uint8, value sdk.Coin)
- func (k Keeper) SetRelayFeeReceiver(ctx sdk.Context, address sdk.AccAddress)
- func (k Keeper) SetResourceIdToDenom(ctx sdk.Context, rs *types.ResourceIdToDenom)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, bankKeeper types.BankKeeper, sudoKeeper types.SudoKeeper, relayersKeeper types.RelayersKeeper, ) *Keeper
func (Keeper) AddBannedDenom ¶
func (Keeper) BannedDenomList ¶
func (k Keeper) BannedDenomList(goCtx context.Context, req *types.QueryBannedDenomListRequest) (*types.QueryBannedDenomListResponse, error)
func (Keeper) ChaindIds ¶
func (k Keeper) ChaindIds(goCtx context.Context, req *types.QueryChaindIdsRequest) (*types.QueryChaindIdsResponse, error)
func (Keeper) GetBannedDenomList ¶
func (k Keeper) GetBannedDenomList(ctx sdk.Context) []*types.BannedDenom
func (Keeper) GetDepositCount ¶
func (k Keeper) GetDepositCount(goCtx context.Context, req *types.QueryGetDepositCountRequest) (*types.QueryGetDepositCountResponse, error)
func (Keeper) GetDepositCountById ¶ added in v0.2.3
func (Keeper) GetDepositCountList ¶
func (k Keeper) GetDepositCountList(ctx sdk.Context) []*types.DepositCount
func (Keeper) GetProposal ¶
func (Keeper) GetProposalList ¶
func (k Keeper) GetProposalList(ctx sdk.Context) []*types.GenesisProposal
func (Keeper) GetRelayFee ¶
func (Keeper) GetRelayFeeReceiver ¶
func (Keeper) GetResourceIdToDenomByDenom ¶
func (Keeper) GetResourceIdToDenomByResourceId ¶
func (Keeper) GetResourceIdToDenomList ¶
func (k Keeper) GetResourceIdToDenomList(ctx sdk.Context) []*types.ResourceIdToDenom
func (Keeper) HasBannedDenom ¶
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) ProposalDetail ¶
func (k Keeper) ProposalDetail(goCtx context.Context, req *types.QueryProposalDetailRequest) (*types.QueryProposalDetailResponse, error)
func (Keeper) RelayFee ¶
func (k Keeper) RelayFee(goCtx context.Context, req *types.QueryRelayFeeRequest) (*types.QueryRelayFeeResponse, error)
func (Keeper) RelayFeeReceiver ¶
func (k Keeper) RelayFeeReceiver(goCtx context.Context, req *types.QueryRelayFeeReceiverRequest) (*types.QueryRelayFeeReceiverResponse, error)
func (Keeper) ResourceidToDenoms ¶
func (k Keeper) ResourceidToDenoms(goCtx context.Context, req *types.QueryResourceidToDenomsRequest) (*types.QueryResourceidToDenomsResponse, error)
func (Keeper) RmBannedDenom ¶
func (Keeper) SetDepositCount ¶
func (Keeper) SetProposal ¶
func (Keeper) SetRelayFee ¶
func (Keeper) SetRelayFeeReceiver ¶
func (k Keeper) SetRelayFeeReceiver(ctx sdk.Context, address sdk.AccAddress)
func (Keeper) SetResourceIdToDenom ¶
func (k Keeper) SetResourceIdToDenom(ctx sdk.Context, rs *types.ResourceIdToDenom)
Source Files ¶
- grpc_query.go
- grpc_query_banned_denom_list.go
- grpc_query_chaind_ids.go
- grpc_query_get_deposit_count.go
- grpc_query_params.go
- grpc_query_proposal_detail.go
- grpc_query_relay_fee.go
- grpc_query_relay_fee_receiver.go
- grpc_query_resourceid_to_denoms.go
- keeper.go
- msg_server.go
- msg_server_add_banned_denom.go
- msg_server_add_chain_id.go
- msg_server_deposit.go
- msg_server_rm_banned_denom.go
- msg_server_rm_chain_id.go
- msg_server_set_relay_fee.go
- msg_server_set_relay_fee_receiver.go
- msg_server_set_resourceid_to_denom.go
- msg_server_vote_proposal.go
- params.go
Click to show internal directories.
Click to hide internal directories.