types

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 38 Imported by: 30

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ProposalTypeCreateAlliance = "msg_create_alliance_proposal"
	ProposalTypeUpdateAlliance = "msg_update_alliance_proposal"
	ProposalTypeDeleteAlliance = "msg_delete_alliance_proposal"
)
View Source
const (
	// ModuleName is the name of the alliance module
	ModuleName = "alliance"

	// RewardsPoolName is the name of the module account for rewards
	RewardsPoolName = "alliance_rewards"

	// StoreKey is the string store representation
	StoreKey = ModuleName

	// QuerierRoute is the querier route for the alliance module
	QuerierRoute = ModuleName

	// RouterKey is the msg router key for the alliance module
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_signletimemodule"
)

Variables

View Source
var (
	ErrInvalidLengthAlliance        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAlliance          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAlliance = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDelegations        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDelegations          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDelegations = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidGenesisState = sdkerrors.Register(ModuleName, 0, "invalid genesis state")

	ErrEmptyValidatorAddr      = sdkerrors.Register(ModuleName, 10, "empty validator address")
	ErrValidatorNotFound       = sdkerrors.Register(ModuleName, 11, "validator not found")
	ErrDelegationNotFound      = sdkerrors.Register(ModuleName, 12, "delegation not found")
	ErrActiveDelegationsExists = sdkerrors.Register(ModuleName, 13, "active delegations exists")

	ErrZeroDelegations    = sdkerrors.Register(ModuleName, 20, "there are no delegations yet")
	ErrInsufficientTokens = sdkerrors.Register(ModuleName, 21, "insufficient tokens")

	ErrUnknownAsset  = sdkerrors.Register(ModuleName, 30, "alliance asset is not whitelisted")
	ErrAlreadyExists = sdkerrors.Register(ModuleName, 31, "alliance asset already exists")

	ErrRewardWeightOutOfBound = sdkerrors.Register(ModuleName, 40, "alliance asset must be between reward_weight_range")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleAccKey = []byte{0x01}
	ParamsKey    = []byte{0x02}

	AssetKey                      = []byte{0x11}
	ValidatorInfoKey              = []byte{0x12}
	AssetRebalanceQueueKey        = []byte{0x13}
	RewardWeightChangeSnapshotKey = []byte{0x14}
	RewardWeightDecayQueueKey     = []byte{0x15}

	DelegationKey        = []byte{0x21}
	RedelegationKey      = []byte{0x22}
	RedelegationQueueKey = []byte{0x23}
	UndelegationQueueKey = []byte{0x24}

	// Indexes for querying
	RedelegationByValidatorIndexKey = []byte{0x31}
	// The full index looks like:
	// 0x32 + valAddr + completionTime + denom + delAddr
	// TODO: Simplify this index
	UndelegationByValidatorIndexKey = []byte{0x32}
)
View Source
var (
	RewardDelayTime       = []byte("RewardDelayTime")
	TakeRateClaimInterval = []byte("TakeRateClaimInterval")
	LastTakeRateClaimTime = []byte("LastTakeRateClaimTime")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRedelegations        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRedelegations          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRedelegations = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUnbonding        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUnbonding          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUnbonding = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ConvertNewShareToDecToken

func ConvertNewShareToDecToken(totalTokens math.LegacyDec, totalShares math.LegacyDec, shares math.LegacyDec) (token math.LegacyDec)

func ConvertNewTokenToShares

func ConvertNewTokenToShares(totalTokens math.LegacyDec, totalShares math.LegacyDec, newTokens math.Int) (shares math.LegacyDec)

func CreateDenomAddressPrefix

func CreateDenomAddressPrefix(denom string) []byte

func GetAllianceValidatorInfoKey

func GetAllianceValidatorInfoKey(valAddr sdk.ValAddress) []byte

func GetAssetKey

func GetAssetKey(denom string) []byte

func GetDelegationKey

func GetDelegationKey(delAddr sdk.AccAddress, valAddr sdk.ValAddress, denom string) []byte

GetDelegationKey key is in the format of delegator|validator|denom

func GetDelegationSharesFromTokens

func GetDelegationSharesFromTokens(val AllianceValidator, asset AllianceAsset, token math.Int) math.LegacyDec

func GetDelegationTokens

func GetDelegationTokens(del Delegation, val AllianceValidator, asset AllianceAsset) sdk.Coin

func GetDelegationTokensWithShares

func GetDelegationTokensWithShares(delegatorShares math.LegacyDec, val AllianceValidator, asset AllianceAsset) sdk.Coin

func GetDelegationsKey

func GetDelegationsKey(delAddr sdk.AccAddress) []byte

GetDelegationsKey creates the prefix for a delegator for all validators

func GetDelegationsKeyForAllDenoms

func GetDelegationsKeyForAllDenoms(delAddr sdk.AccAddress, valAddr sdk.ValAddress) []byte

GetDelegationsKeyForAllDenoms creates the key for delegator bond with validator for all denoms

func GetPartialUnbondingKeySuffix added in v0.2.2

func GetPartialUnbondingKeySuffix(denom string, delAddress sdk.AccAddress) (key []byte)

func GetRedelegationIndexKey

func GetRedelegationIndexKey(srcVal sdk.ValAddress, completion time.Time, denom string, dstVal sdk.ValAddress, delAddr sdk.AccAddress) []byte

func GetRedelegationKey

func GetRedelegationKey(delAddr sdk.AccAddress, denom string, dstValAddr sdk.ValAddress, completion time.Time) []byte

func GetRedelegationQueueKey

func GetRedelegationQueueKey(completion time.Time) []byte

func GetRedelegationsIndexOrderedByValidatorKey

func GetRedelegationsIndexOrderedByValidatorKey(srcVal sdk.ValAddress) []byte

func GetRedelegationsKey

func GetRedelegationsKey(delAddr sdk.AccAddress, denom string, dstValAddr sdk.ValAddress) []byte

func GetRedelegationsKeyByDelegator

func GetRedelegationsKeyByDelegator(delAddr sdk.AccAddress) []byte

func GetRedelegationsKeyByDelegatorAndDenom

func GetRedelegationsKeyByDelegatorAndDenom(delAddr sdk.AccAddress, denom string) []byte

func GetRewardWeightChangeSnapshotKey

func GetRewardWeightChangeSnapshotKey(denom string, val sdk.ValAddress, height uint64) (key []byte)

func GetRewardWeightDecayQueueByTimestampKey

func GetRewardWeightDecayQueueByTimestampKey(triggerTime time.Time) (key []byte)

func GetRewardWeightDecayQueueKey

func GetRewardWeightDecayQueueKey(triggerTime time.Time, denom string) (key []byte)

func GetTimeFromUndelegationKey added in v0.3.5

func GetTimeFromUndelegationKey(key []byte) (time.Time, error)

func GetUnbondingIndexKey

func GetUnbondingIndexKey(valAddr sdk.ValAddress, completion time.Time, denom string, delAddress sdk.AccAddress) (key []byte)

func GetUndelegationDelAddressKey added in v0.2.2

func GetUndelegationDelAddressKey(delAddr sdk.AccAddress) (key []byte)

func GetUndelegationQueueKey

func GetUndelegationQueueKey(completion time.Time, delAddr sdk.AccAddress) (key []byte)

func GetUndelegationQueueKeyByTime

func GetUndelegationQueueKeyByTime(completion time.Time) (key []byte)

func GetUndelegationsIndexOrderedByValidatorKey

func GetUndelegationsIndexOrderedByValidatorKey(valAddr sdk.ValAddress) []byte

func GetValidatorShares

func GetValidatorShares(asset AllianceAsset, token math.Int) math.LegacyDec

func NewMsgCreateAllianceProposal

func NewMsgCreateAllianceProposal(title, description, denom string, rewardWeight math.LegacyDec, rewardWeightRange RewardWeightRange, takeRate math.LegacyDec, rewardChangeRate math.LegacyDec, rewardChangeInterval time.Duration) govtypes.Content

func NewMsgDeleteAllianceProposal

func NewMsgDeleteAllianceProposal(title, description, denom string) govtypes.Content

func NewMsgUpdateAllianceProposal

func NewMsgUpdateAllianceProposal(title, description, denom string, rewardWeight math.LegacyDec, rewardWeightRange RewardWeightRange, takeRate math.LegacyDec, rewardChangeRate math.LegacyDec, rewardChangeInterval time.Duration) govtypes.Content

func ParamKeyTable deprecated added in v0.3.0

func ParamKeyTable() paramtypes.KeyTable

Deprecated: ParamKeyTable for auth module

func ParseAllianceValidatorKey

func ParseAllianceValidatorKey(key []byte) sdk.ValAddress

func ParseRedelegationIndexForRedelegationKey

func ParseRedelegationIndexForRedelegationKey(key []byte) ([]byte, time.Time, error)

func ParseRedelegationKeyForCompletionTime

func ParseRedelegationKeyForCompletionTime(key []byte) time.Time

ParseRedelegationKeyForCompletionTime key is in the format of RedelegationKey|delegator|denom|destination|timestamp

func ParseRedelegationPaginationKeyTime added in v0.2.2

func ParseRedelegationPaginationKeyTime(key []byte) time.Time

func ParseRedelegationQueueKey

func ParseRedelegationQueueKey(key []byte) time.Time

func ParseRewardWeightChangeSnapshotKey

func ParseRewardWeightChangeSnapshotKey(key []byte) (denom string, val sdk.ValAddress, height uint64)

func ParseRewardWeightDecayQueueKeyForDenom

func ParseRewardWeightDecayQueueKeyForDenom(key []byte) (triggerTime time.Time, denom string)

func ParseUnbondingIndexKeyToUndelegationKey

func ParseUnbondingIndexKeyToUndelegationKey(key []byte) ([]byte, time.Time, error)

func ParseUndelegationQueueKeyForCompletionTime

func ParseUndelegationQueueKeyForCompletionTime(key []byte) (time.Time, error)

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SubtractDecCoinsWithRounding

func SubtractDecCoinsWithRounding(d1s sdk.DecCoins, d2s sdk.DecCoins) sdk.DecCoins

func ValidatePositiveDuration added in v0.3.0

func ValidatePositiveDuration(t time.Duration) error

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx context.Context, name string) sdk.ModuleAccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AllianceAsset

type AllianceAsset struct {
	// Denom of the asset. It could either be a native token or an IBC token
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	// The reward weight specifies the ratio of rewards that will be given to each alliance asset
	// It does not need to sum to 1. rate = weight / total_weight
	// Native asset is always assumed to have a weight of 1.s
	RewardWeight cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
	// A positive take rate is used for liquid staking derivatives. It defines an rate that is applied per take_rate_interval
	// that will be redirected to the distribution rewards pool
	TakeRate             cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=take_rate,json=takeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"take_rate"`
	TotalTokens          cosmossdk_io_math.Int       `protobuf:"bytes,4,opt,name=total_tokens,json=totalTokens,proto3,customtype=cosmossdk.io/math.Int" json:"total_tokens"`
	TotalValidatorShares cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
	RewardStartTime      time.Time                   `protobuf:"bytes,6,opt,name=reward_start_time,json=rewardStartTime,proto3,stdtime" json:"reward_start_time"`
	RewardChangeRate     cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardChangeInterval time.Duration               `protobuf:"bytes,8,opt,name=reward_change_interval,json=rewardChangeInterval,proto3,stdduration" json:"reward_change_interval"`
	LastRewardChangeTime time.Time                   `protobuf:"bytes,9,opt,name=last_reward_change_time,json=lastRewardChangeTime,proto3,stdtime" json:"last_reward_change_time"`
	// set a bound of weight range to limit how much reward weights can scale.
	RewardWeightRange RewardWeightRange `protobuf:"bytes,10,opt,name=reward_weight_range,json=rewardWeightRange,proto3" json:"reward_weight_range"`
	// flag to check if an asset has completed the initialization process after the reward delay
	IsInitialized bool `protobuf:"varint,11,opt,name=is_initialized,json=isInitialized,proto3" json:"is_initialized,omitempty"`
}

key: denom value: AllianceAsset

func NewAllianceAsset

func NewAllianceAsset(denom string, rewardWeight math.LegacyDec, minRewardWeight math.LegacyDec, maxRewardWeight math.LegacyDec, takeRate math.LegacyDec, rewardStartTime time.Time) AllianceAsset

func (*AllianceAsset) Descriptor

func (*AllianceAsset) Descriptor() ([]byte, []int)

func (AllianceAsset) HasPositiveDecay

func (a AllianceAsset) HasPositiveDecay() bool

func (*AllianceAsset) Marshal

func (m *AllianceAsset) Marshal() (dAtA []byte, err error)

func (*AllianceAsset) MarshalTo

func (m *AllianceAsset) MarshalTo(dAtA []byte) (int, error)

func (*AllianceAsset) MarshalToSizedBuffer

func (m *AllianceAsset) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllianceAsset) ProtoMessage

func (*AllianceAsset) ProtoMessage()

func (*AllianceAsset) Reset

func (m *AllianceAsset) Reset()

func (AllianceAsset) RewardsStarted

func (a AllianceAsset) RewardsStarted(blockTime time.Time) bool

RewardsStarted helper function to check if rewards for the alliance has started

func (*AllianceAsset) Size

func (m *AllianceAsset) Size() (n int)

func (*AllianceAsset) String

func (m *AllianceAsset) String() string

func (*AllianceAsset) Unmarshal

func (m *AllianceAsset) Unmarshal(dAtA []byte) error

func (*AllianceAsset) XXX_DiscardUnknown

func (m *AllianceAsset) XXX_DiscardUnknown()

func (*AllianceAsset) XXX_Marshal

func (m *AllianceAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllianceAsset) XXX_Merge

func (m *AllianceAsset) XXX_Merge(src proto.Message)

func (*AllianceAsset) XXX_Size

func (m *AllianceAsset) XXX_Size() int

func (*AllianceAsset) XXX_Unmarshal

func (m *AllianceAsset) XXX_Unmarshal(b []byte) error

type AllianceValidator

type AllianceValidator struct {
	*stakingtypes.Validator
	*AllianceValidatorInfo
}

func (*AllianceValidator) AddShares

func (v *AllianceValidator) AddShares(delegationShares sdk.DecCoins, validatorShares sdk.DecCoins)

func (AllianceValidator) GetValAddress added in v0.4.0

func (v AllianceValidator) GetValAddress() (sdk.ValAddress, error)

func (*AllianceValidator) ReduceShares

func (v *AllianceValidator) ReduceShares(delegationShares sdk.DecCoins, validatorShares sdk.DecCoins)

ReduceShares handles small inaccuracies (~ < 1) when subtracting shares due to rounding errors

func (AllianceValidator) TotalDelegationSharesWithDenom

func (v AllianceValidator) TotalDelegationSharesWithDenom(denom string) math.LegacyDec

func (AllianceValidator) TotalTokensWithAsset

func (v AllianceValidator) TotalTokensWithAsset(asset AllianceAsset) math.LegacyDec

func (AllianceValidator) ValidatorSharesWithDenom

func (v AllianceValidator) ValidatorSharesWithDenom(denom string) math.LegacyDec

type AllianceValidatorInfo

type AllianceValidatorInfo struct {
	GlobalRewardHistory  []RewardHistory `protobuf:"bytes,1,rep,name=global_reward_history,json=globalRewardHistory,proto3" json:"global_reward_history"`
	TotalDelegatorShares []types.DecCoin `protobuf:"bytes,2,rep,name=total_delegator_shares,json=totalDelegatorShares,proto3" json:"total_delegator_shares"`
	ValidatorShares      []types.DecCoin `protobuf:"bytes,3,rep,name=validator_shares,json=validatorShares,proto3" json:"validator_shares"`
}

func NewAllianceValidatorInfo

func NewAllianceValidatorInfo() AllianceValidatorInfo

func (*AllianceValidatorInfo) Descriptor

func (*AllianceValidatorInfo) Descriptor() ([]byte, []int)

func (*AllianceValidatorInfo) Marshal

func (m *AllianceValidatorInfo) Marshal() (dAtA []byte, err error)

func (*AllianceValidatorInfo) MarshalTo

func (m *AllianceValidatorInfo) MarshalTo(dAtA []byte) (int, error)

func (*AllianceValidatorInfo) MarshalToSizedBuffer

func (m *AllianceValidatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllianceValidatorInfo) ProtoMessage

func (*AllianceValidatorInfo) ProtoMessage()

func (*AllianceValidatorInfo) Reset

func (m *AllianceValidatorInfo) Reset()

func (*AllianceValidatorInfo) Size

func (m *AllianceValidatorInfo) Size() (n int)

func (*AllianceValidatorInfo) String

func (m *AllianceValidatorInfo) String() string

func (*AllianceValidatorInfo) Unmarshal

func (m *AllianceValidatorInfo) Unmarshal(dAtA []byte) error

func (*AllianceValidatorInfo) XXX_DiscardUnknown

func (m *AllianceValidatorInfo) XXX_DiscardUnknown()

func (*AllianceValidatorInfo) XXX_Marshal

func (m *AllianceValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllianceValidatorInfo) XXX_Merge

func (m *AllianceValidatorInfo) XXX_Merge(src proto.Message)

func (*AllianceValidatorInfo) XXX_Size

func (m *AllianceValidatorInfo) XXX_Size() int

func (*AllianceValidatorInfo) XXX_Unmarshal

func (m *AllianceValidatorInfo) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins
}

type ClaimAllianceRewardsEvent

type ClaimAllianceRewardsEvent struct {
	AllianceSender string                                    `protobuf:"bytes,1,opt,name=allianceSender,proto3" json:"allianceSender,omitempty"`
	Validator      string                                    `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Coins          []github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,rep,name=coins,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coins"`
}

func (*ClaimAllianceRewardsEvent) Descriptor

func (*ClaimAllianceRewardsEvent) Descriptor() ([]byte, []int)

func (*ClaimAllianceRewardsEvent) GetAllianceSender

func (m *ClaimAllianceRewardsEvent) GetAllianceSender() string

func (*ClaimAllianceRewardsEvent) GetValidator

func (m *ClaimAllianceRewardsEvent) GetValidator() string

func (*ClaimAllianceRewardsEvent) Marshal

func (m *ClaimAllianceRewardsEvent) Marshal() (dAtA []byte, err error)

func (*ClaimAllianceRewardsEvent) MarshalTo

func (m *ClaimAllianceRewardsEvent) MarshalTo(dAtA []byte) (int, error)

func (*ClaimAllianceRewardsEvent) MarshalToSizedBuffer

func (m *ClaimAllianceRewardsEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClaimAllianceRewardsEvent) ProtoMessage

func (*ClaimAllianceRewardsEvent) ProtoMessage()

func (*ClaimAllianceRewardsEvent) Reset

func (m *ClaimAllianceRewardsEvent) Reset()

func (*ClaimAllianceRewardsEvent) Size

func (m *ClaimAllianceRewardsEvent) Size() (n int)

func (*ClaimAllianceRewardsEvent) String

func (m *ClaimAllianceRewardsEvent) String() string

func (*ClaimAllianceRewardsEvent) Unmarshal

func (m *ClaimAllianceRewardsEvent) Unmarshal(dAtA []byte) error

func (*ClaimAllianceRewardsEvent) XXX_DiscardUnknown

func (m *ClaimAllianceRewardsEvent) XXX_DiscardUnknown()

func (*ClaimAllianceRewardsEvent) XXX_Marshal

func (m *ClaimAllianceRewardsEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimAllianceRewardsEvent) XXX_Merge

func (m *ClaimAllianceRewardsEvent) XXX_Merge(src proto.Message)

func (*ClaimAllianceRewardsEvent) XXX_Size

func (m *ClaimAllianceRewardsEvent) XXX_Size() int

func (*ClaimAllianceRewardsEvent) XXX_Unmarshal

func (m *ClaimAllianceRewardsEvent) XXX_Unmarshal(b []byte) error

type DeductAllianceAssetsEvent added in v0.2.3

type DeductAllianceAssetsEvent struct {
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

func (*DeductAllianceAssetsEvent) Descriptor added in v0.2.3

func (*DeductAllianceAssetsEvent) Descriptor() ([]byte, []int)

func (*DeductAllianceAssetsEvent) GetCoins added in v0.2.3

func (*DeductAllianceAssetsEvent) Marshal added in v0.2.3

func (m *DeductAllianceAssetsEvent) Marshal() (dAtA []byte, err error)

func (*DeductAllianceAssetsEvent) MarshalTo added in v0.2.3

func (m *DeductAllianceAssetsEvent) MarshalTo(dAtA []byte) (int, error)

func (*DeductAllianceAssetsEvent) MarshalToSizedBuffer added in v0.2.3

func (m *DeductAllianceAssetsEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeductAllianceAssetsEvent) ProtoMessage added in v0.2.3

func (*DeductAllianceAssetsEvent) ProtoMessage()

func (*DeductAllianceAssetsEvent) Reset added in v0.2.3

func (m *DeductAllianceAssetsEvent) Reset()

func (*DeductAllianceAssetsEvent) Size added in v0.2.3

func (m *DeductAllianceAssetsEvent) Size() (n int)

func (*DeductAllianceAssetsEvent) String added in v0.2.3

func (m *DeductAllianceAssetsEvent) String() string

func (*DeductAllianceAssetsEvent) Unmarshal added in v0.2.3

func (m *DeductAllianceAssetsEvent) Unmarshal(dAtA []byte) error

func (*DeductAllianceAssetsEvent) XXX_DiscardUnknown added in v0.2.3

func (m *DeductAllianceAssetsEvent) XXX_DiscardUnknown()

func (*DeductAllianceAssetsEvent) XXX_Marshal added in v0.2.3

func (m *DeductAllianceAssetsEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeductAllianceAssetsEvent) XXX_Merge added in v0.2.3

func (m *DeductAllianceAssetsEvent) XXX_Merge(src proto.Message)

func (*DeductAllianceAssetsEvent) XXX_Size added in v0.2.3

func (m *DeductAllianceAssetsEvent) XXX_Size() int

func (*DeductAllianceAssetsEvent) XXX_Unmarshal added in v0.2.3

func (m *DeductAllianceAssetsEvent) XXX_Unmarshal(b []byte) error

type DelegateAllianceEvent

type DelegateAllianceEvent struct {
	AllianceSender string                                  `protobuf:"bytes,1,opt,name=allianceSender,proto3" json:"allianceSender,omitempty"`
	Validator      string                                  `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Coin           github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
	NewShares      cosmossdk_io_math.LegacyDec             `protobuf:"bytes,4,opt,name=newShares,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"newShares"`
}

func (*DelegateAllianceEvent) Descriptor

func (*DelegateAllianceEvent) Descriptor() ([]byte, []int)

func (*DelegateAllianceEvent) GetAllianceSender

func (m *DelegateAllianceEvent) GetAllianceSender() string

func (*DelegateAllianceEvent) GetValidator

func (m *DelegateAllianceEvent) GetValidator() string

func (*DelegateAllianceEvent) Marshal

func (m *DelegateAllianceEvent) Marshal() (dAtA []byte, err error)

func (*DelegateAllianceEvent) MarshalTo

func (m *DelegateAllianceEvent) MarshalTo(dAtA []byte) (int, error)

func (*DelegateAllianceEvent) MarshalToSizedBuffer

func (m *DelegateAllianceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegateAllianceEvent) ProtoMessage

func (*DelegateAllianceEvent) ProtoMessage()

func (*DelegateAllianceEvent) Reset

func (m *DelegateAllianceEvent) Reset()

func (*DelegateAllianceEvent) Size

func (m *DelegateAllianceEvent) Size() (n int)

func (*DelegateAllianceEvent) String

func (m *DelegateAllianceEvent) String() string

func (*DelegateAllianceEvent) Unmarshal

func (m *DelegateAllianceEvent) Unmarshal(dAtA []byte) error

func (*DelegateAllianceEvent) XXX_DiscardUnknown

func (m *DelegateAllianceEvent) XXX_DiscardUnknown()

func (*DelegateAllianceEvent) XXX_Marshal

func (m *DelegateAllianceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegateAllianceEvent) XXX_Merge

func (m *DelegateAllianceEvent) XXX_Merge(src proto.Message)

func (*DelegateAllianceEvent) XXX_Size

func (m *DelegateAllianceEvent) XXX_Size() int

func (*DelegateAllianceEvent) XXX_Unmarshal

func (m *DelegateAllianceEvent) XXX_Unmarshal(b []byte) error

type Delegation

type Delegation struct {
	// delegator_address is the bech32-encoded address of the delegator.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// validator_address is the bech32-encoded address of the validator.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// denom of token staked
	Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// shares define the delegation shares received.
	Shares                cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=shares,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"shares"`
	RewardHistory         []RewardHistory             `protobuf:"bytes,5,rep,name=reward_history,json=rewardHistory,proto3" json:"reward_history"`
	LastRewardClaimHeight uint64                      `` /* 129-byte string literal not displayed */
}

func NewDelegation

func NewDelegation(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, denom string, shares math.LegacyDec, rewardHistory []RewardHistory) Delegation

func (*Delegation) Descriptor

func (*Delegation) Descriptor() ([]byte, []int)

func (*Delegation) Marshal

func (m *Delegation) Marshal() (dAtA []byte, err error)

func (*Delegation) MarshalTo

func (m *Delegation) MarshalTo(dAtA []byte) (int, error)

func (*Delegation) MarshalToSizedBuffer

func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Delegation) ProtoMessage

func (*Delegation) ProtoMessage()

func (*Delegation) Reset

func (m *Delegation) Reset()

func (*Delegation) Size

func (m *Delegation) Size() (n int)

func (*Delegation) String

func (m *Delegation) String() string

func (*Delegation) Unmarshal

func (m *Delegation) Unmarshal(dAtA []byte) error

func (*Delegation) XXX_DiscardUnknown

func (m *Delegation) XXX_DiscardUnknown()

func (*Delegation) XXX_Marshal

func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Delegation) XXX_Merge

func (m *Delegation) XXX_Merge(src proto.Message)

func (*Delegation) XXX_Size

func (m *Delegation) XXX_Size() int

func (*Delegation) XXX_Unmarshal

func (m *Delegation) XXX_Unmarshal(b []byte) error

type DelegationResponse

type DelegationResponse struct {
	Delegation Delegation `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
	Balance    types.Coin `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance"`
}

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

func (*DelegationResponse) Descriptor

func (*DelegationResponse) Descriptor() ([]byte, []int)

func (*DelegationResponse) GetBalance

func (m *DelegationResponse) GetBalance() types.Coin

func (*DelegationResponse) GetDelegation

func (m *DelegationResponse) GetDelegation() Delegation

func (*DelegationResponse) Marshal

func (m *DelegationResponse) Marshal() (dAtA []byte, err error)

func (*DelegationResponse) MarshalTo

func (m *DelegationResponse) MarshalTo(dAtA []byte) (int, error)

func (*DelegationResponse) MarshalToSizedBuffer

func (m *DelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationResponse) ProtoMessage

func (*DelegationResponse) ProtoMessage()

func (*DelegationResponse) Reset

func (m *DelegationResponse) Reset()

func (*DelegationResponse) Size

func (m *DelegationResponse) Size() (n int)

func (*DelegationResponse) String

func (m *DelegationResponse) String() string

func (*DelegationResponse) Unmarshal

func (m *DelegationResponse) Unmarshal(dAtA []byte) error

func (*DelegationResponse) XXX_DiscardUnknown

func (m *DelegationResponse) XXX_DiscardUnknown()

func (*DelegationResponse) XXX_Marshal

func (m *DelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationResponse) XXX_Merge

func (m *DelegationResponse) XXX_Merge(src proto.Message)

func (*DelegationResponse) XXX_Size

func (m *DelegationResponse) XXX_Size() int

func (*DelegationResponse) XXX_Unmarshal

func (m *DelegationResponse) XXX_Unmarshal(b []byte) error

type DistributionKeeper

type DistributionKeeper interface {
	WithdrawDelegationRewards(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (sdk.Coins, error)
}

type GenesisState

type GenesisState struct {
	Params                     Params                            `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Assets                     []AllianceAsset                   `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets"`
	ValidatorInfos             []ValidatorInfoState              `protobuf:"bytes,3,rep,name=validator_infos,json=validatorInfos,proto3" json:"validator_infos"`
	RewardWeightChangeSnaphots []RewardWeightChangeSnapshotState `` /* 133-byte string literal not displayed */
	Delegations                []Delegation                      `protobuf:"bytes,5,rep,name=delegations,proto3" json:"delegations"`
	Redelegations              []RedelegationState               `protobuf:"bytes,6,rep,name=redelegations,proto3" json:"redelegations"`
	Undelegations              []UndelegationState               `protobuf:"bytes,7,rep,name=undelegations,proto3" json:"undelegations"`
}

GenesisState defines the module's genesis state.

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetAssets

func (m *GenesisState) GetAssets() []AllianceAsset

func (*GenesisState) GetDelegations

func (m *GenesisState) GetDelegations() []Delegation

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetRedelegations

func (m *GenesisState) GetRedelegations() []RedelegationState

func (*GenesisState) GetRewardWeightChangeSnaphots

func (m *GenesisState) GetRewardWeightChangeSnaphots() []RewardWeightChangeSnapshotState

func (*GenesisState) GetUndelegations

func (m *GenesisState) GetUndelegations() []UndelegationState

func (*GenesisState) GetValidatorInfos

func (m *GenesisState) GetValidatorInfos() []ValidatorInfoState

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgClaimDelegationRewards

type MsgClaimDelegationRewards struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Denom            string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgClaimDelegationRewards

func NewMsgClaimDelegationRewards(delegatorAddress, validatorAddress, denom string) *MsgClaimDelegationRewards

func (*MsgClaimDelegationRewards) Descriptor

func (*MsgClaimDelegationRewards) Descriptor() ([]byte, []int)

func (*MsgClaimDelegationRewards) Marshal

func (m *MsgClaimDelegationRewards) Marshal() (dAtA []byte, err error)

func (*MsgClaimDelegationRewards) MarshalTo

func (m *MsgClaimDelegationRewards) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimDelegationRewards) MarshalToSizedBuffer

func (m *MsgClaimDelegationRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimDelegationRewards) ProtoMessage

func (*MsgClaimDelegationRewards) ProtoMessage()

func (*MsgClaimDelegationRewards) Reset

func (m *MsgClaimDelegationRewards) Reset()

func (*MsgClaimDelegationRewards) Size

func (m *MsgClaimDelegationRewards) Size() (n int)

func (*MsgClaimDelegationRewards) String

func (m *MsgClaimDelegationRewards) String() string

func (*MsgClaimDelegationRewards) Unmarshal

func (m *MsgClaimDelegationRewards) Unmarshal(dAtA []byte) error

func (*MsgClaimDelegationRewards) XXX_DiscardUnknown

func (m *MsgClaimDelegationRewards) XXX_DiscardUnknown()

func (*MsgClaimDelegationRewards) XXX_Marshal

func (m *MsgClaimDelegationRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimDelegationRewards) XXX_Merge

func (m *MsgClaimDelegationRewards) XXX_Merge(src proto.Message)

func (*MsgClaimDelegationRewards) XXX_Size

func (m *MsgClaimDelegationRewards) XXX_Size() int

func (*MsgClaimDelegationRewards) XXX_Unmarshal

func (m *MsgClaimDelegationRewards) XXX_Unmarshal(b []byte) error

type MsgClaimDelegationRewardsResponse

type MsgClaimDelegationRewardsResponse struct {
}

func (*MsgClaimDelegationRewardsResponse) Descriptor

func (*MsgClaimDelegationRewardsResponse) Descriptor() ([]byte, []int)

func (*MsgClaimDelegationRewardsResponse) Marshal

func (m *MsgClaimDelegationRewardsResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimDelegationRewardsResponse) MarshalTo

func (m *MsgClaimDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimDelegationRewardsResponse) MarshalToSizedBuffer

func (m *MsgClaimDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimDelegationRewardsResponse) ProtoMessage

func (*MsgClaimDelegationRewardsResponse) ProtoMessage()

func (*MsgClaimDelegationRewardsResponse) Reset

func (*MsgClaimDelegationRewardsResponse) Size

func (m *MsgClaimDelegationRewardsResponse) Size() (n int)

func (*MsgClaimDelegationRewardsResponse) String

func (*MsgClaimDelegationRewardsResponse) Unmarshal

func (m *MsgClaimDelegationRewardsResponse) Unmarshal(dAtA []byte) error

func (*MsgClaimDelegationRewardsResponse) XXX_DiscardUnknown

func (m *MsgClaimDelegationRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimDelegationRewardsResponse) XXX_Marshal

func (m *MsgClaimDelegationRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimDelegationRewardsResponse) XXX_Merge

func (*MsgClaimDelegationRewardsResponse) XXX_Size

func (m *MsgClaimDelegationRewardsResponse) XXX_Size() int

func (*MsgClaimDelegationRewardsResponse) XXX_Unmarshal

func (m *MsgClaimDelegationRewardsResponse) XXX_Unmarshal(b []byte) error

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateAlliance added in v0.3.0

type MsgCreateAlliance struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Denom of the asset. It could either be a native token or an IBC token
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	// The reward weight specifies the ratio of rewards that will be given to each alliance asset
	// It does not need to sum to 1. rate = weight / total_weight
	// Native asset is always assumed to have a weight of 1.
	RewardWeight cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
	// A positive take rate is used for liquid staking derivatives. It defines an annualized reward rate that
	// will be redirected to the distribution rewards pool
	TakeRate             cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=take_rate,json=takeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"take_rate"`
	RewardChangeRate     cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardChangeInterval time.Duration               `protobuf:"bytes,6,opt,name=reward_change_interval,json=rewardChangeInterval,proto3,stdduration" json:"reward_change_interval"`
	// set a bound of weight range to limit how much reward weights can scale.
	RewardWeightRange RewardWeightRange `protobuf:"bytes,7,opt,name=reward_weight_range,json=rewardWeightRange,proto3" json:"reward_weight_range"`
}

func (*MsgCreateAlliance) Descriptor added in v0.3.0

func (*MsgCreateAlliance) Descriptor() ([]byte, []int)

func (*MsgCreateAlliance) GetAuthority added in v0.3.0

func (m *MsgCreateAlliance) GetAuthority() string

func (*MsgCreateAlliance) GetDenom added in v0.3.0

func (m *MsgCreateAlliance) GetDenom() string

func (*MsgCreateAlliance) GetRewardChangeInterval added in v0.3.0

func (m *MsgCreateAlliance) GetRewardChangeInterval() time.Duration

func (*MsgCreateAlliance) GetRewardWeightRange added in v0.3.0

func (m *MsgCreateAlliance) GetRewardWeightRange() RewardWeightRange

func (*MsgCreateAlliance) Marshal added in v0.3.0

func (m *MsgCreateAlliance) Marshal() (dAtA []byte, err error)

func (*MsgCreateAlliance) MarshalTo added in v0.3.0

func (m *MsgCreateAlliance) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateAlliance) MarshalToSizedBuffer added in v0.3.0

func (m *MsgCreateAlliance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateAlliance) ProtoMessage added in v0.3.0

func (*MsgCreateAlliance) ProtoMessage()

func (*MsgCreateAlliance) Reset added in v0.3.0

func (m *MsgCreateAlliance) Reset()

func (*MsgCreateAlliance) Size added in v0.3.0

func (m *MsgCreateAlliance) Size() (n int)

func (*MsgCreateAlliance) String added in v0.3.0

func (m *MsgCreateAlliance) String() string

func (*MsgCreateAlliance) Unmarshal added in v0.3.0

func (m *MsgCreateAlliance) Unmarshal(dAtA []byte) error

func (*MsgCreateAlliance) XXX_DiscardUnknown added in v0.3.0

func (m *MsgCreateAlliance) XXX_DiscardUnknown()

func (*MsgCreateAlliance) XXX_Marshal added in v0.3.0

func (m *MsgCreateAlliance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateAlliance) XXX_Merge added in v0.3.0

func (m *MsgCreateAlliance) XXX_Merge(src proto.Message)

func (*MsgCreateAlliance) XXX_Size added in v0.3.0

func (m *MsgCreateAlliance) XXX_Size() int

func (*MsgCreateAlliance) XXX_Unmarshal added in v0.3.0

func (m *MsgCreateAlliance) XXX_Unmarshal(b []byte) error

type MsgCreateAllianceProposal

type MsgCreateAllianceProposal struct {
	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Denom of the asset. It could either be a native token or an IBC token
	Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	// The reward weight specifies the ratio of rewards that will be given to each alliance asset
	// It does not need to sum to 1. rate = weight / total_weight
	// Native asset is always assumed to have a weight of 1.
	RewardWeight cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
	// A positive take rate is used for liquid staking derivatives. It defines an annualized reward rate that
	// will be redirected to the distribution rewards pool
	TakeRate             cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=take_rate,json=takeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"take_rate"`
	RewardChangeRate     cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardChangeInterval time.Duration               `protobuf:"bytes,7,opt,name=reward_change_interval,json=rewardChangeInterval,proto3,stdduration" json:"reward_change_interval"`
	// set a bound of weight range to limit how much reward weights can scale.
	RewardWeightRange RewardWeightRange `protobuf:"bytes,8,opt,name=reward_weight_range,json=rewardWeightRange,proto3" json:"reward_weight_range"`
}

func (*MsgCreateAllianceProposal) Descriptor

func (*MsgCreateAllianceProposal) Descriptor() ([]byte, []int)

func (*MsgCreateAllianceProposal) GetDescription

func (m *MsgCreateAllianceProposal) GetDescription() string

func (*MsgCreateAllianceProposal) GetTitle

func (m *MsgCreateAllianceProposal) GetTitle() string

func (*MsgCreateAllianceProposal) Marshal

func (m *MsgCreateAllianceProposal) Marshal() (dAtA []byte, err error)

func (*MsgCreateAllianceProposal) MarshalTo

func (m *MsgCreateAllianceProposal) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateAllianceProposal) MarshalToSizedBuffer

func (m *MsgCreateAllianceProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateAllianceProposal) ProposalRoute

func (m *MsgCreateAllianceProposal) ProposalRoute() string

func (*MsgCreateAllianceProposal) ProposalType

func (m *MsgCreateAllianceProposal) ProposalType() string

func (*MsgCreateAllianceProposal) ProtoMessage

func (*MsgCreateAllianceProposal) ProtoMessage()

func (*MsgCreateAllianceProposal) Reset

func (m *MsgCreateAllianceProposal) Reset()

func (*MsgCreateAllianceProposal) Size

func (m *MsgCreateAllianceProposal) Size() (n int)

func (*MsgCreateAllianceProposal) String

func (m *MsgCreateAllianceProposal) String() string

func (*MsgCreateAllianceProposal) Unmarshal

func (m *MsgCreateAllianceProposal) Unmarshal(dAtA []byte) error

func (*MsgCreateAllianceProposal) ValidateBasic

func (m *MsgCreateAllianceProposal) ValidateBasic() error

func (*MsgCreateAllianceProposal) XXX_DiscardUnknown

func (m *MsgCreateAllianceProposal) XXX_DiscardUnknown()

func (*MsgCreateAllianceProposal) XXX_Marshal

func (m *MsgCreateAllianceProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateAllianceProposal) XXX_Merge

func (m *MsgCreateAllianceProposal) XXX_Merge(src proto.Message)

func (*MsgCreateAllianceProposal) XXX_Size

func (m *MsgCreateAllianceProposal) XXX_Size() int

func (*MsgCreateAllianceProposal) XXX_Unmarshal

func (m *MsgCreateAllianceProposal) XXX_Unmarshal(b []byte) error

type MsgCreateAllianceResponse added in v0.3.0

type MsgCreateAllianceResponse struct {
}

func (*MsgCreateAllianceResponse) Descriptor added in v0.3.0

func (*MsgCreateAllianceResponse) Descriptor() ([]byte, []int)

func (*MsgCreateAllianceResponse) Marshal added in v0.3.0

func (m *MsgCreateAllianceResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateAllianceResponse) MarshalTo added in v0.3.0

func (m *MsgCreateAllianceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateAllianceResponse) MarshalToSizedBuffer added in v0.3.0

func (m *MsgCreateAllianceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateAllianceResponse) ProtoMessage added in v0.3.0

func (*MsgCreateAllianceResponse) ProtoMessage()

func (*MsgCreateAllianceResponse) Reset added in v0.3.0

func (m *MsgCreateAllianceResponse) Reset()

func (*MsgCreateAllianceResponse) Size added in v0.3.0

func (m *MsgCreateAllianceResponse) Size() (n int)

func (*MsgCreateAllianceResponse) String added in v0.3.0

func (m *MsgCreateAllianceResponse) String() string

func (*MsgCreateAllianceResponse) Unmarshal added in v0.3.0

func (m *MsgCreateAllianceResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateAllianceResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgCreateAllianceResponse) XXX_DiscardUnknown()

func (*MsgCreateAllianceResponse) XXX_Marshal added in v0.3.0

func (m *MsgCreateAllianceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateAllianceResponse) XXX_Merge added in v0.3.0

func (m *MsgCreateAllianceResponse) XXX_Merge(src proto.Message)

func (*MsgCreateAllianceResponse) XXX_Size added in v0.3.0

func (m *MsgCreateAllianceResponse) XXX_Size() int

func (*MsgCreateAllianceResponse) XXX_Unmarshal added in v0.3.0

func (m *MsgCreateAllianceResponse) XXX_Unmarshal(b []byte) error

type MsgDelegate

type MsgDelegate struct {
	DelegatorAddress string                                  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string                                  `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}

func NewMsgDelegate

func NewMsgDelegate(delegatorAddress, validatorAddress string, amount sdk.Coin) *MsgDelegate

func (*MsgDelegate) Descriptor

func (*MsgDelegate) Descriptor() ([]byte, []int)

func (*MsgDelegate) Marshal

func (m *MsgDelegate) Marshal() (dAtA []byte, err error)

func (*MsgDelegate) MarshalTo

func (m *MsgDelegate) MarshalTo(dAtA []byte) (int, error)

func (*MsgDelegate) MarshalToSizedBuffer

func (m *MsgDelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDelegate) ProtoMessage

func (*MsgDelegate) ProtoMessage()

func (*MsgDelegate) Reset

func (m *MsgDelegate) Reset()

func (*MsgDelegate) Size

func (m *MsgDelegate) Size() (n int)

func (*MsgDelegate) String

func (m *MsgDelegate) String() string

func (*MsgDelegate) Unmarshal

func (m *MsgDelegate) Unmarshal(dAtA []byte) error

func (*MsgDelegate) XXX_DiscardUnknown

func (m *MsgDelegate) XXX_DiscardUnknown()

func (*MsgDelegate) XXX_Marshal

func (m *MsgDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDelegate) XXX_Merge

func (m *MsgDelegate) XXX_Merge(src proto.Message)

func (*MsgDelegate) XXX_Size

func (m *MsgDelegate) XXX_Size() int

func (*MsgDelegate) XXX_Unmarshal

func (m *MsgDelegate) XXX_Unmarshal(b []byte) error

type MsgDelegateResponse

type MsgDelegateResponse struct {
}

func (*MsgDelegateResponse) Descriptor

func (*MsgDelegateResponse) Descriptor() ([]byte, []int)

func (*MsgDelegateResponse) Marshal

func (m *MsgDelegateResponse) Marshal() (dAtA []byte, err error)

func (*MsgDelegateResponse) MarshalTo

func (m *MsgDelegateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDelegateResponse) MarshalToSizedBuffer

func (m *MsgDelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDelegateResponse) ProtoMessage

func (*MsgDelegateResponse) ProtoMessage()

func (*MsgDelegateResponse) Reset

func (m *MsgDelegateResponse) Reset()

func (*MsgDelegateResponse) Size

func (m *MsgDelegateResponse) Size() (n int)

func (*MsgDelegateResponse) String

func (m *MsgDelegateResponse) String() string

func (*MsgDelegateResponse) Unmarshal

func (m *MsgDelegateResponse) Unmarshal(dAtA []byte) error

func (*MsgDelegateResponse) XXX_DiscardUnknown

func (m *MsgDelegateResponse) XXX_DiscardUnknown()

func (*MsgDelegateResponse) XXX_Marshal

func (m *MsgDelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDelegateResponse) XXX_Merge

func (m *MsgDelegateResponse) XXX_Merge(src proto.Message)

func (*MsgDelegateResponse) XXX_Size

func (m *MsgDelegateResponse) XXX_Size() int

func (*MsgDelegateResponse) XXX_Unmarshal

func (m *MsgDelegateResponse) XXX_Unmarshal(b []byte) error

type MsgDeleteAlliance added in v0.3.0

type MsgDeleteAlliance struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Denom     string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
}

func (*MsgDeleteAlliance) Descriptor added in v0.3.0

func (*MsgDeleteAlliance) Descriptor() ([]byte, []int)

func (*MsgDeleteAlliance) GetAuthority added in v0.3.0

func (m *MsgDeleteAlliance) GetAuthority() string

func (*MsgDeleteAlliance) GetDenom added in v0.3.0

func (m *MsgDeleteAlliance) GetDenom() string

func (*MsgDeleteAlliance) Marshal added in v0.3.0

func (m *MsgDeleteAlliance) Marshal() (dAtA []byte, err error)

func (*MsgDeleteAlliance) MarshalTo added in v0.3.0

func (m *MsgDeleteAlliance) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteAlliance) MarshalToSizedBuffer added in v0.3.0

func (m *MsgDeleteAlliance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteAlliance) ProtoMessage added in v0.3.0

func (*MsgDeleteAlliance) ProtoMessage()

func (*MsgDeleteAlliance) Reset added in v0.3.0

func (m *MsgDeleteAlliance) Reset()

func (*MsgDeleteAlliance) Size added in v0.3.0

func (m *MsgDeleteAlliance) Size() (n int)

func (*MsgDeleteAlliance) String added in v0.3.0

func (m *MsgDeleteAlliance) String() string

func (*MsgDeleteAlliance) Unmarshal added in v0.3.0

func (m *MsgDeleteAlliance) Unmarshal(dAtA []byte) error

func (*MsgDeleteAlliance) XXX_DiscardUnknown added in v0.3.0

func (m *MsgDeleteAlliance) XXX_DiscardUnknown()

func (*MsgDeleteAlliance) XXX_Marshal added in v0.3.0

func (m *MsgDeleteAlliance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteAlliance) XXX_Merge added in v0.3.0

func (m *MsgDeleteAlliance) XXX_Merge(src proto.Message)

func (*MsgDeleteAlliance) XXX_Size added in v0.3.0

func (m *MsgDeleteAlliance) XXX_Size() int

func (*MsgDeleteAlliance) XXX_Unmarshal added in v0.3.0

func (m *MsgDeleteAlliance) XXX_Unmarshal(b []byte) error

type MsgDeleteAllianceProposal

type MsgDeleteAllianceProposal struct {
	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom       string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
}

func (*MsgDeleteAllianceProposal) Descriptor

func (*MsgDeleteAllianceProposal) Descriptor() ([]byte, []int)

func (*MsgDeleteAllianceProposal) GetDescription

func (m *MsgDeleteAllianceProposal) GetDescription() string

func (*MsgDeleteAllianceProposal) GetTitle

func (m *MsgDeleteAllianceProposal) GetTitle() string

func (*MsgDeleteAllianceProposal) Marshal

func (m *MsgDeleteAllianceProposal) Marshal() (dAtA []byte, err error)

func (*MsgDeleteAllianceProposal) MarshalTo

func (m *MsgDeleteAllianceProposal) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteAllianceProposal) MarshalToSizedBuffer

func (m *MsgDeleteAllianceProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteAllianceProposal) ProposalRoute

func (m *MsgDeleteAllianceProposal) ProposalRoute() string

func (*MsgDeleteAllianceProposal) ProposalType

func (m *MsgDeleteAllianceProposal) ProposalType() string

func (*MsgDeleteAllianceProposal) ProtoMessage

func (*MsgDeleteAllianceProposal) ProtoMessage()

func (*MsgDeleteAllianceProposal) Reset

func (m *MsgDeleteAllianceProposal) Reset()

func (*MsgDeleteAllianceProposal) Size

func (m *MsgDeleteAllianceProposal) Size() (n int)

func (*MsgDeleteAllianceProposal) String

func (m *MsgDeleteAllianceProposal) String() string

func (*MsgDeleteAllianceProposal) Unmarshal

func (m *MsgDeleteAllianceProposal) Unmarshal(dAtA []byte) error

func (*MsgDeleteAllianceProposal) ValidateBasic

func (m *MsgDeleteAllianceProposal) ValidateBasic() error

func (*MsgDeleteAllianceProposal) XXX_DiscardUnknown

func (m *MsgDeleteAllianceProposal) XXX_DiscardUnknown()

func (*MsgDeleteAllianceProposal) XXX_Marshal

func (m *MsgDeleteAllianceProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteAllianceProposal) XXX_Merge

func (m *MsgDeleteAllianceProposal) XXX_Merge(src proto.Message)

func (*MsgDeleteAllianceProposal) XXX_Size

func (m *MsgDeleteAllianceProposal) XXX_Size() int

func (*MsgDeleteAllianceProposal) XXX_Unmarshal

func (m *MsgDeleteAllianceProposal) XXX_Unmarshal(b []byte) error

type MsgDeleteAllianceResponse added in v0.3.0

type MsgDeleteAllianceResponse struct {
}

func (*MsgDeleteAllianceResponse) Descriptor added in v0.3.0

func (*MsgDeleteAllianceResponse) Descriptor() ([]byte, []int)

func (*MsgDeleteAllianceResponse) Marshal added in v0.3.0

func (m *MsgDeleteAllianceResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteAllianceResponse) MarshalTo added in v0.3.0

func (m *MsgDeleteAllianceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteAllianceResponse) MarshalToSizedBuffer added in v0.3.0

func (m *MsgDeleteAllianceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteAllianceResponse) ProtoMessage added in v0.3.0

func (*MsgDeleteAllianceResponse) ProtoMessage()

func (*MsgDeleteAllianceResponse) Reset added in v0.3.0

func (m *MsgDeleteAllianceResponse) Reset()

func (*MsgDeleteAllianceResponse) Size added in v0.3.0

func (m *MsgDeleteAllianceResponse) Size() (n int)

func (*MsgDeleteAllianceResponse) String added in v0.3.0

func (m *MsgDeleteAllianceResponse) String() string

func (*MsgDeleteAllianceResponse) Unmarshal added in v0.3.0

func (m *MsgDeleteAllianceResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteAllianceResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgDeleteAllianceResponse) XXX_DiscardUnknown()

func (*MsgDeleteAllianceResponse) XXX_Marshal added in v0.3.0

func (m *MsgDeleteAllianceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteAllianceResponse) XXX_Merge added in v0.3.0

func (m *MsgDeleteAllianceResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteAllianceResponse) XXX_Size added in v0.3.0

func (m *MsgDeleteAllianceResponse) XXX_Size() int

func (*MsgDeleteAllianceResponse) XXX_Unmarshal added in v0.3.0

func (m *MsgDeleteAllianceResponse) XXX_Unmarshal(b []byte) error

type MsgRedelegate

type MsgRedelegate struct {
	DelegatorAddress    string                                  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorSrcAddress string                                  `protobuf:"bytes,2,opt,name=validator_src_address,json=validatorSrcAddress,proto3" json:"validator_src_address,omitempty"`
	ValidatorDstAddress string                                  `protobuf:"bytes,3,opt,name=validator_dst_address,json=validatorDstAddress,proto3" json:"validator_dst_address,omitempty"`
	Amount              github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}

func NewMsgRedelegate

func NewMsgRedelegate(delegatorAddress, validatorSrcAddress, validatorDstAddress string, amount sdk.Coin) *MsgRedelegate

func (*MsgRedelegate) Descriptor

func (*MsgRedelegate) Descriptor() ([]byte, []int)

func (*MsgRedelegate) Marshal

func (m *MsgRedelegate) Marshal() (dAtA []byte, err error)

func (*MsgRedelegate) MarshalTo

func (m *MsgRedelegate) MarshalTo(dAtA []byte) (int, error)

func (*MsgRedelegate) MarshalToSizedBuffer

func (m *MsgRedelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRedelegate) ProtoMessage

func (*MsgRedelegate) ProtoMessage()

func (*MsgRedelegate) Reset

func (m *MsgRedelegate) Reset()

func (*MsgRedelegate) Size

func (m *MsgRedelegate) Size() (n int)

func (*MsgRedelegate) String

func (m *MsgRedelegate) String() string

func (*MsgRedelegate) Unmarshal

func (m *MsgRedelegate) Unmarshal(dAtA []byte) error

func (*MsgRedelegate) XXX_DiscardUnknown

func (m *MsgRedelegate) XXX_DiscardUnknown()

func (*MsgRedelegate) XXX_Marshal

func (m *MsgRedelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRedelegate) XXX_Merge

func (m *MsgRedelegate) XXX_Merge(src proto.Message)

func (*MsgRedelegate) XXX_Size

func (m *MsgRedelegate) XXX_Size() int

func (*MsgRedelegate) XXX_Unmarshal

func (m *MsgRedelegate) XXX_Unmarshal(b []byte) error

type MsgRedelegateResponse

type MsgRedelegateResponse struct {
}

func (*MsgRedelegateResponse) Descriptor

func (*MsgRedelegateResponse) Descriptor() ([]byte, []int)

func (*MsgRedelegateResponse) Marshal

func (m *MsgRedelegateResponse) Marshal() (dAtA []byte, err error)

func (*MsgRedelegateResponse) MarshalTo

func (m *MsgRedelegateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRedelegateResponse) MarshalToSizedBuffer

func (m *MsgRedelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRedelegateResponse) ProtoMessage

func (*MsgRedelegateResponse) ProtoMessage()

func (*MsgRedelegateResponse) Reset

func (m *MsgRedelegateResponse) Reset()

func (*MsgRedelegateResponse) Size

func (m *MsgRedelegateResponse) Size() (n int)

func (*MsgRedelegateResponse) String

func (m *MsgRedelegateResponse) String() string

func (*MsgRedelegateResponse) Unmarshal

func (m *MsgRedelegateResponse) Unmarshal(dAtA []byte) error

func (*MsgRedelegateResponse) XXX_DiscardUnknown

func (m *MsgRedelegateResponse) XXX_DiscardUnknown()

func (*MsgRedelegateResponse) XXX_Marshal

func (m *MsgRedelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRedelegateResponse) XXX_Merge

func (m *MsgRedelegateResponse) XXX_Merge(src proto.Message)

func (*MsgRedelegateResponse) XXX_Size

func (m *MsgRedelegateResponse) XXX_Size() int

func (*MsgRedelegateResponse) XXX_Unmarshal

func (m *MsgRedelegateResponse) XXX_Unmarshal(b []byte) error

type MsgUndelegate

type MsgUndelegate struct {
	DelegatorAddress string                                  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string                                  `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}

func NewMsgUndelegate

func NewMsgUndelegate(delegatorAddress, validatorAddress string, amount sdk.Coin) *MsgUndelegate

func (*MsgUndelegate) Descriptor

func (*MsgUndelegate) Descriptor() ([]byte, []int)

func (*MsgUndelegate) Marshal

func (m *MsgUndelegate) Marshal() (dAtA []byte, err error)

func (*MsgUndelegate) MarshalTo

func (m *MsgUndelegate) MarshalTo(dAtA []byte) (int, error)

func (*MsgUndelegate) MarshalToSizedBuffer

func (m *MsgUndelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUndelegate) ProtoMessage

func (*MsgUndelegate) ProtoMessage()

func (*MsgUndelegate) Reset

func (m *MsgUndelegate) Reset()

func (*MsgUndelegate) Size

func (m *MsgUndelegate) Size() (n int)

func (*MsgUndelegate) String

func (m *MsgUndelegate) String() string

func (*MsgUndelegate) Unmarshal

func (m *MsgUndelegate) Unmarshal(dAtA []byte) error

func (*MsgUndelegate) XXX_DiscardUnknown

func (m *MsgUndelegate) XXX_DiscardUnknown()

func (*MsgUndelegate) XXX_Marshal

func (m *MsgUndelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUndelegate) XXX_Merge

func (m *MsgUndelegate) XXX_Merge(src proto.Message)

func (*MsgUndelegate) XXX_Size

func (m *MsgUndelegate) XXX_Size() int

func (*MsgUndelegate) XXX_Unmarshal

func (m *MsgUndelegate) XXX_Unmarshal(b []byte) error

type MsgUndelegateResponse

type MsgUndelegateResponse struct {
}

func (*MsgUndelegateResponse) Descriptor

func (*MsgUndelegateResponse) Descriptor() ([]byte, []int)

func (*MsgUndelegateResponse) Marshal

func (m *MsgUndelegateResponse) Marshal() (dAtA []byte, err error)

func (*MsgUndelegateResponse) MarshalTo

func (m *MsgUndelegateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUndelegateResponse) MarshalToSizedBuffer

func (m *MsgUndelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUndelegateResponse) ProtoMessage

func (*MsgUndelegateResponse) ProtoMessage()

func (*MsgUndelegateResponse) Reset

func (m *MsgUndelegateResponse) Reset()

func (*MsgUndelegateResponse) Size

func (m *MsgUndelegateResponse) Size() (n int)

func (*MsgUndelegateResponse) String

func (m *MsgUndelegateResponse) String() string

func (*MsgUndelegateResponse) Unmarshal

func (m *MsgUndelegateResponse) Unmarshal(dAtA []byte) error

func (*MsgUndelegateResponse) XXX_DiscardUnknown

func (m *MsgUndelegateResponse) XXX_DiscardUnknown()

func (*MsgUndelegateResponse) XXX_Marshal

func (m *MsgUndelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUndelegateResponse) XXX_Merge

func (m *MsgUndelegateResponse) XXX_Merge(src proto.Message)

func (*MsgUndelegateResponse) XXX_Size

func (m *MsgUndelegateResponse) XXX_Size() int

func (*MsgUndelegateResponse) XXX_Unmarshal

func (m *MsgUndelegateResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateAlliance added in v0.3.0

type MsgUpdateAlliance struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Denom of the asset. It could either be a native token or an IBC token
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	// The reward weight specifies the ratio of rewards that will be given to each alliance asset
	// It does not need to sum to 1. rate = weight / total_weight
	// Native asset is always assumed to have a weight of 1.
	RewardWeight         cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
	TakeRate             cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=take_rate,json=takeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"take_rate"`
	RewardChangeRate     cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardChangeInterval time.Duration               `protobuf:"bytes,6,opt,name=reward_change_interval,json=rewardChangeInterval,proto3,stdduration" json:"reward_change_interval"`
	// set a bound of weight range to limit how much reward weights can scale.
	RewardWeightRange RewardWeightRange `protobuf:"bytes,7,opt,name=reward_weight_range,json=rewardWeightRange,proto3" json:"reward_weight_range"`
}

func (*MsgUpdateAlliance) Descriptor added in v0.3.0

func (*MsgUpdateAlliance) Descriptor() ([]byte, []int)

func (*MsgUpdateAlliance) GetAuthority added in v0.3.0

func (m *MsgUpdateAlliance) GetAuthority() string

func (*MsgUpdateAlliance) GetDenom added in v0.3.0

func (m *MsgUpdateAlliance) GetDenom() string

func (*MsgUpdateAlliance) GetRewardChangeInterval added in v0.3.0

func (m *MsgUpdateAlliance) GetRewardChangeInterval() time.Duration

func (*MsgUpdateAlliance) GetRewardWeightRange added in v0.3.3

func (m *MsgUpdateAlliance) GetRewardWeightRange() RewardWeightRange

func (*MsgUpdateAlliance) Marshal added in v0.3.0

func (m *MsgUpdateAlliance) Marshal() (dAtA []byte, err error)

func (*MsgUpdateAlliance) MarshalTo added in v0.3.0

func (m *MsgUpdateAlliance) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateAlliance) MarshalToSizedBuffer added in v0.3.0

func (m *MsgUpdateAlliance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateAlliance) ProtoMessage added in v0.3.0

func (*MsgUpdateAlliance) ProtoMessage()

func (*MsgUpdateAlliance) Reset added in v0.3.0

func (m *MsgUpdateAlliance) Reset()

func (*MsgUpdateAlliance) Size added in v0.3.0

func (m *MsgUpdateAlliance) Size() (n int)

func (*MsgUpdateAlliance) String added in v0.3.0

func (m *MsgUpdateAlliance) String() string

func (*MsgUpdateAlliance) Unmarshal added in v0.3.0

func (m *MsgUpdateAlliance) Unmarshal(dAtA []byte) error

func (*MsgUpdateAlliance) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateAlliance) XXX_DiscardUnknown()

func (*MsgUpdateAlliance) XXX_Marshal added in v0.3.0

func (m *MsgUpdateAlliance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateAlliance) XXX_Merge added in v0.3.0

func (m *MsgUpdateAlliance) XXX_Merge(src proto.Message)

func (*MsgUpdateAlliance) XXX_Size added in v0.3.0

func (m *MsgUpdateAlliance) XXX_Size() int

func (*MsgUpdateAlliance) XXX_Unmarshal added in v0.3.0

func (m *MsgUpdateAlliance) XXX_Unmarshal(b []byte) error

type MsgUpdateAllianceProposal

type MsgUpdateAllianceProposal struct {
	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Denom of the asset. It could either be a native token or an IBC token
	Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	// The reward weight specifies the ratio of rewards that will be given to each alliance asset
	// It does not need to sum to 1. rate = weight / total_weight
	// Native asset is always assumed to have a weight of 1.
	RewardWeight         cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
	TakeRate             cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=take_rate,json=takeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"take_rate"`
	RewardChangeRate     cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardChangeInterval time.Duration               `protobuf:"bytes,7,opt,name=reward_change_interval,json=rewardChangeInterval,proto3,stdduration" json:"reward_change_interval"`
	// set a bound of weight range to limit how much reward weights can scale.
	RewardWeightRange RewardWeightRange `protobuf:"bytes,8,opt,name=reward_weight_range,json=rewardWeightRange,proto3" json:"reward_weight_range"`
}

func (*MsgUpdateAllianceProposal) Descriptor

func (*MsgUpdateAllianceProposal) Descriptor() ([]byte, []int)

func (*MsgUpdateAllianceProposal) GetDescription

func (m *MsgUpdateAllianceProposal) GetDescription() string

func (*MsgUpdateAllianceProposal) GetTitle

func (m *MsgUpdateAllianceProposal) GetTitle() string

func (*MsgUpdateAllianceProposal) Marshal

func (m *MsgUpdateAllianceProposal) Marshal() (dAtA []byte, err error)

func (*MsgUpdateAllianceProposal) MarshalTo

func (m *MsgUpdateAllianceProposal) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateAllianceProposal) MarshalToSizedBuffer

func (m *MsgUpdateAllianceProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateAllianceProposal) ProposalRoute

func (m *MsgUpdateAllianceProposal) ProposalRoute() string

func (*MsgUpdateAllianceProposal) ProposalType

func (m *MsgUpdateAllianceProposal) ProposalType() string

func (*MsgUpdateAllianceProposal) ProtoMessage

func (*MsgUpdateAllianceProposal) ProtoMessage()

func (*MsgUpdateAllianceProposal) Reset

func (m *MsgUpdateAllianceProposal) Reset()

func (*MsgUpdateAllianceProposal) Size

func (m *MsgUpdateAllianceProposal) Size() (n int)

func (*MsgUpdateAllianceProposal) String

func (m *MsgUpdateAllianceProposal) String() string

func (*MsgUpdateAllianceProposal) Unmarshal

func (m *MsgUpdateAllianceProposal) Unmarshal(dAtA []byte) error

func (*MsgUpdateAllianceProposal) ValidateBasic

func (m *MsgUpdateAllianceProposal) ValidateBasic() error

func (*MsgUpdateAllianceProposal) XXX_DiscardUnknown

func (m *MsgUpdateAllianceProposal) XXX_DiscardUnknown()

func (*MsgUpdateAllianceProposal) XXX_Marshal

func (m *MsgUpdateAllianceProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateAllianceProposal) XXX_Merge

func (m *MsgUpdateAllianceProposal) XXX_Merge(src proto.Message)

func (*MsgUpdateAllianceProposal) XXX_Size

func (m *MsgUpdateAllianceProposal) XXX_Size() int

func (*MsgUpdateAllianceProposal) XXX_Unmarshal

func (m *MsgUpdateAllianceProposal) XXX_Unmarshal(b []byte) error

type MsgUpdateAllianceResponse added in v0.3.0

type MsgUpdateAllianceResponse struct {
}

func (*MsgUpdateAllianceResponse) Descriptor added in v0.3.0

func (*MsgUpdateAllianceResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateAllianceResponse) Marshal added in v0.3.0

func (m *MsgUpdateAllianceResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateAllianceResponse) MarshalTo added in v0.3.0

func (m *MsgUpdateAllianceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateAllianceResponse) MarshalToSizedBuffer added in v0.3.0

func (m *MsgUpdateAllianceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateAllianceResponse) ProtoMessage added in v0.3.0

func (*MsgUpdateAllianceResponse) ProtoMessage()

func (*MsgUpdateAllianceResponse) Reset added in v0.3.0

func (m *MsgUpdateAllianceResponse) Reset()

func (*MsgUpdateAllianceResponse) Size added in v0.3.0

func (m *MsgUpdateAllianceResponse) Size() (n int)

func (*MsgUpdateAllianceResponse) String added in v0.3.0

func (m *MsgUpdateAllianceResponse) String() string

func (*MsgUpdateAllianceResponse) Unmarshal added in v0.3.0

func (m *MsgUpdateAllianceResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateAllianceResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateAllianceResponse) XXX_DiscardUnknown()

func (*MsgUpdateAllianceResponse) XXX_Marshal added in v0.3.0

func (m *MsgUpdateAllianceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateAllianceResponse) XXX_Merge added in v0.3.0

func (m *MsgUpdateAllianceResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateAllianceResponse) XXX_Size added in v0.3.0

func (m *MsgUpdateAllianceResponse) XXX_Size() int

func (*MsgUpdateAllianceResponse) XXX_Unmarshal added in v0.3.0

func (m *MsgUpdateAllianceResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams added in v0.3.0

type MsgUpdateParams struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor added in v0.3.0

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority added in v0.3.0

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.3.0

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal added in v0.3.0

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo added in v0.3.0

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer added in v0.3.0

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage added in v0.3.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v0.3.0

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size added in v0.3.0

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String added in v0.3.0

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal added in v0.3.0

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v0.3.0

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge added in v0.3.0

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size added in v0.3.0

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v0.3.0

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse added in v0.3.0

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor added in v0.3.0

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal added in v0.3.0

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo added in v0.3.0

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v0.3.0

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.3.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v0.3.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v0.3.0

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String added in v0.3.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v0.3.0

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v0.3.0

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge added in v0.3.0

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size added in v0.3.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v0.3.0

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	RewardDelayTime time.Duration `protobuf:"bytes,1,opt,name=reward_delay_time,json=rewardDelayTime,proto3,stdduration" json:"reward_delay_time"`
	// Time interval between consecutive applications of `take_rate`
	TakeRateClaimInterval time.Duration `` /* 130-byte string literal not displayed */
	// Last application of `take_rate` on assets
	LastTakeRateClaimTime time.Time `` /* 128-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetLastTakeRateClaimTime

func (m *Params) GetLastTakeRateClaimTime() time.Time

func (*Params) GetRewardDelayTime

func (m *Params) GetRewardDelayTime() time.Duration

func (*Params) GetTakeRateClaimInterval

func (m *Params) GetTakeRateClaimInterval() time.Duration

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllAllianceValidatorsRequest

type QueryAllAllianceValidatorsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllAllianceValidatorsRequest) Descriptor

func (*QueryAllAllianceValidatorsRequest) Descriptor() ([]byte, []int)

func (*QueryAllAllianceValidatorsRequest) Marshal

func (m *QueryAllAllianceValidatorsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllAllianceValidatorsRequest) MarshalTo

func (m *QueryAllAllianceValidatorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllAllianceValidatorsRequest) MarshalToSizedBuffer

func (m *QueryAllAllianceValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllAllianceValidatorsRequest) ProtoMessage

func (*QueryAllAllianceValidatorsRequest) ProtoMessage()

func (*QueryAllAllianceValidatorsRequest) Reset

func (*QueryAllAllianceValidatorsRequest) Size

func (m *QueryAllAllianceValidatorsRequest) Size() (n int)

func (*QueryAllAllianceValidatorsRequest) String

func (*QueryAllAllianceValidatorsRequest) Unmarshal

func (m *QueryAllAllianceValidatorsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllAllianceValidatorsRequest) XXX_DiscardUnknown

func (m *QueryAllAllianceValidatorsRequest) XXX_DiscardUnknown()

func (*QueryAllAllianceValidatorsRequest) XXX_Marshal

func (m *QueryAllAllianceValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllAllianceValidatorsRequest) XXX_Merge

func (*QueryAllAllianceValidatorsRequest) XXX_Size

func (m *QueryAllAllianceValidatorsRequest) XXX_Size() int

func (*QueryAllAllianceValidatorsRequest) XXX_Unmarshal

func (m *QueryAllAllianceValidatorsRequest) XXX_Unmarshal(b []byte) error

type QueryAllAlliancesDelegationsRequest

type QueryAllAlliancesDelegationsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllAlliancesDelegationsRequest) Descriptor

func (*QueryAllAlliancesDelegationsRequest) Descriptor() ([]byte, []int)

func (*QueryAllAlliancesDelegationsRequest) Marshal

func (m *QueryAllAlliancesDelegationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllAlliancesDelegationsRequest) MarshalTo

func (m *QueryAllAlliancesDelegationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllAlliancesDelegationsRequest) MarshalToSizedBuffer

func (m *QueryAllAlliancesDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllAlliancesDelegationsRequest) ProtoMessage

func (*QueryAllAlliancesDelegationsRequest) ProtoMessage()

func (*QueryAllAlliancesDelegationsRequest) Reset

func (*QueryAllAlliancesDelegationsRequest) Size

func (*QueryAllAlliancesDelegationsRequest) String

func (*QueryAllAlliancesDelegationsRequest) Unmarshal

func (m *QueryAllAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllAlliancesDelegationsRequest) XXX_DiscardUnknown

func (m *QueryAllAlliancesDelegationsRequest) XXX_DiscardUnknown()

func (*QueryAllAlliancesDelegationsRequest) XXX_Marshal

func (m *QueryAllAlliancesDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllAlliancesDelegationsRequest) XXX_Merge

func (*QueryAllAlliancesDelegationsRequest) XXX_Size

func (*QueryAllAlliancesDelegationsRequest) XXX_Unmarshal

func (m *QueryAllAlliancesDelegationsRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceDelegationRequest

type QueryAllianceDelegationRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	ValidatorAddr string             `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	Denom         string             `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AllianceDelegation

func (*QueryAllianceDelegationRequest) Descriptor

func (*QueryAllianceDelegationRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceDelegationRequest) Marshal

func (m *QueryAllianceDelegationRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceDelegationRequest) MarshalTo

func (m *QueryAllianceDelegationRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRequest) MarshalToSizedBuffer

func (m *QueryAllianceDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRequest) ProtoMessage

func (*QueryAllianceDelegationRequest) ProtoMessage()

func (*QueryAllianceDelegationRequest) Reset

func (m *QueryAllianceDelegationRequest) Reset()

func (*QueryAllianceDelegationRequest) Size

func (m *QueryAllianceDelegationRequest) Size() (n int)

func (*QueryAllianceDelegationRequest) String

func (*QueryAllianceDelegationRequest) Unmarshal

func (m *QueryAllianceDelegationRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceDelegationRequest) XXX_DiscardUnknown

func (m *QueryAllianceDelegationRequest) XXX_DiscardUnknown()

func (*QueryAllianceDelegationRequest) XXX_Marshal

func (m *QueryAllianceDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceDelegationRequest) XXX_Merge

func (m *QueryAllianceDelegationRequest) XXX_Merge(src proto.Message)

func (*QueryAllianceDelegationRequest) XXX_Size

func (m *QueryAllianceDelegationRequest) XXX_Size() int

func (*QueryAllianceDelegationRequest) XXX_Unmarshal

func (m *QueryAllianceDelegationRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceDelegationResponse

type QueryAllianceDelegationResponse struct {
	Delegation DelegationResponse `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
}

func (*QueryAllianceDelegationResponse) Descriptor

func (*QueryAllianceDelegationResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceDelegationResponse) GetDelegation

func (*QueryAllianceDelegationResponse) Marshal

func (m *QueryAllianceDelegationResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceDelegationResponse) MarshalTo

func (m *QueryAllianceDelegationResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceDelegationResponse) MarshalToSizedBuffer

func (m *QueryAllianceDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceDelegationResponse) ProtoMessage

func (*QueryAllianceDelegationResponse) ProtoMessage()

func (*QueryAllianceDelegationResponse) Reset

func (*QueryAllianceDelegationResponse) Size

func (m *QueryAllianceDelegationResponse) Size() (n int)

func (*QueryAllianceDelegationResponse) String

func (*QueryAllianceDelegationResponse) Unmarshal

func (m *QueryAllianceDelegationResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceDelegationResponse) XXX_DiscardUnknown

func (m *QueryAllianceDelegationResponse) XXX_DiscardUnknown()

func (*QueryAllianceDelegationResponse) XXX_Marshal

func (m *QueryAllianceDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceDelegationResponse) XXX_Merge

func (m *QueryAllianceDelegationResponse) XXX_Merge(src proto.Message)

func (*QueryAllianceDelegationResponse) XXX_Size

func (m *QueryAllianceDelegationResponse) XXX_Size() int

func (*QueryAllianceDelegationResponse) XXX_Unmarshal

func (m *QueryAllianceDelegationResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceDelegationRewardsRequest

type QueryAllianceDelegationRewardsRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	ValidatorAddr string             `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	Denom         string             `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AllianceDelegation

func (*QueryAllianceDelegationRewardsRequest) Descriptor

func (*QueryAllianceDelegationRewardsRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceDelegationRewardsRequest) Marshal

func (m *QueryAllianceDelegationRewardsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceDelegationRewardsRequest) MarshalTo

func (m *QueryAllianceDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRewardsRequest) MarshalToSizedBuffer

func (m *QueryAllianceDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRewardsRequest) ProtoMessage

func (*QueryAllianceDelegationRewardsRequest) ProtoMessage()

func (*QueryAllianceDelegationRewardsRequest) Reset

func (*QueryAllianceDelegationRewardsRequest) Size

func (*QueryAllianceDelegationRewardsRequest) String

func (*QueryAllianceDelegationRewardsRequest) Unmarshal

func (m *QueryAllianceDelegationRewardsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceDelegationRewardsRequest) XXX_DiscardUnknown

func (m *QueryAllianceDelegationRewardsRequest) XXX_DiscardUnknown()

func (*QueryAllianceDelegationRewardsRequest) XXX_Marshal

func (m *QueryAllianceDelegationRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceDelegationRewardsRequest) XXX_Merge

func (*QueryAllianceDelegationRewardsRequest) XXX_Size

func (*QueryAllianceDelegationRewardsRequest) XXX_Unmarshal

func (m *QueryAllianceDelegationRewardsRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceDelegationRewardsResponse

type QueryAllianceDelegationRewardsResponse struct {
	Rewards []github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,rep,name=rewards,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"rewards"`
}

func (*QueryAllianceDelegationRewardsResponse) Descriptor

func (*QueryAllianceDelegationRewardsResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceDelegationRewardsResponse) Marshal

func (m *QueryAllianceDelegationRewardsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceDelegationRewardsResponse) MarshalTo

func (m *QueryAllianceDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRewardsResponse) MarshalToSizedBuffer

func (m *QueryAllianceDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceDelegationRewardsResponse) ProtoMessage

func (*QueryAllianceDelegationRewardsResponse) Reset

func (*QueryAllianceDelegationRewardsResponse) Size

func (*QueryAllianceDelegationRewardsResponse) String

func (*QueryAllianceDelegationRewardsResponse) Unmarshal

func (m *QueryAllianceDelegationRewardsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceDelegationRewardsResponse) XXX_DiscardUnknown

func (m *QueryAllianceDelegationRewardsResponse) XXX_DiscardUnknown()

func (*QueryAllianceDelegationRewardsResponse) XXX_Marshal

func (m *QueryAllianceDelegationRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceDelegationRewardsResponse) XXX_Merge

func (*QueryAllianceDelegationRewardsResponse) XXX_Size

func (*QueryAllianceDelegationRewardsResponse) XXX_Unmarshal

func (m *QueryAllianceDelegationRewardsResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceRedelegationsByDelegatorRequest added in v0.3.5

type QueryAllianceRedelegationsByDelegatorRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceRedelegationsByDelegatorRequest) Descriptor added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) Marshal added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceRedelegationsByDelegatorRequest) MarshalTo added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) MarshalToSizedBuffer added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsByDelegatorRequest) ProtoMessage added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) Reset added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) Size added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) String added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) Unmarshal added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) XXX_DiscardUnknown added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorRequest) XXX_DiscardUnknown()

func (*QueryAllianceRedelegationsByDelegatorRequest) XXX_Marshal added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceRedelegationsByDelegatorRequest) XXX_Merge added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) XXX_Size added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorRequest) XXX_Unmarshal added in v0.3.5

type QueryAllianceRedelegationsByDelegatorResponse added in v0.3.5

type QueryAllianceRedelegationsByDelegatorResponse struct {
	Redelegations []RedelegationEntry `protobuf:"bytes,1,rep,name=redelegations,proto3" json:"redelegations"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceRedelegationsByDelegatorResponse) Descriptor added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) Marshal added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceRedelegationsByDelegatorResponse) MarshalTo added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) MarshalToSizedBuffer added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsByDelegatorResponse) ProtoMessage added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) Reset added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) Size added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) String added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) Unmarshal added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) XXX_DiscardUnknown added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorResponse) XXX_DiscardUnknown()

func (*QueryAllianceRedelegationsByDelegatorResponse) XXX_Marshal added in v0.3.5

func (m *QueryAllianceRedelegationsByDelegatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceRedelegationsByDelegatorResponse) XXX_Merge added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) XXX_Size added in v0.3.5

func (*QueryAllianceRedelegationsByDelegatorResponse) XXX_Unmarshal added in v0.3.5

type QueryAllianceRedelegationsRequest added in v0.2.2

type QueryAllianceRedelegationsRequest struct {
	Denom         string             `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	DelegatorAddr string             `protobuf:"bytes,2,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

Redelegations

func (*QueryAllianceRedelegationsRequest) Descriptor added in v0.2.2

func (*QueryAllianceRedelegationsRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceRedelegationsRequest) Marshal added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceRedelegationsRequest) MarshalTo added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsRequest) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsRequest) ProtoMessage added in v0.2.2

func (*QueryAllianceRedelegationsRequest) ProtoMessage()

func (*QueryAllianceRedelegationsRequest) Reset added in v0.2.2

func (*QueryAllianceRedelegationsRequest) Size added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) Size() (n int)

func (*QueryAllianceRedelegationsRequest) String added in v0.2.2

func (*QueryAllianceRedelegationsRequest) Unmarshal added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceRedelegationsRequest) XXX_DiscardUnknown added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) XXX_DiscardUnknown()

func (*QueryAllianceRedelegationsRequest) XXX_Marshal added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceRedelegationsRequest) XXX_Merge added in v0.2.2

func (*QueryAllianceRedelegationsRequest) XXX_Size added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) XXX_Size() int

func (*QueryAllianceRedelegationsRequest) XXX_Unmarshal added in v0.2.2

func (m *QueryAllianceRedelegationsRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceRedelegationsResponse added in v0.2.2

type QueryAllianceRedelegationsResponse struct {
	Redelegations []RedelegationEntry `protobuf:"bytes,1,rep,name=redelegations,proto3" json:"redelegations"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceRedelegationsResponse) Descriptor added in v0.2.2

func (*QueryAllianceRedelegationsResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceRedelegationsResponse) Marshal added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceRedelegationsResponse) MarshalTo added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsResponse) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceRedelegationsResponse) ProtoMessage added in v0.2.2

func (*QueryAllianceRedelegationsResponse) ProtoMessage()

func (*QueryAllianceRedelegationsResponse) Reset added in v0.2.2

func (*QueryAllianceRedelegationsResponse) Size added in v0.2.2

func (*QueryAllianceRedelegationsResponse) String added in v0.2.2

func (*QueryAllianceRedelegationsResponse) Unmarshal added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceRedelegationsResponse) XXX_DiscardUnknown added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) XXX_DiscardUnknown()

func (*QueryAllianceRedelegationsResponse) XXX_Marshal added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceRedelegationsResponse) XXX_Merge added in v0.2.2

func (*QueryAllianceRedelegationsResponse) XXX_Size added in v0.2.2

func (*QueryAllianceRedelegationsResponse) XXX_Unmarshal added in v0.2.2

func (m *QueryAllianceRedelegationsResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceRequest

type QueryAllianceRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

Alliance

func (*QueryAllianceRequest) Descriptor

func (*QueryAllianceRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceRequest) GetDenom

func (m *QueryAllianceRequest) GetDenom() string

func (*QueryAllianceRequest) Marshal

func (m *QueryAllianceRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceRequest) MarshalTo

func (m *QueryAllianceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceRequest) MarshalToSizedBuffer

func (m *QueryAllianceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceRequest) ProtoMessage

func (*QueryAllianceRequest) ProtoMessage()

func (*QueryAllianceRequest) Reset

func (m *QueryAllianceRequest) Reset()

func (*QueryAllianceRequest) Size

func (m *QueryAllianceRequest) Size() (n int)

func (*QueryAllianceRequest) String

func (m *QueryAllianceRequest) String() string

func (*QueryAllianceRequest) Unmarshal

func (m *QueryAllianceRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceRequest) XXX_DiscardUnknown

func (m *QueryAllianceRequest) XXX_DiscardUnknown()

func (*QueryAllianceRequest) XXX_Marshal

func (m *QueryAllianceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceRequest) XXX_Merge

func (m *QueryAllianceRequest) XXX_Merge(src proto.Message)

func (*QueryAllianceRequest) XXX_Size

func (m *QueryAllianceRequest) XXX_Size() int

func (*QueryAllianceRequest) XXX_Unmarshal

func (m *QueryAllianceRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceResponse

type QueryAllianceResponse struct {
	Alliance *AllianceAsset `protobuf:"bytes,1,opt,name=alliance,proto3" json:"alliance,omitempty"`
}

func (*QueryAllianceResponse) Descriptor

func (*QueryAllianceResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceResponse) GetAlliance

func (m *QueryAllianceResponse) GetAlliance() *AllianceAsset

func (*QueryAllianceResponse) Marshal

func (m *QueryAllianceResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceResponse) MarshalTo

func (m *QueryAllianceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceResponse) MarshalToSizedBuffer

func (m *QueryAllianceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceResponse) ProtoMessage

func (*QueryAllianceResponse) ProtoMessage()

func (*QueryAllianceResponse) Reset

func (m *QueryAllianceResponse) Reset()

func (*QueryAllianceResponse) Size

func (m *QueryAllianceResponse) Size() (n int)

func (*QueryAllianceResponse) String

func (m *QueryAllianceResponse) String() string

func (*QueryAllianceResponse) Unmarshal

func (m *QueryAllianceResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceResponse) XXX_DiscardUnknown

func (m *QueryAllianceResponse) XXX_DiscardUnknown()

func (*QueryAllianceResponse) XXX_Marshal

func (m *QueryAllianceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceResponse) XXX_Merge

func (m *QueryAllianceResponse) XXX_Merge(src proto.Message)

func (*QueryAllianceResponse) XXX_Size

func (m *QueryAllianceResponse) XXX_Size() int

func (*QueryAllianceResponse) XXX_Unmarshal

func (m *QueryAllianceResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceUnbondingsByDelegatorRequest added in v0.3.5

type QueryAllianceUnbondingsByDelegatorRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AllianceDelegation

func (*QueryAllianceUnbondingsByDelegatorRequest) Descriptor added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceUnbondingsByDelegatorRequest) Marshal added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceUnbondingsByDelegatorRequest) MarshalTo added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDelegatorRequest) MarshalToSizedBuffer added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDelegatorRequest) ProtoMessage added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) Reset added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) Size added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) String added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) Unmarshal added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) XXX_DiscardUnknown added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorRequest) XXX_DiscardUnknown()

func (*QueryAllianceUnbondingsByDelegatorRequest) XXX_Marshal added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsByDelegatorRequest) XXX_Merge added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) XXX_Size added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorRequest) XXX_Unmarshal added in v0.3.5

type QueryAllianceUnbondingsByDelegatorResponse added in v0.3.5

type QueryAllianceUnbondingsByDelegatorResponse struct {
	Unbondings []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbondings,proto3" json:"unbondings"`
}

func (*QueryAllianceUnbondingsByDelegatorResponse) Descriptor added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) Marshal added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceUnbondingsByDelegatorResponse) MarshalTo added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDelegatorResponse) MarshalToSizedBuffer added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDelegatorResponse) ProtoMessage added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) Reset added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) Size added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) String added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) Unmarshal added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) XXX_DiscardUnknown added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorResponse) XXX_DiscardUnknown()

func (*QueryAllianceUnbondingsByDelegatorResponse) XXX_Marshal added in v0.3.5

func (m *QueryAllianceUnbondingsByDelegatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsByDelegatorResponse) XXX_Merge added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) XXX_Size added in v0.3.5

func (*QueryAllianceUnbondingsByDelegatorResponse) XXX_Unmarshal added in v0.3.5

type QueryAllianceUnbondingsByDenomAndDelegatorRequest added in v0.2.2

type QueryAllianceUnbondingsByDenomAndDelegatorRequest struct {
	Denom         string             `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	DelegatorAddr string             `protobuf:"bytes,2,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AllianceDelegation

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Descriptor added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Marshal added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) MarshalTo added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceUnbondingsByDenomAndDelegatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) ProtoMessage added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Reset added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Size added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) String added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Unmarshal added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_DiscardUnknown added in v0.2.2

func (m *QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_DiscardUnknown()

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Merge added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Size added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Unmarshal added in v0.2.2

type QueryAllianceUnbondingsByDenomAndDelegatorResponse added in v0.2.2

type QueryAllianceUnbondingsByDenomAndDelegatorResponse struct {
	Unbondings []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbondings,proto3" json:"unbondings"`
	Pagination *query.PageResponse   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Descriptor added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Marshal added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) MarshalTo added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceUnbondingsByDenomAndDelegatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) ProtoMessage added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Reset added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Size added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) String added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Unmarshal added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_DiscardUnknown added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Merge added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Size added in v0.2.2

func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Unmarshal added in v0.2.2

type QueryAllianceUnbondingsRequest added in v0.2.2

type QueryAllianceUnbondingsRequest struct {
	Denom         string             `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	DelegatorAddr string             `protobuf:"bytes,2,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	ValidatorAddr string             `protobuf:"bytes,3,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceUnbondingsRequest) Descriptor added in v0.2.2

func (*QueryAllianceUnbondingsRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceUnbondingsRequest) Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceUnbondingsRequest) MarshalTo added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsRequest) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsRequest) ProtoMessage added in v0.2.2

func (*QueryAllianceUnbondingsRequest) ProtoMessage()

func (*QueryAllianceUnbondingsRequest) Reset added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) Reset()

func (*QueryAllianceUnbondingsRequest) Size added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) Size() (n int)

func (*QueryAllianceUnbondingsRequest) String added in v0.2.2

func (*QueryAllianceUnbondingsRequest) Unmarshal added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceUnbondingsRequest) XXX_DiscardUnknown added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryAllianceUnbondingsRequest) XXX_Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsRequest) XXX_Merge added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) XXX_Merge(src proto.Message)

func (*QueryAllianceUnbondingsRequest) XXX_Size added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) XXX_Size() int

func (*QueryAllianceUnbondingsRequest) XXX_Unmarshal added in v0.2.2

func (m *QueryAllianceUnbondingsRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceUnbondingsResponse added in v0.2.2

type QueryAllianceUnbondingsResponse struct {
	Unbondings []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbondings,proto3" json:"unbondings"`
	Pagination *query.PageResponse   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceUnbondingsResponse) Descriptor added in v0.2.2

func (*QueryAllianceUnbondingsResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceUnbondingsResponse) Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceUnbondingsResponse) MarshalTo added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsResponse) MarshalToSizedBuffer added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceUnbondingsResponse) ProtoMessage added in v0.2.2

func (*QueryAllianceUnbondingsResponse) ProtoMessage()

func (*QueryAllianceUnbondingsResponse) Reset added in v0.2.2

func (*QueryAllianceUnbondingsResponse) Size added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) Size() (n int)

func (*QueryAllianceUnbondingsResponse) String added in v0.2.2

func (*QueryAllianceUnbondingsResponse) Unmarshal added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceUnbondingsResponse) XXX_DiscardUnknown added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryAllianceUnbondingsResponse) XXX_Marshal added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceUnbondingsResponse) XXX_Merge added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) XXX_Merge(src proto.Message)

func (*QueryAllianceUnbondingsResponse) XXX_Size added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) XXX_Size() int

func (*QueryAllianceUnbondingsResponse) XXX_Unmarshal added in v0.2.2

func (m *QueryAllianceUnbondingsResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceValidatorRequest

type QueryAllianceValidatorRequest struct {
	ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
}

func (*QueryAllianceValidatorRequest) Descriptor

func (*QueryAllianceValidatorRequest) Descriptor() ([]byte, []int)

func (*QueryAllianceValidatorRequest) Marshal

func (m *QueryAllianceValidatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllianceValidatorRequest) MarshalTo

func (m *QueryAllianceValidatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceValidatorRequest) MarshalToSizedBuffer

func (m *QueryAllianceValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceValidatorRequest) ProtoMessage

func (*QueryAllianceValidatorRequest) ProtoMessage()

func (*QueryAllianceValidatorRequest) Reset

func (m *QueryAllianceValidatorRequest) Reset()

func (*QueryAllianceValidatorRequest) Size

func (m *QueryAllianceValidatorRequest) Size() (n int)

func (*QueryAllianceValidatorRequest) String

func (*QueryAllianceValidatorRequest) Unmarshal

func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error

func (*QueryAllianceValidatorRequest) XXX_DiscardUnknown

func (m *QueryAllianceValidatorRequest) XXX_DiscardUnknown()

func (*QueryAllianceValidatorRequest) XXX_Marshal

func (m *QueryAllianceValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceValidatorRequest) XXX_Merge

func (m *QueryAllianceValidatorRequest) XXX_Merge(src proto.Message)

func (*QueryAllianceValidatorRequest) XXX_Size

func (m *QueryAllianceValidatorRequest) XXX_Size() int

func (*QueryAllianceValidatorRequest) XXX_Unmarshal

func (m *QueryAllianceValidatorRequest) XXX_Unmarshal(b []byte) error

type QueryAllianceValidatorResponse

type QueryAllianceValidatorResponse struct {
	ValidatorAddr         string          `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	TotalDelegationShares []types.DecCoin `protobuf:"bytes,2,rep,name=total_delegation_shares,json=totalDelegationShares,proto3" json:"total_delegation_shares"`
	ValidatorShares       []types.DecCoin `protobuf:"bytes,3,rep,name=validator_shares,json=validatorShares,proto3" json:"validator_shares"`
	TotalStaked           []types.DecCoin `protobuf:"bytes,4,rep,name=total_staked,json=totalStaked,proto3" json:"total_staked"`
}

func (*QueryAllianceValidatorResponse) Descriptor

func (*QueryAllianceValidatorResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceValidatorResponse) Marshal

func (m *QueryAllianceValidatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceValidatorResponse) MarshalTo

func (m *QueryAllianceValidatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceValidatorResponse) MarshalToSizedBuffer

func (m *QueryAllianceValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceValidatorResponse) ProtoMessage

func (*QueryAllianceValidatorResponse) ProtoMessage()

func (*QueryAllianceValidatorResponse) Reset

func (m *QueryAllianceValidatorResponse) Reset()

func (*QueryAllianceValidatorResponse) Size

func (m *QueryAllianceValidatorResponse) Size() (n int)

func (*QueryAllianceValidatorResponse) String

func (*QueryAllianceValidatorResponse) Unmarshal

func (m *QueryAllianceValidatorResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceValidatorResponse) XXX_DiscardUnknown

func (m *QueryAllianceValidatorResponse) XXX_DiscardUnknown()

func (*QueryAllianceValidatorResponse) XXX_Marshal

func (m *QueryAllianceValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceValidatorResponse) XXX_Merge

func (m *QueryAllianceValidatorResponse) XXX_Merge(src proto.Message)

func (*QueryAllianceValidatorResponse) XXX_Size

func (m *QueryAllianceValidatorResponse) XXX_Size() int

func (*QueryAllianceValidatorResponse) XXX_Unmarshal

func (m *QueryAllianceValidatorResponse) XXX_Unmarshal(b []byte) error

type QueryAllianceValidatorsResponse

type QueryAllianceValidatorsResponse struct {
	Validators []QueryAllianceValidatorResponse `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators"`
	Pagination *query.PageResponse              `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllianceValidatorsResponse) Descriptor

func (*QueryAllianceValidatorsResponse) Descriptor() ([]byte, []int)

func (*QueryAllianceValidatorsResponse) Marshal

func (m *QueryAllianceValidatorsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllianceValidatorsResponse) MarshalTo

func (m *QueryAllianceValidatorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllianceValidatorsResponse) MarshalToSizedBuffer

func (m *QueryAllianceValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllianceValidatorsResponse) ProtoMessage

func (*QueryAllianceValidatorsResponse) ProtoMessage()

func (*QueryAllianceValidatorsResponse) Reset

func (*QueryAllianceValidatorsResponse) Size

func (m *QueryAllianceValidatorsResponse) Size() (n int)

func (*QueryAllianceValidatorsResponse) String

func (*QueryAllianceValidatorsResponse) Unmarshal

func (m *QueryAllianceValidatorsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllianceValidatorsResponse) XXX_DiscardUnknown

func (m *QueryAllianceValidatorsResponse) XXX_DiscardUnknown()

func (*QueryAllianceValidatorsResponse) XXX_Marshal

func (m *QueryAllianceValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllianceValidatorsResponse) XXX_Merge

func (m *QueryAllianceValidatorsResponse) XXX_Merge(src proto.Message)

func (*QueryAllianceValidatorsResponse) XXX_Size

func (m *QueryAllianceValidatorsResponse) XXX_Size() int

func (*QueryAllianceValidatorsResponse) XXX_Unmarshal

func (m *QueryAllianceValidatorsResponse) XXX_Unmarshal(b []byte) error

type QueryAlliancesDelegationByValidatorRequest

type QueryAlliancesDelegationByValidatorRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	ValidatorAddr string             `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AlliancesDelegationByValidator

func (*QueryAlliancesDelegationByValidatorRequest) Descriptor

func (*QueryAlliancesDelegationByValidatorRequest) Marshal

func (m *QueryAlliancesDelegationByValidatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryAlliancesDelegationByValidatorRequest) MarshalTo

func (m *QueryAlliancesDelegationByValidatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationByValidatorRequest) MarshalToSizedBuffer

func (m *QueryAlliancesDelegationByValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationByValidatorRequest) ProtoMessage

func (*QueryAlliancesDelegationByValidatorRequest) Reset

func (*QueryAlliancesDelegationByValidatorRequest) Size

func (*QueryAlliancesDelegationByValidatorRequest) String

func (*QueryAlliancesDelegationByValidatorRequest) Unmarshal

func (*QueryAlliancesDelegationByValidatorRequest) XXX_DiscardUnknown

func (m *QueryAlliancesDelegationByValidatorRequest) XXX_DiscardUnknown()

func (*QueryAlliancesDelegationByValidatorRequest) XXX_Marshal

func (m *QueryAlliancesDelegationByValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAlliancesDelegationByValidatorRequest) XXX_Merge

func (*QueryAlliancesDelegationByValidatorRequest) XXX_Size

func (*QueryAlliancesDelegationByValidatorRequest) XXX_Unmarshal

type QueryAlliancesDelegationsRequest

type QueryAlliancesDelegationsRequest struct {
	DelegatorAddr string             `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AlliancesDelegation

func (*QueryAlliancesDelegationsRequest) Descriptor

func (*QueryAlliancesDelegationsRequest) Descriptor() ([]byte, []int)

func (*QueryAlliancesDelegationsRequest) Marshal

func (m *QueryAlliancesDelegationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAlliancesDelegationsRequest) MarshalTo

func (m *QueryAlliancesDelegationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationsRequest) MarshalToSizedBuffer

func (m *QueryAlliancesDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationsRequest) ProtoMessage

func (*QueryAlliancesDelegationsRequest) ProtoMessage()

func (*QueryAlliancesDelegationsRequest) Reset

func (*QueryAlliancesDelegationsRequest) Size

func (m *QueryAlliancesDelegationsRequest) Size() (n int)

func (*QueryAlliancesDelegationsRequest) String

func (*QueryAlliancesDelegationsRequest) Unmarshal

func (m *QueryAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error

func (*QueryAlliancesDelegationsRequest) XXX_DiscardUnknown

func (m *QueryAlliancesDelegationsRequest) XXX_DiscardUnknown()

func (*QueryAlliancesDelegationsRequest) XXX_Marshal

func (m *QueryAlliancesDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAlliancesDelegationsRequest) XXX_Merge

func (*QueryAlliancesDelegationsRequest) XXX_Size

func (m *QueryAlliancesDelegationsRequest) XXX_Size() int

func (*QueryAlliancesDelegationsRequest) XXX_Unmarshal

func (m *QueryAlliancesDelegationsRequest) XXX_Unmarshal(b []byte) error

type QueryAlliancesDelegationsResponse

type QueryAlliancesDelegationsResponse struct {
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	Pagination  *query.PageResponse  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAlliancesDelegationsResponse) Descriptor

func (*QueryAlliancesDelegationsResponse) Descriptor() ([]byte, []int)

func (*QueryAlliancesDelegationsResponse) GetDelegations

func (*QueryAlliancesDelegationsResponse) GetPagination

func (*QueryAlliancesDelegationsResponse) Marshal

func (m *QueryAlliancesDelegationsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAlliancesDelegationsResponse) MarshalTo

func (m *QueryAlliancesDelegationsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationsResponse) MarshalToSizedBuffer

func (m *QueryAlliancesDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAlliancesDelegationsResponse) ProtoMessage

func (*QueryAlliancesDelegationsResponse) ProtoMessage()

func (*QueryAlliancesDelegationsResponse) Reset

func (*QueryAlliancesDelegationsResponse) Size

func (m *QueryAlliancesDelegationsResponse) Size() (n int)

func (*QueryAlliancesDelegationsResponse) String

func (*QueryAlliancesDelegationsResponse) Unmarshal

func (m *QueryAlliancesDelegationsResponse) Unmarshal(dAtA []byte) error

func (*QueryAlliancesDelegationsResponse) XXX_DiscardUnknown

func (m *QueryAlliancesDelegationsResponse) XXX_DiscardUnknown()

func (*QueryAlliancesDelegationsResponse) XXX_Marshal

func (m *QueryAlliancesDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAlliancesDelegationsResponse) XXX_Merge

func (*QueryAlliancesDelegationsResponse) XXX_Size

func (m *QueryAlliancesDelegationsResponse) XXX_Size() int

func (*QueryAlliancesDelegationsResponse) XXX_Unmarshal

func (m *QueryAlliancesDelegationsResponse) XXX_Unmarshal(b []byte) error

type QueryAlliancesRequest

type QueryAlliancesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

Alliances

func (*QueryAlliancesRequest) Descriptor

func (*QueryAlliancesRequest) Descriptor() ([]byte, []int)

func (*QueryAlliancesRequest) GetPagination

func (m *QueryAlliancesRequest) GetPagination() *query.PageRequest

func (*QueryAlliancesRequest) Marshal

func (m *QueryAlliancesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAlliancesRequest) MarshalTo

func (m *QueryAlliancesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAlliancesRequest) MarshalToSizedBuffer

func (m *QueryAlliancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAlliancesRequest) ProtoMessage

func (*QueryAlliancesRequest) ProtoMessage()

func (*QueryAlliancesRequest) Reset

func (m *QueryAlliancesRequest) Reset()

func (*QueryAlliancesRequest) Size

func (m *QueryAlliancesRequest) Size() (n int)

func (*QueryAlliancesRequest) String

func (m *QueryAlliancesRequest) String() string

func (*QueryAlliancesRequest) Unmarshal

func (m *QueryAlliancesRequest) Unmarshal(dAtA []byte) error

func (*QueryAlliancesRequest) XXX_DiscardUnknown

func (m *QueryAlliancesRequest) XXX_DiscardUnknown()

func (*QueryAlliancesRequest) XXX_Marshal

func (m *QueryAlliancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAlliancesRequest) XXX_Merge

func (m *QueryAlliancesRequest) XXX_Merge(src proto.Message)

func (*QueryAlliancesRequest) XXX_Size

func (m *QueryAlliancesRequest) XXX_Size() int

func (*QueryAlliancesRequest) XXX_Unmarshal

func (m *QueryAlliancesRequest) XXX_Unmarshal(b []byte) error

type QueryAlliancesResponse

type QueryAlliancesResponse struct {
	Alliances  []AllianceAsset     `protobuf:"bytes,1,rep,name=alliances,proto3" json:"alliances"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAlliancesResponse) Descriptor

func (*QueryAlliancesResponse) Descriptor() ([]byte, []int)

func (*QueryAlliancesResponse) GetAlliances

func (m *QueryAlliancesResponse) GetAlliances() []AllianceAsset

func (*QueryAlliancesResponse) GetPagination

func (m *QueryAlliancesResponse) GetPagination() *query.PageResponse

func (*QueryAlliancesResponse) Marshal

func (m *QueryAlliancesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAlliancesResponse) MarshalTo

func (m *QueryAlliancesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAlliancesResponse) MarshalToSizedBuffer

func (m *QueryAlliancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAlliancesResponse) ProtoMessage

func (*QueryAlliancesResponse) ProtoMessage()

func (*QueryAlliancesResponse) Reset

func (m *QueryAlliancesResponse) Reset()

func (*QueryAlliancesResponse) Size

func (m *QueryAlliancesResponse) Size() (n int)

func (*QueryAlliancesResponse) String

func (m *QueryAlliancesResponse) String() string

func (*QueryAlliancesResponse) Unmarshal

func (m *QueryAlliancesResponse) Unmarshal(dAtA []byte) error

func (*QueryAlliancesResponse) XXX_DiscardUnknown

func (m *QueryAlliancesResponse) XXX_DiscardUnknown()

func (*QueryAlliancesResponse) XXX_Marshal

func (m *QueryAlliancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAlliancesResponse) XXX_Merge

func (m *QueryAlliancesResponse) XXX_Merge(src proto.Message)

func (*QueryAlliancesResponse) XXX_Size

func (m *QueryAlliancesResponse) XXX_Size() int

func (*QueryAlliancesResponse) XXX_Unmarshal

func (m *QueryAlliancesResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Query Alliance module parameters more info about the params
	// https://docs.alliance.money/tech/parameters
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Query all alliances with pagination
	Alliances(ctx context.Context, in *QueryAlliancesRequest, opts ...grpc.CallOption) (*QueryAlliancesResponse, error)
	// Query all alliances delegations with pagination
	AllAlliancesDelegations(ctx context.Context, in *QueryAllAlliancesDelegationsRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error)
	// Query alliance validator
	AllianceValidator(ctx context.Context, in *QueryAllianceValidatorRequest, opts ...grpc.CallOption) (*QueryAllianceValidatorResponse, error)
	// Query all paginated alliance validators
	AllAllianceValidators(ctx context.Context, in *QueryAllAllianceValidatorsRequest, opts ...grpc.CallOption) (*QueryAllianceValidatorsResponse, error)
	// Query all paginated alliance delegations for a delegator addr
	AlliancesDelegation(ctx context.Context, in *QueryAlliancesDelegationsRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error)
	// Query all paginated alliance delegations for a delegator addr and validator_addr
	AlliancesDelegationByValidator(ctx context.Context, in *QueryAlliancesDelegationByValidatorRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error)
	// Query a specific delegation by delegator addr, validator addr and denom
	AllianceDelegation(ctx context.Context, in *QueryAllianceDelegationRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationResponse, error)
	// Query a specific delegation rewards by delegator addr, validator addr and denom
	AllianceDelegationRewards(ctx context.Context, in *QueryAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error)
	// Query unbondings by delegator address
	AllianceUnbondingsByDelegator(ctx context.Context, in *QueryAllianceUnbondingsByDelegatorRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsByDelegatorResponse, error)
	// Query unbondings by denom, delegator addr
	AllianceUnbondingsByDenomAndDelegator(ctx context.Context, in *QueryAllianceUnbondingsByDenomAndDelegatorRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error)
	// Query unbondings by denom, delegator addr, validator addr
	AllianceUnbondings(ctx context.Context, in *QueryAllianceUnbondingsRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsResponse, error)
	// Query paginated redelegations delegator addr
	AllianceRedelegationsByDelegator(ctx context.Context, in *QueryAllianceRedelegationsByDelegatorRequest, opts ...grpc.CallOption) (*QueryAllianceRedelegationsByDelegatorResponse, error)
	// Query paginated redelegations by denom and delegator addr
	AllianceRedelegations(ctx context.Context, in *QueryAllianceRedelegationsRequest, opts ...grpc.CallOption) (*QueryAllianceRedelegationsResponse, error)
	// Query a specific alliance by denom
	Alliance(ctx context.Context, in *QueryAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
}

Params

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Query Alliance module parameters more info about the params
	// https://docs.alliance.money/tech/parameters
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Query all alliances with pagination
	Alliances(context.Context, *QueryAlliancesRequest) (*QueryAlliancesResponse, error)
	// Query all alliances delegations with pagination
	AllAlliancesDelegations(context.Context, *QueryAllAlliancesDelegationsRequest) (*QueryAlliancesDelegationsResponse, error)
	// Query alliance validator
	AllianceValidator(context.Context, *QueryAllianceValidatorRequest) (*QueryAllianceValidatorResponse, error)
	// Query all paginated alliance validators
	AllAllianceValidators(context.Context, *QueryAllAllianceValidatorsRequest) (*QueryAllianceValidatorsResponse, error)
	// Query all paginated alliance delegations for a delegator addr
	AlliancesDelegation(context.Context, *QueryAlliancesDelegationsRequest) (*QueryAlliancesDelegationsResponse, error)
	// Query all paginated alliance delegations for a delegator addr and validator_addr
	AlliancesDelegationByValidator(context.Context, *QueryAlliancesDelegationByValidatorRequest) (*QueryAlliancesDelegationsResponse, error)
	// Query a specific delegation by delegator addr, validator addr and denom
	AllianceDelegation(context.Context, *QueryAllianceDelegationRequest) (*QueryAllianceDelegationResponse, error)
	// Query a specific delegation rewards by delegator addr, validator addr and denom
	AllianceDelegationRewards(context.Context, *QueryAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error)
	// Query unbondings by delegator address
	AllianceUnbondingsByDelegator(context.Context, *QueryAllianceUnbondingsByDelegatorRequest) (*QueryAllianceUnbondingsByDelegatorResponse, error)
	// Query unbondings by denom, delegator addr
	AllianceUnbondingsByDenomAndDelegator(context.Context, *QueryAllianceUnbondingsByDenomAndDelegatorRequest) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error)
	// Query unbondings by denom, delegator addr, validator addr
	AllianceUnbondings(context.Context, *QueryAllianceUnbondingsRequest) (*QueryAllianceUnbondingsResponse, error)
	// Query paginated redelegations delegator addr
	AllianceRedelegationsByDelegator(context.Context, *QueryAllianceRedelegationsByDelegatorRequest) (*QueryAllianceRedelegationsByDelegatorResponse, error)
	// Query paginated redelegations by denom and delegator addr
	AllianceRedelegations(context.Context, *QueryAllianceRedelegationsRequest) (*QueryAllianceRedelegationsResponse, error)
	// Query a specific alliance by denom
	Alliance(context.Context, *QueryAllianceRequest) (*QueryAllianceResponse, error)
}

QueryServer is the server API for Query service.

type QueuedRedelegation

type QueuedRedelegation struct {
	Entries []*Redelegation `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}

Used internally to keep track of redelegations

func (*QueuedRedelegation) Descriptor

func (*QueuedRedelegation) Descriptor() ([]byte, []int)

func (*QueuedRedelegation) Marshal

func (m *QueuedRedelegation) Marshal() (dAtA []byte, err error)

func (*QueuedRedelegation) MarshalTo

func (m *QueuedRedelegation) MarshalTo(dAtA []byte) (int, error)

func (*QueuedRedelegation) MarshalToSizedBuffer

func (m *QueuedRedelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueuedRedelegation) ProtoMessage

func (*QueuedRedelegation) ProtoMessage()

func (*QueuedRedelegation) Reset

func (m *QueuedRedelegation) Reset()

func (*QueuedRedelegation) Size

func (m *QueuedRedelegation) Size() (n int)

func (*QueuedRedelegation) String

func (m *QueuedRedelegation) String() string

func (*QueuedRedelegation) Unmarshal

func (m *QueuedRedelegation) Unmarshal(dAtA []byte) error

func (*QueuedRedelegation) XXX_DiscardUnknown

func (m *QueuedRedelegation) XXX_DiscardUnknown()

func (*QueuedRedelegation) XXX_Marshal

func (m *QueuedRedelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueuedRedelegation) XXX_Merge

func (m *QueuedRedelegation) XXX_Merge(src proto.Message)

func (*QueuedRedelegation) XXX_Size

func (m *QueuedRedelegation) XXX_Size() int

func (*QueuedRedelegation) XXX_Unmarshal

func (m *QueuedRedelegation) XXX_Unmarshal(b []byte) error

type QueuedUndelegation

type QueuedUndelegation struct {
	Entries []*Undelegation `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}

func (*QueuedUndelegation) Descriptor

func (*QueuedUndelegation) Descriptor() ([]byte, []int)

func (*QueuedUndelegation) Marshal

func (m *QueuedUndelegation) Marshal() (dAtA []byte, err error)

func (*QueuedUndelegation) MarshalTo

func (m *QueuedUndelegation) MarshalTo(dAtA []byte) (int, error)

func (*QueuedUndelegation) MarshalToSizedBuffer

func (m *QueuedUndelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueuedUndelegation) ProtoMessage

func (*QueuedUndelegation) ProtoMessage()

func (*QueuedUndelegation) Reset

func (m *QueuedUndelegation) Reset()

func (*QueuedUndelegation) Size

func (m *QueuedUndelegation) Size() (n int)

func (*QueuedUndelegation) String

func (m *QueuedUndelegation) String() string

func (*QueuedUndelegation) Unmarshal

func (m *QueuedUndelegation) Unmarshal(dAtA []byte) error

func (*QueuedUndelegation) XXX_DiscardUnknown

func (m *QueuedUndelegation) XXX_DiscardUnknown()

func (*QueuedUndelegation) XXX_Marshal

func (m *QueuedUndelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueuedUndelegation) XXX_Merge

func (m *QueuedUndelegation) XXX_Merge(src proto.Message)

func (*QueuedUndelegation) XXX_Size

func (m *QueuedUndelegation) XXX_Size() int

func (*QueuedUndelegation) XXX_Unmarshal

func (m *QueuedUndelegation) XXX_Unmarshal(b []byte) error

type RedelegateAllianceEvent

type RedelegateAllianceEvent struct {
	AllianceSender       string                                  `protobuf:"bytes,1,opt,name=allianceSender,proto3" json:"allianceSender,omitempty"`
	SourceValidator      string                                  `protobuf:"bytes,2,opt,name=sourceValidator,proto3" json:"sourceValidator,omitempty"`
	DestinationValidator string                                  `protobuf:"bytes,3,opt,name=destinationValidator,proto3" json:"destinationValidator,omitempty"`
	Coin                 github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
	CompletionTime       time.Time                               `protobuf:"bytes,5,opt,name=completionTime,proto3,stdtime" json:"completionTime"`
}

func (*RedelegateAllianceEvent) Descriptor

func (*RedelegateAllianceEvent) Descriptor() ([]byte, []int)

func (*RedelegateAllianceEvent) GetAllianceSender

func (m *RedelegateAllianceEvent) GetAllianceSender() string

func (*RedelegateAllianceEvent) GetCompletionTime

func (m *RedelegateAllianceEvent) GetCompletionTime() time.Time

func (*RedelegateAllianceEvent) GetDestinationValidator

func (m *RedelegateAllianceEvent) GetDestinationValidator() string

func (*RedelegateAllianceEvent) GetSourceValidator

func (m *RedelegateAllianceEvent) GetSourceValidator() string

func (*RedelegateAllianceEvent) Marshal

func (m *RedelegateAllianceEvent) Marshal() (dAtA []byte, err error)

func (*RedelegateAllianceEvent) MarshalTo

func (m *RedelegateAllianceEvent) MarshalTo(dAtA []byte) (int, error)

func (*RedelegateAllianceEvent) MarshalToSizedBuffer

func (m *RedelegateAllianceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedelegateAllianceEvent) ProtoMessage

func (*RedelegateAllianceEvent) ProtoMessage()

func (*RedelegateAllianceEvent) Reset

func (m *RedelegateAllianceEvent) Reset()

func (*RedelegateAllianceEvent) Size

func (m *RedelegateAllianceEvent) Size() (n int)

func (*RedelegateAllianceEvent) String

func (m *RedelegateAllianceEvent) String() string

func (*RedelegateAllianceEvent) Unmarshal

func (m *RedelegateAllianceEvent) Unmarshal(dAtA []byte) error

func (*RedelegateAllianceEvent) XXX_DiscardUnknown

func (m *RedelegateAllianceEvent) XXX_DiscardUnknown()

func (*RedelegateAllianceEvent) XXX_Marshal

func (m *RedelegateAllianceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedelegateAllianceEvent) XXX_Merge

func (m *RedelegateAllianceEvent) XXX_Merge(src proto.Message)

func (*RedelegateAllianceEvent) XXX_Size

func (m *RedelegateAllianceEvent) XXX_Size() int

func (*RedelegateAllianceEvent) XXX_Unmarshal

func (m *RedelegateAllianceEvent) XXX_Unmarshal(b []byte) error

type Redelegation

type Redelegation struct {
	// internal or external user address
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// redelegation source validator
	SrcValidatorAddress string `protobuf:"bytes,2,opt,name=src_validator_address,json=srcValidatorAddress,proto3" json:"src_validator_address,omitempty"`
	// redelegation destination validator
	DstValidatorAddress string `protobuf:"bytes,3,opt,name=dst_validator_address,json=dstValidatorAddress,proto3" json:"dst_validator_address,omitempty"`
	// amount to redelegate
	Balance types.Coin `protobuf:"bytes,4,opt,name=balance,proto3" json:"balance"`
}

func (*Redelegation) Descriptor

func (*Redelegation) Descriptor() ([]byte, []int)

func (*Redelegation) Marshal

func (m *Redelegation) Marshal() (dAtA []byte, err error)

func (*Redelegation) MarshalTo

func (m *Redelegation) MarshalTo(dAtA []byte) (int, error)

func (*Redelegation) MarshalToSizedBuffer

func (m *Redelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Redelegation) ProtoMessage

func (*Redelegation) ProtoMessage()

func (*Redelegation) Reset

func (m *Redelegation) Reset()

func (*Redelegation) Size

func (m *Redelegation) Size() (n int)

func (*Redelegation) String

func (m *Redelegation) String() string

func (*Redelegation) Unmarshal

func (m *Redelegation) Unmarshal(dAtA []byte) error

func (*Redelegation) XXX_DiscardUnknown

func (m *Redelegation) XXX_DiscardUnknown()

func (*Redelegation) XXX_Marshal

func (m *Redelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Redelegation) XXX_Merge

func (m *Redelegation) XXX_Merge(src proto.Message)

func (*Redelegation) XXX_Size

func (m *Redelegation) XXX_Size() int

func (*Redelegation) XXX_Unmarshal

func (m *Redelegation) XXX_Unmarshal(b []byte) error

type RedelegationEntry added in v0.2.2

type RedelegationEntry struct {
	// internal or external user address
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// redelegation source validator
	SrcValidatorAddress string `protobuf:"bytes,2,opt,name=src_validator_address,json=srcValidatorAddress,proto3" json:"src_validator_address,omitempty"`
	// redelegation destination validator
	DstValidatorAddress string `protobuf:"bytes,3,opt,name=dst_validator_address,json=dstValidatorAddress,proto3" json:"dst_validator_address,omitempty"`
	// amount to redelegate
	Balance types.Coin `protobuf:"bytes,4,opt,name=balance,proto3" json:"balance"`
	// completion_time defines the unix time for redelegation completion.
	CompletionTime time.Time `protobuf:"bytes,5,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

Used on QueryServer

func (*RedelegationEntry) Descriptor added in v0.2.2

func (*RedelegationEntry) Descriptor() ([]byte, []int)

func (*RedelegationEntry) Marshal added in v0.2.2

func (m *RedelegationEntry) Marshal() (dAtA []byte, err error)

func (*RedelegationEntry) MarshalTo added in v0.2.2

func (m *RedelegationEntry) MarshalTo(dAtA []byte) (int, error)

func (*RedelegationEntry) MarshalToSizedBuffer added in v0.2.2

func (m *RedelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedelegationEntry) ProtoMessage added in v0.2.2

func (*RedelegationEntry) ProtoMessage()

func (*RedelegationEntry) Reset added in v0.2.2

func (m *RedelegationEntry) Reset()

func (*RedelegationEntry) Size added in v0.2.2

func (m *RedelegationEntry) Size() (n int)

func (*RedelegationEntry) String added in v0.2.2

func (m *RedelegationEntry) String() string

func (*RedelegationEntry) Unmarshal added in v0.2.2

func (m *RedelegationEntry) Unmarshal(dAtA []byte) error

func (*RedelegationEntry) XXX_DiscardUnknown added in v0.2.2

func (m *RedelegationEntry) XXX_DiscardUnknown()

func (*RedelegationEntry) XXX_Marshal added in v0.2.2

func (m *RedelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedelegationEntry) XXX_Merge added in v0.2.2

func (m *RedelegationEntry) XXX_Merge(src proto.Message)

func (*RedelegationEntry) XXX_Size added in v0.2.2

func (m *RedelegationEntry) XXX_Size() int

func (*RedelegationEntry) XXX_Unmarshal added in v0.2.2

func (m *RedelegationEntry) XXX_Unmarshal(b []byte) error

type RedelegationState

type RedelegationState struct {
	CompletionTime time.Time    `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	Redelegation   Redelegation `protobuf:"bytes,2,opt,name=redelegation,proto3" json:"redelegation"`
}

func (*RedelegationState) Descriptor

func (*RedelegationState) Descriptor() ([]byte, []int)

func (*RedelegationState) GetCompletionTime

func (m *RedelegationState) GetCompletionTime() time.Time

func (*RedelegationState) GetRedelegation

func (m *RedelegationState) GetRedelegation() Redelegation

func (*RedelegationState) Marshal

func (m *RedelegationState) Marshal() (dAtA []byte, err error)

func (*RedelegationState) MarshalTo

func (m *RedelegationState) MarshalTo(dAtA []byte) (int, error)

func (*RedelegationState) MarshalToSizedBuffer

func (m *RedelegationState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedelegationState) ProtoMessage

func (*RedelegationState) ProtoMessage()

func (*RedelegationState) Reset

func (m *RedelegationState) Reset()

func (*RedelegationState) Size

func (m *RedelegationState) Size() (n int)

func (*RedelegationState) String

func (m *RedelegationState) String() string

func (*RedelegationState) Unmarshal

func (m *RedelegationState) Unmarshal(dAtA []byte) error

func (*RedelegationState) XXX_DiscardUnknown

func (m *RedelegationState) XXX_DiscardUnknown()

func (*RedelegationState) XXX_Marshal

func (m *RedelegationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedelegationState) XXX_Merge

func (m *RedelegationState) XXX_Merge(src proto.Message)

func (*RedelegationState) XXX_Size

func (m *RedelegationState) XXX_Size() int

func (*RedelegationState) XXX_Unmarshal

func (m *RedelegationState) XXX_Unmarshal(b []byte) error

type RewardHistories

type RewardHistories []RewardHistory

func NewRewardHistories

func NewRewardHistories(r []RewardHistory) RewardHistories

func (RewardHistories) GetIndexByAlliance added in v0.3.4

func (r RewardHistories) GetIndexByAlliance(alliance string) (ris RewardHistories)

func (RewardHistories) GetIndexByDenom

func (r RewardHistories) GetIndexByDenom(denom string, alliance string) (ri *RewardHistory, found bool)

type RewardHistory

type RewardHistory struct {
	Denom    string                      `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Index    cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=index,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"index"`
	Alliance string                      `protobuf:"bytes,3,opt,name=alliance,proto3" json:"alliance,omitempty"`
}

func (*RewardHistory) Descriptor

func (*RewardHistory) Descriptor() ([]byte, []int)

func (*RewardHistory) Equal

func (this *RewardHistory) Equal(that interface{}) bool

func (*RewardHistory) GetAlliance added in v0.3.4

func (m *RewardHistory) GetAlliance() string

func (*RewardHistory) GetDenom

func (m *RewardHistory) GetDenom() string

func (*RewardHistory) Marshal

func (m *RewardHistory) Marshal() (dAtA []byte, err error)

func (*RewardHistory) MarshalTo

func (m *RewardHistory) MarshalTo(dAtA []byte) (int, error)

func (*RewardHistory) MarshalToSizedBuffer

func (m *RewardHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardHistory) ProtoMessage

func (*RewardHistory) ProtoMessage()

func (*RewardHistory) Reset

func (m *RewardHistory) Reset()

func (*RewardHistory) Size

func (m *RewardHistory) Size() (n int)

func (*RewardHistory) String

func (m *RewardHistory) String() string

func (*RewardHistory) Unmarshal

func (m *RewardHistory) Unmarshal(dAtA []byte) error

func (*RewardHistory) XXX_DiscardUnknown

func (m *RewardHistory) XXX_DiscardUnknown()

func (*RewardHistory) XXX_Marshal

func (m *RewardHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardHistory) XXX_Merge

func (m *RewardHistory) XXX_Merge(src proto.Message)

func (*RewardHistory) XXX_Size

func (m *RewardHistory) XXX_Size() int

func (*RewardHistory) XXX_Unmarshal

func (m *RewardHistory) XXX_Unmarshal(b []byte) error

type RewardWeightChangeSnapshot

type RewardWeightChangeSnapshot struct {
	PrevRewardWeight cosmossdk_io_math.LegacyDec `` /* 140-byte string literal not displayed */
	RewardHistories  []RewardHistory             `protobuf:"bytes,2,rep,name=reward_histories,json=rewardHistories,proto3" json:"reward_histories"`
}

func NewRewardWeightChangeSnapshot

func NewRewardWeightChangeSnapshot(asset AllianceAsset, val AllianceValidator) RewardWeightChangeSnapshot

func (*RewardWeightChangeSnapshot) Descriptor

func (*RewardWeightChangeSnapshot) Descriptor() ([]byte, []int)

func (*RewardWeightChangeSnapshot) Marshal

func (m *RewardWeightChangeSnapshot) Marshal() (dAtA []byte, err error)

func (*RewardWeightChangeSnapshot) MarshalTo

func (m *RewardWeightChangeSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*RewardWeightChangeSnapshot) MarshalToSizedBuffer

func (m *RewardWeightChangeSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardWeightChangeSnapshot) ProtoMessage

func (*RewardWeightChangeSnapshot) ProtoMessage()

func (*RewardWeightChangeSnapshot) Reset

func (m *RewardWeightChangeSnapshot) Reset()

func (*RewardWeightChangeSnapshot) Size

func (m *RewardWeightChangeSnapshot) Size() (n int)

func (*RewardWeightChangeSnapshot) String

func (m *RewardWeightChangeSnapshot) String() string

func (*RewardWeightChangeSnapshot) Unmarshal

func (m *RewardWeightChangeSnapshot) Unmarshal(dAtA []byte) error

func (*RewardWeightChangeSnapshot) XXX_DiscardUnknown

func (m *RewardWeightChangeSnapshot) XXX_DiscardUnknown()

func (*RewardWeightChangeSnapshot) XXX_Marshal

func (m *RewardWeightChangeSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardWeightChangeSnapshot) XXX_Merge

func (m *RewardWeightChangeSnapshot) XXX_Merge(src proto.Message)

func (*RewardWeightChangeSnapshot) XXX_Size

func (m *RewardWeightChangeSnapshot) XXX_Size() int

func (*RewardWeightChangeSnapshot) XXX_Unmarshal

func (m *RewardWeightChangeSnapshot) XXX_Unmarshal(b []byte) error

type RewardWeightChangeSnapshotState

type RewardWeightChangeSnapshotState struct {
	Height    uint64                     `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Validator string                     `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Denom     string                     `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Snapshot  RewardWeightChangeSnapshot `protobuf:"bytes,4,opt,name=snapshot,proto3" json:"snapshot"`
}

func (*RewardWeightChangeSnapshotState) Descriptor

func (*RewardWeightChangeSnapshotState) Descriptor() ([]byte, []int)

func (*RewardWeightChangeSnapshotState) GetDenom

func (*RewardWeightChangeSnapshotState) GetHeight

func (m *RewardWeightChangeSnapshotState) GetHeight() uint64

func (*RewardWeightChangeSnapshotState) GetSnapshot

func (*RewardWeightChangeSnapshotState) GetValidator

func (m *RewardWeightChangeSnapshotState) GetValidator() string

func (*RewardWeightChangeSnapshotState) Marshal

func (m *RewardWeightChangeSnapshotState) Marshal() (dAtA []byte, err error)

func (*RewardWeightChangeSnapshotState) MarshalTo

func (m *RewardWeightChangeSnapshotState) MarshalTo(dAtA []byte) (int, error)

func (*RewardWeightChangeSnapshotState) MarshalToSizedBuffer

func (m *RewardWeightChangeSnapshotState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardWeightChangeSnapshotState) ProtoMessage

func (*RewardWeightChangeSnapshotState) ProtoMessage()

func (*RewardWeightChangeSnapshotState) Reset

func (*RewardWeightChangeSnapshotState) Size

func (m *RewardWeightChangeSnapshotState) Size() (n int)

func (*RewardWeightChangeSnapshotState) String

func (*RewardWeightChangeSnapshotState) Unmarshal

func (m *RewardWeightChangeSnapshotState) Unmarshal(dAtA []byte) error

func (*RewardWeightChangeSnapshotState) XXX_DiscardUnknown

func (m *RewardWeightChangeSnapshotState) XXX_DiscardUnknown()

func (*RewardWeightChangeSnapshotState) XXX_Marshal

func (m *RewardWeightChangeSnapshotState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardWeightChangeSnapshotState) XXX_Merge

func (m *RewardWeightChangeSnapshotState) XXX_Merge(src proto.Message)

func (*RewardWeightChangeSnapshotState) XXX_Size

func (m *RewardWeightChangeSnapshotState) XXX_Size() int

func (*RewardWeightChangeSnapshotState) XXX_Unmarshal

func (m *RewardWeightChangeSnapshotState) XXX_Unmarshal(b []byte) error

type RewardWeightRange

type RewardWeightRange struct {
	Min cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=min,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min"`
	Max cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=max,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"max"`
}

func (*RewardWeightRange) Descriptor

func (*RewardWeightRange) Descriptor() ([]byte, []int)

func (*RewardWeightRange) Marshal

func (m *RewardWeightRange) Marshal() (dAtA []byte, err error)

func (*RewardWeightRange) MarshalTo

func (m *RewardWeightRange) MarshalTo(dAtA []byte) (int, error)

func (*RewardWeightRange) MarshalToSizedBuffer

func (m *RewardWeightRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardWeightRange) ProtoMessage

func (*RewardWeightRange) ProtoMessage()

func (*RewardWeightRange) Reset

func (m *RewardWeightRange) Reset()

func (*RewardWeightRange) Size

func (m *RewardWeightRange) Size() (n int)

func (*RewardWeightRange) String

func (m *RewardWeightRange) String() string

func (*RewardWeightRange) Unmarshal

func (m *RewardWeightRange) Unmarshal(dAtA []byte) error

func (*RewardWeightRange) XXX_DiscardUnknown

func (m *RewardWeightRange) XXX_DiscardUnknown()

func (*RewardWeightRange) XXX_Marshal

func (m *RewardWeightRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardWeightRange) XXX_Merge

func (m *RewardWeightRange) XXX_Merge(src proto.Message)

func (*RewardWeightRange) XXX_Size

func (m *RewardWeightRange) XXX_Size() int

func (*RewardWeightRange) XXX_Unmarshal

func (m *RewardWeightRange) XXX_Unmarshal(b []byte) error

type StakingKeeper

type StakingKeeper interface {
	UnbondingTime(ctx context.Context) (res time.Duration, err error)
	Delegate(ctx context.Context, delAddr sdk.AccAddress, bondAmt math.Int, tokenSrc types.BondStatus,
		validator types.Validator, subtractAccount bool) (newShares math.LegacyDec, err error)
	BeginRedelegation(
		ctx context.Context, delAddr sdk.AccAddress, valSrcAddr, valDstAddr sdk.ValAddress, sharesAmount math.LegacyDec,
	) (completionTime time.Time, err error)
	GetValidator(ctx context.Context, addr sdk.ValAddress) (validator types.Validator, err error)
	BondDenom(ctx context.Context) (res string, err error)
	ValidateUnbondAmount(
		ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, amt math.Int,
	) (shares math.LegacyDec, err error)
	RemoveRedelegation(ctx context.Context, red types.Redelegation) (err error)
	Unbond(
		ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, shares math.LegacyDec,
	) (amount math.Int, err error)
	GetDelegation(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (delegation types.Delegation, err error)
	TotalBondedTokens(ctx context.Context) (math.Int, error)
	GetDelegatorBonded(ctx context.Context, delegator sdk.AccAddress) (math.Int, error)
	RemoveValidatorTokensAndShares(ctx context.Context, validator types.Validator,
		sharesToRemove math.LegacyDec,
	) (valOut types.Validator, removedTokens math.Int, err error)
	RemoveValidatorTokens(ctx context.Context,
		validator types.Validator, tokensToRemove math.Int,
	) (types.Validator, error)
	IterateDelegatorDelegations(ctx context.Context, delegator sdk.AccAddress, cb func(delegation types.Delegation) (stop bool)) error
	GetAllValidators(ctx context.Context) ([]types.Validator, error)
}

type UnbondingDelegation added in v0.2.2

type UnbondingDelegation struct {
	// completion_time is the unix time for unbonding completion.
	CompletionTime time.Time `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	// validator_address is the bech32-encoded address of the validator.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// amount defines the tokens to receive at completion.
	Amount cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
	// alliance denom of the unbonding delegation
	Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"`
}

UnbondingDelegation defines an unbonding object with relevant metadata.

func (*UnbondingDelegation) Descriptor added in v0.2.2

func (*UnbondingDelegation) Descriptor() ([]byte, []int)

func (*UnbondingDelegation) Equal added in v0.2.2

func (this *UnbondingDelegation) Equal(that interface{}) bool

func (*UnbondingDelegation) GetCompletionTime added in v0.2.2

func (m *UnbondingDelegation) GetCompletionTime() time.Time

func (*UnbondingDelegation) GetDenom added in v0.3.5

func (m *UnbondingDelegation) GetDenom() string

func (*UnbondingDelegation) GetValidatorAddress added in v0.2.2

func (m *UnbondingDelegation) GetValidatorAddress() string

func (*UnbondingDelegation) Marshal added in v0.2.2

func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)

func (*UnbondingDelegation) MarshalTo added in v0.2.2

func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingDelegation) MarshalToSizedBuffer added in v0.2.2

func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingDelegation) ProtoMessage added in v0.2.2

func (*UnbondingDelegation) ProtoMessage()

func (*UnbondingDelegation) Reset added in v0.2.2

func (m *UnbondingDelegation) Reset()

func (*UnbondingDelegation) Size added in v0.2.2

func (m *UnbondingDelegation) Size() (n int)

func (*UnbondingDelegation) String added in v0.2.2

func (m *UnbondingDelegation) String() string

func (*UnbondingDelegation) Unmarshal added in v0.2.2

func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error

func (*UnbondingDelegation) XXX_DiscardUnknown added in v0.2.2

func (m *UnbondingDelegation) XXX_DiscardUnknown()

func (*UnbondingDelegation) XXX_Marshal added in v0.2.2

func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegation) XXX_Merge added in v0.2.2

func (m *UnbondingDelegation) XXX_Merge(src proto.Message)

func (*UnbondingDelegation) XXX_Size added in v0.2.2

func (m *UnbondingDelegation) XXX_Size() int

func (*UnbondingDelegation) XXX_Unmarshal added in v0.2.2

func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error

type UndelegateAllianceEvent

type UndelegateAllianceEvent struct {
	AllianceSender string                                  `protobuf:"bytes,1,opt,name=allianceSender,proto3" json:"allianceSender,omitempty"`
	Validator      string                                  `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Coin           github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
	CompletionTime time.Time                               `protobuf:"bytes,4,opt,name=completionTime,proto3,stdtime" json:"completionTime"`
}

func (*UndelegateAllianceEvent) Descriptor

func (*UndelegateAllianceEvent) Descriptor() ([]byte, []int)

func (*UndelegateAllianceEvent) GetAllianceSender

func (m *UndelegateAllianceEvent) GetAllianceSender() string

func (*UndelegateAllianceEvent) GetCompletionTime

func (m *UndelegateAllianceEvent) GetCompletionTime() time.Time

func (*UndelegateAllianceEvent) GetValidator

func (m *UndelegateAllianceEvent) GetValidator() string

func (*UndelegateAllianceEvent) Marshal

func (m *UndelegateAllianceEvent) Marshal() (dAtA []byte, err error)

func (*UndelegateAllianceEvent) MarshalTo

func (m *UndelegateAllianceEvent) MarshalTo(dAtA []byte) (int, error)

func (*UndelegateAllianceEvent) MarshalToSizedBuffer

func (m *UndelegateAllianceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UndelegateAllianceEvent) ProtoMessage

func (*UndelegateAllianceEvent) ProtoMessage()

func (*UndelegateAllianceEvent) Reset

func (m *UndelegateAllianceEvent) Reset()

func (*UndelegateAllianceEvent) Size

func (m *UndelegateAllianceEvent) Size() (n int)

func (*UndelegateAllianceEvent) String

func (m *UndelegateAllianceEvent) String() string

func (*UndelegateAllianceEvent) Unmarshal

func (m *UndelegateAllianceEvent) Unmarshal(dAtA []byte) error

func (*UndelegateAllianceEvent) XXX_DiscardUnknown

func (m *UndelegateAllianceEvent) XXX_DiscardUnknown()

func (*UndelegateAllianceEvent) XXX_Marshal

func (m *UndelegateAllianceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndelegateAllianceEvent) XXX_Merge

func (m *UndelegateAllianceEvent) XXX_Merge(src proto.Message)

func (*UndelegateAllianceEvent) XXX_Size

func (m *UndelegateAllianceEvent) XXX_Size() int

func (*UndelegateAllianceEvent) XXX_Unmarshal

func (m *UndelegateAllianceEvent) XXX_Unmarshal(b []byte) error

type Undelegation

type Undelegation struct {
	DelegatorAddress string     `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Balance          types.Coin `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance"`
}

func (*Undelegation) Descriptor

func (*Undelegation) Descriptor() ([]byte, []int)

func (*Undelegation) Marshal

func (m *Undelegation) Marshal() (dAtA []byte, err error)

func (*Undelegation) MarshalTo

func (m *Undelegation) MarshalTo(dAtA []byte) (int, error)

func (*Undelegation) MarshalToSizedBuffer

func (m *Undelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Undelegation) ProtoMessage

func (*Undelegation) ProtoMessage()

func (*Undelegation) Reset

func (m *Undelegation) Reset()

func (*Undelegation) Size

func (m *Undelegation) Size() (n int)

func (*Undelegation) String

func (m *Undelegation) String() string

func (*Undelegation) Unmarshal

func (m *Undelegation) Unmarshal(dAtA []byte) error

func (*Undelegation) XXX_DiscardUnknown

func (m *Undelegation) XXX_DiscardUnknown()

func (*Undelegation) XXX_Marshal

func (m *Undelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Undelegation) XXX_Merge

func (m *Undelegation) XXX_Merge(src proto.Message)

func (*Undelegation) XXX_Size

func (m *Undelegation) XXX_Size() int

func (*Undelegation) XXX_Unmarshal

func (m *Undelegation) XXX_Unmarshal(b []byte) error

type UndelegationState

type UndelegationState struct {
	CompletionTime time.Time          `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	Undelegation   QueuedUndelegation `protobuf:"bytes,2,opt,name=undelegation,proto3" json:"undelegation"`
}

func (*UndelegationState) Descriptor

func (*UndelegationState) Descriptor() ([]byte, []int)

func (*UndelegationState) GetCompletionTime

func (m *UndelegationState) GetCompletionTime() time.Time

func (*UndelegationState) GetUndelegation

func (m *UndelegationState) GetUndelegation() QueuedUndelegation

func (*UndelegationState) Marshal

func (m *UndelegationState) Marshal() (dAtA []byte, err error)

func (*UndelegationState) MarshalTo

func (m *UndelegationState) MarshalTo(dAtA []byte) (int, error)

func (*UndelegationState) MarshalToSizedBuffer

func (m *UndelegationState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UndelegationState) ProtoMessage

func (*UndelegationState) ProtoMessage()

func (*UndelegationState) Reset

func (m *UndelegationState) Reset()

func (*UndelegationState) Size

func (m *UndelegationState) Size() (n int)

func (*UndelegationState) String

func (m *UndelegationState) String() string

func (*UndelegationState) Unmarshal

func (m *UndelegationState) Unmarshal(dAtA []byte) error

func (*UndelegationState) XXX_DiscardUnknown

func (m *UndelegationState) XXX_DiscardUnknown()

func (*UndelegationState) XXX_Marshal

func (m *UndelegationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndelegationState) XXX_Merge

func (m *UndelegationState) XXX_Merge(src proto.Message)

func (*UndelegationState) XXX_Size

func (m *UndelegationState) XXX_Size() int

func (*UndelegationState) XXX_Unmarshal

func (m *UndelegationState) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimDelegationRewards

func (*UnimplementedMsgServer) CreateAlliance added in v0.3.0

func (*UnimplementedMsgServer) Delegate

func (*UnimplementedMsgServer) DeleteAlliance added in v0.3.0

func (*UnimplementedMsgServer) Redelegate

func (*UnimplementedMsgServer) Undelegate

func (*UnimplementedMsgServer) UpdateAlliance added in v0.3.0

func (*UnimplementedMsgServer) UpdateParams added in v0.3.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllAllianceValidators

func (*UnimplementedQueryServer) Alliance

func (*UnimplementedQueryServer) AllianceDelegation

func (*UnimplementedQueryServer) AllianceRedelegations added in v0.2.2

func (*UnimplementedQueryServer) AllianceRedelegationsByDelegator added in v0.3.5

func (*UnimplementedQueryServer) AllianceUnbondings added in v0.2.2

func (*UnimplementedQueryServer) AllianceUnbondingsByDelegator added in v0.3.5

func (*UnimplementedQueryServer) AllianceValidator

func (*UnimplementedQueryServer) Alliances

func (*UnimplementedQueryServer) Params

type ValidatorInfoState

type ValidatorInfoState struct {
	ValidatorAddress string                `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Validator        AllianceValidatorInfo `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
}

func (*ValidatorInfoState) Descriptor

func (*ValidatorInfoState) Descriptor() ([]byte, []int)

func (*ValidatorInfoState) GetValidator

func (m *ValidatorInfoState) GetValidator() AllianceValidatorInfo

func (*ValidatorInfoState) GetValidatorAddress

func (m *ValidatorInfoState) GetValidatorAddress() string

func (*ValidatorInfoState) Marshal

func (m *ValidatorInfoState) Marshal() (dAtA []byte, err error)

func (*ValidatorInfoState) MarshalTo

func (m *ValidatorInfoState) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorInfoState) MarshalToSizedBuffer

func (m *ValidatorInfoState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorInfoState) ProtoMessage

func (*ValidatorInfoState) ProtoMessage()

func (*ValidatorInfoState) Reset

func (m *ValidatorInfoState) Reset()

func (*ValidatorInfoState) Size

func (m *ValidatorInfoState) Size() (n int)

func (*ValidatorInfoState) String

func (m *ValidatorInfoState) String() string

func (*ValidatorInfoState) Unmarshal

func (m *ValidatorInfoState) Unmarshal(dAtA []byte) error

func (*ValidatorInfoState) XXX_DiscardUnknown

func (m *ValidatorInfoState) XXX_DiscardUnknown()

func (*ValidatorInfoState) XXX_Marshal

func (m *ValidatorInfoState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorInfoState) XXX_Merge

func (m *ValidatorInfoState) XXX_Merge(src proto.Message)

func (*ValidatorInfoState) XXX_Size

func (m *ValidatorInfoState) XXX_Size() int

func (*ValidatorInfoState) XXX_Unmarshal

func (m *ValidatorInfoState) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL