types

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "gal"

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

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName
)
View Source
const (
	TypeMsgDeposit           = "deposit"
	TypeMsgDelegate          = "delegate"
	TypeMsgUndelegate        = "undelegate"
	TypeMsgPendingUndelegate = "pendingUndelegate"
	TypeMsgWithdrawRecord    = "withdrawRecord"
	TypeMsgClaim             = "claim"
	TypeMsgIcaWithdraw       = "icaWithdarw"
)

Variables

View Source
var (
	ErrNoDepositRecord      = errors.Register(ModuleName, 0, "no deposit history for this account")
	ErrNoUndelegateRecord   = errors.Register(ModuleName, 1, "no undelegate history for this account")
	ErrNoWithdrawRecord     = errors.Register(ModuleName, 2, "no withdraw history for this account")
	ErrNotFoundZoneInfo     = errors.Register(ModuleName, 3, "not found zone info")
	ErrCanNotWithdrawAsset  = errors.Register(ModuleName, 4, "cannot withdraw funds")
	ErrInvalidTime          = errors.Register(ModuleName, 5, "time is not zero")
	ErrCanNotChangeState    = errors.Register(ModuleName, 6, "cannot change state")
	ErrDelegateFail         = errors.Register(ModuleName, 7, "delegate fail")
	ErrInvalidDenom         = errors.Register(ModuleName, 8, "invalid denom")
	ErrInvalidAddress       = errors.Register(ModuleName, 9, "invalid address")
	ErrUnknown              = errors.Register(ModuleName, 10, "unknown error occurred")
	ErrTransferInfoNotFound = errors.Register(ModuleName, 11, "transfer info is not found")
	ErrConvertWAssetIsZero  = errors.Register(ModuleName, 12, "withdrawal amount is zero")
	ErrNoDeleteRecord       = errors.Register(ModuleName, 13, "fail delete deposit record")
	ErrMaxUndelegateEntries = errors.Register(ModuleName, 14, "too many undelegate request")
	ErrNegativeVersion      = errors.Register(ModuleName, 15, "every version must be positive")
	ErrMaxDepositEntries    = errors.Register(ModuleName, 16, "too many deposit request")
)
View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// KeyDepositRecordInfo defines key to store deposit information of sn-assets.
	KeyDepositRecordInfo = []byte{0x01}
	// KeyUndelegateRecordInfo defines key to store undelegate record information of wAsset.
	KeyUndelegateRecordInfo = []byte{0x02}
	// KeyWithdrawRecordInfo defines key to store withdraw record information of sn-assets.
	KeyWithdrawRecordInfo = []byte{0x03}

	KeyDelegateVersion   = []byte{0x04}
	KeyUndelegateVersion = []byte{0x05}
	KeyWithdrawVersion   = []byte{0x06}
)

KVStore keys

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStore        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStore          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStore = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper added in v0.6.4

type AccountKeeper interface {
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
}

type AirdropKeeper

type AirdropKeeper interface {
	PostClaimedSnAsset(ctx sdk.Context, userAddr sdk.AccAddress)
}

AirdropKeeper defines the contract needed to be fulfilled for airdrop dependencies.

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	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
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the contract needed to be fulfilled for banking and supply dependencies.

type DepositAccount

type DepositAccount struct {
	Denom           string         `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	DepositInfos    []*DepositInfo `protobuf:"bytes,2,rep,name=deposit_infos,json=depositInfos,proto3" json:"deposit_infos,omitempty"`
	TotalShare      int64          `protobuf:"varint,3,opt,name=total_share,json=totalShare,proto3" json:"total_share,omitempty"`
	LastBlockUpdate int64          `protobuf:"varint,4,opt,name=last_block_update,json=lastBlockUpdate,proto3" json:"last_block_update,omitempty"`
}

DepositAccount defines snToken's total share and deposit information.

func (*DepositAccount) Descriptor

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

func (*DepositAccount) GetDenom

func (m *DepositAccount) GetDenom() string

func (*DepositAccount) GetDepositInfos

func (m *DepositAccount) GetDepositInfos() []*DepositInfo

func (*DepositAccount) GetLastBlockUpdate

func (m *DepositAccount) GetLastBlockUpdate() int64

func (*DepositAccount) GetTotalShare

func (m *DepositAccount) GetTotalShare() int64

func (*DepositAccount) Marshal

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

func (*DepositAccount) MarshalTo

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

func (*DepositAccount) MarshalToSizedBuffer

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

func (*DepositAccount) ProtoMessage

func (*DepositAccount) ProtoMessage()

func (*DepositAccount) Reset

func (m *DepositAccount) Reset()

func (*DepositAccount) Size

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

func (*DepositAccount) String

func (m *DepositAccount) String() string

func (*DepositAccount) Unmarshal

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

func (*DepositAccount) XXX_DiscardUnknown

func (m *DepositAccount) XXX_DiscardUnknown()

func (*DepositAccount) XXX_Marshal

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

func (*DepositAccount) XXX_Merge

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

func (*DepositAccount) XXX_Size

func (m *DepositAccount) XXX_Size() int

func (*DepositAccount) XXX_Unmarshal

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

type DepositInfo

type DepositInfo struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Share   int64  `protobuf:"varint,2,opt,name=share,proto3" json:"share,omitempty"`
	Debt    int64  `protobuf:"varint,3,opt,name=debt,proto3" json:"debt,omitempty"`
}

DepositInfo defines user address, share and debt.

func (*DepositInfo) Descriptor

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

func (*DepositInfo) GetAddress

func (m *DepositInfo) GetAddress() string

func (*DepositInfo) GetDebt

func (m *DepositInfo) GetDebt() int64

func (*DepositInfo) GetShare

func (m *DepositInfo) GetShare() int64

func (*DepositInfo) Marshal

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

func (*DepositInfo) MarshalTo

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

func (*DepositInfo) MarshalToSizedBuffer

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

func (*DepositInfo) ProtoMessage

func (*DepositInfo) ProtoMessage()

func (*DepositInfo) Reset

func (m *DepositInfo) Reset()

func (*DepositInfo) Size

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

func (*DepositInfo) String

func (m *DepositInfo) String() string

func (*DepositInfo) Unmarshal

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

func (*DepositInfo) XXX_DiscardUnknown

func (m *DepositInfo) XXX_DiscardUnknown()

func (*DepositInfo) XXX_Marshal

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

func (*DepositInfo) XXX_Merge

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

func (*DepositInfo) XXX_Size

func (m *DepositInfo) XXX_Size() int

func (*DepositInfo) XXX_Unmarshal

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

type DepositRecord

type DepositRecord struct {
	ZoneId  string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Claimer string                  `protobuf:"bytes,2,opt,name=claimer,proto3" json:"claimer,omitempty"`
	Records []*DepositRecordContent `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
}

func (*DepositRecord) Descriptor

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

func (*DepositRecord) GetClaimer

func (m *DepositRecord) GetClaimer() string

func (*DepositRecord) GetRecords

func (m *DepositRecord) GetRecords() []*DepositRecordContent

func (*DepositRecord) GetZoneId

func (m *DepositRecord) GetZoneId() string

func (*DepositRecord) Marshal

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

func (*DepositRecord) MarshalTo

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

func (*DepositRecord) MarshalToSizedBuffer

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

func (*DepositRecord) ProtoMessage

func (*DepositRecord) ProtoMessage()

func (*DepositRecord) Reset

func (m *DepositRecord) Reset()

func (*DepositRecord) Size

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

func (*DepositRecord) String

func (m *DepositRecord) String() string

func (*DepositRecord) Unmarshal

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

func (*DepositRecord) XXX_DiscardUnknown

func (m *DepositRecord) XXX_DiscardUnknown()

func (*DepositRecord) XXX_Marshal

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

func (*DepositRecord) XXX_Merge

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

func (*DepositRecord) XXX_Size

func (m *DepositRecord) XXX_Size() int

func (*DepositRecord) XXX_Unmarshal

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

type DepositRecordContent

type DepositRecordContent struct {
	Depositor       string      `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	Amount          *types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	State           int64       `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
	OracleVersion   uint64      `protobuf:"varint,4,opt,name=oracle_version,json=oracleVersion,proto3" json:"oracle_version,omitempty"`
	DelegateVersion uint64      `protobuf:"varint,5,opt,name=delegate_version,json=delegateVersion,proto3" json:"delegate_version,omitempty"`
}

func (*DepositRecordContent) Descriptor

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

func (*DepositRecordContent) GetAmount

func (m *DepositRecordContent) GetAmount() *types.Coin

func (*DepositRecordContent) GetDelegateVersion

func (m *DepositRecordContent) GetDelegateVersion() uint64

func (*DepositRecordContent) GetDepositor

func (m *DepositRecordContent) GetDepositor() string

func (*DepositRecordContent) GetOracleVersion

func (m *DepositRecordContent) GetOracleVersion() uint64

func (*DepositRecordContent) GetState

func (m *DepositRecordContent) GetState() int64

func (*DepositRecordContent) Marshal

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

func (*DepositRecordContent) MarshalTo

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

func (*DepositRecordContent) MarshalToSizedBuffer

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

func (*DepositRecordContent) ProtoMessage

func (*DepositRecordContent) ProtoMessage()

func (*DepositRecordContent) Reset

func (m *DepositRecordContent) Reset()

func (*DepositRecordContent) Size

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

func (*DepositRecordContent) String

func (m *DepositRecordContent) String() string

func (*DepositRecordContent) Unmarshal

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

func (*DepositRecordContent) XXX_DiscardUnknown

func (m *DepositRecordContent) XXX_DiscardUnknown()

func (*DepositRecordContent) XXX_Marshal

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

func (*DepositRecordContent) XXX_Merge

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

func (*DepositRecordContent) XXX_Size

func (m *DepositRecordContent) XXX_Size() int

func (*DepositRecordContent) XXX_Unmarshal

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

type DepositStatusType

type DepositStatusType = int64
const (
	DepositRequest DepositStatusType = iota + 1
	DepositSuccess
	DelegateRequest
	DelegateSuccess
)

type EventClaimSnToken

type EventClaimSnToken struct {
	Claimer       string      `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"`
	ClaimedToken  *types.Coin `protobuf:"bytes,2,opt,name=claimed_token,json=claimedToken,proto3" json:"claimed_token,omitempty"`
	OracleVersion uint64      `protobuf:"varint,3,opt,name=oracle_version,json=oracleVersion,proto3" json:"oracle_version,omitempty"`
}

EventClaimSnToken is emitted when snAsset is minted.

func NewEventClaimSnToken

func NewEventClaimSnToken(claimer string,
	claimedToken *sdk.Coin,
	oracleVersion uint64) *EventClaimSnToken

func (*EventClaimSnToken) Descriptor

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

func (*EventClaimSnToken) GetClaimedToken

func (m *EventClaimSnToken) GetClaimedToken() *types.Coin

func (*EventClaimSnToken) GetClaimer

func (m *EventClaimSnToken) GetClaimer() string

func (*EventClaimSnToken) GetOracleVersion

func (m *EventClaimSnToken) GetOracleVersion() uint64

func (*EventClaimSnToken) Marshal

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

func (*EventClaimSnToken) MarshalTo

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

func (*EventClaimSnToken) MarshalToSizedBuffer

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

func (*EventClaimSnToken) ProtoMessage

func (*EventClaimSnToken) ProtoMessage()

func (*EventClaimSnToken) Reset

func (m *EventClaimSnToken) Reset()

func (*EventClaimSnToken) Size

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

func (*EventClaimSnToken) String

func (m *EventClaimSnToken) String() string

func (*EventClaimSnToken) Unmarshal

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

func (*EventClaimSnToken) XXX_DiscardUnknown

func (m *EventClaimSnToken) XXX_DiscardUnknown()

func (*EventClaimSnToken) XXX_Marshal

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

func (*EventClaimSnToken) XXX_Merge

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

func (*EventClaimSnToken) XXX_Size

func (m *EventClaimSnToken) XXX_Size() int

func (*EventClaimSnToken) XXX_Unmarshal

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

type EventDelegate

type EventDelegate struct {
	HostAddress      string      `protobuf:"bytes,1,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ValidatorAddress string      `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	ChannelId        string      `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	PortId           string      `protobuf:"bytes,4,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	DelegatedAmount  *types.Coin `protobuf:"bytes,5,opt,name=delegated_amount,json=delegatedAmount,proto3" json:"delegated_amount,omitempty"`
}

EventDelegate is emitted when service bot delegates accumulated asset.

func NewEventDelegate

func NewEventDelegate(
	hostAddress,
	validatorAddress string,
	delegatedAmount *sdk.Coin,
	channelId,
	portId string) *EventDelegate

func (*EventDelegate) Descriptor

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

func (*EventDelegate) GetChannelId

func (m *EventDelegate) GetChannelId() string

func (*EventDelegate) GetDelegatedAmount

func (m *EventDelegate) GetDelegatedAmount() *types.Coin

func (*EventDelegate) GetHostAddress

func (m *EventDelegate) GetHostAddress() string

func (*EventDelegate) GetPortId

func (m *EventDelegate) GetPortId() string

func (*EventDelegate) GetValidatorAddress

func (m *EventDelegate) GetValidatorAddress() string

func (*EventDelegate) Marshal

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

func (*EventDelegate) MarshalTo

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

func (*EventDelegate) MarshalToSizedBuffer

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

func (*EventDelegate) ProtoMessage

func (*EventDelegate) ProtoMessage()

func (*EventDelegate) Reset

func (m *EventDelegate) Reset()

func (*EventDelegate) Size

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

func (*EventDelegate) String

func (m *EventDelegate) String() string

func (*EventDelegate) Unmarshal

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

func (*EventDelegate) XXX_DiscardUnknown

func (m *EventDelegate) XXX_DiscardUnknown()

func (*EventDelegate) XXX_Marshal

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

func (*EventDelegate) XXX_Merge

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

func (*EventDelegate) XXX_Size

func (m *EventDelegate) XXX_Size() int

func (*EventDelegate) XXX_Unmarshal

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

type EventDeposit

type EventDeposit struct {
	Depositor     string      `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	Claimer       string      `protobuf:"bytes,2,opt,name=claimer,proto3" json:"claimer,omitempty"`
	DepositAmount *types.Coin `protobuf:"bytes,3,opt,name=deposit_amount,json=depositAmount,proto3" json:"deposit_amount,omitempty"`
}

EventDeposit is emitted when user deposit their asset.

func NewEventDeposit

func NewEventDeposit(depositor, claimer string, depositedAmount *sdk.Coin) *EventDeposit

func (*EventDeposit) Descriptor

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

func (*EventDeposit) GetClaimer

func (m *EventDeposit) GetClaimer() string

func (*EventDeposit) GetDepositAmount

func (m *EventDeposit) GetDepositAmount() *types.Coin

func (*EventDeposit) GetDepositor

func (m *EventDeposit) GetDepositor() string

func (*EventDeposit) Marshal

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

func (*EventDeposit) MarshalTo

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

func (*EventDeposit) MarshalToSizedBuffer

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

func (*EventDeposit) ProtoMessage

func (*EventDeposit) ProtoMessage()

func (*EventDeposit) Reset

func (m *EventDeposit) Reset()

func (*EventDeposit) Size

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

func (*EventDeposit) String

func (m *EventDeposit) String() string

func (*EventDeposit) Unmarshal

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

func (*EventDeposit) XXX_DiscardUnknown

func (m *EventDeposit) XXX_DiscardUnknown()

func (*EventDeposit) XXX_Marshal

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

func (*EventDeposit) XXX_Merge

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

func (*EventDeposit) XXX_Size

func (m *EventDeposit) XXX_Size() int

func (*EventDeposit) XXX_Unmarshal

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

type EventIcaWithdraw

type EventIcaWithdraw struct {
	HostAddress       string      `protobuf:"bytes,1,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ControllerAddress string      `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	ConnectionId      string      `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	ChannelId         string      `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	PortId            string      `protobuf:"bytes,5,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	WithdrawnToken    *types.Coin `protobuf:"bytes,6,opt,name=withdrawn_token,json=withdrawnToken,proto3" json:"withdrawn_token,omitempty"`
}

EventIcaWithdraw is emitted when ica withdraw action is success.

func NewEventIcaWithdraw

func NewEventIcaWithdraw(hostAddress,
	controllerAddress string,
	withdrawalToken *sdk.Coin,
	connectionId, channelId, portId string) *EventIcaWithdraw

func (*EventIcaWithdraw) Descriptor

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

func (*EventIcaWithdraw) GetChannelId

func (m *EventIcaWithdraw) GetChannelId() string

func (*EventIcaWithdraw) GetConnectionId

func (m *EventIcaWithdraw) GetConnectionId() string

func (*EventIcaWithdraw) GetControllerAddress

func (m *EventIcaWithdraw) GetControllerAddress() string

func (*EventIcaWithdraw) GetHostAddress

func (m *EventIcaWithdraw) GetHostAddress() string

func (*EventIcaWithdraw) GetPortId

func (m *EventIcaWithdraw) GetPortId() string

func (*EventIcaWithdraw) GetWithdrawnToken

func (m *EventIcaWithdraw) GetWithdrawnToken() *types.Coin

func (*EventIcaWithdraw) Marshal

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

func (*EventIcaWithdraw) MarshalTo

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

func (*EventIcaWithdraw) MarshalToSizedBuffer

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

func (*EventIcaWithdraw) ProtoMessage

func (*EventIcaWithdraw) ProtoMessage()

func (*EventIcaWithdraw) Reset

func (m *EventIcaWithdraw) Reset()

func (*EventIcaWithdraw) Size

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

func (*EventIcaWithdraw) String

func (m *EventIcaWithdraw) String() string

func (*EventIcaWithdraw) Unmarshal

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

func (*EventIcaWithdraw) XXX_DiscardUnknown

func (m *EventIcaWithdraw) XXX_DiscardUnknown()

func (*EventIcaWithdraw) XXX_Marshal

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

func (*EventIcaWithdraw) XXX_Merge

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

func (*EventIcaWithdraw) XXX_Size

func (m *EventIcaWithdraw) XXX_Size() int

func (*EventIcaWithdraw) XXX_Unmarshal

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

type EventPendingUndelegate

type EventPendingUndelegate struct {
	ZoneId            string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Delegator         string      `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Withdrawer        string      `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	BurnedAmount      *types.Coin `protobuf:"bytes,4,opt,name=burned_amount,json=burnedAmount,proto3" json:"burned_amount,omitempty"`
	UndelegatedAmount *types.Coin `protobuf:"bytes,5,opt,name=undelegated_amount,json=undelegatedAmount,proto3" json:"undelegated_amount,omitempty"`
}

EventPendingUndelegate is emitted when pending undelegate message is submitted.

func NewEventPendingUndelegate

func NewEventPendingUndelegate(
	zoneId, delegator, withdrawer string,
	burnedAmount, undelegatedAmount *sdk.Coin,
) *EventPendingUndelegate

func (*EventPendingUndelegate) Descriptor

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

func (*EventPendingUndelegate) GetBurnedAmount

func (m *EventPendingUndelegate) GetBurnedAmount() *types.Coin

func (*EventPendingUndelegate) GetDelegator

func (m *EventPendingUndelegate) GetDelegator() string

func (*EventPendingUndelegate) GetUndelegatedAmount

func (m *EventPendingUndelegate) GetUndelegatedAmount() *types.Coin

func (*EventPendingUndelegate) GetWithdrawer

func (m *EventPendingUndelegate) GetWithdrawer() string

func (*EventPendingUndelegate) GetZoneId

func (m *EventPendingUndelegate) GetZoneId() string

func (*EventPendingUndelegate) Marshal

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

func (*EventPendingUndelegate) MarshalTo

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

func (*EventPendingUndelegate) MarshalToSizedBuffer

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

func (*EventPendingUndelegate) ProtoMessage

func (*EventPendingUndelegate) ProtoMessage()

func (*EventPendingUndelegate) Reset

func (m *EventPendingUndelegate) Reset()

func (*EventPendingUndelegate) Size

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

func (*EventPendingUndelegate) String

func (m *EventPendingUndelegate) String() string

func (*EventPendingUndelegate) Unmarshal

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

func (*EventPendingUndelegate) XXX_DiscardUnknown

func (m *EventPendingUndelegate) XXX_DiscardUnknown()

func (*EventPendingUndelegate) XXX_Marshal

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

func (*EventPendingUndelegate) XXX_Merge

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

func (*EventPendingUndelegate) XXX_Size

func (m *EventPendingUndelegate) XXX_Size() int

func (*EventPendingUndelegate) XXX_Unmarshal

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

type EventUndelegate

type EventUndelegate struct {
	ZoneId            string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	BurnedAmount      *types.Coin `protobuf:"bytes,2,opt,name=burned_amount,json=burnedAmount,proto3" json:"burned_amount,omitempty"`
	UndelegatedAmount *types.Coin `protobuf:"bytes,3,opt,name=undelegated_amount,json=undelegatedAmount,proto3" json:"undelegated_amount,omitempty"`
}

EventUndelegate is emitted when remote undelegate message is submitted.

func NewEventUndelegate

func NewEventUndelegate(
	zoneId string, burnedAsset, undelegatedAsset *sdk.Coin) *EventUndelegate

func (*EventUndelegate) Descriptor

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

func (*EventUndelegate) GetBurnedAmount

func (m *EventUndelegate) GetBurnedAmount() *types.Coin

func (*EventUndelegate) GetUndelegatedAmount

func (m *EventUndelegate) GetUndelegatedAmount() *types.Coin

func (*EventUndelegate) GetZoneId

func (m *EventUndelegate) GetZoneId() string

func (*EventUndelegate) Marshal

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

func (*EventUndelegate) MarshalTo

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

func (*EventUndelegate) MarshalToSizedBuffer

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

func (*EventUndelegate) ProtoMessage

func (*EventUndelegate) ProtoMessage()

func (*EventUndelegate) Reset

func (m *EventUndelegate) Reset()

func (*EventUndelegate) Size

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

func (*EventUndelegate) String

func (m *EventUndelegate) String() string

func (*EventUndelegate) Unmarshal

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

func (*EventUndelegate) XXX_DiscardUnknown

func (m *EventUndelegate) XXX_DiscardUnknown()

func (*EventUndelegate) XXX_Marshal

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

func (*EventUndelegate) XXX_Merge

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

func (*EventUndelegate) XXX_Size

func (m *EventUndelegate) XXX_Size() int

func (*EventUndelegate) XXX_Unmarshal

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

type EventWithdraw

type EventWithdraw struct {
	ZoneId          string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Withdrawer      string      `protobuf:"bytes,2,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	WithdrawnAmount *types.Coin `protobuf:"bytes,3,opt,name=withdrawn_amount,json=withdrawnAmount,proto3" json:"withdrawn_amount,omitempty"`
}

EventWithdraw is emitted when withdraw message is submitted.

func NewEventWithdraw

func NewEventWithdraw(zoneId, withdrawer string, withdrawnAmount *sdk.Coin) *EventWithdraw

func (*EventWithdraw) Descriptor

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

func (*EventWithdraw) GetWithdrawer

func (m *EventWithdraw) GetWithdrawer() string

func (*EventWithdraw) GetWithdrawnAmount

func (m *EventWithdraw) GetWithdrawnAmount() *types.Coin

func (*EventWithdraw) GetZoneId

func (m *EventWithdraw) GetZoneId() string

func (*EventWithdraw) Marshal

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

func (*EventWithdraw) MarshalTo

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

func (*EventWithdraw) MarshalToSizedBuffer

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

func (*EventWithdraw) ProtoMessage

func (*EventWithdraw) ProtoMessage()

func (*EventWithdraw) Reset

func (m *EventWithdraw) Reset()

func (*EventWithdraw) Size

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

func (*EventWithdraw) String

func (m *EventWithdraw) String() string

func (*EventWithdraw) Unmarshal

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

func (*EventWithdraw) XXX_DiscardUnknown

func (m *EventWithdraw) XXX_DiscardUnknown()

func (*EventWithdraw) XXX_Marshal

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

func (*EventWithdraw) XXX_Merge

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

func (*EventWithdraw) XXX_Size

func (m *EventWithdraw) XXX_Size() int

func (*EventWithdraw) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params          Params            `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	DepositAccounts []*DepositAccount `protobuf:"bytes,2,rep,name=deposit_accounts,json=depositAccounts,proto3" json:"deposit_accounts,omitempty"`
	WithdrawInfo    []*WithdrawInfo   `protobuf:"bytes,3,rep,name=withdraw_info,json=withdrawInfo,proto3" json:"withdraw_info,omitempty"`
	RecordInfo      []*RecordInfo     `protobuf:"bytes,4,rep,name=record_info,json=recordInfo,proto3" json:"record_info,omitempty"`
}

GenesisState defines the gal module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns a default gal module genesis state.

func NewGenesisState

func NewGenesisState() *GenesisState

NewGenesisState returns a new GenesisState object.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetDepositAccounts

func (m *GenesisState) GetDepositAccounts() []*DepositAccount

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetRecordInfo

func (m *GenesisState) GetRecordInfo() []*RecordInfo

func (*GenesisState) GetWithdrawInfo

func (m *GenesisState) GetWithdrawInfo() []*WithdrawInfo

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 validation of supply genesis data returning an error for any dailed validation criteria.

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 IBCTrace

type IBCTrace struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	State   uint64 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
}

func (*IBCTrace) Descriptor

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

func (*IBCTrace) GetHeight

func (m *IBCTrace) GetHeight() uint64

func (*IBCTrace) GetState added in v0.6.1

func (m *IBCTrace) GetState() uint64

func (*IBCTrace) GetVersion

func (m *IBCTrace) GetVersion() uint64

func (*IBCTrace) Marshal

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

func (*IBCTrace) MarshalTo

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

func (*IBCTrace) MarshalToSizedBuffer

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

func (*IBCTrace) ProtoMessage

func (*IBCTrace) ProtoMessage()

func (*IBCTrace) Reset

func (m *IBCTrace) Reset()

func (*IBCTrace) Size

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

func (*IBCTrace) String

func (m *IBCTrace) String() string

func (*IBCTrace) Unmarshal

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

func (*IBCTrace) XXX_DiscardUnknown

func (m *IBCTrace) XXX_DiscardUnknown()

func (*IBCTrace) XXX_Marshal

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

func (*IBCTrace) XXX_Merge

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

func (*IBCTrace) XXX_Size

func (m *IBCTrace) XXX_Size() int

func (*IBCTrace) XXX_Unmarshal

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

type IcaStatus added in v0.6.2

type IcaStatus = uint64
const (
	IcaPending IcaStatus = iota + 1
	IcaRequest
	IcaSuccess
	IcaFail
)

type MsgClaimSnAsset

type MsgClaimSnAsset struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Claimer string `protobuf:"bytes,2,opt,name=claimer,proto3" json:"claimer,omitempty"`
}

MsgClaim defines claim msg used when user want to claim their st token.

func NewMsgClaimSnAsset

func NewMsgClaimSnAsset(zoneId string, claimer sdk.AccAddress) *MsgClaimSnAsset

func (*MsgClaimSnAsset) Descriptor

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

func (*MsgClaimSnAsset) GetClaimer

func (m *MsgClaimSnAsset) GetClaimer() string

func (MsgClaimSnAsset) GetSignBytes

func (msg MsgClaimSnAsset) GetSignBytes() []byte

func (MsgClaimSnAsset) GetSigners

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

func (*MsgClaimSnAsset) GetZoneId

func (m *MsgClaimSnAsset) GetZoneId() string

func (*MsgClaimSnAsset) Marshal

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

func (*MsgClaimSnAsset) MarshalTo

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

func (*MsgClaimSnAsset) MarshalToSizedBuffer

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

func (*MsgClaimSnAsset) ProtoMessage

func (*MsgClaimSnAsset) ProtoMessage()

func (*MsgClaimSnAsset) Reset

func (m *MsgClaimSnAsset) Reset()

func (MsgClaimSnAsset) Route added in v0.6.1

func (msg MsgClaimSnAsset) Route() string

func (*MsgClaimSnAsset) Size

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

func (*MsgClaimSnAsset) String

func (m *MsgClaimSnAsset) String() string

func (MsgClaimSnAsset) Type added in v0.6.1

func (msg MsgClaimSnAsset) Type() string

func (*MsgClaimSnAsset) Unmarshal

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

func (MsgClaimSnAsset) ValidateBasic

func (msg MsgClaimSnAsset) ValidateBasic() error

func (*MsgClaimSnAsset) XXX_DiscardUnknown

func (m *MsgClaimSnAsset) XXX_DiscardUnknown()

func (*MsgClaimSnAsset) XXX_Marshal

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

func (*MsgClaimSnAsset) XXX_Merge

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

func (*MsgClaimSnAsset) XXX_Size

func (m *MsgClaimSnAsset) XXX_Size() int

func (*MsgClaimSnAsset) XXX_Unmarshal

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

type MsgClaimSnAssetResponse

type MsgClaimSnAssetResponse struct {
	Claimer string     `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"`
	Minted  types.Coin `protobuf:"bytes,2,opt,name=minted,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"minted"`
}

func (*MsgClaimSnAssetResponse) Descriptor

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

func (*MsgClaimSnAssetResponse) GetClaimer

func (m *MsgClaimSnAssetResponse) GetClaimer() string

func (*MsgClaimSnAssetResponse) GetMinted

func (m *MsgClaimSnAssetResponse) GetMinted() types.Coin

func (*MsgClaimSnAssetResponse) Marshal

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

func (*MsgClaimSnAssetResponse) MarshalTo

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

func (*MsgClaimSnAssetResponse) MarshalToSizedBuffer

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

func (*MsgClaimSnAssetResponse) ProtoMessage

func (*MsgClaimSnAssetResponse) ProtoMessage()

func (*MsgClaimSnAssetResponse) Reset

func (m *MsgClaimSnAssetResponse) Reset()

func (*MsgClaimSnAssetResponse) Size

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

func (*MsgClaimSnAssetResponse) String

func (m *MsgClaimSnAssetResponse) String() string

func (*MsgClaimSnAssetResponse) Unmarshal

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

func (*MsgClaimSnAssetResponse) XXX_DiscardUnknown

func (m *MsgClaimSnAssetResponse) XXX_DiscardUnknown()

func (*MsgClaimSnAssetResponse) XXX_Marshal

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

func (*MsgClaimSnAssetResponse) XXX_Merge

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

func (*MsgClaimSnAssetResponse) XXX_Size

func (m *MsgClaimSnAssetResponse) XXX_Size() int

func (*MsgClaimSnAssetResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
	Delegate(ctx context.Context, in *MsgDelegate, opts ...grpc.CallOption) (*MsgDelegateResponse, error)
	Undelegate(ctx context.Context, in *MsgUndelegate, opts ...grpc.CallOption) (*MsgUndelegateResponse, error)
	PendingUndelegate(ctx context.Context, in *MsgPendingUndelegate, opts ...grpc.CallOption) (*MsgPendingUndelegateResponse, error)
	Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
	ClaimSnAsset(ctx context.Context, in *MsgClaimSnAsset, opts ...grpc.CallOption) (*MsgClaimSnAssetResponse, error)
	IcaWithdraw(ctx context.Context, in *MsgIcaWithdraw, opts ...grpc.CallOption) (*MsgIcaWithdrawResponse, 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 MsgDelegate

type MsgDelegate struct {
	ZoneId            string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	ControllerAddress string `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Version           uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
}

func NewMsgDelegate

func NewMsgDelegate(zoneId string, version uint64, controllerAddr sdk.AccAddress) *MsgDelegate

func (*MsgDelegate) Descriptor

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

func (*MsgDelegate) GetControllerAddress

func (m *MsgDelegate) GetControllerAddress() string

func (MsgDelegate) GetSignBytes

func (msg MsgDelegate) GetSignBytes() []byte

func (MsgDelegate) GetSigners

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

func (*MsgDelegate) GetVersion added in v0.6.1

func (m *MsgDelegate) GetVersion() uint64

func (*MsgDelegate) GetZoneId

func (m *MsgDelegate) GetZoneId() string

func (*MsgDelegate) Marshal

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

func (*MsgDelegate) MarshalTo

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

func (*MsgDelegate) MarshalToSizedBuffer

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

func (*MsgDelegate) ProtoMessage

func (*MsgDelegate) ProtoMessage()

func (*MsgDelegate) Reset

func (m *MsgDelegate) Reset()

func (MsgDelegate) Route added in v0.6.1

func (msg MsgDelegate) Route() string

func (*MsgDelegate) Size

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

func (*MsgDelegate) String

func (m *MsgDelegate) String() string

func (MsgDelegate) Type added in v0.6.1

func (msg MsgDelegate) Type() string

func (*MsgDelegate) Unmarshal

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

func (MsgDelegate) ValidateBasic

func (msg MsgDelegate) ValidateBasic() error

func (*MsgDelegate) XXX_DiscardUnknown

func (m *MsgDelegate) XXX_DiscardUnknown()

func (*MsgDelegate) XXX_Marshal

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

func (*MsgDelegate) XXX_Merge

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

func (*MsgDelegate) XXX_Size

func (m *MsgDelegate) XXX_Size() int

func (*MsgDelegate) XXX_Unmarshal

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

type MsgDelegateResponse

type MsgDelegateResponse struct {
}

func (*MsgDelegateResponse) Descriptor

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

func (*MsgDelegateResponse) Marshal

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

func (*MsgDelegateResponse) MarshalTo

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

func (*MsgDelegateResponse) MarshalToSizedBuffer

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

func (*MsgDelegateResponse) ProtoMessage

func (*MsgDelegateResponse) ProtoMessage()

func (*MsgDelegateResponse) Reset

func (m *MsgDelegateResponse) Reset()

func (*MsgDelegateResponse) Size

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

func (*MsgDelegateResponse) String

func (m *MsgDelegateResponse) String() string

func (*MsgDelegateResponse) Unmarshal

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

func (*MsgDelegateResponse) XXX_DiscardUnknown

func (m *MsgDelegateResponse) XXX_DiscardUnknown()

func (*MsgDelegateResponse) XXX_Marshal

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

func (*MsgDelegateResponse) XXX_Merge

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

func (*MsgDelegateResponse) XXX_Size

func (m *MsgDelegateResponse) XXX_Size() int

func (*MsgDelegateResponse) XXX_Unmarshal

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

type MsgDeposit

type MsgDeposit struct {
	ZoneId    string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Depositor string     `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
	Claimer   string     `protobuf:"bytes,3,opt,name=claimer,proto3" json:"claimer,omitempty"`
	Amount    types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

MsgDeposit defines user who deposit and amount of coins.

func NewMsgDeposit

func NewMsgDeposit(zoneId string, depositor, claimer sdk.AccAddress, amount sdk.Coin) *MsgDeposit

func (*MsgDeposit) Descriptor

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

func (*MsgDeposit) GetAmount

func (m *MsgDeposit) GetAmount() types.Coin

func (*MsgDeposit) GetClaimer

func (m *MsgDeposit) GetClaimer() string

func (*MsgDeposit) GetDepositor

func (m *MsgDeposit) GetDepositor() string

func (MsgDeposit) GetSignBytes

func (msg MsgDeposit) GetSignBytes() []byte

func (MsgDeposit) GetSigners

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

func (*MsgDeposit) GetZoneId

func (m *MsgDeposit) GetZoneId() string

func (*MsgDeposit) Marshal

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

func (*MsgDeposit) MarshalTo

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

func (*MsgDeposit) MarshalToSizedBuffer

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

func (*MsgDeposit) ProtoMessage

func (*MsgDeposit) ProtoMessage()

func (*MsgDeposit) Reset

func (m *MsgDeposit) Reset()

func (MsgDeposit) Route

func (msg MsgDeposit) Route() string

func (*MsgDeposit) Size

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

func (*MsgDeposit) String

func (m *MsgDeposit) String() string

func (MsgDeposit) Type

func (msg MsgDeposit) Type() string

func (*MsgDeposit) Unmarshal

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

func (MsgDeposit) ValidateBasic

func (msg MsgDeposit) ValidateBasic() error

func (*MsgDeposit) XXX_DiscardUnknown

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal

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

func (*MsgDeposit) XXX_Merge

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

func (*MsgDeposit) XXX_Size

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal

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

type MsgDepositResponse

type MsgDepositResponse struct {
	Receiver        string     `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Depositor       string     `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
	DepositedAmount types.Coin `protobuf:"bytes,3,opt,name=deposited_amount,json=depositedAmount,proto3" json:"deposited_amount"`
}

func (*MsgDepositResponse) Descriptor

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

func (*MsgDepositResponse) GetDepositedAmount

func (m *MsgDepositResponse) GetDepositedAmount() types.Coin

func (*MsgDepositResponse) GetDepositor

func (m *MsgDepositResponse) GetDepositor() string

func (*MsgDepositResponse) GetReceiver

func (m *MsgDepositResponse) GetReceiver() string

func (*MsgDepositResponse) Marshal

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

func (*MsgDepositResponse) MarshalTo

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

func (*MsgDepositResponse) MarshalToSizedBuffer

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

func (*MsgDepositResponse) ProtoMessage

func (*MsgDepositResponse) ProtoMessage()

func (*MsgDepositResponse) Reset

func (m *MsgDepositResponse) Reset()

func (*MsgDepositResponse) Size

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

func (*MsgDepositResponse) String

func (m *MsgDepositResponse) String() string

func (*MsgDepositResponse) Unmarshal

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

func (*MsgDepositResponse) XXX_DiscardUnknown

func (m *MsgDepositResponse) XXX_DiscardUnknown()

func (*MsgDepositResponse) XXX_Marshal

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

func (*MsgDepositResponse) XXX_Merge

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

func (*MsgDepositResponse) XXX_Size

func (m *MsgDepositResponse) XXX_Size() int

func (*MsgDepositResponse) XXX_Unmarshal

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

type MsgIcaWithdraw

type MsgIcaWithdraw struct {
	ZoneId               string    `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	ControllerAddress    string    `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	IcaTransferPortId    string    `protobuf:"bytes,3,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string    `protobuf:"bytes,4,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
	ChainTime            time.Time `protobuf:"bytes,5,opt,name=chain_time,json=chainTime,proto3,stdtime" json:"chain_time"`
	Version              uint64    `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
}

func NewMsgIcaWithdraw added in v0.6.1

func NewMsgIcaWithdraw(zoneId string, controllerAddr sdk.AccAddress, portId, chanId string, blockTime time.Time, version uint64) *MsgIcaWithdraw

func (*MsgIcaWithdraw) Descriptor

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

func (*MsgIcaWithdraw) GetChainTime

func (m *MsgIcaWithdraw) GetChainTime() time.Time

func (*MsgIcaWithdraw) GetControllerAddress

func (m *MsgIcaWithdraw) GetControllerAddress() string

func (*MsgIcaWithdraw) GetIcaTransferChannelId

func (m *MsgIcaWithdraw) GetIcaTransferChannelId() string

func (*MsgIcaWithdraw) GetIcaTransferPortId

func (m *MsgIcaWithdraw) GetIcaTransferPortId() string

func (MsgIcaWithdraw) GetSignBytes

func (msg MsgIcaWithdraw) GetSignBytes() []byte

func (MsgIcaWithdraw) GetSigners

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

func (*MsgIcaWithdraw) GetVersion added in v0.6.1

func (m *MsgIcaWithdraw) GetVersion() uint64

func (*MsgIcaWithdraw) GetZoneId

func (m *MsgIcaWithdraw) GetZoneId() string

func (*MsgIcaWithdraw) Marshal

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

func (*MsgIcaWithdraw) MarshalTo

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

func (*MsgIcaWithdraw) MarshalToSizedBuffer

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

func (*MsgIcaWithdraw) ProtoMessage

func (*MsgIcaWithdraw) ProtoMessage()

func (*MsgIcaWithdraw) Reset

func (m *MsgIcaWithdraw) Reset()

func (MsgIcaWithdraw) Route

func (msg MsgIcaWithdraw) Route() string

func (*MsgIcaWithdraw) Size

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

func (*MsgIcaWithdraw) String

func (m *MsgIcaWithdraw) String() string

func (MsgIcaWithdraw) Type added in v0.6.1

func (msg MsgIcaWithdraw) Type() string

func (*MsgIcaWithdraw) Unmarshal

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

func (MsgIcaWithdraw) ValidateBasic

func (msg MsgIcaWithdraw) ValidateBasic() error

func (*MsgIcaWithdraw) XXX_DiscardUnknown

func (m *MsgIcaWithdraw) XXX_DiscardUnknown()

func (*MsgIcaWithdraw) XXX_Marshal

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

func (*MsgIcaWithdraw) XXX_Merge

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

func (*MsgIcaWithdraw) XXX_Size

func (m *MsgIcaWithdraw) XXX_Size() int

func (*MsgIcaWithdraw) XXX_Unmarshal

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

type MsgIcaWithdrawResponse

type MsgIcaWithdrawResponse struct {
}

func (*MsgIcaWithdrawResponse) Descriptor

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

func (*MsgIcaWithdrawResponse) Marshal

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

func (*MsgIcaWithdrawResponse) MarshalTo

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

func (*MsgIcaWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgIcaWithdrawResponse) ProtoMessage

func (*MsgIcaWithdrawResponse) ProtoMessage()

func (*MsgIcaWithdrawResponse) Reset

func (m *MsgIcaWithdrawResponse) Reset()

func (*MsgIcaWithdrawResponse) Size

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

func (*MsgIcaWithdrawResponse) String

func (m *MsgIcaWithdrawResponse) String() string

func (*MsgIcaWithdrawResponse) Unmarshal

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

func (*MsgIcaWithdrawResponse) XXX_DiscardUnknown

func (m *MsgIcaWithdrawResponse) XXX_DiscardUnknown()

func (*MsgIcaWithdrawResponse) XXX_Marshal

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

func (*MsgIcaWithdrawResponse) XXX_Merge

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

func (*MsgIcaWithdrawResponse) XXX_Size

func (m *MsgIcaWithdrawResponse) XXX_Size() int

func (*MsgIcaWithdrawResponse) XXX_Unmarshal

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

type MsgPendingUndelegate

type MsgPendingUndelegate struct {
	ZoneId     string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Delegator  string     `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Withdrawer string     `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	Amount     types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

MsgUnStaking defines user who want to un-stake his/her asset.

func NewMsgPendingUndelegate

func NewMsgPendingUndelegate(zoneId string, delegator, withdrawAddr sdk.AccAddress, amount sdk.Coin) *MsgPendingUndelegate

func (*MsgPendingUndelegate) Descriptor

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

func (*MsgPendingUndelegate) GetAmount

func (m *MsgPendingUndelegate) GetAmount() types.Coin

func (*MsgPendingUndelegate) GetDelegator

func (m *MsgPendingUndelegate) GetDelegator() string

func (MsgPendingUndelegate) GetSignBytes

func (msg MsgPendingUndelegate) GetSignBytes() []byte

func (MsgPendingUndelegate) GetSigners

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

func (*MsgPendingUndelegate) GetWithdrawer

func (m *MsgPendingUndelegate) GetWithdrawer() string

func (*MsgPendingUndelegate) GetZoneId

func (m *MsgPendingUndelegate) GetZoneId() string

func (*MsgPendingUndelegate) Marshal

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

func (*MsgPendingUndelegate) MarshalTo

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

func (*MsgPendingUndelegate) MarshalToSizedBuffer

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

func (*MsgPendingUndelegate) ProtoMessage

func (*MsgPendingUndelegate) ProtoMessage()

func (*MsgPendingUndelegate) Reset

func (m *MsgPendingUndelegate) Reset()

func (MsgPendingUndelegate) Route

func (msg MsgPendingUndelegate) Route() string

func (*MsgPendingUndelegate) Size

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

func (*MsgPendingUndelegate) String

func (m *MsgPendingUndelegate) String() string

func (MsgPendingUndelegate) Type

func (msg MsgPendingUndelegate) Type() string

func (*MsgPendingUndelegate) Unmarshal

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

func (MsgPendingUndelegate) ValidateBasic

func (msg MsgPendingUndelegate) ValidateBasic() error

func (*MsgPendingUndelegate) XXX_DiscardUnknown

func (m *MsgPendingUndelegate) XXX_DiscardUnknown()

func (*MsgPendingUndelegate) XXX_Marshal

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

func (*MsgPendingUndelegate) XXX_Merge

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

func (*MsgPendingUndelegate) XXX_Size

func (m *MsgPendingUndelegate) XXX_Size() int

func (*MsgPendingUndelegate) XXX_Unmarshal

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

type MsgPendingUndelegateResponse

type MsgPendingUndelegateResponse struct {
	ZoneId          string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Delegator       string     `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Withdrawer      string     `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	BurnAsset       types.Coin `protobuf:"bytes,4,opt,name=burn_asset,json=burnAsset,proto3" json:"burn_asset"`
	UndelegateAsset types.Coin `protobuf:"bytes,5,opt,name=undelegate_asset,json=undelegateAsset,proto3" json:"undelegate_asset"`
}

func (*MsgPendingUndelegateResponse) Descriptor

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

func (*MsgPendingUndelegateResponse) GetBurnAsset

func (m *MsgPendingUndelegateResponse) GetBurnAsset() types.Coin

func (*MsgPendingUndelegateResponse) GetDelegator

func (m *MsgPendingUndelegateResponse) GetDelegator() string

func (*MsgPendingUndelegateResponse) GetUndelegateAsset

func (m *MsgPendingUndelegateResponse) GetUndelegateAsset() types.Coin

func (*MsgPendingUndelegateResponse) GetWithdrawer

func (m *MsgPendingUndelegateResponse) GetWithdrawer() string

func (*MsgPendingUndelegateResponse) GetZoneId

func (m *MsgPendingUndelegateResponse) GetZoneId() string

func (*MsgPendingUndelegateResponse) Marshal

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

func (*MsgPendingUndelegateResponse) MarshalTo

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

func (*MsgPendingUndelegateResponse) MarshalToSizedBuffer

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

func (*MsgPendingUndelegateResponse) ProtoMessage

func (*MsgPendingUndelegateResponse) ProtoMessage()

func (*MsgPendingUndelegateResponse) Reset

func (m *MsgPendingUndelegateResponse) Reset()

func (*MsgPendingUndelegateResponse) Size

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

func (*MsgPendingUndelegateResponse) String

func (*MsgPendingUndelegateResponse) Unmarshal

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

func (*MsgPendingUndelegateResponse) XXX_DiscardUnknown

func (m *MsgPendingUndelegateResponse) XXX_DiscardUnknown()

func (*MsgPendingUndelegateResponse) XXX_Marshal

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

func (*MsgPendingUndelegateResponse) XXX_Merge

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

func (*MsgPendingUndelegateResponse) XXX_Size

func (m *MsgPendingUndelegateResponse) XXX_Size() int

func (*MsgPendingUndelegateResponse) XXX_Unmarshal

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

type MsgUndelegate

type MsgUndelegate struct {
	ZoneId            string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	ControllerAddress string `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Version           uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
}

func NewMsgUndelegate

func NewMsgUndelegate(zoneId string, version uint64, controllerAddr sdk.AccAddress) *MsgUndelegate

func (*MsgUndelegate) Descriptor

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

func (*MsgUndelegate) GetControllerAddress

func (m *MsgUndelegate) GetControllerAddress() string

func (MsgUndelegate) GetSignBytes

func (msg MsgUndelegate) GetSignBytes() []byte

func (MsgUndelegate) GetSigners

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

func (*MsgUndelegate) GetVersion added in v0.6.1

func (m *MsgUndelegate) GetVersion() uint64

func (*MsgUndelegate) GetZoneId

func (m *MsgUndelegate) GetZoneId() string

func (*MsgUndelegate) Marshal

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

func (*MsgUndelegate) MarshalTo

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

func (*MsgUndelegate) MarshalToSizedBuffer

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

func (*MsgUndelegate) ProtoMessage

func (*MsgUndelegate) ProtoMessage()

func (*MsgUndelegate) Reset

func (m *MsgUndelegate) Reset()

func (MsgUndelegate) Route

func (msg MsgUndelegate) Route() string

func (*MsgUndelegate) Size

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

func (*MsgUndelegate) String

func (m *MsgUndelegate) String() string

func (MsgUndelegate) Type

func (msg MsgUndelegate) Type() string

func (*MsgUndelegate) Unmarshal

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

func (MsgUndelegate) ValidateBasic

func (msg MsgUndelegate) ValidateBasic() error

func (*MsgUndelegate) XXX_DiscardUnknown

func (m *MsgUndelegate) XXX_DiscardUnknown()

func (*MsgUndelegate) XXX_Marshal

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

func (*MsgUndelegate) XXX_Merge

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

func (*MsgUndelegate) XXX_Size

func (m *MsgUndelegate) XXX_Size() int

func (*MsgUndelegate) XXX_Unmarshal

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

type MsgUndelegateResponse

type MsgUndelegateResponse struct {
	ZoneId               string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	TotalBurnAsset       types.Coin `protobuf:"bytes,2,opt,name=total_burn_asset,json=totalBurnAsset,proto3" json:"total_burn_asset"`
	TotalUndelegateAsset types.Coin `protobuf:"bytes,3,opt,name=total_undelegate_asset,json=totalUndelegateAsset,proto3" json:"total_undelegate_asset"`
}

func (*MsgUndelegateResponse) Descriptor

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

func (*MsgUndelegateResponse) GetTotalBurnAsset

func (m *MsgUndelegateResponse) GetTotalBurnAsset() types.Coin

func (*MsgUndelegateResponse) GetTotalUndelegateAsset

func (m *MsgUndelegateResponse) GetTotalUndelegateAsset() types.Coin

func (*MsgUndelegateResponse) GetZoneId

func (m *MsgUndelegateResponse) GetZoneId() string

func (*MsgUndelegateResponse) Marshal

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

func (*MsgUndelegateResponse) MarshalTo

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

func (*MsgUndelegateResponse) MarshalToSizedBuffer

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

func (*MsgUndelegateResponse) ProtoMessage

func (*MsgUndelegateResponse) ProtoMessage()

func (*MsgUndelegateResponse) Reset

func (m *MsgUndelegateResponse) Reset()

func (*MsgUndelegateResponse) Size

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

func (*MsgUndelegateResponse) String

func (m *MsgUndelegateResponse) String() string

func (*MsgUndelegateResponse) Unmarshal

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

func (*MsgUndelegateResponse) XXX_DiscardUnknown

func (m *MsgUndelegateResponse) XXX_DiscardUnknown()

func (*MsgUndelegateResponse) XXX_Marshal

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

func (*MsgUndelegateResponse) XXX_Merge

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

func (*MsgUndelegateResponse) XXX_Size

func (m *MsgUndelegateResponse) XXX_Size() int

func (*MsgUndelegateResponse) XXX_Unmarshal

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

type MsgWithdraw

type MsgWithdraw struct {
	ZoneId     string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Withdrawer string `protobuf:"bytes,2,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
}

MsgWithdraw defines user who withdraw and amount of coins.

func NewMsgWithdraw

func NewMsgWithdraw(zoneId string, withdrawer sdk.AccAddress) *MsgWithdraw

func (*MsgWithdraw) Descriptor

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

func (MsgWithdraw) GetSignBytes

func (msg MsgWithdraw) GetSignBytes() []byte

func (MsgWithdraw) GetSigners

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

func (*MsgWithdraw) GetWithdrawer

func (m *MsgWithdraw) GetWithdrawer() string

func (*MsgWithdraw) GetZoneId

func (m *MsgWithdraw) GetZoneId() string

func (*MsgWithdraw) Marshal

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

func (*MsgWithdraw) MarshalTo

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

func (*MsgWithdraw) MarshalToSizedBuffer

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

func (*MsgWithdraw) ProtoMessage

func (*MsgWithdraw) ProtoMessage()

func (*MsgWithdraw) Reset

func (m *MsgWithdraw) Reset()

func (MsgWithdraw) Route

func (msg MsgWithdraw) Route() string

func (*MsgWithdraw) Size

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

func (*MsgWithdraw) String

func (m *MsgWithdraw) String() string

func (MsgWithdraw) Type

func (msg MsgWithdraw) Type() string

func (*MsgWithdraw) Unmarshal

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

func (MsgWithdraw) ValidateBasic

func (msg MsgWithdraw) ValidateBasic() error

func (*MsgWithdraw) XXX_DiscardUnknown

func (m *MsgWithdraw) XXX_DiscardUnknown()

func (*MsgWithdraw) XXX_Marshal

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

func (*MsgWithdraw) XXX_Merge

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

func (*MsgWithdraw) XXX_Size

func (m *MsgWithdraw) XXX_Size() int

func (*MsgWithdraw) XXX_Unmarshal

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

type MsgWithdrawResponse

type MsgWithdrawResponse struct {
	Withdrawer     string                                 `protobuf:"bytes,1,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	WithdrawAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */
}

func (*MsgWithdrawResponse) Descriptor

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

func (*MsgWithdrawResponse) GetWithdrawer

func (m *MsgWithdrawResponse) GetWithdrawer() string

func (*MsgWithdrawResponse) Marshal

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

func (*MsgWithdrawResponse) MarshalTo

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

func (*MsgWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawResponse) ProtoMessage

func (*MsgWithdrawResponse) ProtoMessage()

func (*MsgWithdrawResponse) Reset

func (m *MsgWithdrawResponse) Reset()

func (*MsgWithdrawResponse) Size

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

func (*MsgWithdrawResponse) String

func (m *MsgWithdrawResponse) String() string

func (*MsgWithdrawResponse) Unmarshal

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

func (*MsgWithdrawResponse) XXX_DiscardUnknown

func (m *MsgWithdrawResponse) XXX_DiscardUnknown()

func (*MsgWithdrawResponse) XXX_Marshal

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

func (*MsgWithdrawResponse) XXX_Merge

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

func (*MsgWithdrawResponse) XXX_Size

func (m *MsgWithdrawResponse) XXX_Size() int

func (*MsgWithdrawResponse) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the gal module.

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams() Params

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (p *Params) String() string

func (*Params) Unmarshal

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

func (*Params) Validate

func (p *Params) Validate() error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryActiveWithdrawalsRequest

type QueryActiveWithdrawalsRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

QueryActiveWithdrawalsRequest is the request type for the Query/ActiveWithdrawals RPC method.

func (*QueryActiveWithdrawalsRequest) Descriptor

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

func (*QueryActiveWithdrawalsRequest) GetAddress

func (m *QueryActiveWithdrawalsRequest) GetAddress() string

func (*QueryActiveWithdrawalsRequest) GetZoneId

func (m *QueryActiveWithdrawalsRequest) GetZoneId() string

func (*QueryActiveWithdrawalsRequest) Marshal

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

func (*QueryActiveWithdrawalsRequest) MarshalTo

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

func (*QueryActiveWithdrawalsRequest) MarshalToSizedBuffer

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

func (*QueryActiveWithdrawalsRequest) ProtoMessage

func (*QueryActiveWithdrawalsRequest) ProtoMessage()

func (*QueryActiveWithdrawalsRequest) Reset

func (m *QueryActiveWithdrawalsRequest) Reset()

func (*QueryActiveWithdrawalsRequest) Size

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

func (*QueryActiveWithdrawalsRequest) String

func (*QueryActiveWithdrawalsRequest) Unmarshal

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

func (*QueryActiveWithdrawalsRequest) XXX_DiscardUnknown

func (m *QueryActiveWithdrawalsRequest) XXX_DiscardUnknown()

func (*QueryActiveWithdrawalsRequest) XXX_Marshal

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

func (*QueryActiveWithdrawalsRequest) XXX_Merge

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

func (*QueryActiveWithdrawalsRequest) XXX_Size

func (m *QueryActiveWithdrawalsRequest) XXX_Size() int

func (*QueryActiveWithdrawalsRequest) XXX_Unmarshal

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

type QueryActiveWithdrawalsResponse

type QueryActiveWithdrawalsResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

QueryActiveWithdrawalsResponse is the response type for the Query/ActiveWithdrawals RPC method.

func (*QueryActiveWithdrawalsResponse) Descriptor

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

func (*QueryActiveWithdrawalsResponse) GetAmount

func (m *QueryActiveWithdrawalsResponse) GetAmount() types.Coin

func (*QueryActiveWithdrawalsResponse) Marshal

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

func (*QueryActiveWithdrawalsResponse) MarshalTo

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

func (*QueryActiveWithdrawalsResponse) MarshalToSizedBuffer

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

func (*QueryActiveWithdrawalsResponse) ProtoMessage

func (*QueryActiveWithdrawalsResponse) ProtoMessage()

func (*QueryActiveWithdrawalsResponse) Reset

func (m *QueryActiveWithdrawalsResponse) Reset()

func (*QueryActiveWithdrawalsResponse) Size

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

func (*QueryActiveWithdrawalsResponse) String

func (*QueryActiveWithdrawalsResponse) Unmarshal

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

func (*QueryActiveWithdrawalsResponse) XXX_DiscardUnknown

func (m *QueryActiveWithdrawalsResponse) XXX_DiscardUnknown()

func (*QueryActiveWithdrawalsResponse) XXX_Marshal

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

func (*QueryActiveWithdrawalsResponse) XXX_Merge

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

func (*QueryActiveWithdrawalsResponse) XXX_Size

func (m *QueryActiveWithdrawalsResponse) XXX_Size() int

func (*QueryActiveWithdrawalsResponse) XXX_Unmarshal

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

type QueryClaimableAmountRequest

type QueryClaimableAmountRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

QueryClaimableAmountRequest is the request type for the Query/ClaimableAmount RPC method.

func (*QueryClaimableAmountRequest) Descriptor

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

func (*QueryClaimableAmountRequest) GetAddress

func (m *QueryClaimableAmountRequest) GetAddress() string

func (*QueryClaimableAmountRequest) GetZoneId

func (m *QueryClaimableAmountRequest) GetZoneId() string

func (*QueryClaimableAmountRequest) Marshal

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

func (*QueryClaimableAmountRequest) MarshalTo

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

func (*QueryClaimableAmountRequest) MarshalToSizedBuffer

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

func (*QueryClaimableAmountRequest) ProtoMessage

func (*QueryClaimableAmountRequest) ProtoMessage()

func (*QueryClaimableAmountRequest) Reset

func (m *QueryClaimableAmountRequest) Reset()

func (*QueryClaimableAmountRequest) Size

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

func (*QueryClaimableAmountRequest) String

func (m *QueryClaimableAmountRequest) String() string

func (*QueryClaimableAmountRequest) Unmarshal

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

func (*QueryClaimableAmountRequest) XXX_DiscardUnknown

func (m *QueryClaimableAmountRequest) XXX_DiscardUnknown()

func (*QueryClaimableAmountRequest) XXX_Marshal

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

func (*QueryClaimableAmountRequest) XXX_Merge

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

func (*QueryClaimableAmountRequest) XXX_Size

func (m *QueryClaimableAmountRequest) XXX_Size() int

func (*QueryClaimableAmountRequest) XXX_Unmarshal

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

type QueryClaimableAmountResponse

type QueryClaimableAmountResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

QueryClaimableAmountResponse is the response type for the Query/ClaimableAmount RPC method.

func (*QueryClaimableAmountResponse) Descriptor

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

func (*QueryClaimableAmountResponse) GetAmount

func (m *QueryClaimableAmountResponse) GetAmount() types.Coin

func (*QueryClaimableAmountResponse) Marshal

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

func (*QueryClaimableAmountResponse) MarshalTo

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

func (*QueryClaimableAmountResponse) MarshalToSizedBuffer

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

func (*QueryClaimableAmountResponse) ProtoMessage

func (*QueryClaimableAmountResponse) ProtoMessage()

func (*QueryClaimableAmountResponse) Reset

func (m *QueryClaimableAmountResponse) Reset()

func (*QueryClaimableAmountResponse) Size

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

func (*QueryClaimableAmountResponse) String

func (*QueryClaimableAmountResponse) Unmarshal

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

func (*QueryClaimableAmountResponse) XXX_DiscardUnknown

func (m *QueryClaimableAmountResponse) XXX_DiscardUnknown()

func (*QueryClaimableAmountResponse) XXX_Marshal

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

func (*QueryClaimableAmountResponse) XXX_Merge

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

func (*QueryClaimableAmountResponse) XXX_Size

func (m *QueryClaimableAmountResponse) XXX_Size() int

func (*QueryClaimableAmountResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	EstimateSnAsset(ctx context.Context, in *QueryEstimateSnAssetRequest, opts ...grpc.CallOption) (*QueryEstimateSnAssetResponse, error)
	ClaimableAmount(ctx context.Context, in *QueryClaimableAmountRequest, opts ...grpc.CallOption) (*QueryClaimableAmountResponse, error)
	DepositAmount(ctx context.Context, in *QueryDepositAmountRequest, opts ...grpc.CallOption) (*QueryDepositAmountResponse, error)
	PendingWithdrawals(ctx context.Context, in *QueryPendingWithdrawalsRequest, opts ...grpc.CallOption) (*QueryPendingWithdrawalsResponse, error)
	ActiveWithdrawals(ctx context.Context, in *QueryActiveWithdrawalsRequest, opts ...grpc.CallOption) (*QueryActiveWithdrawalsResponse, error)
	DepositRecords(ctx context.Context, in *QueryDepositRecordRequest, opts ...grpc.CallOption) (*QueryDepositRecordResponse, error)
	UndelegateRecords(ctx context.Context, in *QueryUndelegateRecordRequest, opts ...grpc.CallOption) (*QueryUndelegateRecordResponse, error)
	WithdrawRecords(ctx context.Context, in *QueryWithdrawRecordRequest, opts ...grpc.CallOption) (*QueryWithdrawRecordResponse, error)
	DelegateVersion(ctx context.Context, in *QueryDelegateVersion, opts ...grpc.CallOption) (*QueryDelegateVersionResponse, error)
	UndelegateVersion(ctx context.Context, in *QueryUndelegateVersion, opts ...grpc.CallOption) (*QueryUndelegateVersionResponse, error)
	WithdrawVersion(ctx context.Context, in *QueryWithdrawVersion, opts ...grpc.CallOption) (*QueryWithdrawVersionResponse, error)
	DelegateCurrentVersion(ctx context.Context, in *QueryCurrentDelegateVersion, opts ...grpc.CallOption) (*QueryCurrentDelegateVersionResponse, error)
	UndelegateCurrentVersion(ctx context.Context, in *QueryCurrentUndelegateVersion, opts ...grpc.CallOption) (*QueryCurrentUndelegateVersionResponse, error)
	WithdrawCurrentVersion(ctx context.Context, in *QueryCurrentWithdrawVersion, opts ...grpc.CallOption) (*QueryCurrentWithdrawVersionResponse, 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 QueryCurrentDelegateVersion added in v0.6.1

type QueryCurrentDelegateVersion struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

func (*QueryCurrentDelegateVersion) Descriptor added in v0.6.1

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

func (*QueryCurrentDelegateVersion) GetZoneId added in v0.6.1

func (m *QueryCurrentDelegateVersion) GetZoneId() string

func (*QueryCurrentDelegateVersion) Marshal added in v0.6.1

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

func (*QueryCurrentDelegateVersion) MarshalTo added in v0.6.1

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

func (*QueryCurrentDelegateVersion) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentDelegateVersion) ProtoMessage added in v0.6.1

func (*QueryCurrentDelegateVersion) ProtoMessage()

func (*QueryCurrentDelegateVersion) Reset added in v0.6.1

func (m *QueryCurrentDelegateVersion) Reset()

func (*QueryCurrentDelegateVersion) Size added in v0.6.1

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

func (*QueryCurrentDelegateVersion) String added in v0.6.1

func (m *QueryCurrentDelegateVersion) String() string

func (*QueryCurrentDelegateVersion) Unmarshal added in v0.6.1

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

func (*QueryCurrentDelegateVersion) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentDelegateVersion) XXX_DiscardUnknown()

func (*QueryCurrentDelegateVersion) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentDelegateVersion) XXX_Merge added in v0.6.1

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

func (*QueryCurrentDelegateVersion) XXX_Size added in v0.6.1

func (m *QueryCurrentDelegateVersion) XXX_Size() int

func (*QueryCurrentDelegateVersion) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentDelegateVersionResponse added in v0.6.1

type QueryCurrentDelegateVersionResponse struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryCurrentDelegateVersionResponse) Descriptor added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) GetVersion added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) Marshal added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) MarshalTo added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) ProtoMessage added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) ProtoMessage()

func (*QueryCurrentDelegateVersionResponse) Reset added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) Size added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) String added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) Unmarshal added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentDelegateVersionResponse) XXX_DiscardUnknown()

func (*QueryCurrentDelegateVersionResponse) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentDelegateVersionResponse) XXX_Merge added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) XXX_Size added in v0.6.1

func (*QueryCurrentDelegateVersionResponse) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentUndelegateVersion added in v0.6.1

type QueryCurrentUndelegateVersion struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

func (*QueryCurrentUndelegateVersion) Descriptor added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) GetZoneId added in v0.6.1

func (m *QueryCurrentUndelegateVersion) GetZoneId() string

func (*QueryCurrentUndelegateVersion) Marshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) MarshalTo added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) ProtoMessage added in v0.6.1

func (*QueryCurrentUndelegateVersion) ProtoMessage()

func (*QueryCurrentUndelegateVersion) Reset added in v0.6.1

func (m *QueryCurrentUndelegateVersion) Reset()

func (*QueryCurrentUndelegateVersion) Size added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) String added in v0.6.1

func (*QueryCurrentUndelegateVersion) Unmarshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentUndelegateVersion) XXX_DiscardUnknown()

func (*QueryCurrentUndelegateVersion) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) XXX_Merge added in v0.6.1

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

func (*QueryCurrentUndelegateVersion) XXX_Size added in v0.6.1

func (m *QueryCurrentUndelegateVersion) XXX_Size() int

func (*QueryCurrentUndelegateVersion) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentUndelegateVersionResponse added in v0.6.1

type QueryCurrentUndelegateVersionResponse struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryCurrentUndelegateVersionResponse) Descriptor added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) GetVersion added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) Marshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) MarshalTo added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) ProtoMessage added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) ProtoMessage()

func (*QueryCurrentUndelegateVersionResponse) Reset added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) Size added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) String added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) Unmarshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentUndelegateVersionResponse) XXX_DiscardUnknown()

func (*QueryCurrentUndelegateVersionResponse) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentUndelegateVersionResponse) XXX_Merge added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) XXX_Size added in v0.6.1

func (*QueryCurrentUndelegateVersionResponse) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentWithdrawVersion added in v0.6.1

type QueryCurrentWithdrawVersion struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

func (*QueryCurrentWithdrawVersion) Descriptor added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) GetZoneId added in v0.6.1

func (m *QueryCurrentWithdrawVersion) GetZoneId() string

func (*QueryCurrentWithdrawVersion) Marshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) MarshalTo added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) ProtoMessage added in v0.6.1

func (*QueryCurrentWithdrawVersion) ProtoMessage()

func (*QueryCurrentWithdrawVersion) Reset added in v0.6.1

func (m *QueryCurrentWithdrawVersion) Reset()

func (*QueryCurrentWithdrawVersion) Size added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) String added in v0.6.1

func (m *QueryCurrentWithdrawVersion) String() string

func (*QueryCurrentWithdrawVersion) Unmarshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentWithdrawVersion) XXX_DiscardUnknown()

func (*QueryCurrentWithdrawVersion) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) XXX_Merge added in v0.6.1

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

func (*QueryCurrentWithdrawVersion) XXX_Size added in v0.6.1

func (m *QueryCurrentWithdrawVersion) XXX_Size() int

func (*QueryCurrentWithdrawVersion) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentWithdrawVersionResponse added in v0.6.1

type QueryCurrentWithdrawVersionResponse struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryCurrentWithdrawVersionResponse) Descriptor added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) GetVersion added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) Marshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) MarshalTo added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) MarshalToSizedBuffer added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) ProtoMessage added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) ProtoMessage()

func (*QueryCurrentWithdrawVersionResponse) Reset added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) Size added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) String added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) Unmarshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentWithdrawVersionResponse) XXX_DiscardUnknown()

func (*QueryCurrentWithdrawVersionResponse) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentWithdrawVersionResponse) XXX_Merge added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) XXX_Size added in v0.6.1

func (*QueryCurrentWithdrawVersionResponse) XXX_Unmarshal added in v0.6.1

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

type QueryDelegateVersion

type QueryDelegateVersion struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryDelegateVersion) Descriptor

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

func (*QueryDelegateVersion) GetVersion added in v0.6.1

func (m *QueryDelegateVersion) GetVersion() uint64

func (*QueryDelegateVersion) GetZoneId

func (m *QueryDelegateVersion) GetZoneId() string

func (*QueryDelegateVersion) Marshal

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

func (*QueryDelegateVersion) MarshalTo

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

func (*QueryDelegateVersion) MarshalToSizedBuffer

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

func (*QueryDelegateVersion) ProtoMessage

func (*QueryDelegateVersion) ProtoMessage()

func (*QueryDelegateVersion) Reset

func (m *QueryDelegateVersion) Reset()

func (*QueryDelegateVersion) Size

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

func (*QueryDelegateVersion) String

func (m *QueryDelegateVersion) String() string

func (*QueryDelegateVersion) Unmarshal

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

func (*QueryDelegateVersion) XXX_DiscardUnknown

func (m *QueryDelegateVersion) XXX_DiscardUnknown()

func (*QueryDelegateVersion) XXX_Marshal

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

func (*QueryDelegateVersion) XXX_Merge

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

func (*QueryDelegateVersion) XXX_Size

func (m *QueryDelegateVersion) XXX_Size() int

func (*QueryDelegateVersion) XXX_Unmarshal

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

type QueryDelegateVersionResponse

type QueryDelegateVersionResponse struct {
	VersionInfo *IBCTrace `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
}

func (*QueryDelegateVersionResponse) Descriptor

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

func (*QueryDelegateVersionResponse) GetVersionInfo added in v0.6.1

func (m *QueryDelegateVersionResponse) GetVersionInfo() *IBCTrace

func (*QueryDelegateVersionResponse) Marshal

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

func (*QueryDelegateVersionResponse) MarshalTo

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

func (*QueryDelegateVersionResponse) MarshalToSizedBuffer

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

func (*QueryDelegateVersionResponse) ProtoMessage

func (*QueryDelegateVersionResponse) ProtoMessage()

func (*QueryDelegateVersionResponse) Reset

func (m *QueryDelegateVersionResponse) Reset()

func (*QueryDelegateVersionResponse) Size

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

func (*QueryDelegateVersionResponse) String

func (*QueryDelegateVersionResponse) Unmarshal

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

func (*QueryDelegateVersionResponse) XXX_DiscardUnknown

func (m *QueryDelegateVersionResponse) XXX_DiscardUnknown()

func (*QueryDelegateVersionResponse) XXX_Marshal

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

func (*QueryDelegateVersionResponse) XXX_Merge

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

func (*QueryDelegateVersionResponse) XXX_Size

func (m *QueryDelegateVersionResponse) XXX_Size() int

func (*QueryDelegateVersionResponse) XXX_Unmarshal

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

type QueryDepositAmountRequest

type QueryDepositAmountRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

QueryDepositAmountRequest is the request type for the Query/DepositAmount RPC method.

func (*QueryDepositAmountRequest) Descriptor

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

func (*QueryDepositAmountRequest) GetAddress

func (m *QueryDepositAmountRequest) GetAddress() string

func (*QueryDepositAmountRequest) GetZoneId

func (m *QueryDepositAmountRequest) GetZoneId() string

func (*QueryDepositAmountRequest) Marshal

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

func (*QueryDepositAmountRequest) MarshalTo

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

func (*QueryDepositAmountRequest) MarshalToSizedBuffer

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

func (*QueryDepositAmountRequest) ProtoMessage

func (*QueryDepositAmountRequest) ProtoMessage()

func (*QueryDepositAmountRequest) Reset

func (m *QueryDepositAmountRequest) Reset()

func (*QueryDepositAmountRequest) Size

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

func (*QueryDepositAmountRequest) String

func (m *QueryDepositAmountRequest) String() string

func (*QueryDepositAmountRequest) Unmarshal

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

func (*QueryDepositAmountRequest) XXX_DiscardUnknown

func (m *QueryDepositAmountRequest) XXX_DiscardUnknown()

func (*QueryDepositAmountRequest) XXX_Marshal

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

func (*QueryDepositAmountRequest) XXX_Merge

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

func (*QueryDepositAmountRequest) XXX_Size

func (m *QueryDepositAmountRequest) XXX_Size() int

func (*QueryDepositAmountRequest) XXX_Unmarshal

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

type QueryDepositAmountResponse

type QueryDepositAmountResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

QueryDepositAmountResponse is the response type for the Query/DepositAmount RPC method.

func (*QueryDepositAmountResponse) Descriptor

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

func (*QueryDepositAmountResponse) GetAmount

func (m *QueryDepositAmountResponse) GetAmount() types.Coin

func (*QueryDepositAmountResponse) Marshal

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

func (*QueryDepositAmountResponse) MarshalTo

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

func (*QueryDepositAmountResponse) MarshalToSizedBuffer

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

func (*QueryDepositAmountResponse) ProtoMessage

func (*QueryDepositAmountResponse) ProtoMessage()

func (*QueryDepositAmountResponse) Reset

func (m *QueryDepositAmountResponse) Reset()

func (*QueryDepositAmountResponse) Size

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

func (*QueryDepositAmountResponse) String

func (m *QueryDepositAmountResponse) String() string

func (*QueryDepositAmountResponse) Unmarshal

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

func (*QueryDepositAmountResponse) XXX_DiscardUnknown

func (m *QueryDepositAmountResponse) XXX_DiscardUnknown()

func (*QueryDepositAmountResponse) XXX_Marshal

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

func (*QueryDepositAmountResponse) XXX_Merge

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

func (*QueryDepositAmountResponse) XXX_Size

func (m *QueryDepositAmountResponse) XXX_Size() int

func (*QueryDepositAmountResponse) XXX_Unmarshal

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

type QueryDepositRecordRequest

type QueryDepositRecordRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryDepositRecordRequest) Descriptor

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

func (*QueryDepositRecordRequest) GetAddress

func (m *QueryDepositRecordRequest) GetAddress() string

func (*QueryDepositRecordRequest) GetZoneId

func (m *QueryDepositRecordRequest) GetZoneId() string

func (*QueryDepositRecordRequest) Marshal

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

func (*QueryDepositRecordRequest) MarshalTo

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

func (*QueryDepositRecordRequest) MarshalToSizedBuffer

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

func (*QueryDepositRecordRequest) ProtoMessage

func (*QueryDepositRecordRequest) ProtoMessage()

func (*QueryDepositRecordRequest) Reset

func (m *QueryDepositRecordRequest) Reset()

func (*QueryDepositRecordRequest) Size

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

func (*QueryDepositRecordRequest) String

func (m *QueryDepositRecordRequest) String() string

func (*QueryDepositRecordRequest) Unmarshal

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

func (*QueryDepositRecordRequest) XXX_DiscardUnknown

func (m *QueryDepositRecordRequest) XXX_DiscardUnknown()

func (*QueryDepositRecordRequest) XXX_Marshal

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

func (*QueryDepositRecordRequest) XXX_Merge

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

func (*QueryDepositRecordRequest) XXX_Size

func (m *QueryDepositRecordRequest) XXX_Size() int

func (*QueryDepositRecordRequest) XXX_Unmarshal

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

type QueryDepositRecordResponse

type QueryDepositRecordResponse struct {
	DepositRecord *DepositRecord `protobuf:"bytes,1,opt,name=deposit_record,json=depositRecord,proto3" json:"deposit_record,omitempty"`
}

func (*QueryDepositRecordResponse) Descriptor

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

func (*QueryDepositRecordResponse) GetDepositRecord

func (m *QueryDepositRecordResponse) GetDepositRecord() *DepositRecord

func (*QueryDepositRecordResponse) Marshal

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

func (*QueryDepositRecordResponse) MarshalTo

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

func (*QueryDepositRecordResponse) MarshalToSizedBuffer

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

func (*QueryDepositRecordResponse) ProtoMessage

func (*QueryDepositRecordResponse) ProtoMessage()

func (*QueryDepositRecordResponse) Reset

func (m *QueryDepositRecordResponse) Reset()

func (*QueryDepositRecordResponse) Size

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

func (*QueryDepositRecordResponse) String

func (m *QueryDepositRecordResponse) String() string

func (*QueryDepositRecordResponse) Unmarshal

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

func (*QueryDepositRecordResponse) XXX_DiscardUnknown

func (m *QueryDepositRecordResponse) XXX_DiscardUnknown()

func (*QueryDepositRecordResponse) XXX_Marshal

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

func (*QueryDepositRecordResponse) XXX_Merge

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

func (*QueryDepositRecordResponse) XXX_Size

func (m *QueryDepositRecordResponse) XXX_Size() int

func (*QueryDepositRecordResponse) XXX_Unmarshal

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

type QueryEstimateSnAssetRequest

type QueryEstimateSnAssetRequest struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom  string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryEstimateSnAssetRequest) Descriptor

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

func (*QueryEstimateSnAssetRequest) GetAmount

func (m *QueryEstimateSnAssetRequest) GetAmount() string

func (*QueryEstimateSnAssetRequest) GetDenom

func (m *QueryEstimateSnAssetRequest) GetDenom() string

func (*QueryEstimateSnAssetRequest) GetZoneId

func (m *QueryEstimateSnAssetRequest) GetZoneId() string

func (*QueryEstimateSnAssetRequest) Marshal

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

func (*QueryEstimateSnAssetRequest) MarshalTo

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

func (*QueryEstimateSnAssetRequest) MarshalToSizedBuffer

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

func (*QueryEstimateSnAssetRequest) ProtoMessage

func (*QueryEstimateSnAssetRequest) ProtoMessage()

func (*QueryEstimateSnAssetRequest) Reset

func (m *QueryEstimateSnAssetRequest) Reset()

func (*QueryEstimateSnAssetRequest) Size

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

func (*QueryEstimateSnAssetRequest) String

func (m *QueryEstimateSnAssetRequest) String() string

func (*QueryEstimateSnAssetRequest) Unmarshal

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

func (*QueryEstimateSnAssetRequest) XXX_DiscardUnknown

func (m *QueryEstimateSnAssetRequest) XXX_DiscardUnknown()

func (*QueryEstimateSnAssetRequest) XXX_Marshal

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

func (*QueryEstimateSnAssetRequest) XXX_Merge

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

func (*QueryEstimateSnAssetRequest) XXX_Size

func (m *QueryEstimateSnAssetRequest) XXX_Size() int

func (*QueryEstimateSnAssetRequest) XXX_Unmarshal

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

type QueryEstimateSnAssetResponse

type QueryEstimateSnAssetResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

func (*QueryEstimateSnAssetResponse) Descriptor

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

func (*QueryEstimateSnAssetResponse) GetAmount

func (m *QueryEstimateSnAssetResponse) GetAmount() types.Coin

func (*QueryEstimateSnAssetResponse) Marshal

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

func (*QueryEstimateSnAssetResponse) MarshalTo

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

func (*QueryEstimateSnAssetResponse) MarshalToSizedBuffer

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

func (*QueryEstimateSnAssetResponse) ProtoMessage

func (*QueryEstimateSnAssetResponse) ProtoMessage()

func (*QueryEstimateSnAssetResponse) Reset

func (m *QueryEstimateSnAssetResponse) Reset()

func (*QueryEstimateSnAssetResponse) Size

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

func (*QueryEstimateSnAssetResponse) String

func (*QueryEstimateSnAssetResponse) Unmarshal

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

func (*QueryEstimateSnAssetResponse) XXX_DiscardUnknown

func (m *QueryEstimateSnAssetResponse) XXX_DiscardUnknown()

func (*QueryEstimateSnAssetResponse) XXX_Marshal

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

func (*QueryEstimateSnAssetResponse) XXX_Merge

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

func (*QueryEstimateSnAssetResponse) XXX_Size

func (m *QueryEstimateSnAssetResponse) XXX_Size() int

func (*QueryEstimateSnAssetResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryPendingWithdrawalsRequest

type QueryPendingWithdrawalsRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

QueryPendingWithdrawalsRequest is the request type for the Query/PendingWithdrawals RPC method.

func (*QueryPendingWithdrawalsRequest) Descriptor

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

func (*QueryPendingWithdrawalsRequest) GetAddress

func (m *QueryPendingWithdrawalsRequest) GetAddress() string

func (*QueryPendingWithdrawalsRequest) GetZoneId

func (m *QueryPendingWithdrawalsRequest) GetZoneId() string

func (*QueryPendingWithdrawalsRequest) Marshal

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

func (*QueryPendingWithdrawalsRequest) MarshalTo

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

func (*QueryPendingWithdrawalsRequest) MarshalToSizedBuffer

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

func (*QueryPendingWithdrawalsRequest) ProtoMessage

func (*QueryPendingWithdrawalsRequest) ProtoMessage()

func (*QueryPendingWithdrawalsRequest) Reset

func (m *QueryPendingWithdrawalsRequest) Reset()

func (*QueryPendingWithdrawalsRequest) Size

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

func (*QueryPendingWithdrawalsRequest) String

func (*QueryPendingWithdrawalsRequest) Unmarshal

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

func (*QueryPendingWithdrawalsRequest) XXX_DiscardUnknown

func (m *QueryPendingWithdrawalsRequest) XXX_DiscardUnknown()

func (*QueryPendingWithdrawalsRequest) XXX_Marshal

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

func (*QueryPendingWithdrawalsRequest) XXX_Merge

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

func (*QueryPendingWithdrawalsRequest) XXX_Size

func (m *QueryPendingWithdrawalsRequest) XXX_Size() int

func (*QueryPendingWithdrawalsRequest) XXX_Unmarshal

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

type QueryPendingWithdrawalsResponse

type QueryPendingWithdrawalsResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

QueryPendingWithdrawalsResponse is the response type for the Query/PendingWithdrawals RPC method.

func (*QueryPendingWithdrawalsResponse) Descriptor

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

func (*QueryPendingWithdrawalsResponse) GetAmount

func (*QueryPendingWithdrawalsResponse) Marshal

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

func (*QueryPendingWithdrawalsResponse) MarshalTo

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

func (*QueryPendingWithdrawalsResponse) MarshalToSizedBuffer

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

func (*QueryPendingWithdrawalsResponse) ProtoMessage

func (*QueryPendingWithdrawalsResponse) ProtoMessage()

func (*QueryPendingWithdrawalsResponse) Reset

func (*QueryPendingWithdrawalsResponse) Size

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

func (*QueryPendingWithdrawalsResponse) String

func (*QueryPendingWithdrawalsResponse) Unmarshal

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

func (*QueryPendingWithdrawalsResponse) XXX_DiscardUnknown

func (m *QueryPendingWithdrawalsResponse) XXX_DiscardUnknown()

func (*QueryPendingWithdrawalsResponse) XXX_Marshal

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

func (*QueryPendingWithdrawalsResponse) XXX_Merge

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

func (*QueryPendingWithdrawalsResponse) XXX_Size

func (m *QueryPendingWithdrawalsResponse) XXX_Size() int

func (*QueryPendingWithdrawalsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	EstimateSnAsset(context.Context, *QueryEstimateSnAssetRequest) (*QueryEstimateSnAssetResponse, error)
	ClaimableAmount(context.Context, *QueryClaimableAmountRequest) (*QueryClaimableAmountResponse, error)
	DepositAmount(context.Context, *QueryDepositAmountRequest) (*QueryDepositAmountResponse, error)
	PendingWithdrawals(context.Context, *QueryPendingWithdrawalsRequest) (*QueryPendingWithdrawalsResponse, error)
	ActiveWithdrawals(context.Context, *QueryActiveWithdrawalsRequest) (*QueryActiveWithdrawalsResponse, error)
	DepositRecords(context.Context, *QueryDepositRecordRequest) (*QueryDepositRecordResponse, error)
	UndelegateRecords(context.Context, *QueryUndelegateRecordRequest) (*QueryUndelegateRecordResponse, error)
	WithdrawRecords(context.Context, *QueryWithdrawRecordRequest) (*QueryWithdrawRecordResponse, error)
	DelegateVersion(context.Context, *QueryDelegateVersion) (*QueryDelegateVersionResponse, error)
	UndelegateVersion(context.Context, *QueryUndelegateVersion) (*QueryUndelegateVersionResponse, error)
	WithdrawVersion(context.Context, *QueryWithdrawVersion) (*QueryWithdrawVersionResponse, error)
	DelegateCurrentVersion(context.Context, *QueryCurrentDelegateVersion) (*QueryCurrentDelegateVersionResponse, error)
	UndelegateCurrentVersion(context.Context, *QueryCurrentUndelegateVersion) (*QueryCurrentUndelegateVersionResponse, error)
	WithdrawCurrentVersion(context.Context, *QueryCurrentWithdrawVersion) (*QueryCurrentWithdrawVersionResponse, error)
}

QueryServer is the server API for Query service.

type QueryUndelegateRecordRequest

type QueryUndelegateRecordRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryUndelegateRecordRequest) Descriptor

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

func (*QueryUndelegateRecordRequest) GetAddress

func (m *QueryUndelegateRecordRequest) GetAddress() string

func (*QueryUndelegateRecordRequest) GetZoneId

func (m *QueryUndelegateRecordRequest) GetZoneId() string

func (*QueryUndelegateRecordRequest) Marshal

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

func (*QueryUndelegateRecordRequest) MarshalTo

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

func (*QueryUndelegateRecordRequest) MarshalToSizedBuffer

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

func (*QueryUndelegateRecordRequest) ProtoMessage

func (*QueryUndelegateRecordRequest) ProtoMessage()

func (*QueryUndelegateRecordRequest) Reset

func (m *QueryUndelegateRecordRequest) Reset()

func (*QueryUndelegateRecordRequest) Size

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

func (*QueryUndelegateRecordRequest) String

func (*QueryUndelegateRecordRequest) Unmarshal

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

func (*QueryUndelegateRecordRequest) XXX_DiscardUnknown

func (m *QueryUndelegateRecordRequest) XXX_DiscardUnknown()

func (*QueryUndelegateRecordRequest) XXX_Marshal

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

func (*QueryUndelegateRecordRequest) XXX_Merge

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

func (*QueryUndelegateRecordRequest) XXX_Size

func (m *QueryUndelegateRecordRequest) XXX_Size() int

func (*QueryUndelegateRecordRequest) XXX_Unmarshal

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

type QueryUndelegateRecordResponse

type QueryUndelegateRecordResponse struct {
	UndelegateRecord *UndelegateRecord `protobuf:"bytes,1,opt,name=undelegate_record,json=undelegateRecord,proto3" json:"undelegate_record,omitempty"`
}

func (*QueryUndelegateRecordResponse) Descriptor

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

func (*QueryUndelegateRecordResponse) GetUndelegateRecord

func (m *QueryUndelegateRecordResponse) GetUndelegateRecord() *UndelegateRecord

func (*QueryUndelegateRecordResponse) Marshal

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

func (*QueryUndelegateRecordResponse) MarshalTo

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

func (*QueryUndelegateRecordResponse) MarshalToSizedBuffer

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

func (*QueryUndelegateRecordResponse) ProtoMessage

func (*QueryUndelegateRecordResponse) ProtoMessage()

func (*QueryUndelegateRecordResponse) Reset

func (m *QueryUndelegateRecordResponse) Reset()

func (*QueryUndelegateRecordResponse) Size

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

func (*QueryUndelegateRecordResponse) String

func (*QueryUndelegateRecordResponse) Unmarshal

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

func (*QueryUndelegateRecordResponse) XXX_DiscardUnknown

func (m *QueryUndelegateRecordResponse) XXX_DiscardUnknown()

func (*QueryUndelegateRecordResponse) XXX_Marshal

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

func (*QueryUndelegateRecordResponse) XXX_Merge

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

func (*QueryUndelegateRecordResponse) XXX_Size

func (m *QueryUndelegateRecordResponse) XXX_Size() int

func (*QueryUndelegateRecordResponse) XXX_Unmarshal

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

type QueryUndelegateVersion

type QueryUndelegateVersion struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryUndelegateVersion) Descriptor

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

func (*QueryUndelegateVersion) GetVersion added in v0.6.1

func (m *QueryUndelegateVersion) GetVersion() uint64

func (*QueryUndelegateVersion) GetZoneId

func (m *QueryUndelegateVersion) GetZoneId() string

func (*QueryUndelegateVersion) Marshal

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

func (*QueryUndelegateVersion) MarshalTo

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

func (*QueryUndelegateVersion) MarshalToSizedBuffer

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

func (*QueryUndelegateVersion) ProtoMessage

func (*QueryUndelegateVersion) ProtoMessage()

func (*QueryUndelegateVersion) Reset

func (m *QueryUndelegateVersion) Reset()

func (*QueryUndelegateVersion) Size

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

func (*QueryUndelegateVersion) String

func (m *QueryUndelegateVersion) String() string

func (*QueryUndelegateVersion) Unmarshal

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

func (*QueryUndelegateVersion) XXX_DiscardUnknown

func (m *QueryUndelegateVersion) XXX_DiscardUnknown()

func (*QueryUndelegateVersion) XXX_Marshal

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

func (*QueryUndelegateVersion) XXX_Merge

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

func (*QueryUndelegateVersion) XXX_Size

func (m *QueryUndelegateVersion) XXX_Size() int

func (*QueryUndelegateVersion) XXX_Unmarshal

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

type QueryUndelegateVersionResponse

type QueryUndelegateVersionResponse struct {
	VersionInfo *IBCTrace `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
}

func (*QueryUndelegateVersionResponse) Descriptor

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

func (*QueryUndelegateVersionResponse) GetVersionInfo added in v0.6.1

func (m *QueryUndelegateVersionResponse) GetVersionInfo() *IBCTrace

func (*QueryUndelegateVersionResponse) Marshal

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

func (*QueryUndelegateVersionResponse) MarshalTo

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

func (*QueryUndelegateVersionResponse) MarshalToSizedBuffer

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

func (*QueryUndelegateVersionResponse) ProtoMessage

func (*QueryUndelegateVersionResponse) ProtoMessage()

func (*QueryUndelegateVersionResponse) Reset

func (m *QueryUndelegateVersionResponse) Reset()

func (*QueryUndelegateVersionResponse) Size

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

func (*QueryUndelegateVersionResponse) String

func (*QueryUndelegateVersionResponse) Unmarshal

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

func (*QueryUndelegateVersionResponse) XXX_DiscardUnknown

func (m *QueryUndelegateVersionResponse) XXX_DiscardUnknown()

func (*QueryUndelegateVersionResponse) XXX_Marshal

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

func (*QueryUndelegateVersionResponse) XXX_Merge

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

func (*QueryUndelegateVersionResponse) XXX_Size

func (m *QueryUndelegateVersionResponse) XXX_Size() int

func (*QueryUndelegateVersionResponse) XXX_Unmarshal

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

type QueryWithdrawRecordRequest

type QueryWithdrawRecordRequest struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryWithdrawRecordRequest) Descriptor

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

func (*QueryWithdrawRecordRequest) GetAddress

func (m *QueryWithdrawRecordRequest) GetAddress() string

func (*QueryWithdrawRecordRequest) GetZoneId

func (m *QueryWithdrawRecordRequest) GetZoneId() string

func (*QueryWithdrawRecordRequest) Marshal

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

func (*QueryWithdrawRecordRequest) MarshalTo

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

func (*QueryWithdrawRecordRequest) MarshalToSizedBuffer

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

func (*QueryWithdrawRecordRequest) ProtoMessage

func (*QueryWithdrawRecordRequest) ProtoMessage()

func (*QueryWithdrawRecordRequest) Reset

func (m *QueryWithdrawRecordRequest) Reset()

func (*QueryWithdrawRecordRequest) Size

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

func (*QueryWithdrawRecordRequest) String

func (m *QueryWithdrawRecordRequest) String() string

func (*QueryWithdrawRecordRequest) Unmarshal

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

func (*QueryWithdrawRecordRequest) XXX_DiscardUnknown

func (m *QueryWithdrawRecordRequest) XXX_DiscardUnknown()

func (*QueryWithdrawRecordRequest) XXX_Marshal

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

func (*QueryWithdrawRecordRequest) XXX_Merge

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

func (*QueryWithdrawRecordRequest) XXX_Size

func (m *QueryWithdrawRecordRequest) XXX_Size() int

func (*QueryWithdrawRecordRequest) XXX_Unmarshal

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

type QueryWithdrawRecordResponse

type QueryWithdrawRecordResponse struct {
	WithdrawRecord *WithdrawRecord `protobuf:"bytes,1,opt,name=withdraw_record,json=withdrawRecord,proto3" json:"withdraw_record,omitempty"`
}

func (*QueryWithdrawRecordResponse) Descriptor

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

func (*QueryWithdrawRecordResponse) GetWithdrawRecord

func (m *QueryWithdrawRecordResponse) GetWithdrawRecord() *WithdrawRecord

func (*QueryWithdrawRecordResponse) Marshal

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

func (*QueryWithdrawRecordResponse) MarshalTo

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

func (*QueryWithdrawRecordResponse) MarshalToSizedBuffer

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

func (*QueryWithdrawRecordResponse) ProtoMessage

func (*QueryWithdrawRecordResponse) ProtoMessage()

func (*QueryWithdrawRecordResponse) Reset

func (m *QueryWithdrawRecordResponse) Reset()

func (*QueryWithdrawRecordResponse) Size

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

func (*QueryWithdrawRecordResponse) String

func (m *QueryWithdrawRecordResponse) String() string

func (*QueryWithdrawRecordResponse) Unmarshal

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

func (*QueryWithdrawRecordResponse) XXX_DiscardUnknown

func (m *QueryWithdrawRecordResponse) XXX_DiscardUnknown()

func (*QueryWithdrawRecordResponse) XXX_Marshal

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

func (*QueryWithdrawRecordResponse) XXX_Merge

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

func (*QueryWithdrawRecordResponse) XXX_Size

func (m *QueryWithdrawRecordResponse) XXX_Size() int

func (*QueryWithdrawRecordResponse) XXX_Unmarshal

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

type QueryWithdrawVersion

type QueryWithdrawVersion struct {
	ZoneId  string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryWithdrawVersion) Descriptor

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

func (*QueryWithdrawVersion) GetVersion added in v0.6.1

func (m *QueryWithdrawVersion) GetVersion() uint64

func (*QueryWithdrawVersion) GetZoneId

func (m *QueryWithdrawVersion) GetZoneId() string

func (*QueryWithdrawVersion) Marshal

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

func (*QueryWithdrawVersion) MarshalTo

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

func (*QueryWithdrawVersion) MarshalToSizedBuffer

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

func (*QueryWithdrawVersion) ProtoMessage

func (*QueryWithdrawVersion) ProtoMessage()

func (*QueryWithdrawVersion) Reset

func (m *QueryWithdrawVersion) Reset()

func (*QueryWithdrawVersion) Size

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

func (*QueryWithdrawVersion) String

func (m *QueryWithdrawVersion) String() string

func (*QueryWithdrawVersion) Unmarshal

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

func (*QueryWithdrawVersion) XXX_DiscardUnknown

func (m *QueryWithdrawVersion) XXX_DiscardUnknown()

func (*QueryWithdrawVersion) XXX_Marshal

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

func (*QueryWithdrawVersion) XXX_Merge

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

func (*QueryWithdrawVersion) XXX_Size

func (m *QueryWithdrawVersion) XXX_Size() int

func (*QueryWithdrawVersion) XXX_Unmarshal

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

type QueryWithdrawVersionResponse

type QueryWithdrawVersionResponse struct {
	VersionInfo *IBCTrace `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
}

func (*QueryWithdrawVersionResponse) Descriptor

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

func (*QueryWithdrawVersionResponse) GetVersionInfo added in v0.6.1

func (m *QueryWithdrawVersionResponse) GetVersionInfo() *IBCTrace

func (*QueryWithdrawVersionResponse) Marshal

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

func (*QueryWithdrawVersionResponse) MarshalTo

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

func (*QueryWithdrawVersionResponse) MarshalToSizedBuffer

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

func (*QueryWithdrawVersionResponse) ProtoMessage

func (*QueryWithdrawVersionResponse) ProtoMessage()

func (*QueryWithdrawVersionResponse) Reset

func (m *QueryWithdrawVersionResponse) Reset()

func (*QueryWithdrawVersionResponse) Size

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

func (*QueryWithdrawVersionResponse) String

func (*QueryWithdrawVersionResponse) Unmarshal

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

func (*QueryWithdrawVersionResponse) XXX_DiscardUnknown

func (m *QueryWithdrawVersionResponse) XXX_DiscardUnknown()

func (*QueryWithdrawVersionResponse) XXX_Marshal

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

func (*QueryWithdrawVersionResponse) XXX_Merge

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

func (*QueryWithdrawVersionResponse) XXX_Size

func (m *QueryWithdrawVersionResponse) XXX_Size() int

func (*QueryWithdrawVersionResponse) XXX_Unmarshal

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

type RecordInfo

type RecordInfo struct {
	ZoneId          string        `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	DelegateTrace   *VersionState `protobuf:"bytes,2,opt,name=delegate_trace,json=delegateTrace,proto3" json:"delegate_trace,omitempty"`
	UndelegateTrace *VersionState `protobuf:"bytes,3,opt,name=undelegate_trace,json=undelegateTrace,proto3" json:"undelegate_trace,omitempty"`
	WithdrawTrace   *VersionState `protobuf:"bytes,4,opt,name=withdraw_trace,json=withdrawTrace,proto3" json:"withdraw_trace,omitempty"`
}

func (*RecordInfo) Descriptor

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

func (*RecordInfo) GetDelegateTrace

func (m *RecordInfo) GetDelegateTrace() *VersionState

func (*RecordInfo) GetUndelegateTrace

func (m *RecordInfo) GetUndelegateTrace() *VersionState

func (*RecordInfo) GetWithdrawTrace

func (m *RecordInfo) GetWithdrawTrace() *VersionState

func (*RecordInfo) GetZoneId

func (m *RecordInfo) GetZoneId() string

func (*RecordInfo) Marshal

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

func (*RecordInfo) MarshalTo

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

func (*RecordInfo) MarshalToSizedBuffer

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

func (*RecordInfo) ProtoMessage

func (*RecordInfo) ProtoMessage()

func (*RecordInfo) Reset

func (m *RecordInfo) Reset()

func (*RecordInfo) Size

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

func (*RecordInfo) String

func (m *RecordInfo) String() string

func (*RecordInfo) Unmarshal

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

func (*RecordInfo) XXX_DiscardUnknown

func (m *RecordInfo) XXX_DiscardUnknown()

func (*RecordInfo) XXX_Marshal

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

func (*RecordInfo) XXX_Merge

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

func (*RecordInfo) XXX_Size

func (m *RecordInfo) XXX_Size() int

func (*RecordInfo) XXX_Unmarshal

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

type UndelegateRecord

type UndelegateRecord struct {
	ZoneId    string                     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Delegator string                     `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Records   []*UndelegateRecordContent `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
}

func (*UndelegateRecord) Descriptor

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

func (*UndelegateRecord) GetDelegator

func (m *UndelegateRecord) GetDelegator() string

func (*UndelegateRecord) GetRecords

func (m *UndelegateRecord) GetRecords() []*UndelegateRecordContent

func (*UndelegateRecord) GetZoneId

func (m *UndelegateRecord) GetZoneId() string

func (*UndelegateRecord) Marshal

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

func (*UndelegateRecord) MarshalTo

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

func (*UndelegateRecord) MarshalToSizedBuffer

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

func (*UndelegateRecord) ProtoMessage

func (*UndelegateRecord) ProtoMessage()

func (*UndelegateRecord) Reset

func (m *UndelegateRecord) Reset()

func (*UndelegateRecord) Size

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

func (*UndelegateRecord) String

func (m *UndelegateRecord) String() string

func (*UndelegateRecord) Unmarshal

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

func (*UndelegateRecord) XXX_DiscardUnknown

func (m *UndelegateRecord) XXX_DiscardUnknown()

func (*UndelegateRecord) XXX_Marshal

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

func (*UndelegateRecord) XXX_Merge

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

func (*UndelegateRecord) XXX_Size

func (m *UndelegateRecord) XXX_Size() int

func (*UndelegateRecord) XXX_Unmarshal

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

type UndelegateRecordContent

type UndelegateRecordContent struct {
	Withdrawer        string                                 `protobuf:"bytes,1,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	SnAssetAmount     *types.Coin                            `protobuf:"bytes,2,opt,name=sn_asset_amount,json=snAssetAmount,proto3" json:"sn_asset_amount,omitempty"`
	WithdrawAmount    github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */
	State             int64                                  `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
	OracleVersion     uint64                                 `protobuf:"varint,5,opt,name=oracle_version,json=oracleVersion,proto3" json:"oracle_version,omitempty"`
	UndelegateVersion uint64                                 `protobuf:"varint,6,opt,name=undelegate_version,json=undelegateVersion,proto3" json:"undelegate_version,omitempty"`
}

func (*UndelegateRecordContent) Descriptor

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

func (*UndelegateRecordContent) GetOracleVersion

func (m *UndelegateRecordContent) GetOracleVersion() uint64

func (*UndelegateRecordContent) GetSnAssetAmount

func (m *UndelegateRecordContent) GetSnAssetAmount() *types.Coin

func (*UndelegateRecordContent) GetState

func (m *UndelegateRecordContent) GetState() int64

func (*UndelegateRecordContent) GetUndelegateVersion

func (m *UndelegateRecordContent) GetUndelegateVersion() uint64

func (*UndelegateRecordContent) GetWithdrawer

func (m *UndelegateRecordContent) GetWithdrawer() string

func (*UndelegateRecordContent) Marshal

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

func (*UndelegateRecordContent) MarshalTo

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

func (*UndelegateRecordContent) MarshalToSizedBuffer

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

func (*UndelegateRecordContent) ProtoMessage

func (*UndelegateRecordContent) ProtoMessage()

func (*UndelegateRecordContent) Reset

func (m *UndelegateRecordContent) Reset()

func (*UndelegateRecordContent) Size

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

func (*UndelegateRecordContent) String

func (m *UndelegateRecordContent) String() string

func (*UndelegateRecordContent) Unmarshal

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

func (*UndelegateRecordContent) XXX_DiscardUnknown

func (m *UndelegateRecordContent) XXX_DiscardUnknown()

func (*UndelegateRecordContent) XXX_Marshal

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

func (*UndelegateRecordContent) XXX_Merge

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

func (*UndelegateRecordContent) XXX_Size

func (m *UndelegateRecordContent) XXX_Size() int

func (*UndelegateRecordContent) XXX_Unmarshal

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

type UndelegateVersion

type UndelegateVersion = uint64

type UndelegatedStatusType

type UndelegatedStatusType = int64
const (
	UndelegateRequestByUser UndelegatedStatusType = iota + 1
	UndelegateRequestByIca
)

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimSnAsset

func (*UnimplementedMsgServer) Delegate

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) IcaWithdraw

func (*UnimplementedMsgServer) PendingUndelegate

func (*UnimplementedMsgServer) Undelegate

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ActiveWithdrawals

func (*UnimplementedQueryServer) ClaimableAmount

func (*UnimplementedQueryServer) DelegateCurrentVersion added in v0.6.1

func (*UnimplementedQueryServer) DelegateVersion

func (*UnimplementedQueryServer) DepositAmount

func (*UnimplementedQueryServer) DepositRecords

func (*UnimplementedQueryServer) EstimateSnAsset

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PendingWithdrawals

func (*UnimplementedQueryServer) UndelegateCurrentVersion added in v0.6.1

func (*UnimplementedQueryServer) UndelegateRecords

func (*UnimplementedQueryServer) UndelegateVersion

func (*UnimplementedQueryServer) WithdrawCurrentVersion added in v0.6.1

func (*UnimplementedQueryServer) WithdrawRecords

func (*UnimplementedQueryServer) WithdrawVersion

type VersionState added in v0.6.1

type VersionState struct {
	ZoneId         string               `protobuf:"bytes,1,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
	CurrentVersion uint64               `protobuf:"varint,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
	Record         map[uint64]*IBCTrace `` /* 154-byte string literal not displayed */
}

func (*VersionState) Descriptor added in v0.6.1

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

func (*VersionState) GetCurrentVersion added in v0.6.1

func (m *VersionState) GetCurrentVersion() uint64

func (*VersionState) GetRecord added in v0.6.1

func (m *VersionState) GetRecord() map[uint64]*IBCTrace

func (*VersionState) GetZoneId added in v0.6.1

func (m *VersionState) GetZoneId() string

func (*VersionState) Marshal added in v0.6.1

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

func (*VersionState) MarshalTo added in v0.6.1

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

func (*VersionState) MarshalToSizedBuffer added in v0.6.1

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

func (*VersionState) ProtoMessage added in v0.6.1

func (*VersionState) ProtoMessage()

func (*VersionState) Reset added in v0.6.1

func (m *VersionState) Reset()

func (*VersionState) Size added in v0.6.1

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

func (*VersionState) String added in v0.6.1

func (m *VersionState) String() string

func (*VersionState) Unmarshal added in v0.6.1

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

func (*VersionState) XXX_DiscardUnknown added in v0.6.1

func (m *VersionState) XXX_DiscardUnknown()

func (*VersionState) XXX_Marshal added in v0.6.1

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

func (*VersionState) XXX_Merge added in v0.6.1

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

func (*VersionState) XXX_Size added in v0.6.1

func (m *VersionState) XXX_Size() int

func (*VersionState) XXX_Unmarshal added in v0.6.1

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

type WithdrawInfo

type WithdrawInfo struct {
	Address        string    `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Denom          string    `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount         int64     `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	CompletionTime time.Time `protobuf:"bytes,4,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

func (*WithdrawInfo) Descriptor

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

func (*WithdrawInfo) GetAddress

func (m *WithdrawInfo) GetAddress() string

func (*WithdrawInfo) GetAmount

func (m *WithdrawInfo) GetAmount() int64

func (*WithdrawInfo) GetCompletionTime

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

func (*WithdrawInfo) GetDenom

func (m *WithdrawInfo) GetDenom() string

func (*WithdrawInfo) Marshal

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

func (*WithdrawInfo) MarshalTo

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

func (*WithdrawInfo) MarshalToSizedBuffer

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

func (*WithdrawInfo) ProtoMessage

func (*WithdrawInfo) ProtoMessage()

func (*WithdrawInfo) Reset

func (m *WithdrawInfo) Reset()

func (*WithdrawInfo) Size

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

func (*WithdrawInfo) String

func (m *WithdrawInfo) String() string

func (*WithdrawInfo) Unmarshal

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

func (*WithdrawInfo) XXX_DiscardUnknown

func (m *WithdrawInfo) XXX_DiscardUnknown()

func (*WithdrawInfo) XXX_Marshal

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

func (*WithdrawInfo) XXX_Merge

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

func (*WithdrawInfo) XXX_Size

func (m *WithdrawInfo) XXX_Size() int

func (*WithdrawInfo) XXX_Unmarshal

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

type WithdrawRecord

type WithdrawRecord struct {
	ZoneId     string                            `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Withdrawer string                            `protobuf:"bytes,2,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	Records    map[uint64]*WithdrawRecordContent `` /* 156-byte string literal not displayed */
}

func (*WithdrawRecord) Descriptor

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

func (*WithdrawRecord) GetRecords

func (m *WithdrawRecord) GetRecords() map[uint64]*WithdrawRecordContent

func (*WithdrawRecord) GetWithdrawer

func (m *WithdrawRecord) GetWithdrawer() string

func (*WithdrawRecord) GetZoneId

func (m *WithdrawRecord) GetZoneId() string

func (*WithdrawRecord) Marshal

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

func (*WithdrawRecord) MarshalTo

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

func (*WithdrawRecord) MarshalToSizedBuffer

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

func (*WithdrawRecord) ProtoMessage

func (*WithdrawRecord) ProtoMessage()

func (*WithdrawRecord) Reset

func (m *WithdrawRecord) Reset()

func (*WithdrawRecord) Size

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

func (*WithdrawRecord) String

func (m *WithdrawRecord) String() string

func (*WithdrawRecord) Unmarshal

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

func (*WithdrawRecord) XXX_DiscardUnknown

func (m *WithdrawRecord) XXX_DiscardUnknown()

func (*WithdrawRecord) XXX_Marshal

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

func (*WithdrawRecord) XXX_Merge

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

func (*WithdrawRecord) XXX_Size

func (m *WithdrawRecord) XXX_Size() int

func (*WithdrawRecord) XXX_Unmarshal

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

type WithdrawRecordContent

type WithdrawRecordContent struct {
	Amount          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	State           int64                                  `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	OracleVersion   int64                                  `protobuf:"varint,3,opt,name=oracle_version,json=oracleVersion,proto3" json:"oracle_version,omitempty"`
	WithdrawVersion uint64                                 `protobuf:"varint,4,opt,name=withdraw_version,json=withdrawVersion,proto3" json:"withdraw_version,omitempty"`
	CompletionTime  time.Time                              `protobuf:"bytes,5,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

func (*WithdrawRecordContent) Descriptor

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

func (*WithdrawRecordContent) GetCompletionTime

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

func (*WithdrawRecordContent) GetOracleVersion

func (m *WithdrawRecordContent) GetOracleVersion() int64

func (*WithdrawRecordContent) GetState

func (m *WithdrawRecordContent) GetState() int64

func (*WithdrawRecordContent) GetWithdrawVersion

func (m *WithdrawRecordContent) GetWithdrawVersion() uint64

func (*WithdrawRecordContent) Marshal

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

func (*WithdrawRecordContent) MarshalTo

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

func (*WithdrawRecordContent) MarshalToSizedBuffer

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

func (*WithdrawRecordContent) ProtoMessage

func (*WithdrawRecordContent) ProtoMessage()

func (*WithdrawRecordContent) Reset

func (m *WithdrawRecordContent) Reset()

func (*WithdrawRecordContent) Size

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

func (*WithdrawRecordContent) String

func (m *WithdrawRecordContent) String() string

func (*WithdrawRecordContent) Unmarshal

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

func (*WithdrawRecordContent) XXX_DiscardUnknown

func (m *WithdrawRecordContent) XXX_DiscardUnknown()

func (*WithdrawRecordContent) XXX_Marshal

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

func (*WithdrawRecordContent) XXX_Merge

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

func (*WithdrawRecordContent) XXX_Size

func (m *WithdrawRecordContent) XXX_Size() int

func (*WithdrawRecordContent) XXX_Unmarshal

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

type WithdrawStatusType

type WithdrawStatusType = int64
const (
	WithdrawStatusRegistered WithdrawStatusType = iota + 1
	WithdrawStatusTransferRequest
	WithdrawStatusTransferred
)

Jump to

Keyboard shortcuts

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