Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddBondedPool(ctx sdk.Context, denom string, addr string)
- func (k Keeper) CheckAddress(ctx sdk.Context, denom string, addresses ...string) error
- func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) ClearCurrentEraSnapshots(ctx sdk.Context, denom string)
- func (k Keeper) CurrentEraSnapshotList(ctx sdk.Context) []*types.EraSnapshot
- func (k Keeper) CurrentEraSnapshots(ctx sdk.Context, denom string) types.EraSnapshot
- func (k Keeper) DeletePoolUnbondSequence(ctx sdk.Context, denom string, pool string, era uint32)
- func (k Keeper) DeletePoolUnbonding(ctx sdk.Context, denom string, pool string, era, seq uint32)
- func (k Keeper) EraSnapshot(ctx sdk.Context, denom string, era uint32) (val types.EraSnapshot)
- func (k Keeper) EraSnapshotList(ctx sdk.Context) []*types.GenesisEraSnapshot
- func (k Keeper) GetAllExchangeRate(ctx sdk.Context) (list []types.ExchangeRate)
- func (k Keeper) GetAllIcaPoolDetailList(ctx sdk.Context) []*types.IcaPoolDetail
- func (k Keeper) GetAllTotalProtocolFee(ctx sdk.Context) (list []*types.TotalProtocolFee)
- func (k Keeper) GetBondPipeline(ctx sdk.Context, denom string, pool string) (val types.BondPipeline, found bool)
- func (k Keeper) GetBondPipelineList(ctx sdk.Context) []*types.BondPipeline
- func (k Keeper) GetBondRecord(ctx sdk.Context, denom, txHash string) (val types.BondRecord, found bool)
- func (k Keeper) GetBondRecordList(ctx sdk.Context) []*types.BondRecord
- func (k Keeper) GetBondedPool(ctx sdk.Context, denom string) (pool types.Pool, found bool)
- func (k Keeper) GetBondedPoolList(ctx sdk.Context) []*types.Pool
- func (k Keeper) GetChainEra(ctx sdk.Context, denom string) (val types.ChainEra, found bool)
- func (k Keeper) GetChainEraList(ctx sdk.Context) []*types.ChainEra
- func (k Keeper) GetEraExchangeRate(ctx sdk.Context, denom string, era uint32) (val types.EraExchangeRate, found bool)
- func (k Keeper) GetEraExchangeRateByDenom(ctx sdk.Context, denom string) (list []types.EraExchangeRate)
- func (k Keeper) GetEraExchangeRateList(ctx sdk.Context) []*types.EraExchangeRate
- func (k Keeper) GetEraUnbondLimit(ctx sdk.Context, denom string) (val types.EraUnbondLimit)
- func (k Keeper) GetEraUnbondLimitList(ctx sdk.Context) []*types.EraUnbondLimit
- func (k Keeper) GetExchangeRate(ctx sdk.Context, denom string) (val types.ExchangeRate, found bool)
- func (k Keeper) GetIcaPoolByDelegationAddr(ctx sdk.Context, delegationAddr string) (val *types.IcaPoolDetail, found bool)
- func (k Keeper) GetIcaPoolDetail(ctx sdk.Context, denom string, index uint32) (val *types.IcaPoolDetail, found bool)
- func (k Keeper) GetIcaPoolDetailList(ctx sdk.Context, denom string) []*types.IcaPoolDetail
- func (k Keeper) GetIcaPoolNextIndex(ctx sdk.Context, denom string) uint32
- func (k Keeper) GetInterchainTxPropIdBySeq(ctx sdk.Context, ctrPortId, ctrChannelId string, sequence uint64) (propId string, found bool)
- func (k Keeper) GetInterchainTxProposalInfoList(ctx sdk.Context) []*types.GenesisInterchainTxProposalInfo
- func (k Keeper) GetInterchainTxProposalStatus(ctx sdk.Context, propId string) (status types.InterchainTxStatus, found bool)
- func (k Keeper) GetPoolDetail(ctx sdk.Context, denom string, pool string) (val types.PoolDetail, found bool)
- func (k Keeper) GetPoolDetailList(ctx sdk.Context) []*types.PoolDetail
- func (k Keeper) GetPoolUnbondNextSequence(ctx sdk.Context, denom string, pool string, era uint32) uint32
- func (k Keeper) GetPoolUnbonding(ctx sdk.Context, denom string, pool string, era, seq uint32) (*types.Unbonding, bool)
- func (k Keeper) GetPoolUnbondingList(ctx sdk.Context) []*types.GenesisPoolUnbonding
- func (k Keeper) GetProtocolFeeReceiver(ctx sdk.Context) (sdk.AccAddress, bool)
- func (k Keeper) GetRParams(ctx sdk.Context, denom string) (val types.RParams, found bool)
- func (k Keeper) GetRParamsList(ctx sdk.Context) []*types.RParams
- func (k Keeper) GetRelayFeeReceiver(ctx sdk.Context, denom string) (sdk.AccAddress, bool)
- func (k Keeper) GetRelayFeeReceiverList(ctx sdk.Context) []*types.RelayFeeReceiver
- func (k Keeper) GetSignature(ctx sdk.Context, denom string, era uint32, pool string, ...) (types.Signature, bool)
- func (k Keeper) GetSignatureList(ctx sdk.Context) []*types.Signature
- func (k Keeper) GetStakingRewardCommission(ctx sdk.Context, denom string) utils.Dec
- func (k Keeper) GetStakingRewardCommissionList(ctx sdk.Context) []*types.StakingRewardCommission
- func (k Keeper) GetTotalProtocolFee(ctx sdk.Context, denom string) (val types.TotalProtocolFee, found bool)
- func (k Keeper) GetUnbondCommission(ctx sdk.Context, denom string) utils.Dec
- func (k Keeper) GetUnbondCommissionList(ctx sdk.Context) []*types.UnbondCommission
- func (k Keeper) GetUnbondRelayFee(ctx sdk.Context, denom string) (val types.UnbondRelayFee)
- func (k Keeper) GetUnbondRelayFeeList(ctx sdk.Context) []*types.UnbondRelayFee
- func (k Keeper) GetUnbondSwitch(ctx sdk.Context, denom string) bool
- func (k Keeper) GetUnbondSwitchList(ctx sdk.Context) []*types.UnbondSwitch
- func (k Keeper) IcaPoolList(goCtx context.Context, req *types.QueryIcaPoolListRequest) (*types.QueryIcaPoolListResponse, error)
- func (k Keeper) IncreaseTotalProtocolFee(ctx sdk.Context, denom string, increase sdk.Int)
- func (k Keeper) InterchainTxStatus(goCtx context.Context, req *types.QueryInterchainTxStatusRequest) (*types.QueryInterchainTxStatusResponse, error)
- func (k Keeper) IsBondedPoolExist(ctx sdk.Context, denom string, addr string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MigrateExchangeRate(ctx sdk.Context, denom string, rate utils.Dec)
- func (k Keeper) MigrateInitIsSealed(ctx sdk.Context) bool
- func (k Keeper) OnAcknowledgement(ctx sdk.Context, modulePacket channeltypes.Packet, acknowledgement []byte) error
- func (k Keeper) PoolUnbondNextSequence(goCtx context.Context, req *types.QueryPoolUnbondNextSequenceRequest) (*types.QueryPoolUnbondNextSequenceResponse, error)
- func (k Keeper) PoolUnbondings(goCtx context.Context, req *types.QueryPoolUnbondingsRequest) (*types.QueryPoolUnbondingsResponse, error)
- func (k Keeper) ProcessActiveReportProposal(ctx sdk.Context, p *types.ActiveReportProposal) error
- func (k Keeper) ProcessBondReportProposal(ctx sdk.Context, p *types.BondReportProposal) error
- func (k Keeper) ProcessExecuteBondProposal(ctx sdk.Context, p *types.ExecuteBondProposal) error
- func (k Keeper) ProcessInterchainTxProposal(ctx sdk.Context, p *types.InterchainTxProposal) error
- func (k Keeper) ProcessSetChainEraProposal(ctx sdk.Context, p *types.SetChainEraProposal) error
- func (k Keeper) ProcessTransferReportProposal(ctx sdk.Context, p *types.TransferReportProposal) error
- func (k Keeper) RelayFeeReceiver(goCtx context.Context, req *types.QueryRelayFeeReceiverRequest) (*types.QueryRelayFeeReceiverResponse, error)
- func (k Keeper) RemoveBondedPool(ctx sdk.Context, denom string, addr string)
- func (k Keeper) RtokenToToken(ctx sdk.Context, denom string, rbalance sdk.Int) sdk.Int
- func (k Keeper) SealMigrateInit(ctx sdk.Context)
- func (k Keeper) SetBondPipeline(ctx sdk.Context, pipe types.BondPipeline)
- func (k Keeper) SetBondRecord(ctx sdk.Context, br types.BondRecord)
- func (k Keeper) SetBondedPool(ctx sdk.Context, pool *types.Pool)
- func (k Keeper) SetChainEra(ctx sdk.Context, denom string, era uint32)
- func (k Keeper) SetCurrentEraSnapshot(ctx sdk.Context, shot types.EraSnapshot)
- func (k Keeper) SetEraExchangeRate(ctx sdk.Context, denom string, era uint32, rate utils.Dec)
- func (k Keeper) SetEraSnapshot(ctx sdk.Context, era uint32, shot types.EraSnapshot)
- func (k Keeper) SetEraUnbondLimit(ctx sdk.Context, denom string, limit uint32)
- func (k Keeper) SetExchangeRate(ctx sdk.Context, denom string, total, rtotal sdk.Int)
- func (k Keeper) SetIcaPoolDelegationAddrIndex(ctx sdk.Context, ica *types.IcaPoolDetail)
- func (k Keeper) SetIcaPoolDetail(ctx sdk.Context, ica *types.IcaPoolDetail)
- func (k Keeper) SetIcaPoolIndex(ctx sdk.Context, denom string, seq uint32)
- func (k Keeper) SetInterchainTxProposalSequenceIndex(ctx sdk.Context, ctrPortId, ctrChannelId string, sequence uint64, ...)
- func (k Keeper) SetInterchainTxProposalStatus(ctx sdk.Context, propId string, status types.InterchainTxStatus)
- func (k Keeper) SetPoolDetail(ctx sdk.Context, poolDetail *types.PoolDetail)
- func (k Keeper) SetPoolUnbondSequence(ctx sdk.Context, denom string, pool string, era, seq uint32)
- func (k Keeper) SetPoolUnbonding(ctx sdk.Context, denom string, pool string, era, seq uint32, ...)
- func (k Keeper) SetProtocolFeeReceiver(ctx sdk.Context, receiver sdk.AccAddress)
- func (k Keeper) SetRParams(ctx sdk.Context, rParams types.RParams)
- func (k Keeper) SetRelayFeeReceiver(ctx sdk.Context, denom string, receiver sdk.AccAddress)
- func (k Keeper) SetSignature(ctx sdk.Context, sig types.Signature)
- func (k Keeper) SetSnapshot(ctx sdk.Context, shotId string, shot types.BondSnapshot)
- func (k Keeper) SetStakingRewardCommission(ctx sdk.Context, denom string, commission utils.Dec)
- func (k Keeper) SetTotalExpectedActive(ctx sdk.Context, denom string, era uint32, active sdk.Int)
- func (k Keeper) SetTotalExpectedFee(ctx sdk.Context, denom string, era uint32, fee sdk.Int)
- func (k Keeper) SetTotalProtocolFee(ctx sdk.Context, denom string, total sdk.Int)
- func (k Keeper) SetUnbondCommission(ctx sdk.Context, denom string, value utils.Dec)
- func (k Keeper) SetUnbondRelayFee(ctx sdk.Context, denom string, value sdk.Coin)
- func (k Keeper) SetUnbondSwitch(ctx sdk.Context, denom string, isOpen bool)
- func (k Keeper) SetWithdrawAddressOnHost(ctx sdk.Context, ...) error
- func (k Keeper) Snapshot(ctx sdk.Context, shotId string) (val types.BondSnapshot, found bool)
- func (k Keeper) SnapshotList(ctx sdk.Context) []*types.GenesisSnapshot
- func (k Keeper) SubmitTxs(ctx sdk.Context, ctrlConnectionId, owner string, msgs []sdk.Msg, memo string) (uint64, error)
- func (k Keeper) ToggleUnbondSwitch(ctx sdk.Context, denom string)
- func (k Keeper) TokenToRtoken(ctx sdk.Context, denom string, balance sdk.Int) sdk.Int
- func (k Keeper) TotalExpectedActive(ctx sdk.Context, denom string, era uint32) (val sdk.Int)
- func (k Keeper) TotalExpectedActiveList(ctx sdk.Context) []*types.TotalExpectedActive
- func (k Keeper) TotalExpectedFee(ctx sdk.Context, denom string, era uint32) (val sdk.Int)
- func (k Keeper) TotalExpectedFeeList(ctx sdk.Context) []*types.TotalExpectedFee
- func (k Keeper) TotalProtocolFee(goCtx context.Context, req *types.QueryTotalProtocolFeeRequest) (*types.QueryTotalProtocolFeeResponse, error)
- func (k Keeper) UnSealMigrateInit(ctx sdk.Context)
- func (k Keeper) UnbondSwitch(goCtx context.Context, req *types.QueryUnbondSwitchRequest) (*types.QueryUnbondSwitchResponse, error)
- type Querier
- func (q Querier) BondedPoolsByDenom(goCtx context.Context, req *types.QueryBondedPoolsByDenomRequest) (*types.QueryBondedPoolsByDenomResponse, error)
- func (q Querier) EraExchangeRatesByDenom(goCtx context.Context, req *types.QueryEraExchangeRatesByDenomRequest) (*types.QueryEraExchangeRatesByDenomResponse, error)
- func (q Querier) ExchangeRateAll(goCtx context.Context, req *types.QueryExchangeRateAllRequest) (*types.QueryExchangeRateAllResponse, error)
- func (q Querier) GetBondPipeline(goCtx context.Context, req *types.QueryGetBondPipelineRequest) (*types.QueryGetBondPipelineResponse, error)
- func (q Querier) GetBondRecord(goCtx context.Context, req *types.QueryGetBondRecordRequest) (*types.QueryGetBondRecordResponse, error)
- func (q Querier) GetChainEra(goCtx context.Context, req *types.QueryGetChainEraRequest) (*types.QueryGetChainEraResponse, error)
- func (q Querier) GetCurrentEraSnapshot(goCtx context.Context, req *types.QueryGetCurrentEraSnapshotRequest) (*types.QueryGetCurrentEraSnapshotResponse, error)
- func (q Querier) GetEraExchangeRate(goCtx context.Context, req *types.QueryGetEraExchangeRateRequest) (*types.QueryGetEraExchangeRateResponse, error)
- func (q Querier) GetEraSnapshot(goCtx context.Context, req *types.QueryGetEraSnapshotRequest) (*types.QueryGetEraSnapshotResponse, error)
- func (q Querier) GetEraUnbondLimit(goCtx context.Context, req *types.QueryGetEraUnbondLimitRequest) (*types.QueryGetEraUnbondLimitResponse, error)
- func (q Querier) GetExchangeRate(goCtx context.Context, req *types.QueryGetExchangeRateRequest) (*types.QueryGetExchangeRateResponse, error)
- func (q Querier) GetPoolDetail(goCtx context.Context, req *types.QueryGetPoolDetailRequest) (*types.QueryGetPoolDetailResponse, error)
- func (q Querier) GetProtocolFeeReceiver(goCtx context.Context, req *types.QueryGetProtocolFeeReceiverRequest) (*types.QueryGetProtocolFeeReceiverResponse, error)
- func (q Querier) GetRParams(goCtx context.Context, req *types.QueryGetRParamsRequest) (*types.QueryGetRParamsResponse, error)
- func (q Querier) GetSignature(goCtx context.Context, req *types.QueryGetSignatureRequest) (*types.QueryGetSignatureResponse, error)
- func (q Querier) GetSnapshot(goCtx context.Context, req *types.QueryGetSnapshotRequest) (*types.QueryGetSnapshotResponse, error)
- func (q Querier) GetStakingRewardCommission(goCtx context.Context, req *types.QueryGetStakingRewardCommissionRequest) (*types.QueryGetStakingRewardCommissionResponse, error)
- func (q Querier) GetTotalExpectedActive(goCtx context.Context, req *types.QueryGetTotalExpectedActiveRequest) (*types.QueryGetTotalExpectedActiveResponse, error)
- func (q Querier) GetUnbondCommission(goCtx context.Context, req *types.QueryGetUnbondCommissionRequest) (*types.QueryGetUnbondCommissionResponse, error)
- func (q Querier) GetUnbondRelayFee(goCtx context.Context, req *types.QueryGetUnbondRelayFeeRequest) (*types.QueryGetUnbondRelayFeeResponse, error)
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 { ICAControllerKeeper icacontrollerkeeper.Keeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, sudoKeeper types.SudoKeeper, bankKeeper types.BankKeeper, relayerKeeper types.RelayerKeeper, mintrewardKeeper types.MintRewardKeeper, rbankKeeepr types.RBankKeeper, icaControllerKeeper icacontrollerkeeper.Keeper, scopedKeeper capabilitykeeper.ScopedKeeper, ) *Keeper
func (Keeper) AddBondedPool ¶
func (Keeper) CheckAddress ¶
func (Keeper) ClaimCapability ¶
func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
ClaimCapability claims the channel capability passed via the OnOpenChanInit callback
func (Keeper) ClearCurrentEraSnapshots ¶
func (Keeper) CurrentEraSnapshotList ¶
func (k Keeper) CurrentEraSnapshotList(ctx sdk.Context) []*types.EraSnapshot
func (Keeper) CurrentEraSnapshots ¶
func (Keeper) DeletePoolUnbondSequence ¶
func (Keeper) DeletePoolUnbonding ¶
func (Keeper) EraSnapshot ¶
func (Keeper) EraSnapshotList ¶
func (k Keeper) EraSnapshotList(ctx sdk.Context) []*types.GenesisEraSnapshot
func (Keeper) GetAllExchangeRate ¶
func (k Keeper) GetAllExchangeRate(ctx sdk.Context) (list []types.ExchangeRate)
GetAllExchangeRate returns all exchangeRate
func (Keeper) GetAllIcaPoolDetailList ¶
func (k Keeper) GetAllIcaPoolDetailList(ctx sdk.Context) []*types.IcaPoolDetail
prefix + denomLen + denom + 4
func (Keeper) GetAllTotalProtocolFee ¶
func (k Keeper) GetAllTotalProtocolFee(ctx sdk.Context) (list []*types.TotalProtocolFee)
func (Keeper) GetBondPipeline ¶
func (Keeper) GetBondPipelineList ¶
func (k Keeper) GetBondPipelineList(ctx sdk.Context) []*types.BondPipeline
func (Keeper) GetBondRecord ¶
func (Keeper) GetBondRecordList ¶
func (k Keeper) GetBondRecordList(ctx sdk.Context) []*types.BondRecord
func (Keeper) GetBondedPool ¶
func (Keeper) GetChainEra ¶
func (Keeper) GetEraExchangeRate ¶
func (Keeper) GetEraExchangeRateByDenom ¶
func (Keeper) GetEraExchangeRateList ¶
func (k Keeper) GetEraExchangeRateList(ctx sdk.Context) []*types.EraExchangeRate
func (Keeper) GetEraUnbondLimit ¶
func (Keeper) GetEraUnbondLimitList ¶
func (k Keeper) GetEraUnbondLimitList(ctx sdk.Context) []*types.EraUnbondLimit
func (Keeper) GetExchangeRate ¶
func (Keeper) GetIcaPoolByDelegationAddr ¶
func (Keeper) GetIcaPoolDetail ¶
func (Keeper) GetIcaPoolDetailList ¶
func (Keeper) GetIcaPoolNextIndex ¶
func (Keeper) GetInterchainTxPropIdBySeq ¶
func (Keeper) GetInterchainTxProposalInfoList ¶
func (k Keeper) GetInterchainTxProposalInfoList(ctx sdk.Context) []*types.GenesisInterchainTxProposalInfo
func (Keeper) GetInterchainTxProposalStatus ¶
func (Keeper) GetPoolDetail ¶
func (Keeper) GetPoolDetailList ¶
func (k Keeper) GetPoolDetailList(ctx sdk.Context) []*types.PoolDetail
func (Keeper) GetPoolUnbondNextSequence ¶
func (Keeper) GetPoolUnbonding ¶
func (Keeper) GetPoolUnbondingList ¶
func (k Keeper) GetPoolUnbondingList(ctx sdk.Context) []*types.GenesisPoolUnbonding
func (Keeper) GetProtocolFeeReceiver ¶
func (Keeper) GetRParams ¶
func (Keeper) GetRelayFeeReceiver ¶
func (Keeper) GetRelayFeeReceiverList ¶
func (k Keeper) GetRelayFeeReceiverList(ctx sdk.Context) []*types.RelayFeeReceiver
func (Keeper) GetSignature ¶
func (Keeper) GetSignatureList ¶
func (Keeper) GetStakingRewardCommission ¶
func (Keeper) GetStakingRewardCommissionList ¶
func (k Keeper) GetStakingRewardCommissionList(ctx sdk.Context) []*types.StakingRewardCommission
func (Keeper) GetTotalProtocolFee ¶
func (Keeper) GetUnbondCommission ¶
func (Keeper) GetUnbondCommissionList ¶
func (k Keeper) GetUnbondCommissionList(ctx sdk.Context) []*types.UnbondCommission
func (Keeper) GetUnbondRelayFee ¶
func (Keeper) GetUnbondRelayFeeList ¶
func (k Keeper) GetUnbondRelayFeeList(ctx sdk.Context) []*types.UnbondRelayFee
func (Keeper) GetUnbondSwitchList ¶
func (k Keeper) GetUnbondSwitchList(ctx sdk.Context) []*types.UnbondSwitch
func (Keeper) IcaPoolList ¶
func (k Keeper) IcaPoolList(goCtx context.Context, req *types.QueryIcaPoolListRequest) (*types.QueryIcaPoolListResponse, error)
func (Keeper) IncreaseTotalProtocolFee ¶
func (Keeper) InterchainTxStatus ¶
func (k Keeper) InterchainTxStatus(goCtx context.Context, req *types.QueryInterchainTxStatusRequest) (*types.QueryInterchainTxStatusResponse, error)
func (Keeper) IsBondedPoolExist ¶
func (Keeper) MigrateExchangeRate ¶
func (Keeper) OnAcknowledgement ¶
func (k Keeper) OnAcknowledgement(ctx sdk.Context, modulePacket channeltypes.Packet, acknowledgement []byte) error
Implements core logic for OnAcknowledgementPacket
func (Keeper) PoolUnbondNextSequence ¶
func (k Keeper) PoolUnbondNextSequence(goCtx context.Context, req *types.QueryPoolUnbondNextSequenceRequest) (*types.QueryPoolUnbondNextSequenceResponse, error)
func (Keeper) PoolUnbondings ¶
func (k Keeper) PoolUnbondings(goCtx context.Context, req *types.QueryPoolUnbondingsRequest) (*types.QueryPoolUnbondingsResponse, error)
func (Keeper) ProcessActiveReportProposal ¶
func (Keeper) ProcessBondReportProposal ¶
func (Keeper) ProcessExecuteBondProposal ¶
func (Keeper) ProcessInterchainTxProposal ¶
func (Keeper) ProcessSetChainEraProposal ¶
func (Keeper) ProcessTransferReportProposal ¶
func (Keeper) RelayFeeReceiver ¶
func (k Keeper) RelayFeeReceiver(goCtx context.Context, req *types.QueryRelayFeeReceiverRequest) (*types.QueryRelayFeeReceiverResponse, error)
func (Keeper) RemoveBondedPool ¶
func (Keeper) RtokenToToken ¶
rtoken to token
func (Keeper) SealMigrateInit ¶
func (Keeper) SetBondPipeline ¶
func (k Keeper) SetBondPipeline(ctx sdk.Context, pipe types.BondPipeline)
func (Keeper) SetBondRecord ¶
func (k Keeper) SetBondRecord(ctx sdk.Context, br types.BondRecord)
func (Keeper) SetCurrentEraSnapshot ¶
func (k Keeper) SetCurrentEraSnapshot(ctx sdk.Context, shot types.EraSnapshot)
func (Keeper) SetEraExchangeRate ¶
func (Keeper) SetEraSnapshot ¶
func (Keeper) SetEraUnbondLimit ¶
func (Keeper) SetExchangeRate ¶
func (Keeper) SetIcaPoolDelegationAddrIndex ¶
func (k Keeper) SetIcaPoolDelegationAddrIndex(ctx sdk.Context, ica *types.IcaPoolDetail)
need set in genesis
func (Keeper) SetIcaPoolDetail ¶
func (k Keeper) SetIcaPoolDetail(ctx sdk.Context, ica *types.IcaPoolDetail)
func (Keeper) SetIcaPoolIndex ¶
func (Keeper) SetInterchainTxProposalSequenceIndex ¶
func (Keeper) SetInterchainTxProposalStatus ¶
func (Keeper) SetPoolDetail ¶
func (k Keeper) SetPoolDetail(ctx sdk.Context, poolDetail *types.PoolDetail)
func (Keeper) SetPoolUnbondSequence ¶
func (Keeper) SetPoolUnbonding ¶
func (Keeper) SetProtocolFeeReceiver ¶
func (k Keeper) SetProtocolFeeReceiver(ctx sdk.Context, receiver sdk.AccAddress)
func (Keeper) SetRelayFeeReceiver ¶
func (Keeper) SetSnapshot ¶
func (Keeper) SetStakingRewardCommission ¶
func (Keeper) SetTotalExpectedActive ¶
func (Keeper) SetTotalExpectedFee ¶
func (Keeper) SetTotalProtocolFee ¶
func (Keeper) SetUnbondCommission ¶
func (Keeper) SetUnbondRelayFee ¶
func (Keeper) SetUnbondSwitch ¶
func (Keeper) SetWithdrawAddressOnHost ¶
func (Keeper) SnapshotList ¶
func (k Keeper) SnapshotList(ctx sdk.Context) []*types.GenesisSnapshot
func (Keeper) SubmitTxs ¶
func (k Keeper) SubmitTxs(ctx sdk.Context, ctrlConnectionId, owner string, msgs []sdk.Msg, memo string) (uint64, error)
SubmitTxs submits an ICA transaction containing multiple messages
func (Keeper) ToggleUnbondSwitch ¶
func (Keeper) TokenToRtoken ¶
token to rtoken
func (Keeper) TotalExpectedActive ¶
func (Keeper) TotalExpectedActiveList ¶
func (k Keeper) TotalExpectedActiveList(ctx sdk.Context) []*types.TotalExpectedActive
func (Keeper) TotalExpectedFee ¶
func (Keeper) TotalExpectedFeeList ¶
func (k Keeper) TotalExpectedFeeList(ctx sdk.Context) []*types.TotalExpectedFee
func (Keeper) TotalProtocolFee ¶
func (k Keeper) TotalProtocolFee(goCtx context.Context, req *types.QueryTotalProtocolFeeRequest) (*types.QueryTotalProtocolFeeResponse, error)
func (Keeper) UnSealMigrateInit ¶
func (Keeper) UnbondSwitch ¶
func (k Keeper) UnbondSwitch(goCtx context.Context, req *types.QueryUnbondSwitchRequest) (*types.QueryUnbondSwitchResponse, error)
type Querier ¶
type Querier struct {
Keeper
}
func (Querier) BondedPoolsByDenom ¶
func (q Querier) BondedPoolsByDenom(goCtx context.Context, req *types.QueryBondedPoolsByDenomRequest) (*types.QueryBondedPoolsByDenomResponse, error)
func (Querier) EraExchangeRatesByDenom ¶
func (q Querier) EraExchangeRatesByDenom(goCtx context.Context, req *types.QueryEraExchangeRatesByDenomRequest) (*types.QueryEraExchangeRatesByDenomResponse, error)
func (Querier) ExchangeRateAll ¶
func (q Querier) ExchangeRateAll(goCtx context.Context, req *types.QueryExchangeRateAllRequest) (*types.QueryExchangeRateAllResponse, error)
func (Querier) GetBondPipeline ¶
func (q Querier) GetBondPipeline(goCtx context.Context, req *types.QueryGetBondPipelineRequest) (*types.QueryGetBondPipelineResponse, error)
func (Querier) GetBondRecord ¶
func (q Querier) GetBondRecord(goCtx context.Context, req *types.QueryGetBondRecordRequest) (*types.QueryGetBondRecordResponse, error)
func (Querier) GetChainEra ¶
func (q Querier) GetChainEra(goCtx context.Context, req *types.QueryGetChainEraRequest) (*types.QueryGetChainEraResponse, error)
func (Querier) GetCurrentEraSnapshot ¶
func (q Querier) GetCurrentEraSnapshot(goCtx context.Context, req *types.QueryGetCurrentEraSnapshotRequest) (*types.QueryGetCurrentEraSnapshotResponse, error)
func (Querier) GetEraExchangeRate ¶
func (q Querier) GetEraExchangeRate(goCtx context.Context, req *types.QueryGetEraExchangeRateRequest) (*types.QueryGetEraExchangeRateResponse, error)
func (Querier) GetEraSnapshot ¶
func (q Querier) GetEraSnapshot(goCtx context.Context, req *types.QueryGetEraSnapshotRequest) (*types.QueryGetEraSnapshotResponse, error)
func (Querier) GetEraUnbondLimit ¶
func (q Querier) GetEraUnbondLimit(goCtx context.Context, req *types.QueryGetEraUnbondLimitRequest) (*types.QueryGetEraUnbondLimitResponse, error)
func (Querier) GetExchangeRate ¶
func (q Querier) GetExchangeRate(goCtx context.Context, req *types.QueryGetExchangeRateRequest) (*types.QueryGetExchangeRateResponse, error)
func (Querier) GetPoolDetail ¶
func (q Querier) GetPoolDetail(goCtx context.Context, req *types.QueryGetPoolDetailRequest) (*types.QueryGetPoolDetailResponse, error)
func (Querier) GetProtocolFeeReceiver ¶
func (q Querier) GetProtocolFeeReceiver(goCtx context.Context, req *types.QueryGetProtocolFeeReceiverRequest) (*types.QueryGetProtocolFeeReceiverResponse, error)
func (Querier) GetRParams ¶
func (q Querier) GetRParams(goCtx context.Context, req *types.QueryGetRParamsRequest) (*types.QueryGetRParamsResponse, error)
func (Querier) GetSignature ¶
func (q Querier) GetSignature(goCtx context.Context, req *types.QueryGetSignatureRequest) (*types.QueryGetSignatureResponse, error)
func (Querier) GetSnapshot ¶
func (q Querier) GetSnapshot(goCtx context.Context, req *types.QueryGetSnapshotRequest) (*types.QueryGetSnapshotResponse, error)
func (Querier) GetStakingRewardCommission ¶
func (q Querier) GetStakingRewardCommission(goCtx context.Context, req *types.QueryGetStakingRewardCommissionRequest) (*types.QueryGetStakingRewardCommissionResponse, error)
func (Querier) GetTotalExpectedActive ¶
func (q Querier) GetTotalExpectedActive(goCtx context.Context, req *types.QueryGetTotalExpectedActiveRequest) (*types.QueryGetTotalExpectedActiveResponse, error)
func (Querier) GetUnbondCommission ¶
func (q Querier) GetUnbondCommission(goCtx context.Context, req *types.QueryGetUnbondCommissionRequest) (*types.QueryGetUnbondCommissionResponse, error)
func (Querier) GetUnbondRelayFee ¶
func (q Querier) GetUnbondRelayFee(goCtx context.Context, req *types.QueryGetUnbondRelayFeeRequest) (*types.QueryGetUnbondRelayFeeResponse, error)
Source Files ¶
- grpc_query.go
- grpc_query_ica_pool_list.go
- grpc_query_interchain_tx_status.go
- grpc_query_pool_unbond_next_sequence.go
- grpc_query_pool_unbondings.go
- grpc_query_rate.go
- grpc_query_relay_fee_receiver.go
- grpc_query_total_fee.go
- grpc_query_unbond_switch.go
- ibc_handlers.go
- keeper.go
- keeper_ibc.go
- msg_server.go
- msg_server_init_pool.go
- msg_server_migrate_init.go
- msg_server_migrate_unbondings.go
- msg_server_register_ica_pool.go
- msg_server_rm_bonded_pool.go
- msg_server_set_era_seconds.go
- msg_server_set_pool_status.go
- msg_server_set_relay_fee_receiver.go
- msg_server_set_relay_gas_price.go
- msg_server_set_withdrawal_addr.go
- msg_server_settings.go
- msg_server_toggle_unbond_switch.go
- msg_server_unseal_migrate_init.go
- proposal.go
- store.go
Click to show internal directories.
Click to hide internal directories.