types

package
v1.4.4-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeRegisterZone      = "register_zone"
	EventTypeRedemptionRequest = "request_redemption"
	EventTypeSetIntent         = "set_intent"
	EventTypeCloseICA          = "close_ica_channel"
	EventTypeReopenICA         = "reopen_ica_channel"

	AttributeKeyConnectionID     = "connection_id"
	AttributeKeyChainID          = "chain_id"
	AttributeKeyRecipientAddress = "recipient"
	AttributeKeyBurnAmount       = "burn_amount"
	AttributeKeyRedeemAmount     = "redeem_amount"
	AttributeKeySourceAddress    = "source"
	AttributeKeyChannelID        = "channel_id"
	AttributeKeyPortID           = "port_name"
	AttributeKeyUser             = "user_address"

	AttributeValueCategory = ModuleName
)
View Source
const (
	MsgTypeWithdrawal = "withdrawal"
	MsgTypeRebalance  = "rebalance"
	// TransferPort is the portID for ibc transfer module.
	TransferPort = "transfer"
)
View Source
const (
	// ModuleName defines the module name.
	ModuleName = "interchainstaking"

	// StoreKey defines the primary module store key.
	StoreKey = ModuleName

	// RouterKey is the message route for interchainstaking.
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key.
	QuerierRoute = ModuleName

	PortID = ModuleName

	Version = "ics27-1"

	GenericToken = "tokens"

	TxRetrieveCount = 100

	QueryParameters         = "params"
	QueryZones              = "zones"
	QueryZoneDepositAddress = "zones/deposit_address"

	ICASuffixDeposit     = "deposit"
	ICASuffixDelegate    = "delegate"
	ICASuffixWithdrawal  = "withdrawal"
	ICASuffixPerformance = "performance"

	BankStoreKey        = "store/bank/key"
	EscrowModuleAccount = "ics-escrow-account"
)
View Source
const (
	TypeMsgRequestRedemption = "requestredemption"
	TypeMsgSignalIntent      = "signalintent"
)

interchainstaking message types.

View Source
const (
	ProposalTypeRegisterZone = "RegisterZone"
	ProposalTypeUpdateZone   = "UpdateZone"
)
View Source
const (
	FieldTypeAccountMap int = iota
	FieldTypeReturnToSender
)
View Source
const (
	// EpochIdentifier is the identifier that is checked against when running epoch hooks.
	EpochIdentifier = "epoch"
)

Variables

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 (
	ErrInvalidLengthInterchainstaking        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInterchainstaking          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInterchainstaking = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyPrefixZone                        = []byte{0x01}
	KeyPrefixIntent                      = []byte{0x02}
	KeyPrefixPortMapping                 = []byte{0x03}
	KeyPrefixReceipt                     = []byte{0x04}
	KeyPrefixWithdrawalRecord            = []byte{0x05}
	KeyPrefixUnbondingRecord             = []byte{0x06}
	KeyPrefixDelegation                  = []byte{0x07}
	KeyPrefixPerformanceDelegation       = []byte{0x08}
	KeyPrefixSnapshotIntent              = []byte{0x09}
	KeyPrefixRequeuedWithdrawalRecordSeq = []byte{0x0a}
	KeyPrefixAddressZoneMapping          = []byte{0x0b}
	KeyPrefixValidatorsInfo              = []byte{0x0c}
	KeyPrefixRemoteAddress               = []byte{0x0d}
	KeyPrefixLocalAddress                = []byte{0x0e}

	// fill in missing 0d - 0f before adding 0x11!
	KeyPrefixRedelegationRecord = []byte{0x10}
)
View Source
var (
	ErrInvalidLengthMessages        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultDepositInterval      uint64  = 20
	DefaultValidatorSetInterval uint64  = 200
	DefaultCommissionRate       sdk.Dec = sdk.MustNewDecFromStr("0.025")
	DefaultUnbondingEnabled             = false

	// KeyDepositInterval is store's key for the DepositInterval option.
	KeyDepositInterval = []byte("DepositInterval")
	// KeyValidatorSetInterval is store's key for the ValidatorSetInterval option.
	KeyValidatorSetInterval = []byte("ValidatorSetInterval")
	// KeyCommissionRate is store's key for the CommissionRate option.
	KeyCommissionRate = []byte("CommissionRate")
	// KeyUnbondingEnabled is a global flag to indicated whether unbonding txs are permitted.
	KeyUnbondingEnabled = []byte("UnbondingEnabled")
)

Default ics params.

View Source
var (
	ErrInvalidLengthProposals        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposals          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposals = 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 ErrCoinAmountNil = errors.New("coin amount is nil")
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func AttributesToMap

func AttributesToMap(attrs []abcitypes.EventAttribute) map[string]string

func DetermineAllocationsForDelegation

func DetermineAllocationsForDelegation(currentAllocations map[string]sdkmath.Int, currentSum sdkmath.Int, targetAllocations ValidatorIntents, amount sdk.Coins) map[string]sdkmath.Int

func DetermineAllocationsForUndelegation

func DetermineAllocationsForUndelegation(currentAllocations map[string]math.Int, currentSum math.Int, targetAllocations ValidatorIntents, availablePerValidator map[string]math.Int, amount sdk.Coins) map[string]math.Int

func GetDelegationKey

func GetDelegationKey(zone *Zone, delAddr sdk.AccAddress, valAddr sdk.ValAddress) []byte

GetDelegationKey gets the key for delegator bond with validator. VALUE: staking/Delegation.

func GetDelegationsKey

func GetDelegationsKey(zone *Zone, delAddr sdk.AccAddress) []byte

GetDelegationsKey gets the prefix for a delegator for all validators.

func GetLocalAddressKey

func GetLocalAddressKey(remoteAddress []byte, chainID string) []byte

GetLocalAddressKey gets the prefix for a local address mapping.

func GetPerformanceDelegationKey

func GetPerformanceDelegationKey(zone *Zone, delAddr sdk.AccAddress, valAddr sdk.ValAddress) []byte

GetPerformanceDelegationKey gets the key for delegator bond with validator. VALUE: staking/Delegation.

func GetPerformanceDelegationsKey

func GetPerformanceDelegationsKey(zone *Zone, delAddr sdk.AccAddress) []byte

GetPerformanceDelegationsKey gets the prefix for a delegator for all validators.

func GetReceiptKey

func GetReceiptKey(chainID, txhash string) string

func GetRedelegationKey

func GetRedelegationKey(chainID, source, destination string, epochNumber int64) []byte

GetRedelegationKey gets the redelegation key. Unbondigng records are keyed by chainId, validator and epoch, as they must be unique with regard to this triple.

func GetRemoteAddressKey

func GetRemoteAddressKey(localAddress []byte, chainID string) []byte

GetRemoteAddressKey gets the prefix for a remote address mapping.

func GetRemoteAddressPrefix

func GetRemoteAddressPrefix(locaAddress []byte) []byte

GetRemoteAddressPrefix gets the prefix for a remote address mapping.

func GetUnbondingKey

func GetUnbondingKey(chainID, validator string, epochNumber int64) []byte

GetUnbondingKey gets the unbonding key. unbonding records are keyed by chainId, validator and epoch, as they must be unique with regard to this triple.

func GetWithdrawalKey

func GetWithdrawalKey(chainID string, status int32) []byte

func GetZoneValidatorsKey

func GetZoneValidatorsKey(chainID string) []byte

GetZoneValidatorsKey gets the validators key prefix for a given chain.

func MaxDeltas

func MaxDeltas(deltas ValidatorIntents) sdkmath.Int

MaxDeltas returns the greatest value in a slice of Deltas.

func MinDeltas

func MinDeltas(deltas ValidatorIntents) sdkmath.Int

MinDeltas returns the lowest value in a slice of Deltas.

func MustMarshalDelegation added in v0.2.0

func MustMarshalDelegation(cdc codec.BinaryCodec, delegation Delegation) []byte

MustMarshalDelegation returns the delegation bytes. This function will panic on failure.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for ics module.

func ParseMsgMemo

func ParseMsgMemo(memo, msgType string) (epochNumber int64, err error)

func ParseStakingDelegationKey added in v0.6.2

func ParseStakingDelegationKey(key []byte) (sdk.AccAddress, sdk.ValAddress, error)

ParseStakingDelegationKey parses the KV store key for a delegation from Cosmos x/staking module, as defined here: https://github.com/cosmos/cosmos-sdk/blob/v0.45.6/x/staking/types/keys.go#L180

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgHandler

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

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

func RegisterMsgHandlerClient

func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error

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

func RegisterMsgHandlerFromEndpoint

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

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

func RegisterMsgHandlerServer

func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error

RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.

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)

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAddress(moduleName string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper.

type BankKeeper

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

BankKeeper defines the expected bank keeper.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	GetConnection(ctx sdk.Context, connectionID string) (ibcexported.ConnectionI, error)
}

ChannelKeeper defines the expected IBC channel keeper.

type Delegation

type Delegation struct {
	DelegationAddress string                                  `protobuf:"bytes,1,opt,name=delegation_address,json=delegationAddress,proto3" json:"delegation_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"`
	Height            int64                                   `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	RedelegationEnd   int64                                   `protobuf:"varint,5,opt,name=redelegation_end,json=redelegationEnd,proto3" json:"redelegation_end,omitempty"`
}

func MustUnmarshalDelegation added in v0.2.0

func MustUnmarshalDelegation(cdc codec.BinaryCodec, value []byte) Delegation

MustUnmarshalDelegation return the unmarshaled delegation from bytes. This function will panic on failure.

func NewDelegation added in v0.2.0

func NewDelegation(delegatorAddr, validatorAddr string, amount sdk.Coin) Delegation

NewDelegation creates a new delegation object.

func UnmarshalDelegation added in v0.2.0

func UnmarshalDelegation(cdc codec.BinaryCodec, value []byte) (delegation Delegation, err error)

UnmarshalDelegation return the delegation.

func (*Delegation) Descriptor

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

func (*Delegation) GetDelegationAddress

func (m *Delegation) GetDelegationAddress() string

func (Delegation) GetDelegatorAddr added in v0.2.0

func (d Delegation) GetDelegatorAddr() sdk.AccAddress

This function will panic on failure.

func (*Delegation) GetHeight added in v0.2.0

func (m *Delegation) GetHeight() int64

func (*Delegation) GetRedelegationEnd

func (m *Delegation) GetRedelegationEnd() int64

func (Delegation) GetValidatorAddr added in v0.2.0

func (d Delegation) GetValidatorAddr() sdk.ValAddress

This function will panic on failure.

func (*Delegation) GetValidatorAddress

func (m *Delegation) GetValidatorAddress() string

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 DelegationsForZone added in v0.6.0

type DelegationsForZone struct {
	ChainId     string        `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Delegations []*Delegation `protobuf:"bytes,2,rep,name=delegations,proto3" json:"delegations,omitempty"`
}

func (*DelegationsForZone) Descriptor added in v0.6.0

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

func (*DelegationsForZone) GetChainId added in v0.6.0

func (m *DelegationsForZone) GetChainId() string

func (*DelegationsForZone) GetDelegations added in v0.6.0

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

func (*DelegationsForZone) Marshal added in v0.6.0

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

func (*DelegationsForZone) MarshalTo added in v0.6.0

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

func (*DelegationsForZone) MarshalToSizedBuffer added in v0.6.0

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

func (*DelegationsForZone) ProtoMessage added in v0.6.0

func (*DelegationsForZone) ProtoMessage()

func (*DelegationsForZone) Reset added in v0.6.0

func (m *DelegationsForZone) Reset()

func (*DelegationsForZone) Size added in v0.6.0

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

func (*DelegationsForZone) String added in v0.6.0

func (m *DelegationsForZone) String() string

func (*DelegationsForZone) Unmarshal added in v0.6.0

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

func (*DelegationsForZone) XXX_DiscardUnknown added in v0.6.0

func (m *DelegationsForZone) XXX_DiscardUnknown()

func (*DelegationsForZone) XXX_Marshal added in v0.6.0

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

func (*DelegationsForZone) XXX_Merge added in v0.6.0

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

func (*DelegationsForZone) XXX_Size added in v0.6.0

func (m *DelegationsForZone) XXX_Size() int

func (*DelegationsForZone) XXX_Unmarshal added in v0.6.0

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

type DelegatorIntent

type DelegatorIntent struct {
	Delegator string           `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Intents   ValidatorIntents `protobuf:"bytes,2,rep,name=intents,proto3,castrepeated=ValidatorIntents" json:"intents,omitempty"`
}

func (DelegatorIntent) AddOrdinal

func (di DelegatorIntent) AddOrdinal(multiplier sdk.Dec, intents ValidatorIntents) DelegatorIntent

func (*DelegatorIntent) Descriptor

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

func (*DelegatorIntent) GetDelegator

func (m *DelegatorIntent) GetDelegator() string

func (*DelegatorIntent) GetIntents

func (m *DelegatorIntent) GetIntents() ValidatorIntents

func (DelegatorIntent) IntentForValoper added in v0.9.0

func (di DelegatorIntent) IntentForValoper(valoper string) (*ValidatorIntent, bool)

func (*DelegatorIntent) Marshal

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

func (*DelegatorIntent) MarshalTo

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

func (*DelegatorIntent) MarshalToSizedBuffer

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

func (DelegatorIntent) MustIntentForValoper added in v0.9.0

func (di DelegatorIntent) MustIntentForValoper(valoper string) *ValidatorIntent

func (DelegatorIntent) Normalize

func (di DelegatorIntent) Normalize() DelegatorIntent

func (DelegatorIntent) Ordinalize

func (di DelegatorIntent) Ordinalize(multiple sdk.Dec) DelegatorIntent

func (*DelegatorIntent) ProtoMessage

func (*DelegatorIntent) ProtoMessage()

func (*DelegatorIntent) Reset

func (m *DelegatorIntent) Reset()

func (*DelegatorIntent) Size

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

func (*DelegatorIntent) SortedIntents added in v0.9.0

func (di *DelegatorIntent) SortedIntents() ValidatorIntents

func (*DelegatorIntent) String

func (m *DelegatorIntent) String() string

func (*DelegatorIntent) Unmarshal

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

func (*DelegatorIntent) XXX_DiscardUnknown

func (m *DelegatorIntent) XXX_DiscardUnknown()

func (*DelegatorIntent) XXX_Marshal

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

func (*DelegatorIntent) XXX_Merge

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

func (*DelegatorIntent) XXX_Size

func (m *DelegatorIntent) XXX_Size() int

func (*DelegatorIntent) XXX_Unmarshal

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

type DelegatorIntentsForZone added in v0.6.0

type DelegatorIntentsForZone struct {
	ChainId          string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	DelegationIntent []*DelegatorIntent `protobuf:"bytes,2,rep,name=delegation_intent,json=delegationIntent,proto3" json:"delegation_intent,omitempty"`
	Snapshot         bool               `protobuf:"varint,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
}

func (*DelegatorIntentsForZone) Descriptor added in v0.6.0

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

func (*DelegatorIntentsForZone) GetChainId added in v0.6.0

func (m *DelegatorIntentsForZone) GetChainId() string

func (*DelegatorIntentsForZone) GetDelegationIntent added in v0.6.0

func (m *DelegatorIntentsForZone) GetDelegationIntent() []*DelegatorIntent

func (*DelegatorIntentsForZone) GetSnapshot added in v0.6.0

func (m *DelegatorIntentsForZone) GetSnapshot() bool

func (*DelegatorIntentsForZone) Marshal added in v0.6.0

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

func (*DelegatorIntentsForZone) MarshalTo added in v0.6.0

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

func (*DelegatorIntentsForZone) MarshalToSizedBuffer added in v0.6.0

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

func (*DelegatorIntentsForZone) ProtoMessage added in v0.6.0

func (*DelegatorIntentsForZone) ProtoMessage()

func (*DelegatorIntentsForZone) Reset added in v0.6.0

func (m *DelegatorIntentsForZone) Reset()

func (*DelegatorIntentsForZone) Size added in v0.6.0

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

func (*DelegatorIntentsForZone) String added in v0.6.0

func (m *DelegatorIntentsForZone) String() string

func (*DelegatorIntentsForZone) Unmarshal added in v0.6.0

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

func (*DelegatorIntentsForZone) XXX_DiscardUnknown added in v0.6.0

func (m *DelegatorIntentsForZone) XXX_DiscardUnknown()

func (*DelegatorIntentsForZone) XXX_Marshal added in v0.6.0

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

func (*DelegatorIntentsForZone) XXX_Merge added in v0.6.0

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

func (*DelegatorIntentsForZone) XXX_Size added in v0.6.0

func (m *DelegatorIntentsForZone) XXX_Size() int

func (*DelegatorIntentsForZone) XXX_Unmarshal added in v0.6.0

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

type Distribution added in v0.9.0

type Distribution struct {
	Valoper string `protobuf:"bytes,1,opt,name=valoper,proto3" json:"valoper,omitempty"`
	Amount  uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*Distribution) Descriptor added in v0.9.0

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

func (*Distribution) GetAmount added in v0.9.0

func (m *Distribution) GetAmount() uint64

func (*Distribution) GetValoper added in v0.9.0

func (m *Distribution) GetValoper() string

func (*Distribution) Marshal added in v0.9.0

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

func (*Distribution) MarshalTo added in v0.9.0

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

func (*Distribution) MarshalToSizedBuffer added in v0.9.0

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

func (*Distribution) ProtoMessage added in v0.9.0

func (*Distribution) ProtoMessage()

func (*Distribution) Reset added in v0.9.0

func (m *Distribution) Reset()

func (*Distribution) Size added in v0.9.0

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

func (*Distribution) String added in v0.9.0

func (m *Distribution) String() string

func (*Distribution) Unmarshal added in v0.9.0

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

func (*Distribution) XXX_DiscardUnknown added in v0.9.0

func (m *Distribution) XXX_DiscardUnknown()

func (*Distribution) XXX_Marshal added in v0.9.0

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

func (*Distribution) XXX_Merge added in v0.9.0

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

func (*Distribution) XXX_Size added in v0.9.0

func (m *Distribution) XXX_Size() int

func (*Distribution) XXX_Unmarshal added in v0.9.0

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

type GenesisState

type GenesisState struct {
	Params                 Params                    `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Zones                  []Zone                    `protobuf:"bytes,2,rep,name=zones,proto3" json:"zones"`
	Receipts               []Receipt                 `protobuf:"bytes,3,rep,name=receipts,proto3" json:"receipts"`
	Delegations            []DelegationsForZone      `protobuf:"bytes,4,rep,name=delegations,proto3" json:"delegations"`
	PerformanceDelegations []DelegationsForZone      `protobuf:"bytes,5,rep,name=performance_delegations,json=performanceDelegations,proto3" json:"performance_delegations"`
	DelegatorIntents       []DelegatorIntentsForZone `protobuf:"bytes,6,rep,name=delegator_intents,json=delegatorIntents,proto3" json:"delegator_intents"`
	PortConnections        []PortConnectionTuple     `protobuf:"bytes,7,rep,name=port_connections,json=portConnections,proto3" json:"port_connections"`
	WithdrawalRecords      []WithdrawalRecord        `protobuf:"bytes,8,rep,name=withdrawal_records,json=withdrawalRecords,proto3" json:"withdrawal_records"`
}

GenesisState defines the interchainstaking module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default ics genesis state.

func NewGenesisState

func NewGenesisState(params Params, zones []Zone) *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetDelegations added in v0.6.0

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

func (*GenesisState) GetDelegatorIntents added in v0.6.0

func (m *GenesisState) GetDelegatorIntents() []DelegatorIntentsForZone

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPerformanceDelegations added in v0.10.2

func (m *GenesisState) GetPerformanceDelegations() []DelegationsForZone

func (*GenesisState) GetPortConnections added in v0.6.0

func (m *GenesisState) GetPortConnections() []PortConnectionTuple

func (*GenesisState) GetReceipts added in v0.6.0

func (m *GenesisState) GetReceipts() []Receipt

func (*GenesisState) GetWithdrawalRecords added in v0.9.0

func (m *GenesisState) GetWithdrawalRecords() []WithdrawalRecord

func (*GenesisState) GetZones

func (m *GenesisState) GetZones() []Zone

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) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 ICAAccount

type ICAAccount struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// balance defines the different coins this balance holds.
	Balance           github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
	PortName          string                                   `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	WithdrawalAddress string                                   `protobuf:"bytes,4,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"`
	BalanceWaitgroup  uint32                                   `protobuf:"varint,5,opt,name=balance_waitgroup,json=balanceWaitgroup,proto3" json:"balance_waitgroup,omitempty"`
}

func NewICAAccount added in v0.6.0

func NewICAAccount(addr, portID string) (*ICAAccount, error)

func (*ICAAccount) DecrementBalanceWaitgroup added in v0.6.0

func (a *ICAAccount) DecrementBalanceWaitgroup() error

func (*ICAAccount) Descriptor

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

func (*ICAAccount) GetAddress

func (m *ICAAccount) GetAddress() string

func (*ICAAccount) GetBalance

func (*ICAAccount) GetBalanceWaitgroup added in v0.2.0

func (m *ICAAccount) GetBalanceWaitgroup() uint32

func (*ICAAccount) GetPortName

func (m *ICAAccount) GetPortName() string

func (*ICAAccount) GetWithdrawalAddress added in v0.6.0

func (m *ICAAccount) GetWithdrawalAddress() string

func (*ICAAccount) IncrementBalanceWaitgroup added in v0.6.0

func (a *ICAAccount) IncrementBalanceWaitgroup()

func (*ICAAccount) Marshal

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

func (*ICAAccount) MarshalTo

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

func (*ICAAccount) MarshalToSizedBuffer

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

func (*ICAAccount) ProtoMessage

func (*ICAAccount) ProtoMessage()

func (*ICAAccount) Reset

func (m *ICAAccount) Reset()

func (*ICAAccount) SetBalance added in v0.6.0

func (a *ICAAccount) SetBalance(coins sdk.Coins) error

func (*ICAAccount) SetWithdrawalAddress added in v0.6.0

func (a *ICAAccount) SetWithdrawalAddress(addr string) error

func (*ICAAccount) Size

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

func (*ICAAccount) String

func (m *ICAAccount) String() string

func (*ICAAccount) Unmarshal

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

func (*ICAAccount) XXX_DiscardUnknown

func (m *ICAAccount) XXX_DiscardUnknown()

func (*ICAAccount) XXX_Marshal

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

func (*ICAAccount) XXX_Merge

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

func (*ICAAccount) XXX_Size

func (m *ICAAccount) XXX_Size() int

func (*ICAAccount) XXX_Unmarshal

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

type MemoField

type MemoField struct {
	ID   int
	Data []byte
}

func (*MemoField) Validate

func (m *MemoField) Validate() error

type MemoFields

type MemoFields map[int]MemoField

func ParseMemoFields

func ParseMemoFields(fieldBytes []byte) (MemoFields, error)

func (MemoFields) AccountMap

func (m MemoFields) AccountMap() ([]byte, bool)

func (MemoFields) RTS

func (m MemoFields) RTS() bool

type MsgClient

type MsgClient interface {
	// RequestRedemption defines a method for requesting burning of qAssets for
	// native assets.
	RequestRedemption(ctx context.Context, in *MsgRequestRedemption, opts ...grpc.CallOption) (*MsgRequestRedemptionResponse, error)
	// SignalIntent defines a method for signalling voting intent for one or more
	// validators.
	SignalIntent(ctx context.Context, in *MsgSignalIntent, opts ...grpc.CallOption) (*MsgSignalIntentResponse, error)
	// SignalIntent defines a method for signalling voting intent for one or more
	// validators.
	GovCloseChannel(ctx context.Context, in *MsgGovCloseChannel, opts ...grpc.CallOption) (*MsgGovCloseChannelResponse, error)
	GovReopenChannel(ctx context.Context, in *MsgGovReopenChannel, opts ...grpc.CallOption) (*MsgGovReopenChannelResponse, error)
}

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 MsgGovCloseChannel added in v1.2.5

type MsgGovCloseChannel struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChannelId   string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
	PortId      string `protobuf:"bytes,4,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
	Authority   string `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
}

func NewMsgGovCloseChannel added in v1.2.5

func NewMsgGovCloseChannel(channelID, portName string, fromAddress sdk.Address) *MsgGovCloseChannel

NewMsgGovCloseChannel - construct a msg to update signalled intent.

func (*MsgGovCloseChannel) Descriptor added in v1.2.5

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

func (MsgGovCloseChannel) GetSignBytes added in v1.2.5

func (msg MsgGovCloseChannel) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgGovCloseChannel) GetSigners added in v1.2.5

func (msg MsgGovCloseChannel) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgGovCloseChannel) Marshal added in v1.2.5

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

func (*MsgGovCloseChannel) MarshalTo added in v1.2.5

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

func (*MsgGovCloseChannel) MarshalToSizedBuffer added in v1.2.5

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

func (*MsgGovCloseChannel) ProtoMessage added in v1.2.5

func (*MsgGovCloseChannel) ProtoMessage()

func (*MsgGovCloseChannel) Reset added in v1.2.5

func (m *MsgGovCloseChannel) Reset()

func (*MsgGovCloseChannel) Size added in v1.2.5

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

func (*MsgGovCloseChannel) String added in v1.2.5

func (m *MsgGovCloseChannel) String() string

func (*MsgGovCloseChannel) Unmarshal added in v1.2.5

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

func (MsgGovCloseChannel) ValidateBasic added in v1.2.5

func (msg MsgGovCloseChannel) ValidateBasic() error

check channel id is correct format. validate port name?

func (*MsgGovCloseChannel) XXX_DiscardUnknown added in v1.2.5

func (m *MsgGovCloseChannel) XXX_DiscardUnknown()

func (*MsgGovCloseChannel) XXX_Marshal added in v1.2.5

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

func (*MsgGovCloseChannel) XXX_Merge added in v1.2.5

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

func (*MsgGovCloseChannel) XXX_Size added in v1.2.5

func (m *MsgGovCloseChannel) XXX_Size() int

func (*MsgGovCloseChannel) XXX_Unmarshal added in v1.2.5

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

type MsgGovCloseChannelResponse added in v1.2.5

type MsgGovCloseChannelResponse struct {
}

MsgGovCloseChannelResponse defines the MsgGovCloseChannel response type.

func (*MsgGovCloseChannelResponse) Descriptor added in v1.2.5

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

func (*MsgGovCloseChannelResponse) Marshal added in v1.2.5

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

func (*MsgGovCloseChannelResponse) MarshalTo added in v1.2.5

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

func (*MsgGovCloseChannelResponse) MarshalToSizedBuffer added in v1.2.5

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

func (*MsgGovCloseChannelResponse) ProtoMessage added in v1.2.5

func (*MsgGovCloseChannelResponse) ProtoMessage()

func (*MsgGovCloseChannelResponse) Reset added in v1.2.5

func (m *MsgGovCloseChannelResponse) Reset()

func (*MsgGovCloseChannelResponse) Size added in v1.2.5

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

func (*MsgGovCloseChannelResponse) String added in v1.2.5

func (m *MsgGovCloseChannelResponse) String() string

func (*MsgGovCloseChannelResponse) Unmarshal added in v1.2.5

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

func (*MsgGovCloseChannelResponse) XXX_DiscardUnknown added in v1.2.5

func (m *MsgGovCloseChannelResponse) XXX_DiscardUnknown()

func (*MsgGovCloseChannelResponse) XXX_Marshal added in v1.2.5

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

func (*MsgGovCloseChannelResponse) XXX_Merge added in v1.2.5

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

func (*MsgGovCloseChannelResponse) XXX_Size added in v1.2.5

func (m *MsgGovCloseChannelResponse) XXX_Size() int

func (*MsgGovCloseChannelResponse) XXX_Unmarshal added in v1.2.5

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

type MsgGovReopenChannel added in v1.2.5

type MsgGovReopenChannel struct {
	Title        string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description  string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
	PortId       string `protobuf:"bytes,4,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
	Authority    string `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
}

func NewMsgGovReopenChannel added in v1.2.5

func NewMsgGovReopenChannel(connectionID, portName string, fromAddress sdk.Address) *MsgGovReopenChannel

NewMsgGovReopenChannel - construct a msg to update signalled intent.

func (*MsgGovReopenChannel) Descriptor added in v1.2.5

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

func (MsgGovReopenChannel) GetSignBytes added in v1.2.5

func (msg MsgGovReopenChannel) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgGovReopenChannel) GetSigners added in v1.2.5

func (msg MsgGovReopenChannel) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgGovReopenChannel) Marshal added in v1.2.5

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

func (*MsgGovReopenChannel) MarshalTo added in v1.2.5

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

func (*MsgGovReopenChannel) MarshalToSizedBuffer added in v1.2.5

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

func (*MsgGovReopenChannel) ProtoMessage added in v1.2.5

func (*MsgGovReopenChannel) ProtoMessage()

func (*MsgGovReopenChannel) Reset added in v1.2.5

func (m *MsgGovReopenChannel) Reset()

func (*MsgGovReopenChannel) Size added in v1.2.5

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

func (*MsgGovReopenChannel) String added in v1.2.5

func (m *MsgGovReopenChannel) String() string

func (*MsgGovReopenChannel) Unmarshal added in v1.2.5

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

func (MsgGovReopenChannel) ValidateBasic added in v1.2.5

func (msg MsgGovReopenChannel) ValidateBasic() error

check channel id is correct format. validate port name?

func (*MsgGovReopenChannel) XXX_DiscardUnknown added in v1.2.5

func (m *MsgGovReopenChannel) XXX_DiscardUnknown()

func (*MsgGovReopenChannel) XXX_Marshal added in v1.2.5

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

func (*MsgGovReopenChannel) XXX_Merge added in v1.2.5

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

func (*MsgGovReopenChannel) XXX_Size added in v1.2.5

func (m *MsgGovReopenChannel) XXX_Size() int

func (*MsgGovReopenChannel) XXX_Unmarshal added in v1.2.5

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

type MsgGovReopenChannelResponse added in v1.2.5

type MsgGovReopenChannelResponse struct {
}

MsgGovReopenChannelResponse defines the MsgGovReopenChannel response type.

func (*MsgGovReopenChannelResponse) Descriptor added in v1.2.5

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

func (*MsgGovReopenChannelResponse) Marshal added in v1.2.5

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

func (*MsgGovReopenChannelResponse) MarshalTo added in v1.2.5

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

func (*MsgGovReopenChannelResponse) MarshalToSizedBuffer added in v1.2.5

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

func (*MsgGovReopenChannelResponse) ProtoMessage added in v1.2.5

func (*MsgGovReopenChannelResponse) ProtoMessage()

func (*MsgGovReopenChannelResponse) Reset added in v1.2.5

func (m *MsgGovReopenChannelResponse) Reset()

func (*MsgGovReopenChannelResponse) Size added in v1.2.5

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

func (*MsgGovReopenChannelResponse) String added in v1.2.5

func (m *MsgGovReopenChannelResponse) String() string

func (*MsgGovReopenChannelResponse) Unmarshal added in v1.2.5

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

func (*MsgGovReopenChannelResponse) XXX_DiscardUnknown added in v1.2.5

func (m *MsgGovReopenChannelResponse) XXX_DiscardUnknown()

func (*MsgGovReopenChannelResponse) XXX_Marshal added in v1.2.5

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

func (*MsgGovReopenChannelResponse) XXX_Merge added in v1.2.5

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

func (*MsgGovReopenChannelResponse) XXX_Size added in v1.2.5

func (m *MsgGovReopenChannelResponse) XXX_Size() int

func (*MsgGovReopenChannelResponse) XXX_Unmarshal added in v1.2.5

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

type MsgRequestRedemption

type MsgRequestRedemption struct {
	Value              types.Coin `protobuf:"bytes,1,opt,name=value,proto3" json:"value" yaml:"coin"`
	DestinationAddress string     `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"`
	FromAddress        string     `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

MsgRequestRedemption represents a message type to request a burn of qAssets for native assets.

func NewMsgRequestRedemption

func NewMsgRequestRedemption(value sdk.Coin, destinationAddress string, fromAddress sdk.Address) *MsgRequestRedemption

NewMsgRequestRedemption - construct a msg to request redemption.

func (*MsgRequestRedemption) Descriptor

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

func (MsgRequestRedemption) GetSignBytes

func (msg MsgRequestRedemption) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgRequestRedemption) GetSigners

func (msg MsgRequestRedemption) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgRequestRedemption) Marshal

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

func (*MsgRequestRedemption) MarshalTo

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

func (*MsgRequestRedemption) MarshalToSizedBuffer

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

func (*MsgRequestRedemption) ProtoMessage

func (*MsgRequestRedemption) ProtoMessage()

func (*MsgRequestRedemption) Reset

func (m *MsgRequestRedemption) Reset()

func (MsgRequestRedemption) Route

func (msg MsgRequestRedemption) Route() string

Route Implements Msg.

func (*MsgRequestRedemption) Size

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

func (*MsgRequestRedemption) String

func (m *MsgRequestRedemption) String() string

func (MsgRequestRedemption) Type

func (msg MsgRequestRedemption) Type() string

Type Implements Msg.

func (*MsgRequestRedemption) Unmarshal

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

func (MsgRequestRedemption) ValidateBasic

func (msg MsgRequestRedemption) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgRequestRedemption) XXX_DiscardUnknown

func (m *MsgRequestRedemption) XXX_DiscardUnknown()

func (*MsgRequestRedemption) XXX_Marshal

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

func (*MsgRequestRedemption) XXX_Merge

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

func (*MsgRequestRedemption) XXX_Size

func (m *MsgRequestRedemption) XXX_Size() int

func (*MsgRequestRedemption) XXX_Unmarshal

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

type MsgRequestRedemptionResponse

type MsgRequestRedemptionResponse struct {
}

MsgRequestRedemptionResponse defines the MsgRequestRedemption response type.

func (*MsgRequestRedemptionResponse) Descriptor

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

func (*MsgRequestRedemptionResponse) Marshal

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

func (*MsgRequestRedemptionResponse) MarshalTo

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

func (*MsgRequestRedemptionResponse) MarshalToSizedBuffer

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

func (*MsgRequestRedemptionResponse) ProtoMessage

func (*MsgRequestRedemptionResponse) ProtoMessage()

func (*MsgRequestRedemptionResponse) Reset

func (m *MsgRequestRedemptionResponse) Reset()

func (*MsgRequestRedemptionResponse) Size

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

func (*MsgRequestRedemptionResponse) String

func (*MsgRequestRedemptionResponse) Unmarshal

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

func (*MsgRequestRedemptionResponse) XXX_DiscardUnknown

func (m *MsgRequestRedemptionResponse) XXX_DiscardUnknown()

func (*MsgRequestRedemptionResponse) XXX_Marshal

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

func (*MsgRequestRedemptionResponse) XXX_Merge

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

func (*MsgRequestRedemptionResponse) XXX_Size

func (m *MsgRequestRedemptionResponse) XXX_Size() int

func (*MsgRequestRedemptionResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// RequestRedemption defines a method for requesting burning of qAssets for
	// native assets.
	RequestRedemption(context.Context, *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error)
	// SignalIntent defines a method for signalling voting intent for one or more
	// validators.
	SignalIntent(context.Context, *MsgSignalIntent) (*MsgSignalIntentResponse, error)
	// SignalIntent defines a method for signalling voting intent for one or more
	// validators.
	GovCloseChannel(context.Context, *MsgGovCloseChannel) (*MsgGovCloseChannelResponse, error)
	GovReopenChannel(context.Context, *MsgGovReopenChannel) (*MsgGovReopenChannelResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSignalIntent

type MsgSignalIntent struct {
	ChainId     string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Intents     string `protobuf:"bytes,2,opt,name=intents,proto3" json:"intents,omitempty" yaml:"intents"`
	FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

MsgSignalIntent represents a message type for signalling voting intent for one or more validators.

func NewMsgSignalIntent

func NewMsgSignalIntent(chainID, intents string, fromAddress sdk.Address) *MsgSignalIntent

NewMsgSignalIntent - construct a msg to update signalled intent.

func (*MsgSignalIntent) Descriptor

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

func (MsgSignalIntent) GetSignBytes

func (msg MsgSignalIntent) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgSignalIntent) GetSigners

func (msg MsgSignalIntent) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgSignalIntent) Marshal

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

func (*MsgSignalIntent) MarshalTo

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

func (*MsgSignalIntent) MarshalToSizedBuffer

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

func (*MsgSignalIntent) ProtoMessage

func (*MsgSignalIntent) ProtoMessage()

func (*MsgSignalIntent) Reset

func (m *MsgSignalIntent) Reset()

func (MsgSignalIntent) Route

func (msg MsgSignalIntent) Route() string

Route Implements Msg.

func (*MsgSignalIntent) Size

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

func (*MsgSignalIntent) String

func (m *MsgSignalIntent) String() string

func (MsgSignalIntent) Type

func (msg MsgSignalIntent) Type() string

Type Implements Msg.

func (*MsgSignalIntent) Unmarshal

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

func (MsgSignalIntent) ValidateBasic

func (msg MsgSignalIntent) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSignalIntent) XXX_DiscardUnknown

func (m *MsgSignalIntent) XXX_DiscardUnknown()

func (*MsgSignalIntent) XXX_Marshal

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

func (*MsgSignalIntent) XXX_Merge

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

func (*MsgSignalIntent) XXX_Size

func (m *MsgSignalIntent) XXX_Size() int

func (*MsgSignalIntent) XXX_Unmarshal

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

type MsgSignalIntentResponse

type MsgSignalIntentResponse struct {
}

MsgSignalIntentResponse defines the MsgSignalIntent response type.

func (*MsgSignalIntentResponse) Descriptor

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

func (*MsgSignalIntentResponse) Marshal

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

func (*MsgSignalIntentResponse) MarshalTo

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

func (*MsgSignalIntentResponse) MarshalToSizedBuffer

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

func (*MsgSignalIntentResponse) ProtoMessage

func (*MsgSignalIntentResponse) ProtoMessage()

func (*MsgSignalIntentResponse) Reset

func (m *MsgSignalIntentResponse) Reset()

func (*MsgSignalIntentResponse) Size

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

func (*MsgSignalIntentResponse) String

func (m *MsgSignalIntentResponse) String() string

func (*MsgSignalIntentResponse) Unmarshal

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

func (*MsgSignalIntentResponse) XXX_DiscardUnknown

func (m *MsgSignalIntentResponse) XXX_DiscardUnknown()

func (*MsgSignalIntentResponse) XXX_Marshal

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

func (*MsgSignalIntentResponse) XXX_Merge

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

func (*MsgSignalIntentResponse) XXX_Size

func (m *MsgSignalIntentResponse) XXX_Size() int

func (*MsgSignalIntentResponse) XXX_Unmarshal

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

type Params

type Params struct {
	DepositInterval      uint64                                 `protobuf:"varint,1,opt,name=deposit_interval,json=depositInterval,proto3" json:"deposit_interval,omitempty"`
	ValidatorsetInterval uint64                                 `protobuf:"varint,2,opt,name=validatorset_interval,json=validatorsetInterval,proto3" json:"validatorset_interval,omitempty"`
	CommissionRate       github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
	UnbondingEnabled     bool                                   `protobuf:"varint,4,opt,name=unbonding_enabled,json=unbondingEnabled,proto3" json:"unbonding_enabled,omitempty"`
}

func DefaultParams

func DefaultParams() Params

DefaultParams default ics params.

func MustUnmarshalParams

func MustUnmarshalParams(cdc *codec.LegacyAmino, value []byte) Params

MustUnmarshalParams unmarshals the current interchainstaking params value from store key or panic.

func NewParams

func NewParams(
	depositInterval uint64,
	valsetInterval uint64,
	commissionRate sdk.Dec,
	unbondingEnabled bool,
) Params

NewParams creates a new ics Params instance.

func UnmarshalParams

func UnmarshalParams(cdc *codec.LegacyAmino, value []byte) (params Params, err error)

UnmarshalParams unmarshals the current interchainstaking params value from store key.

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetDepositInterval

func (m *Params) GetDepositInterval() uint64

func (*Params) GetUnbondingEnabled added in v0.10.5

func (m *Params) GetUnbondingEnabled() bool

func (*Params) GetValidatorsetInterval

func (m *Params) GetValidatorsetInterval() uint64

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

ParamSetPairs implements params.ParamSet.

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 (p Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates params.

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 ParamsV1 added in v0.10.5

type ParamsV1 struct {
	DepositInterval      uint64                                 `protobuf:"varint,1,opt,name=deposit_interval,json=depositInterval,proto3" json:"deposit_interval,omitempty"`
	ValidatorsetInterval uint64                                 `protobuf:"varint,2,opt,name=validatorset_interval,json=validatorsetInterval,proto3" json:"validatorset_interval,omitempty"`
	CommissionRate       github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
}

func (*ParamsV1) Descriptor added in v0.10.5

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

func (*ParamsV1) Equal added in v0.10.5

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

func (*ParamsV1) GetDepositInterval added in v0.10.5

func (m *ParamsV1) GetDepositInterval() uint64

func (*ParamsV1) GetValidatorsetInterval added in v0.10.5

func (m *ParamsV1) GetValidatorsetInterval() uint64

func (*ParamsV1) Marshal added in v0.10.5

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

func (*ParamsV1) MarshalTo added in v0.10.5

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

func (*ParamsV1) MarshalToSizedBuffer added in v0.10.5

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

func (ParamsV1) ParamSetPairs added in v0.10.5

func (p ParamsV1) ParamSetPairs() paramtypes.ParamSetPairs

func (*ParamsV1) ProtoMessage added in v0.10.5

func (*ParamsV1) ProtoMessage()

func (*ParamsV1) Reset added in v0.10.5

func (m *ParamsV1) Reset()

func (*ParamsV1) Size added in v0.10.5

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

func (ParamsV1) String added in v0.10.5

func (p ParamsV1) String() string

String implements the Stringer interface.

func (*ParamsV1) Unmarshal added in v0.10.5

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

func (*ParamsV1) XXX_DiscardUnknown added in v0.10.5

func (m *ParamsV1) XXX_DiscardUnknown()

func (*ParamsV1) XXX_Marshal added in v0.10.5

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

func (*ParamsV1) XXX_Merge added in v0.10.5

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

func (*ParamsV1) XXX_Size added in v0.10.5

func (m *ParamsV1) XXX_Size() int

func (*ParamsV1) XXX_Unmarshal added in v0.10.5

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

type PortConnectionTuple

type PortConnectionTuple struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	PortId       string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}

func (*PortConnectionTuple) Descriptor

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

func (*PortConnectionTuple) GetConnectionId

func (m *PortConnectionTuple) GetConnectionId() string

func (*PortConnectionTuple) GetPortId

func (m *PortConnectionTuple) GetPortId() string

func (*PortConnectionTuple) Marshal

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

func (*PortConnectionTuple) MarshalTo

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

func (*PortConnectionTuple) MarshalToSizedBuffer

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

func (*PortConnectionTuple) ProtoMessage

func (*PortConnectionTuple) ProtoMessage()

func (*PortConnectionTuple) Reset

func (m *PortConnectionTuple) Reset()

func (*PortConnectionTuple) Size

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

func (*PortConnectionTuple) String

func (m *PortConnectionTuple) String() string

func (*PortConnectionTuple) Unmarshal

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

func (*PortConnectionTuple) XXX_DiscardUnknown

func (m *PortConnectionTuple) XXX_DiscardUnknown()

func (*PortConnectionTuple) XXX_Marshal

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

func (*PortConnectionTuple) XXX_Merge

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

func (*PortConnectionTuple) XXX_Size

func (m *PortConnectionTuple) XXX_Size() int

func (*PortConnectionTuple) XXX_Unmarshal

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

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
	IsBound(ctx sdk.Context, portID string) bool
}

PortKeeper defines the expected IBC port keeper.

type QueryClient

type QueryClient interface {
	// Zones provides meta data on connected zones.
	Zones(ctx context.Context, in *QueryZonesRequest, opts ...grpc.CallOption) (*QueryZonesResponse, error)
	// Zone provides meta data on a specific zone.
	Zone(ctx context.Context, in *QueryZoneRequest, opts ...grpc.CallOption) (*QueryZoneResponse, error)
	ZoneValidators(ctx context.Context, in *QueryZoneValidatorsRequest, opts ...grpc.CallOption) (*QueryZoneValidatorsResponse, error)
	// DepositAccount provides data on the deposit address for a connected zone.
	DepositAccount(ctx context.Context, in *QueryDepositAccountForChainRequest, opts ...grpc.CallOption) (*QueryDepositAccountForChainResponse, error)
	// DelegatorIntent provides data on the intent of the delegator for the given
	// zone.
	DelegatorIntent(ctx context.Context, in *QueryDelegatorIntentRequest, opts ...grpc.CallOption) (*QueryDelegatorIntentResponse, error)
	// Delegations provides data on the delegations for the given zone.
	Delegations(ctx context.Context, in *QueryDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegationsResponse, error)
	// Delegations provides data on the delegations for the given zone.
	Receipts(ctx context.Context, in *QueryReceiptsRequest, opts ...grpc.CallOption) (*QueryReceiptsResponse, error)
	// WithdrawalRecords provides data on the active withdrawals.
	ZoneWithdrawalRecords(ctx context.Context, in *QueryWithdrawalRecordsRequest, opts ...grpc.CallOption) (*QueryWithdrawalRecordsResponse, error)
	// WithdrawalRecords provides data on the active withdrawals.
	WithdrawalRecords(ctx context.Context, in *QueryWithdrawalRecordsRequest, opts ...grpc.CallOption) (*QueryWithdrawalRecordsResponse, error)
	// UnbondingRecords provides data on the active unbondings.
	UnbondingRecords(ctx context.Context, in *QueryUnbondingRecordsRequest, opts ...grpc.CallOption) (*QueryUnbondingRecordsResponse, error)
	// RedelegationRecords provides data on the active unbondings.
	RedelegationRecords(ctx context.Context, in *QueryRedelegationRecordsRequest, opts ...grpc.CallOption) (*QueryRedelegationRecordsResponse, error)
	// MappedAccounts provides data on the mapped accounts for a given user over different host chains.
	MappedAccounts(ctx context.Context, in *QueryMappedAccountsRequest, opts ...grpc.CallOption) (*QueryMappedAccountsResponse, 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 QueryDelegationsRequest added in v0.2.0

type QueryDelegationsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryDelegationsRequest) Descriptor added in v0.2.0

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

func (*QueryDelegationsRequest) GetChainId added in v0.2.0

func (m *QueryDelegationsRequest) GetChainId() string

func (*QueryDelegationsRequest) GetPagination added in v0.2.0

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

func (*QueryDelegationsRequest) Marshal added in v0.2.0

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

func (*QueryDelegationsRequest) MarshalTo added in v0.2.0

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

func (*QueryDelegationsRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*QueryDelegationsRequest) ProtoMessage added in v0.2.0

func (*QueryDelegationsRequest) ProtoMessage()

func (*QueryDelegationsRequest) Reset added in v0.2.0

func (m *QueryDelegationsRequest) Reset()

func (*QueryDelegationsRequest) Size added in v0.2.0

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

func (*QueryDelegationsRequest) String added in v0.2.0

func (m *QueryDelegationsRequest) String() string

func (*QueryDelegationsRequest) Unmarshal added in v0.2.0

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

func (*QueryDelegationsRequest) XXX_DiscardUnknown added in v0.2.0

func (m *QueryDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegationsRequest) XXX_Marshal added in v0.2.0

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

func (*QueryDelegationsRequest) XXX_Merge added in v0.2.0

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

func (*QueryDelegationsRequest) XXX_Size added in v0.2.0

func (m *QueryDelegationsRequest) XXX_Size() int

func (*QueryDelegationsRequest) XXX_Unmarshal added in v0.2.0

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

type QueryDelegationsResponse added in v0.2.0

type QueryDelegationsResponse struct {
	Delegations []Delegation        `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	Tvl         int64               `protobuf:"varint,2,opt,name=tvl,proto3" json:"tvl,omitempty"`
	Pagination  *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryDelegationsResponse) Descriptor added in v0.2.0

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

func (*QueryDelegationsResponse) GetDelegations added in v0.2.0

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

func (*QueryDelegationsResponse) GetPagination added in v0.4.2

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

func (*QueryDelegationsResponse) GetTvl added in v0.9.0

func (m *QueryDelegationsResponse) GetTvl() int64

func (*QueryDelegationsResponse) Marshal added in v0.2.0

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

func (*QueryDelegationsResponse) MarshalTo added in v0.2.0

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

func (*QueryDelegationsResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*QueryDelegationsResponse) ProtoMessage added in v0.2.0

func (*QueryDelegationsResponse) ProtoMessage()

func (*QueryDelegationsResponse) Reset added in v0.2.0

func (m *QueryDelegationsResponse) Reset()

func (*QueryDelegationsResponse) Size added in v0.2.0

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

func (*QueryDelegationsResponse) String added in v0.2.0

func (m *QueryDelegationsResponse) String() string

func (*QueryDelegationsResponse) Unmarshal added in v0.2.0

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

func (*QueryDelegationsResponse) XXX_DiscardUnknown added in v0.2.0

func (m *QueryDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegationsResponse) XXX_Marshal added in v0.2.0

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

func (*QueryDelegationsResponse) XXX_Merge added in v0.2.0

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

func (*QueryDelegationsResponse) XXX_Size added in v0.2.0

func (m *QueryDelegationsResponse) XXX_Size() int

func (*QueryDelegationsResponse) XXX_Unmarshal added in v0.2.0

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

type QueryDelegatorIntentRequest

type QueryDelegatorIntentRequest struct {
	ChainId          string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*QueryDelegatorIntentRequest) Descriptor

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

func (*QueryDelegatorIntentRequest) GetChainId

func (m *QueryDelegatorIntentRequest) GetChainId() string

func (*QueryDelegatorIntentRequest) GetDelegatorAddress added in v0.2.0

func (m *QueryDelegatorIntentRequest) GetDelegatorAddress() string

func (*QueryDelegatorIntentRequest) Marshal

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

func (*QueryDelegatorIntentRequest) MarshalTo

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

func (*QueryDelegatorIntentRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorIntentRequest) ProtoMessage

func (*QueryDelegatorIntentRequest) ProtoMessage()

func (*QueryDelegatorIntentRequest) Reset

func (m *QueryDelegatorIntentRequest) Reset()

func (*QueryDelegatorIntentRequest) Size

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

func (*QueryDelegatorIntentRequest) String

func (m *QueryDelegatorIntentRequest) String() string

func (*QueryDelegatorIntentRequest) Unmarshal

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

func (*QueryDelegatorIntentRequest) XXX_DiscardUnknown

func (m *QueryDelegatorIntentRequest) XXX_DiscardUnknown()

func (*QueryDelegatorIntentRequest) XXX_Marshal

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

func (*QueryDelegatorIntentRequest) XXX_Merge

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

func (*QueryDelegatorIntentRequest) XXX_Size

func (m *QueryDelegatorIntentRequest) XXX_Size() int

func (*QueryDelegatorIntentRequest) XXX_Unmarshal

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

type QueryDelegatorIntentResponse

type QueryDelegatorIntentResponse struct {
	Intent *DelegatorIntent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}

func (*QueryDelegatorIntentResponse) Descriptor

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

func (*QueryDelegatorIntentResponse) GetIntent

func (*QueryDelegatorIntentResponse) Marshal

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

func (*QueryDelegatorIntentResponse) MarshalTo

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

func (*QueryDelegatorIntentResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorIntentResponse) ProtoMessage

func (*QueryDelegatorIntentResponse) ProtoMessage()

func (*QueryDelegatorIntentResponse) Reset

func (m *QueryDelegatorIntentResponse) Reset()

func (*QueryDelegatorIntentResponse) Size

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

func (*QueryDelegatorIntentResponse) String

func (*QueryDelegatorIntentResponse) Unmarshal

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

func (*QueryDelegatorIntentResponse) XXX_DiscardUnknown

func (m *QueryDelegatorIntentResponse) XXX_DiscardUnknown()

func (*QueryDelegatorIntentResponse) XXX_Marshal

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

func (*QueryDelegatorIntentResponse) XXX_Merge

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

func (*QueryDelegatorIntentResponse) XXX_Size

func (m *QueryDelegatorIntentResponse) XXX_Size() int

func (*QueryDelegatorIntentResponse) XXX_Unmarshal

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

type QueryDepositAccountForChainRequest

type QueryDepositAccountForChainRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
}

QueryDepositAccountForChainRequest is the request type for the Query/InterchainAccountAddress RPC

func (*QueryDepositAccountForChainRequest) Descriptor

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

func (*QueryDepositAccountForChainRequest) GetChainId

func (*QueryDepositAccountForChainRequest) Marshal

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

func (*QueryDepositAccountForChainRequest) MarshalTo

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

func (*QueryDepositAccountForChainRequest) MarshalToSizedBuffer

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

func (*QueryDepositAccountForChainRequest) ProtoMessage

func (*QueryDepositAccountForChainRequest) ProtoMessage()

func (*QueryDepositAccountForChainRequest) Reset

func (*QueryDepositAccountForChainRequest) Size

func (*QueryDepositAccountForChainRequest) String

func (*QueryDepositAccountForChainRequest) Unmarshal

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

func (*QueryDepositAccountForChainRequest) XXX_DiscardUnknown

func (m *QueryDepositAccountForChainRequest) XXX_DiscardUnknown()

func (*QueryDepositAccountForChainRequest) XXX_Marshal

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

func (*QueryDepositAccountForChainRequest) XXX_Merge

func (*QueryDepositAccountForChainRequest) XXX_Size

func (*QueryDepositAccountForChainRequest) XXX_Unmarshal

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

type QueryDepositAccountForChainResponse

type QueryDepositAccountForChainResponse struct {
	DepositAccountAddress string `` /* 157-byte string literal not displayed */
}

QueryDepositAccountForChainResponse the response type for the Query/InterchainAccountAddress RPC

func (*QueryDepositAccountForChainResponse) Descriptor

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

func (*QueryDepositAccountForChainResponse) GetDepositAccountAddress

func (m *QueryDepositAccountForChainResponse) GetDepositAccountAddress() string

func (*QueryDepositAccountForChainResponse) Marshal

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

func (*QueryDepositAccountForChainResponse) MarshalTo

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

func (*QueryDepositAccountForChainResponse) MarshalToSizedBuffer

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

func (*QueryDepositAccountForChainResponse) ProtoMessage

func (*QueryDepositAccountForChainResponse) ProtoMessage()

func (*QueryDepositAccountForChainResponse) Reset

func (*QueryDepositAccountForChainResponse) Size

func (*QueryDepositAccountForChainResponse) String

func (*QueryDepositAccountForChainResponse) Unmarshal

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

func (*QueryDepositAccountForChainResponse) XXX_DiscardUnknown

func (m *QueryDepositAccountForChainResponse) XXX_DiscardUnknown()

func (*QueryDepositAccountForChainResponse) XXX_Marshal

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

func (*QueryDepositAccountForChainResponse) XXX_Merge

func (*QueryDepositAccountForChainResponse) XXX_Size

func (*QueryDepositAccountForChainResponse) XXX_Unmarshal

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

type QueryMappedAccountsRequest

type QueryMappedAccountsRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryMappedAccountsRequest) Descriptor

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

func (*QueryMappedAccountsRequest) GetAddress

func (m *QueryMappedAccountsRequest) GetAddress() string

func (*QueryMappedAccountsRequest) GetPagination

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

func (*QueryMappedAccountsRequest) Marshal

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

func (*QueryMappedAccountsRequest) MarshalTo

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

func (*QueryMappedAccountsRequest) MarshalToSizedBuffer

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

func (*QueryMappedAccountsRequest) ProtoMessage

func (*QueryMappedAccountsRequest) ProtoMessage()

func (*QueryMappedAccountsRequest) Reset

func (m *QueryMappedAccountsRequest) Reset()

func (*QueryMappedAccountsRequest) Size

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

func (*QueryMappedAccountsRequest) String

func (m *QueryMappedAccountsRequest) String() string

func (*QueryMappedAccountsRequest) Unmarshal

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

func (*QueryMappedAccountsRequest) XXX_DiscardUnknown

func (m *QueryMappedAccountsRequest) XXX_DiscardUnknown()

func (*QueryMappedAccountsRequest) XXX_Marshal

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

func (*QueryMappedAccountsRequest) XXX_Merge

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

func (*QueryMappedAccountsRequest) XXX_Size

func (m *QueryMappedAccountsRequest) XXX_Size() int

func (*QueryMappedAccountsRequest) XXX_Unmarshal

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

type QueryMappedAccountsResponse

type QueryMappedAccountsResponse struct {
	RemoteAddressMap map[string][]byte   `` /* 163-byte string literal not displayed */
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryMappedAccountsResponse) Descriptor

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

func (*QueryMappedAccountsResponse) GetPagination

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

func (*QueryMappedAccountsResponse) GetRemoteAddressMap

func (m *QueryMappedAccountsResponse) GetRemoteAddressMap() map[string][]byte

func (*QueryMappedAccountsResponse) Marshal

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

func (*QueryMappedAccountsResponse) MarshalTo

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

func (*QueryMappedAccountsResponse) MarshalToSizedBuffer

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

func (*QueryMappedAccountsResponse) ProtoMessage

func (*QueryMappedAccountsResponse) ProtoMessage()

func (*QueryMappedAccountsResponse) Reset

func (m *QueryMappedAccountsResponse) Reset()

func (*QueryMappedAccountsResponse) Size

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

func (*QueryMappedAccountsResponse) String

func (m *QueryMappedAccountsResponse) String() string

func (*QueryMappedAccountsResponse) Unmarshal

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

func (*QueryMappedAccountsResponse) XXX_DiscardUnknown

func (m *QueryMappedAccountsResponse) XXX_DiscardUnknown()

func (*QueryMappedAccountsResponse) XXX_Marshal

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

func (*QueryMappedAccountsResponse) XXX_Merge

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

func (*QueryMappedAccountsResponse) XXX_Size

func (m *QueryMappedAccountsResponse) XXX_Size() int

func (*QueryMappedAccountsResponse) XXX_Unmarshal

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

type QueryReceiptsRequest added in v0.9.0

type QueryReceiptsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryReceiptsRequest) Descriptor added in v0.9.0

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

func (*QueryReceiptsRequest) GetChainId added in v0.9.0

func (m *QueryReceiptsRequest) GetChainId() string

func (*QueryReceiptsRequest) GetPagination added in v0.9.0

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

func (*QueryReceiptsRequest) Marshal added in v0.9.0

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

func (*QueryReceiptsRequest) MarshalTo added in v0.9.0

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

func (*QueryReceiptsRequest) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryReceiptsRequest) ProtoMessage added in v0.9.0

func (*QueryReceiptsRequest) ProtoMessage()

func (*QueryReceiptsRequest) Reset added in v0.9.0

func (m *QueryReceiptsRequest) Reset()

func (*QueryReceiptsRequest) Size added in v0.9.0

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

func (*QueryReceiptsRequest) String added in v0.9.0

func (m *QueryReceiptsRequest) String() string

func (*QueryReceiptsRequest) Unmarshal added in v0.9.0

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

func (*QueryReceiptsRequest) XXX_DiscardUnknown added in v0.9.0

func (m *QueryReceiptsRequest) XXX_DiscardUnknown()

func (*QueryReceiptsRequest) XXX_Marshal added in v0.9.0

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

func (*QueryReceiptsRequest) XXX_Merge added in v0.9.0

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

func (*QueryReceiptsRequest) XXX_Size added in v0.9.0

func (m *QueryReceiptsRequest) XXX_Size() int

func (*QueryReceiptsRequest) XXX_Unmarshal added in v0.9.0

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

type QueryReceiptsResponse added in v0.9.0

type QueryReceiptsResponse struct {
	Receipts   []Receipt           `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryReceiptsResponse) Descriptor added in v0.9.0

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

func (*QueryReceiptsResponse) GetPagination added in v0.9.0

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

func (*QueryReceiptsResponse) GetReceipts added in v0.9.0

func (m *QueryReceiptsResponse) GetReceipts() []Receipt

func (*QueryReceiptsResponse) Marshal added in v0.9.0

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

func (*QueryReceiptsResponse) MarshalTo added in v0.9.0

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

func (*QueryReceiptsResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryReceiptsResponse) ProtoMessage added in v0.9.0

func (*QueryReceiptsResponse) ProtoMessage()

func (*QueryReceiptsResponse) Reset added in v0.9.0

func (m *QueryReceiptsResponse) Reset()

func (*QueryReceiptsResponse) Size added in v0.9.0

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

func (*QueryReceiptsResponse) String added in v0.9.0

func (m *QueryReceiptsResponse) String() string

func (*QueryReceiptsResponse) Unmarshal added in v0.9.0

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

func (*QueryReceiptsResponse) XXX_DiscardUnknown added in v0.9.0

func (m *QueryReceiptsResponse) XXX_DiscardUnknown()

func (*QueryReceiptsResponse) XXX_Marshal added in v0.9.0

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

func (*QueryReceiptsResponse) XXX_Merge added in v0.9.0

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

func (*QueryReceiptsResponse) XXX_Size added in v0.9.0

func (m *QueryReceiptsResponse) XXX_Size() int

func (*QueryReceiptsResponse) XXX_Unmarshal added in v0.9.0

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

type QueryRedelegationRecordsRequest added in v0.9.6

type QueryRedelegationRecordsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryRedelegationRecordsRequest) Descriptor added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) GetChainId added in v0.9.6

func (m *QueryRedelegationRecordsRequest) GetChainId() string

func (*QueryRedelegationRecordsRequest) GetPagination added in v0.9.6

func (*QueryRedelegationRecordsRequest) Marshal added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) MarshalTo added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) MarshalToSizedBuffer added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) ProtoMessage added in v0.9.6

func (*QueryRedelegationRecordsRequest) ProtoMessage()

func (*QueryRedelegationRecordsRequest) Reset added in v0.9.6

func (*QueryRedelegationRecordsRequest) Size added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) String added in v0.9.6

func (*QueryRedelegationRecordsRequest) Unmarshal added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) XXX_DiscardUnknown added in v0.9.6

func (m *QueryRedelegationRecordsRequest) XXX_DiscardUnknown()

func (*QueryRedelegationRecordsRequest) XXX_Marshal added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) XXX_Merge added in v0.9.6

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

func (*QueryRedelegationRecordsRequest) XXX_Size added in v0.9.6

func (m *QueryRedelegationRecordsRequest) XXX_Size() int

func (*QueryRedelegationRecordsRequest) XXX_Unmarshal added in v0.9.6

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

type QueryRedelegationRecordsResponse added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) Descriptor added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) GetPagination added in v0.9.6

func (*QueryRedelegationRecordsResponse) GetRedelegations added in v0.9.6

func (m *QueryRedelegationRecordsResponse) GetRedelegations() []RedelegationRecord

func (*QueryRedelegationRecordsResponse) Marshal added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) MarshalTo added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) MarshalToSizedBuffer added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) ProtoMessage added in v0.9.6

func (*QueryRedelegationRecordsResponse) ProtoMessage()

func (*QueryRedelegationRecordsResponse) Reset added in v0.9.6

func (*QueryRedelegationRecordsResponse) Size added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) String added in v0.9.6

func (*QueryRedelegationRecordsResponse) Unmarshal added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) XXX_DiscardUnknown added in v0.9.6

func (m *QueryRedelegationRecordsResponse) XXX_DiscardUnknown()

func (*QueryRedelegationRecordsResponse) XXX_Marshal added in v0.9.6

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

func (*QueryRedelegationRecordsResponse) XXX_Merge added in v0.9.6

func (*QueryRedelegationRecordsResponse) XXX_Size added in v0.9.6

func (m *QueryRedelegationRecordsResponse) XXX_Size() int

func (*QueryRedelegationRecordsResponse) XXX_Unmarshal added in v0.9.6

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

type QueryServer

type QueryServer interface {
	// Zones provides meta data on connected zones.
	Zones(context.Context, *QueryZonesRequest) (*QueryZonesResponse, error)
	// Zone provides meta data on a specific zone.
	Zone(context.Context, *QueryZoneRequest) (*QueryZoneResponse, error)
	ZoneValidators(context.Context, *QueryZoneValidatorsRequest) (*QueryZoneValidatorsResponse, error)
	// DepositAccount provides data on the deposit address for a connected zone.
	DepositAccount(context.Context, *QueryDepositAccountForChainRequest) (*QueryDepositAccountForChainResponse, error)
	// DelegatorIntent provides data on the intent of the delegator for the given
	// zone.
	DelegatorIntent(context.Context, *QueryDelegatorIntentRequest) (*QueryDelegatorIntentResponse, error)
	// Delegations provides data on the delegations for the given zone.
	Delegations(context.Context, *QueryDelegationsRequest) (*QueryDelegationsResponse, error)
	// Delegations provides data on the delegations for the given zone.
	Receipts(context.Context, *QueryReceiptsRequest) (*QueryReceiptsResponse, error)
	// WithdrawalRecords provides data on the active withdrawals.
	ZoneWithdrawalRecords(context.Context, *QueryWithdrawalRecordsRequest) (*QueryWithdrawalRecordsResponse, error)
	// WithdrawalRecords provides data on the active withdrawals.
	WithdrawalRecords(context.Context, *QueryWithdrawalRecordsRequest) (*QueryWithdrawalRecordsResponse, error)
	// UnbondingRecords provides data on the active unbondings.
	UnbondingRecords(context.Context, *QueryUnbondingRecordsRequest) (*QueryUnbondingRecordsResponse, error)
	// RedelegationRecords provides data on the active unbondings.
	RedelegationRecords(context.Context, *QueryRedelegationRecordsRequest) (*QueryRedelegationRecordsResponse, error)
	// MappedAccounts provides data on the mapped accounts for a given user over different host chains.
	MappedAccounts(context.Context, *QueryMappedAccountsRequest) (*QueryMappedAccountsResponse, error)
}

QueryServer is the server API for Query service.

type QueryUnbondingRecordsRequest added in v0.9.0

type QueryUnbondingRecordsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryUnbondingRecordsRequest) Descriptor added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) GetChainId added in v0.9.0

func (m *QueryUnbondingRecordsRequest) GetChainId() string

func (*QueryUnbondingRecordsRequest) GetPagination added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) Marshal added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) MarshalTo added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) ProtoMessage added in v0.9.0

func (*QueryUnbondingRecordsRequest) ProtoMessage()

func (*QueryUnbondingRecordsRequest) Reset added in v0.9.0

func (m *QueryUnbondingRecordsRequest) Reset()

func (*QueryUnbondingRecordsRequest) Size added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) String added in v0.9.0

func (*QueryUnbondingRecordsRequest) Unmarshal added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) XXX_DiscardUnknown added in v0.9.0

func (m *QueryUnbondingRecordsRequest) XXX_DiscardUnknown()

func (*QueryUnbondingRecordsRequest) XXX_Marshal added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) XXX_Merge added in v0.9.0

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

func (*QueryUnbondingRecordsRequest) XXX_Size added in v0.9.0

func (m *QueryUnbondingRecordsRequest) XXX_Size() int

func (*QueryUnbondingRecordsRequest) XXX_Unmarshal added in v0.9.0

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

type QueryUnbondingRecordsResponse added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) Descriptor added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) GetPagination added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) GetUnbondings added in v0.9.0

func (m *QueryUnbondingRecordsResponse) GetUnbondings() []UnbondingRecord

func (*QueryUnbondingRecordsResponse) Marshal added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) MarshalTo added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) ProtoMessage added in v0.9.0

func (*QueryUnbondingRecordsResponse) ProtoMessage()

func (*QueryUnbondingRecordsResponse) Reset added in v0.9.0

func (m *QueryUnbondingRecordsResponse) Reset()

func (*QueryUnbondingRecordsResponse) Size added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) String added in v0.9.0

func (*QueryUnbondingRecordsResponse) Unmarshal added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) XXX_DiscardUnknown added in v0.9.0

func (m *QueryUnbondingRecordsResponse) XXX_DiscardUnknown()

func (*QueryUnbondingRecordsResponse) XXX_Marshal added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) XXX_Merge added in v0.9.0

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

func (*QueryUnbondingRecordsResponse) XXX_Size added in v0.9.0

func (m *QueryUnbondingRecordsResponse) XXX_Size() int

func (*QueryUnbondingRecordsResponse) XXX_Unmarshal added in v0.9.0

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

type QueryWithdrawalRecordsRequest added in v0.6.0

type QueryWithdrawalRecordsRequest struct {
	ChainId          string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	DelegatorAddress string             `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Pagination       *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryWithdrawalRecordsRequest) Descriptor added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) GetChainId added in v0.6.0

func (m *QueryWithdrawalRecordsRequest) GetChainId() string

func (*QueryWithdrawalRecordsRequest) GetDelegatorAddress added in v0.9.0

func (m *QueryWithdrawalRecordsRequest) GetDelegatorAddress() string

func (*QueryWithdrawalRecordsRequest) GetPagination added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) Marshal added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) MarshalTo added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) ProtoMessage added in v0.6.0

func (*QueryWithdrawalRecordsRequest) ProtoMessage()

func (*QueryWithdrawalRecordsRequest) Reset added in v0.6.0

func (m *QueryWithdrawalRecordsRequest) Reset()

func (*QueryWithdrawalRecordsRequest) Size added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) String added in v0.6.0

func (*QueryWithdrawalRecordsRequest) Unmarshal added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryWithdrawalRecordsRequest) XXX_DiscardUnknown()

func (*QueryWithdrawalRecordsRequest) XXX_Marshal added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) XXX_Merge added in v0.6.0

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

func (*QueryWithdrawalRecordsRequest) XXX_Size added in v0.6.0

func (m *QueryWithdrawalRecordsRequest) XXX_Size() int

func (*QueryWithdrawalRecordsRequest) XXX_Unmarshal added in v0.6.0

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

type QueryWithdrawalRecordsResponse added in v0.6.0

type QueryWithdrawalRecordsResponse struct {
	Withdrawals []WithdrawalRecord  `protobuf:"bytes,1,rep,name=withdrawals,proto3" json:"withdrawals"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryWithdrawalRecordsResponse) Descriptor added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) GetPagination added in v0.6.0

func (*QueryWithdrawalRecordsResponse) GetWithdrawals added in v0.6.0

func (m *QueryWithdrawalRecordsResponse) GetWithdrawals() []WithdrawalRecord

func (*QueryWithdrawalRecordsResponse) Marshal added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) MarshalTo added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) ProtoMessage added in v0.6.0

func (*QueryWithdrawalRecordsResponse) ProtoMessage()

func (*QueryWithdrawalRecordsResponse) Reset added in v0.6.0

func (m *QueryWithdrawalRecordsResponse) Reset()

func (*QueryWithdrawalRecordsResponse) Size added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) String added in v0.6.0

func (*QueryWithdrawalRecordsResponse) Unmarshal added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryWithdrawalRecordsResponse) XXX_DiscardUnknown()

func (*QueryWithdrawalRecordsResponse) XXX_Marshal added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) XXX_Merge added in v0.6.0

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

func (*QueryWithdrawalRecordsResponse) XXX_Size added in v0.6.0

func (m *QueryWithdrawalRecordsResponse) XXX_Size() int

func (*QueryWithdrawalRecordsResponse) XXX_Unmarshal added in v0.6.0

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

type QueryZoneRequest

type QueryZoneRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
}

func (*QueryZoneRequest) Descriptor

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

func (*QueryZoneRequest) GetChainId

func (m *QueryZoneRequest) GetChainId() string

func (*QueryZoneRequest) Marshal

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

func (*QueryZoneRequest) MarshalTo

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

func (*QueryZoneRequest) MarshalToSizedBuffer

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

func (*QueryZoneRequest) ProtoMessage

func (*QueryZoneRequest) ProtoMessage()

func (*QueryZoneRequest) Reset

func (m *QueryZoneRequest) Reset()

func (*QueryZoneRequest) Size

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

func (*QueryZoneRequest) String

func (m *QueryZoneRequest) String() string

func (*QueryZoneRequest) Unmarshal

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

func (*QueryZoneRequest) XXX_DiscardUnknown

func (m *QueryZoneRequest) XXX_DiscardUnknown()

func (*QueryZoneRequest) XXX_Marshal

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

func (*QueryZoneRequest) XXX_Merge

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

func (*QueryZoneRequest) XXX_Size

func (m *QueryZoneRequest) XXX_Size() int

func (*QueryZoneRequest) XXX_Unmarshal

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

type QueryZoneResponse

type QueryZoneResponse struct {
	Zone  Zone        `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone"`
	Stats *Statistics `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
}

func (*QueryZoneResponse) Descriptor

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

func (*QueryZoneResponse) GetStats

func (m *QueryZoneResponse) GetStats() *Statistics

func (*QueryZoneResponse) GetZone

func (m *QueryZoneResponse) GetZone() Zone

func (*QueryZoneResponse) Marshal

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

func (*QueryZoneResponse) MarshalTo

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

func (*QueryZoneResponse) MarshalToSizedBuffer

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

func (*QueryZoneResponse) ProtoMessage

func (*QueryZoneResponse) ProtoMessage()

func (*QueryZoneResponse) Reset

func (m *QueryZoneResponse) Reset()

func (*QueryZoneResponse) Size

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

func (*QueryZoneResponse) String

func (m *QueryZoneResponse) String() string

func (*QueryZoneResponse) Unmarshal

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

func (*QueryZoneResponse) XXX_DiscardUnknown

func (m *QueryZoneResponse) XXX_DiscardUnknown()

func (*QueryZoneResponse) XXX_Marshal

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

func (*QueryZoneResponse) XXX_Merge

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

func (*QueryZoneResponse) XXX_Size

func (m *QueryZoneResponse) XXX_Size() int

func (*QueryZoneResponse) XXX_Unmarshal

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

type QueryZoneValidatorsRequest

type QueryZoneValidatorsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Status     string             `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryZoneValidatorsRequest) Descriptor

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

func (*QueryZoneValidatorsRequest) GetChainId

func (m *QueryZoneValidatorsRequest) GetChainId() string

func (*QueryZoneValidatorsRequest) GetPagination

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

func (*QueryZoneValidatorsRequest) GetStatus

func (m *QueryZoneValidatorsRequest) GetStatus() string

func (*QueryZoneValidatorsRequest) Marshal

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

func (*QueryZoneValidatorsRequest) MarshalTo

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

func (*QueryZoneValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryZoneValidatorsRequest) ProtoMessage

func (*QueryZoneValidatorsRequest) ProtoMessage()

func (*QueryZoneValidatorsRequest) Reset

func (m *QueryZoneValidatorsRequest) Reset()

func (*QueryZoneValidatorsRequest) Size

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

func (*QueryZoneValidatorsRequest) String

func (m *QueryZoneValidatorsRequest) String() string

func (*QueryZoneValidatorsRequest) Unmarshal

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

func (*QueryZoneValidatorsRequest) XXX_DiscardUnknown

func (m *QueryZoneValidatorsRequest) XXX_DiscardUnknown()

func (*QueryZoneValidatorsRequest) XXX_Marshal

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

func (*QueryZoneValidatorsRequest) XXX_Merge

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

func (*QueryZoneValidatorsRequest) XXX_Size

func (m *QueryZoneValidatorsRequest) XXX_Size() int

func (*QueryZoneValidatorsRequest) XXX_Unmarshal

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

type QueryZoneValidatorsResponse

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

func (*QueryZoneValidatorsResponse) Descriptor

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

func (*QueryZoneValidatorsResponse) GetPagination

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

func (*QueryZoneValidatorsResponse) GetValidators

func (m *QueryZoneValidatorsResponse) GetValidators() []Validator

func (*QueryZoneValidatorsResponse) Marshal

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

func (*QueryZoneValidatorsResponse) MarshalTo

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

func (*QueryZoneValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryZoneValidatorsResponse) ProtoMessage

func (*QueryZoneValidatorsResponse) ProtoMessage()

func (*QueryZoneValidatorsResponse) Reset

func (m *QueryZoneValidatorsResponse) Reset()

func (*QueryZoneValidatorsResponse) Size

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

func (*QueryZoneValidatorsResponse) String

func (m *QueryZoneValidatorsResponse) String() string

func (*QueryZoneValidatorsResponse) Unmarshal

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

func (*QueryZoneValidatorsResponse) XXX_DiscardUnknown

func (m *QueryZoneValidatorsResponse) XXX_DiscardUnknown()

func (*QueryZoneValidatorsResponse) XXX_Marshal

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

func (*QueryZoneValidatorsResponse) XXX_Merge

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

func (*QueryZoneValidatorsResponse) XXX_Size

func (m *QueryZoneValidatorsResponse) XXX_Size() int

func (*QueryZoneValidatorsResponse) XXX_Unmarshal

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

type QueryZonesRequest

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

func (*QueryZonesRequest) Descriptor

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

func (*QueryZonesRequest) GetPagination

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

func (*QueryZonesRequest) Marshal

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

func (*QueryZonesRequest) MarshalTo

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

func (*QueryZonesRequest) MarshalToSizedBuffer

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

func (*QueryZonesRequest) ProtoMessage

func (*QueryZonesRequest) ProtoMessage()

func (*QueryZonesRequest) Reset

func (m *QueryZonesRequest) Reset()

func (*QueryZonesRequest) Size

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

func (*QueryZonesRequest) String

func (m *QueryZonesRequest) String() string

func (*QueryZonesRequest) Unmarshal

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

func (*QueryZonesRequest) XXX_DiscardUnknown

func (m *QueryZonesRequest) XXX_DiscardUnknown()

func (*QueryZonesRequest) XXX_Marshal

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

func (*QueryZonesRequest) XXX_Merge

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

func (*QueryZonesRequest) XXX_Size

func (m *QueryZonesRequest) XXX_Size() int

func (*QueryZonesRequest) XXX_Unmarshal

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

type QueryZonesResponse

type QueryZonesResponse struct {
	Zones      []Zone              `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones"`
	Stats      []*Statistics       `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryZonesResponse) Descriptor

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

func (*QueryZonesResponse) GetPagination

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

func (*QueryZonesResponse) GetStats

func (m *QueryZonesResponse) GetStats() []*Statistics

func (*QueryZonesResponse) GetZones

func (m *QueryZonesResponse) GetZones() []Zone

func (*QueryZonesResponse) Marshal

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

func (*QueryZonesResponse) MarshalTo

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

func (*QueryZonesResponse) MarshalToSizedBuffer

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

func (*QueryZonesResponse) ProtoMessage

func (*QueryZonesResponse) ProtoMessage()

func (*QueryZonesResponse) Reset

func (m *QueryZonesResponse) Reset()

func (*QueryZonesResponse) Size

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

func (*QueryZonesResponse) String

func (m *QueryZonesResponse) String() string

func (*QueryZonesResponse) Unmarshal

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

func (*QueryZonesResponse) XXX_DiscardUnknown

func (m *QueryZonesResponse) XXX_DiscardUnknown()

func (*QueryZonesResponse) XXX_Marshal

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

func (*QueryZonesResponse) XXX_Merge

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

func (*QueryZonesResponse) XXX_Size

func (m *QueryZonesResponse) XXX_Size() int

func (*QueryZonesResponse) XXX_Unmarshal

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

type RebalanceTarget

type RebalanceTarget struct {
	Amount sdkmath.Int
	Source string
	Target string
}

func DetermineAllocationsForRebalancing

func DetermineAllocationsForRebalancing(
	currentAllocations map[string]sdkmath.Int,
	currentLocked map[string]bool,
	currentSum sdkmath.Int,
	targetAllocations ValidatorIntents,
	existingRedelegations []RedelegationRecord,
	logger log.Logger,
) []RebalanceTarget

type Receipt

type Receipt struct {
	ChainId   string                                   `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Sender    string                                   `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Txhash    string                                   `protobuf:"bytes,3,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	FirstSeen *time.Time                               `protobuf:"bytes,5,opt,name=first_seen,json=firstSeen,proto3,stdtime" json:"first_seen,omitempty"`
	Completed *time.Time                               `protobuf:"bytes,6,opt,name=completed,proto3,stdtime" json:"completed,omitempty"`
}

func (*Receipt) Descriptor

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

func (*Receipt) GetAmount

func (*Receipt) GetChainId added in v0.6.0

func (m *Receipt) GetChainId() string

func (*Receipt) GetCompleted added in v1.2.4

func (m *Receipt) GetCompleted() *time.Time

func (*Receipt) GetFirstSeen added in v1.2.4

func (m *Receipt) GetFirstSeen() *time.Time

func (*Receipt) GetSender

func (m *Receipt) GetSender() string

func (*Receipt) GetTxhash

func (m *Receipt) GetTxhash() string

func (*Receipt) Marshal

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

func (*Receipt) MarshalTo

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

func (*Receipt) MarshalToSizedBuffer

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

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) Size

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

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) Unmarshal

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

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

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

func (*Receipt) XXX_Merge

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

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

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

type RedelegationRecord added in v0.9.6

type RedelegationRecord struct {
	ChainId        string    `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	EpochNumber    int64     `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	Source         string    `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Destination    string    `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	Amount         int64     `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"`
	CompletionTime time.Time `protobuf:"bytes,6,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

func (*RedelegationRecord) Descriptor added in v0.9.6

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

func (*RedelegationRecord) GetAmount added in v0.9.6

func (m *RedelegationRecord) GetAmount() int64

func (*RedelegationRecord) GetChainId added in v0.9.6

func (m *RedelegationRecord) GetChainId() string

func (*RedelegationRecord) GetCompletionTime added in v0.9.6

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

func (*RedelegationRecord) GetDestination added in v0.10.4

func (m *RedelegationRecord) GetDestination() string

func (*RedelegationRecord) GetEpochNumber added in v0.9.6

func (m *RedelegationRecord) GetEpochNumber() int64

func (*RedelegationRecord) GetSource added in v0.10.4

func (m *RedelegationRecord) GetSource() string

func (*RedelegationRecord) Marshal added in v0.9.6

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

func (*RedelegationRecord) MarshalTo added in v0.9.6

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

func (*RedelegationRecord) MarshalToSizedBuffer added in v0.9.6

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

func (*RedelegationRecord) ProtoMessage added in v0.9.6

func (*RedelegationRecord) ProtoMessage()

func (*RedelegationRecord) Reset added in v0.9.6

func (m *RedelegationRecord) Reset()

func (*RedelegationRecord) Size added in v0.9.6

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

func (*RedelegationRecord) String added in v0.9.6

func (m *RedelegationRecord) String() string

func (*RedelegationRecord) Unmarshal added in v0.9.6

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

func (*RedelegationRecord) XXX_DiscardUnknown added in v0.9.6

func (m *RedelegationRecord) XXX_DiscardUnknown()

func (*RedelegationRecord) XXX_Marshal added in v0.9.6

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

func (*RedelegationRecord) XXX_Merge added in v0.9.6

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

func (*RedelegationRecord) XXX_Size added in v0.9.6

func (m *RedelegationRecord) XXX_Size() int

func (*RedelegationRecord) XXX_Unmarshal added in v0.9.6

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

type RegisterZoneProposal added in v0.4.0

type RegisterZoneProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ConnectionId     string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
	BaseDenom        string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"`
	LocalDenom       string `protobuf:"bytes,5,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty" yaml:"local_denom"`
	AccountPrefix    string `protobuf:"bytes,6,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty" yaml:"account_prefix"`
	MultiSend        bool   `protobuf:"varint,7,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty"`
	LiquidityModule  bool   `protobuf:"varint,8,opt,name=liquidity_module,json=liquidityModule,proto3" json:"liquidity_module,omitempty"`
	MessagesPerTx    int64  `protobuf:"varint,9,opt,name=messages_per_tx,json=messagesPerTx,proto3" json:"messages_per_tx,omitempty"`
	ReturnToSender   bool   `protobuf:"varint,10,opt,name=return_to_sender,json=returnToSender,proto3" json:"return_to_sender,omitempty"`
	DepositsEnabled  bool   `protobuf:"varint,11,opt,name=deposits_enabled,json=depositsEnabled,proto3" json:"deposits_enabled,omitempty"`
	UnbondingEnabled bool   `protobuf:"varint,12,opt,name=unbonding_enabled,json=unbondingEnabled,proto3" json:"unbonding_enabled,omitempty"`
	Decimals         int64  `protobuf:"varint,13,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Is_118           bool   `protobuf:"varint,14,opt,name=is_118,json=is118,proto3" json:"is_118,omitempty"`
}

func NewRegisterZoneProposal added in v0.4.0

func NewRegisterZoneProposal(
	title string,
	description string,
	connectionID string,
	baseDenom string,
	localDenom string,
	accountPrefix string,
	returnToSender bool,
	unbonding bool,
	deposits bool,
	liquidityModule bool,
	decimals int64,
	messagePerTx int64,
) *RegisterZoneProposal

func (*RegisterZoneProposal) Descriptor added in v0.4.0

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

func (RegisterZoneProposal) GetDescription added in v0.4.0

func (m RegisterZoneProposal) GetDescription() string

func (RegisterZoneProposal) GetTitle added in v0.4.0

func (m RegisterZoneProposal) GetTitle() string

func (*RegisterZoneProposal) Marshal added in v0.4.0

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

func (*RegisterZoneProposal) MarshalTo added in v0.4.0

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

func (*RegisterZoneProposal) MarshalToSizedBuffer added in v0.4.0

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

func (RegisterZoneProposal) ProposalRoute added in v0.4.0

func (m RegisterZoneProposal) ProposalRoute() string

func (RegisterZoneProposal) ProposalType added in v0.4.0

func (m RegisterZoneProposal) ProposalType() string

func (*RegisterZoneProposal) ProtoMessage added in v0.4.0

func (*RegisterZoneProposal) ProtoMessage()

func (*RegisterZoneProposal) Reset added in v0.4.0

func (m *RegisterZoneProposal) Reset()

func (*RegisterZoneProposal) Size added in v0.4.0

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

func (RegisterZoneProposal) String added in v0.4.0

func (m RegisterZoneProposal) String() string

String implements the Stringer interface.

func (*RegisterZoneProposal) Unmarshal added in v0.4.0

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

func (RegisterZoneProposal) ValidateBasic added in v0.4.0

func (m RegisterZoneProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks.

func (*RegisterZoneProposal) XXX_DiscardUnknown added in v0.4.0

func (m *RegisterZoneProposal) XXX_DiscardUnknown()

func (*RegisterZoneProposal) XXX_Marshal added in v0.4.0

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

func (*RegisterZoneProposal) XXX_Merge added in v0.4.0

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

func (*RegisterZoneProposal) XXX_Size added in v0.4.0

func (m *RegisterZoneProposal) XXX_Size() int

func (*RegisterZoneProposal) XXX_Unmarshal added in v0.4.0

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

type RegisterZoneProposalWithDeposit added in v0.4.0

type RegisterZoneProposalWithDeposit struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	ConnectionId     string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
	BaseDenom        string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"`
	LocalDenom       string `protobuf:"bytes,5,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty" yaml:"local_denom"`
	AccountPrefix    string `protobuf:"bytes,6,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty" yaml:"account_prefix"`
	MultiSend        bool   `protobuf:"varint,7,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty" yaml:"multi_send"`
	LiquidityModule  bool   `` /* 131-byte string literal not displayed */
	Deposit          string `protobuf:"bytes,9,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
	MessagesPerTx    int64  `protobuf:"varint,10,opt,name=messages_per_tx,json=messagesPerTx,proto3" json:"messages_per_tx,omitempty"`
	ReturnToSender   bool   `` /* 131-byte string literal not displayed */
	DepositsEnabled  bool   `` /* 132-byte string literal not displayed */
	UnbondingEnabled bool   `` /* 135-byte string literal not displayed */
	Decimals         int64  `protobuf:"varint,14,opt,name=decimals,proto3" json:"decimals,omitempty" yaml:"decimals"`
	Is_118           bool   `protobuf:"varint,15,opt,name=is_118,json=is118,proto3" json:"is_118,omitempty"`
}

func (*RegisterZoneProposalWithDeposit) Descriptor added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) Marshal added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) MarshalTo added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) MarshalToSizedBuffer added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) ProtoMessage added in v0.4.0

func (*RegisterZoneProposalWithDeposit) ProtoMessage()

func (*RegisterZoneProposalWithDeposit) Reset added in v0.4.0

func (*RegisterZoneProposalWithDeposit) Size added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) String added in v0.4.0

func (*RegisterZoneProposalWithDeposit) Unmarshal added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) XXX_DiscardUnknown added in v0.4.0

func (m *RegisterZoneProposalWithDeposit) XXX_DiscardUnknown()

func (*RegisterZoneProposalWithDeposit) XXX_Marshal added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) XXX_Merge added in v0.4.0

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

func (*RegisterZoneProposalWithDeposit) XXX_Size added in v0.4.0

func (m *RegisterZoneProposalWithDeposit) XXX_Size() int

func (*RegisterZoneProposalWithDeposit) XXX_Unmarshal added in v0.4.0

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

type Statistics

type Statistics struct {
	ChainId          string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Deposited        int64  `protobuf:"varint,2,opt,name=deposited,proto3" json:"deposited,omitempty"`
	Deposits         int64  `protobuf:"varint,3,opt,name=deposits,proto3" json:"deposits,omitempty"`
	Depositors       int64  `protobuf:"varint,4,opt,name=depositors,proto3" json:"depositors,omitempty"`
	Delegated        int64  `protobuf:"varint,5,opt,name=delegated,proto3" json:"delegated,omitempty"`
	Supply           int64  `protobuf:"varint,6,opt,name=supply,proto3" json:"supply,omitempty"`
	DistanceToTarget string `protobuf:"bytes,7,opt,name=distance_to_target,json=distanceToTarget,proto3" json:"distance_to_target,omitempty"`
}

func (*Statistics) Descriptor

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

func (*Statistics) GetChainId

func (m *Statistics) GetChainId() string

func (*Statistics) GetDelegated

func (m *Statistics) GetDelegated() int64

func (*Statistics) GetDeposited

func (m *Statistics) GetDeposited() int64

func (*Statistics) GetDepositors

func (m *Statistics) GetDepositors() int64

func (*Statistics) GetDeposits

func (m *Statistics) GetDeposits() int64

func (*Statistics) GetDistanceToTarget

func (m *Statistics) GetDistanceToTarget() string

func (*Statistics) GetSupply

func (m *Statistics) GetSupply() int64

func (*Statistics) Marshal

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

func (*Statistics) MarshalTo

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

func (*Statistics) MarshalToSizedBuffer

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

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) Reset

func (m *Statistics) Reset()

func (*Statistics) Size

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

func (*Statistics) String

func (m *Statistics) String() string

func (*Statistics) Unmarshal

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

func (*Statistics) XXX_DiscardUnknown

func (m *Statistics) XXX_DiscardUnknown()

func (*Statistics) XXX_Marshal

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

func (*Statistics) XXX_Merge

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

func (*Statistics) XXX_Size

func (m *Statistics) XXX_Size() int

func (*Statistics) XXX_Unmarshal

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

type SubzoneInfo

type SubzoneInfo struct {
	Authority   string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	BaseChainID string `protobuf:"bytes,2,opt,name=base_chainID,json=baseChainID,proto3" json:"base_chainID,omitempty"`
}

func (*SubzoneInfo) Descriptor

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

func (*SubzoneInfo) GetAuthority

func (m *SubzoneInfo) GetAuthority() string

func (*SubzoneInfo) GetBaseChainID

func (m *SubzoneInfo) GetBaseChainID() string

func (*SubzoneInfo) Marshal

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

func (*SubzoneInfo) MarshalTo

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

func (*SubzoneInfo) MarshalToSizedBuffer

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

func (*SubzoneInfo) ProtoMessage

func (*SubzoneInfo) ProtoMessage()

func (*SubzoneInfo) Reset

func (m *SubzoneInfo) Reset()

func (*SubzoneInfo) Size

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

func (*SubzoneInfo) String

func (m *SubzoneInfo) String() string

func (*SubzoneInfo) Unmarshal

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

func (*SubzoneInfo) XXX_DiscardUnknown

func (m *SubzoneInfo) XXX_DiscardUnknown()

func (*SubzoneInfo) XXX_Marshal

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

func (*SubzoneInfo) XXX_Merge

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

func (*SubzoneInfo) XXX_Size

func (m *SubzoneInfo) XXX_Size() int

func (*SubzoneInfo) XXX_Unmarshal

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

type TransferRecord

type TransferRecord struct {
	Sender    string                                  `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string                                  `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,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 (*TransferRecord) Descriptor

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

func (*TransferRecord) GetRecipient

func (m *TransferRecord) GetRecipient() string

func (*TransferRecord) GetSender

func (m *TransferRecord) GetSender() string

func (*TransferRecord) Marshal

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

func (*TransferRecord) MarshalTo

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

func (*TransferRecord) MarshalToSizedBuffer

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

func (*TransferRecord) ProtoMessage

func (*TransferRecord) ProtoMessage()

func (*TransferRecord) Reset

func (m *TransferRecord) Reset()

func (*TransferRecord) Size

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

func (*TransferRecord) String

func (m *TransferRecord) String() string

func (*TransferRecord) Unmarshal

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

func (*TransferRecord) XXX_DiscardUnknown

func (m *TransferRecord) XXX_DiscardUnknown()

func (*TransferRecord) XXX_Marshal

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

func (*TransferRecord) XXX_Merge

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

func (*TransferRecord) XXX_Size

func (m *TransferRecord) XXX_Size() int

func (*TransferRecord) XXX_Unmarshal

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

type UnbondingRecord added in v0.9.0

type UnbondingRecord struct {
	ChainId       string   `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	EpochNumber   int64    `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	Validator     string   `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"`
	RelatedTxhash []string `protobuf:"bytes,4,rep,name=related_txhash,json=relatedTxhash,proto3" json:"related_txhash,omitempty"`
}

func (*UnbondingRecord) Descriptor added in v0.9.0

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

func (*UnbondingRecord) GetChainId added in v0.9.0

func (m *UnbondingRecord) GetChainId() string

func (*UnbondingRecord) GetEpochNumber added in v0.9.0

func (m *UnbondingRecord) GetEpochNumber() int64

func (*UnbondingRecord) GetRelatedTxhash added in v0.9.0

func (m *UnbondingRecord) GetRelatedTxhash() []string

func (*UnbondingRecord) GetValidator added in v0.9.0

func (m *UnbondingRecord) GetValidator() string

func (*UnbondingRecord) Marshal added in v0.9.0

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

func (*UnbondingRecord) MarshalTo added in v0.9.0

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

func (*UnbondingRecord) MarshalToSizedBuffer added in v0.9.0

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

func (*UnbondingRecord) ProtoMessage added in v0.9.0

func (*UnbondingRecord) ProtoMessage()

func (*UnbondingRecord) Reset added in v0.9.0

func (m *UnbondingRecord) Reset()

func (*UnbondingRecord) Size added in v0.9.0

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

func (*UnbondingRecord) String added in v0.9.0

func (m *UnbondingRecord) String() string

func (*UnbondingRecord) Unmarshal added in v0.9.0

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

func (*UnbondingRecord) XXX_DiscardUnknown added in v0.9.0

func (m *UnbondingRecord) XXX_DiscardUnknown()

func (*UnbondingRecord) XXX_Marshal added in v0.9.0

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

func (*UnbondingRecord) XXX_Merge added in v0.9.0

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

func (*UnbondingRecord) XXX_Size added in v0.9.0

func (m *UnbondingRecord) XXX_Size() int

func (*UnbondingRecord) XXX_Unmarshal added in v0.9.0

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) GovCloseChannel added in v1.2.5

func (*UnimplementedMsgServer) GovReopenChannel added in v1.2.5

func (*UnimplementedMsgServer) RequestRedemption

func (*UnimplementedMsgServer) SignalIntent

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Delegations added in v0.2.0

func (*UnimplementedQueryServer) DelegatorIntent

func (*UnimplementedQueryServer) DepositAccount added in v0.2.0

func (*UnimplementedQueryServer) MappedAccounts

func (*UnimplementedQueryServer) Receipts added in v0.9.0

func (*UnimplementedQueryServer) RedelegationRecords added in v0.9.6

func (*UnimplementedQueryServer) UnbondingRecords added in v0.9.0

func (*UnimplementedQueryServer) WithdrawalRecords added in v0.6.0

func (*UnimplementedQueryServer) Zone

func (*UnimplementedQueryServer) ZoneValidators

func (*UnimplementedQueryServer) ZoneWithdrawalRecords added in v0.6.0

func (*UnimplementedQueryServer) Zones

type UpdateZoneProposal added in v0.4.0

type UpdateZoneProposal struct {
	Title       string             `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
	Description string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	ChainId     string             `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Changes     []*UpdateZoneValue `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty" yaml:"changes"`
}

func NewUpdateZoneProposal added in v0.4.0

func NewUpdateZoneProposal(
	title string,
	description string,
	chainID string,
	changes []*UpdateZoneValue,
) *UpdateZoneProposal

func (*UpdateZoneProposal) Descriptor added in v0.4.0

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

func (UpdateZoneProposal) GetDescription added in v0.4.0

func (m UpdateZoneProposal) GetDescription() string

func (UpdateZoneProposal) GetTitle added in v0.4.0

func (m UpdateZoneProposal) GetTitle() string

func (*UpdateZoneProposal) Marshal added in v0.4.0

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

func (*UpdateZoneProposal) MarshalTo added in v0.4.0

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

func (*UpdateZoneProposal) MarshalToSizedBuffer added in v0.4.0

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

func (UpdateZoneProposal) ProposalRoute added in v0.4.0

func (m UpdateZoneProposal) ProposalRoute() string

func (UpdateZoneProposal) ProposalType added in v0.4.0

func (m UpdateZoneProposal) ProposalType() string

func (*UpdateZoneProposal) ProtoMessage added in v0.4.0

func (*UpdateZoneProposal) ProtoMessage()

func (*UpdateZoneProposal) Reset added in v0.4.0

func (m *UpdateZoneProposal) Reset()

func (*UpdateZoneProposal) Size added in v0.4.0

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

func (UpdateZoneProposal) String added in v0.4.0

func (m UpdateZoneProposal) String() string

String implements the Stringer interface.

func (*UpdateZoneProposal) Unmarshal added in v0.4.0

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

func (UpdateZoneProposal) ValidateBasic added in v0.4.0

func (m UpdateZoneProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks.

func (*UpdateZoneProposal) XXX_DiscardUnknown added in v0.4.0

func (m *UpdateZoneProposal) XXX_DiscardUnknown()

func (*UpdateZoneProposal) XXX_Marshal added in v0.4.0

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

func (*UpdateZoneProposal) XXX_Merge added in v0.4.0

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

func (*UpdateZoneProposal) XXX_Size added in v0.4.0

func (m *UpdateZoneProposal) XXX_Size() int

func (*UpdateZoneProposal) XXX_Unmarshal added in v0.4.0

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

type UpdateZoneProposalWithDeposit added in v0.4.0

type UpdateZoneProposalWithDeposit struct {
	Title       string             `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
	Description string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	ChainId     string             `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	Changes     []*UpdateZoneValue `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty" yaml:"changes"`
	Deposit     string             `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
}

func (*UpdateZoneProposalWithDeposit) Descriptor added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) Marshal added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) MarshalTo added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) MarshalToSizedBuffer added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) ProtoMessage added in v0.4.0

func (*UpdateZoneProposalWithDeposit) ProtoMessage()

func (*UpdateZoneProposalWithDeposit) Reset added in v0.4.0

func (m *UpdateZoneProposalWithDeposit) Reset()

func (*UpdateZoneProposalWithDeposit) Size added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) String added in v0.4.0

func (*UpdateZoneProposalWithDeposit) Unmarshal added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) XXX_DiscardUnknown added in v0.4.0

func (m *UpdateZoneProposalWithDeposit) XXX_DiscardUnknown()

func (*UpdateZoneProposalWithDeposit) XXX_Marshal added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) XXX_Merge added in v0.4.0

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

func (*UpdateZoneProposalWithDeposit) XXX_Size added in v0.4.0

func (m *UpdateZoneProposalWithDeposit) XXX_Size() int

func (*UpdateZoneProposalWithDeposit) XXX_Unmarshal added in v0.4.0

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

type UpdateZoneValue added in v0.4.0

type UpdateZoneValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" yaml:"key"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
}

UpdateZoneValue defines an individual parameter change, for use in UpdateZoneProposal.

func (*UpdateZoneValue) Descriptor added in v0.4.0

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

func (*UpdateZoneValue) GetKey added in v0.4.0

func (m *UpdateZoneValue) GetKey() string

func (*UpdateZoneValue) GetValue added in v0.4.0

func (m *UpdateZoneValue) GetValue() string

func (*UpdateZoneValue) Marshal added in v0.4.0

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

func (*UpdateZoneValue) MarshalTo added in v0.4.0

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

func (*UpdateZoneValue) MarshalToSizedBuffer added in v0.4.0

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

func (*UpdateZoneValue) ProtoMessage added in v0.4.0

func (*UpdateZoneValue) ProtoMessage()

func (*UpdateZoneValue) Reset added in v0.4.0

func (m *UpdateZoneValue) Reset()

func (*UpdateZoneValue) Size added in v0.4.0

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

func (*UpdateZoneValue) String added in v0.4.0

func (m *UpdateZoneValue) String() string

func (*UpdateZoneValue) Unmarshal added in v0.4.0

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

func (UpdateZoneValue) Validate added in v0.4.0

func (v UpdateZoneValue) Validate() error

func (*UpdateZoneValue) XXX_DiscardUnknown added in v0.4.0

func (m *UpdateZoneValue) XXX_DiscardUnknown()

func (*UpdateZoneValue) XXX_Marshal added in v0.4.0

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

func (*UpdateZoneValue) XXX_Merge added in v0.4.0

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

func (*UpdateZoneValue) XXX_Size added in v0.4.0

func (m *UpdateZoneValue) XXX_Size() int

func (*UpdateZoneValue) XXX_Unmarshal added in v0.4.0

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

type Validator

type Validator struct {
	ValoperAddress  string                                 `protobuf:"bytes,1,opt,name=valoper_address,json=valoperAddress,proto3" json:"valoper_address,omitempty"`
	CommissionRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
	DelegatorShares github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	VotingPower     github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */
	Score           github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=score,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"score"`
	Status          string                                 `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Jailed          bool                                   `protobuf:"varint,7,opt,name=jailed,proto3" json:"jailed,omitempty"`
	Tombstoned      bool                                   `protobuf:"varint,8,opt,name=tombstoned,proto3" json:"tombstoned,omitempty"`
	JailedSince     time.Time                              `protobuf:"bytes,9,opt,name=jailed_since,json=jailedSince,proto3,stdtime" json:"jailed_since"`
}

func (*Validator) Descriptor

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

func (Validator) GetAddressBytes

func (v Validator) GetAddressBytes() ([]byte, error)

func (*Validator) GetJailed added in v0.10.4

func (m *Validator) GetJailed() bool

func (*Validator) GetJailedSince added in v0.10.4

func (m *Validator) GetJailedSince() time.Time

func (*Validator) GetStatus added in v0.10.4

func (m *Validator) GetStatus() string

func (*Validator) GetTombstoned added in v0.10.4

func (m *Validator) GetTombstoned() bool

func (*Validator) GetValoperAddress

func (m *Validator) GetValoperAddress() string

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (Validator) SharesToTokens added in v0.2.0

func (v Validator) SharesToTokens(shares sdk.Dec) sdkmath.Int

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorIntent

type ValidatorIntent struct {
	ValoperAddress string                                 `protobuf:"bytes,1,opt,name=valoper_address,proto3" json:"valoper_address,omitempty"`
	Weight         github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight" yaml:"weight"`
}

func IntentsFromString

func IntentsFromString(input string) ([]*ValidatorIntent, error)

IntentsFromString parses and validates the given string into a slice containing pointers to ValidatorIntent.

The combined weights must be 1.0 and the valoper addresses must be valid bech32 strings.

Tokens are comma separated, e.g. "0.3cosmosvaloper1xxxxxxxxx,0.3cosmosvaloper1yyyyyyyyy,0.4cosmosvaloper1zzzzzzzzz".

func (*ValidatorIntent) Descriptor

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

func (*ValidatorIntent) GetValoperAddress

func (m *ValidatorIntent) GetValoperAddress() string

func (*ValidatorIntent) Marshal

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

func (*ValidatorIntent) MarshalTo

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

func (*ValidatorIntent) MarshalToSizedBuffer

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

func (*ValidatorIntent) ProtoMessage

func (*ValidatorIntent) ProtoMessage()

func (*ValidatorIntent) Reset

func (m *ValidatorIntent) Reset()

func (*ValidatorIntent) Size

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

func (*ValidatorIntent) String

func (m *ValidatorIntent) String() string

func (*ValidatorIntent) Unmarshal

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

func (*ValidatorIntent) XXX_DiscardUnknown

func (m *ValidatorIntent) XXX_DiscardUnknown()

func (*ValidatorIntent) XXX_Marshal

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

func (*ValidatorIntent) XXX_Merge

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

func (*ValidatorIntent) XXX_Size

func (m *ValidatorIntent) XXX_Size() int

func (*ValidatorIntent) XXX_Unmarshal

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

type ValidatorIntents added in v0.2.0

type ValidatorIntents []*ValidatorIntent

func CalculateDeltas

func CalculateDeltas(currentAllocations map[string]sdkmath.Int, currentSum sdkmath.Int, targetAllocations ValidatorIntents) ValidatorIntents

CalculateDeltas determines, for the current delegations, in delta between actual allocations and the target intent. Positive delta represents current allocation is below target, and vice versa.

func (ValidatorIntents) GetForValoper added in v0.9.0

func (vi ValidatorIntents) GetForValoper(valoper string) (*ValidatorIntent, bool)

func (ValidatorIntents) MustGetForValoper added in v0.9.0

func (vi ValidatorIntents) MustGetForValoper(valoper string) *ValidatorIntent

func (ValidatorIntents) Normalize

func (vi ValidatorIntents) Normalize() ValidatorIntents

func (ValidatorIntents) SetForValoper added in v0.9.0

func (vi ValidatorIntents) SetForValoper(valoper string, intent *ValidatorIntent) ValidatorIntents

func (ValidatorIntents) Sort added in v0.9.0

type WithdrawalRecord

type WithdrawalRecord struct {
	ChainId        string                                   `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Delegator      string                                   `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Distribution   []*Distribution                          `protobuf:"bytes,3,rep,name=distribution,proto3" json:"distribution,omitempty"`
	Recipient      string                                   `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount         github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	BurnAmount     github_com_cosmos_cosmos_sdk_types.Coin  `` /* 132-byte string literal not displayed */
	Txhash         string                                   `protobuf:"bytes,7,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Status         int32                                    `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
	CompletionTime time.Time                                `protobuf:"bytes,9,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	Requeued       bool                                     `protobuf:"varint,10,opt,name=requeued,proto3" json:"requeued,omitempty"`
}

func (*WithdrawalRecord) Descriptor

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

func (*WithdrawalRecord) GetAmount added in v0.9.0

func (*WithdrawalRecord) GetChainId added in v0.6.0

func (m *WithdrawalRecord) GetChainId() string

func (*WithdrawalRecord) GetCompletionTime added in v0.6.0

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

func (*WithdrawalRecord) GetDelegator

func (m *WithdrawalRecord) GetDelegator() string

func (*WithdrawalRecord) GetDistribution added in v0.9.0

func (m *WithdrawalRecord) GetDistribution() []*Distribution

func (*WithdrawalRecord) GetRecipient

func (m *WithdrawalRecord) GetRecipient() string

func (*WithdrawalRecord) GetRequeued

func (m *WithdrawalRecord) GetRequeued() bool

func (*WithdrawalRecord) GetStatus

func (m *WithdrawalRecord) GetStatus() int32

func (*WithdrawalRecord) GetTxhash added in v0.2.0

func (m *WithdrawalRecord) GetTxhash() string

func (*WithdrawalRecord) Marshal

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

func (*WithdrawalRecord) MarshalTo

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

func (*WithdrawalRecord) MarshalToSizedBuffer

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

func (*WithdrawalRecord) ProtoMessage

func (*WithdrawalRecord) ProtoMessage()

func (*WithdrawalRecord) Reset

func (m *WithdrawalRecord) Reset()

func (*WithdrawalRecord) Size

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

func (*WithdrawalRecord) String

func (m *WithdrawalRecord) String() string

func (*WithdrawalRecord) Unmarshal

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

func (*WithdrawalRecord) XXX_DiscardUnknown

func (m *WithdrawalRecord) XXX_DiscardUnknown()

func (*WithdrawalRecord) XXX_Marshal

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

func (*WithdrawalRecord) XXX_Merge

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

func (*WithdrawalRecord) XXX_Size

func (m *WithdrawalRecord) XXX_Size() int

func (*WithdrawalRecord) XXX_Unmarshal

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

type Zone added in v0.6.0

type Zone struct {
	ConnectionId                 string                                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	ChainId                      string                                 `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	DepositAddress               *ICAAccount                            `protobuf:"bytes,3,opt,name=deposit_address,json=depositAddress,proto3" json:"deposit_address,omitempty"`
	WithdrawalAddress            *ICAAccount                            `protobuf:"bytes,4,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"`
	PerformanceAddress           *ICAAccount                            `protobuf:"bytes,5,opt,name=performance_address,json=performanceAddress,proto3" json:"performance_address,omitempty"`
	DelegationAddress            *ICAAccount                            `protobuf:"bytes,6,opt,name=delegation_address,json=delegationAddress,proto3" json:"delegation_address,omitempty"`
	AccountPrefix                string                                 `protobuf:"bytes,7,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty"`
	LocalDenom                   string                                 `protobuf:"bytes,8,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty"`
	BaseDenom                    string                                 `protobuf:"bytes,9,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	RedemptionRate               github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
	LastRedemptionRate           github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	Validators                   []*Validator                           `protobuf:"bytes,12,rep,name=validators,proto3" json:"validators,omitempty"`
	AggregateIntent              ValidatorIntents                       `` /* 137-byte string literal not displayed */
	MultiSend                    bool                                   `protobuf:"varint,14,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty"`
	LiquidityModule              bool                                   `protobuf:"varint,15,opt,name=liquidity_module,json=liquidityModule,proto3" json:"liquidity_module,omitempty"`
	WithdrawalWaitgroup          uint32                                 `protobuf:"varint,16,opt,name=withdrawal_waitgroup,json=withdrawalWaitgroup,proto3" json:"withdrawal_waitgroup,omitempty"`
	IbcNextValidatorsHash        []byte                                 `` /* 129-byte string literal not displayed */
	ValidatorSelectionAllocation uint64                                 `` /* 149-byte string literal not displayed */
	HoldingsAllocation           uint64                                 `protobuf:"varint,19,opt,name=holdings_allocation,json=holdingsAllocation,proto3" json:"holdings_allocation,omitempty"`
	LastEpochHeight              int64                                  `protobuf:"varint,20,opt,name=last_epoch_height,json=lastEpochHeight,proto3" json:"last_epoch_height,omitempty"`
	Tvl                          github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,21,opt,name=tvl,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tvl"`
	UnbondingPeriod              int64                                  `protobuf:"varint,22,opt,name=unbonding_period,json=unbondingPeriod,proto3" json:"unbonding_period,omitempty"`
	MessagesPerTx                int64                                  `protobuf:"varint,23,opt,name=messages_per_tx,json=messagesPerTx,proto3" json:"messages_per_tx,omitempty"`
	Decimals                     int64                                  `protobuf:"varint,24,opt,name=decimals,proto3" json:"decimals,omitempty"`
	UnbondingEnabled             bool                                   `protobuf:"varint,25,opt,name=unbonding_enabled,json=unbondingEnabled,proto3" json:"unbonding_enabled,omitempty"`
	DepositsEnabled              bool                                   `protobuf:"varint,26,opt,name=deposits_enabled,json=depositsEnabled,proto3" json:"deposits_enabled,omitempty"`
	ReturnToSender               bool                                   `protobuf:"varint,27,opt,name=return_to_sender,json=returnToSender,proto3" json:"return_to_sender,omitempty"`
	Is_118                       bool                                   `protobuf:"varint,28,opt,name=is_118,json=is118,proto3" json:"is_118,omitempty"`
	SubzoneInfo                  *SubzoneInfo                           `protobuf:"bytes,29,opt,name=subzoneInfo,proto3" json:"subzoneInfo,omitempty"`
}

func (*Zone) ConvertCoinsToOrdinalIntents added in v0.6.0

func (z *Zone) ConvertCoinsToOrdinalIntents(coins sdk.Coins, zoneVals []string) ValidatorIntents

func (*Zone) ConvertMemoToOrdinalIntents added in v0.6.0

func (z *Zone) ConvertMemoToOrdinalIntents(coins sdk.Coins, memo string) (ValidatorIntents, error)

func (*Zone) DecodeMemo

func (z *Zone) DecodeMemo(coins sdk.Coins, memo string) (validatorIntents ValidatorIntents, memoFields MemoFields, err error)

func (*Zone) Descriptor added in v0.6.0

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

func (*Zone) GetAccountPrefix added in v0.6.0

func (m *Zone) GetAccountPrefix() string

func (*Zone) GetAggregateIntent added in v0.6.0

func (m *Zone) GetAggregateIntent() ValidatorIntents

func (*Zone) GetBaseDenom added in v0.6.0

func (m *Zone) GetBaseDenom() string

func (*Zone) GetChainId added in v0.6.0

func (m *Zone) GetChainId() string

func (*Zone) GetConnectionId added in v0.6.0

func (m *Zone) GetConnectionId() string

func (*Zone) GetDecimals

func (m *Zone) GetDecimals() int64

func (*Zone) GetDelegationAccount added in v0.9.0

func (z *Zone) GetDelegationAccount() (*ICAAccount, error)

func (*Zone) GetDelegationAddress added in v0.9.0

func (m *Zone) GetDelegationAddress() *ICAAccount

func (*Zone) GetDepositAddress added in v0.6.0

func (m *Zone) GetDepositAddress() *ICAAccount

func (*Zone) GetDepositsEnabled

func (m *Zone) GetDepositsEnabled() bool

func (*Zone) GetHoldingsAllocation added in v0.6.0

func (m *Zone) GetHoldingsAllocation() uint64

func (*Zone) GetIbcNextValidatorsHash added in v0.6.0

func (m *Zone) GetIbcNextValidatorsHash() []byte

func (*Zone) GetIs_118

func (m *Zone) GetIs_118() bool

func (*Zone) GetLastEpochHeight added in v0.6.0

func (m *Zone) GetLastEpochHeight() int64

func (*Zone) GetLiquidityModule added in v0.6.0

func (m *Zone) GetLiquidityModule() bool

func (*Zone) GetLocalDenom added in v0.6.0

func (m *Zone) GetLocalDenom() string

func (*Zone) GetMessagesPerTx added in v1.2.8

func (m *Zone) GetMessagesPerTx() int64

func (*Zone) GetMultiSend added in v0.6.0

func (m *Zone) GetMultiSend() bool

func (*Zone) GetPerformanceAddress added in v0.6.0

func (m *Zone) GetPerformanceAddress() *ICAAccount

func (*Zone) GetReturnToSender

func (m *Zone) GetReturnToSender() bool

func (*Zone) GetSubzoneInfo

func (m *Zone) GetSubzoneInfo() *SubzoneInfo

func (*Zone) GetUnbondingEnabled

func (m *Zone) GetUnbondingEnabled() bool

func (*Zone) GetUnbondingPeriod added in v0.9.0

func (m *Zone) GetUnbondingPeriod() int64

func (*Zone) GetValidatorSelectionAllocation added in v0.6.0

func (m *Zone) GetValidatorSelectionAllocation() uint64

func (*Zone) GetValidators added in v0.6.0

func (m *Zone) GetValidators() []*Validator

func (*Zone) GetValoperPrefix

func (z *Zone) GetValoperPrefix() string

func (*Zone) GetWithdrawalAddress added in v0.6.0

func (m *Zone) GetWithdrawalAddress() *ICAAccount

func (*Zone) GetWithdrawalWaitgroup added in v0.6.0

func (m *Zone) GetWithdrawalWaitgroup() uint32

func (Zone) IsDelegateAddress added in v0.6.0

func (z Zone) IsDelegateAddress(addr string) bool

func (Zone) IsUnbondingEnabled

func (z Zone) IsUnbondingEnabled() bool

func (*Zone) Marshal added in v0.6.0

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

func (*Zone) MarshalTo added in v0.6.0

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

func (*Zone) MarshalToSizedBuffer added in v0.6.0

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

func (*Zone) ProtoMessage added in v0.6.0

func (*Zone) ProtoMessage()

func (*Zone) Reset added in v0.6.0

func (m *Zone) Reset()

func (*Zone) Size added in v0.6.0

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

func (*Zone) String added in v0.6.0

func (m *Zone) String() string

func (Zone) SupportLsm added in v0.6.0

func (z Zone) SupportLsm() bool

func (Zone) SupportReturnToSender

func (z Zone) SupportReturnToSender() bool

func (*Zone) Unmarshal added in v0.6.0

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

func (*Zone) UpdateIntentWithCoins added in v0.6.6

func (z *Zone) UpdateIntentWithCoins(intent DelegatorIntent, multiplier sdk.Dec, inAmount sdk.Coins, vals []string) DelegatorIntent

this method exist to make testing easier!

func (*Zone) UpdateZoneIntentWithMemo

func (z *Zone) UpdateZoneIntentWithMemo(memoIntent ValidatorIntents, intent DelegatorIntent, multiplier sdk.Dec) DelegatorIntent

func (*Zone) ValidateCoinsForZone added in v0.6.0

func (z *Zone) ValidateCoinsForZone(coins sdk.Coins, zoneVals []string) error

func (*Zone) XXX_DiscardUnknown added in v0.6.0

func (m *Zone) XXX_DiscardUnknown()

func (*Zone) XXX_Marshal added in v0.6.0

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

func (*Zone) XXX_Merge added in v0.6.0

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

func (*Zone) XXX_Size added in v0.6.0

func (m *Zone) XXX_Size() int

func (*Zone) XXX_Unmarshal added in v0.6.0

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

Jump to

Keyboard shortcuts

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