types

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 33 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"
	TypeMsgUndelegate       = "undelegate"
	TypeMsgWithdrawRecord   = "withdrawRecord"
	TypeMsgUndelegateRecord = "undelegateRecord"
)
View Source
const (
	QueryDepositHistory    = "depositHistory"
	QueryUndelegateHistory = "undelegateHistory"
)

Variables

View Source
var (
	ErrNoDepositRecord     = errors.Register(ModuleName, 0, "no deposit history for this account")
	ErrNoWithdrawRecord    = errors.Register(ModuleName, 1, "no withdraw history for this account")
	ErrCanNotReplaceRecord = errors.Register(ModuleName, 2, "cannot replace record")
	ErrInsufficientFunds   = errors.Register(ModuleName, 3, "cannot withdraw funds : insufficient fund")
	ErrNotFoundZoneInfo    = errors.Register(ModuleName, 4, "not found zone info")
	ErrCanNotWithdrawAsset = errors.Register(ModuleName, 5, "cannot withdraw funds")
	ErrInvalidTime         = errors.Register(ModuleName, 6, "time is not zero")
	ErrCanNotChangeState   = errors.Register(ModuleName, 7, "cannot change state")
	ErrDelegateFail        = errors.Register(ModuleName, 8, "delegate fail")
	ErrDelegateValueZero   = errors.Register(ModuleName, 9, "delegate value is zero")
)
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 (
	// KeySupply defines key to store the total supply of snTokens.
	KeySupply = []byte{0x00}
	// KeyDepositInfo defines key to store deposit information of snTokens.
	KeyDepositInfo = []byte{0x01}
	// KeyWithdrawRecordInfo defines key to store withdraw record information of snTokens.
	KeyWithdrawRecordInfo = []byte{0x02}
	// KeyUndelegateRecordInfo defines key to store undelegate record information of wAsset.
	KeyUndelegateRecordInfo = []byte{0x03}
	// KeyShare defines key to store deposit information of snTokens.
	KeyShare = []byte{0x06}
	// KeyWithdrawInfo defines key to store withdraw information of snTokens.
	KeyWithdrawInfo = []byte{0x07}

	KeyDepositor = "depositor"
	KeyDenom     = "denom"
	KeyAmount    = "amount"
	KeyCoin      = "coin"
)

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 (
	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 (
	KeyWhiteListedTokenDenoms = []byte("whiteListedTokenDenoms")
)
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

type AccountKeeper interface {
	NewAccount(sdk.Context, types.AccountI) types.AccountI
	NewAccountWithAddress(ctx sdk.Context, arrd sdk.AccAddress) types.AccountI

	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetAllAccounts(ctx sdk.Context) []types.AccountI
	HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	SetAccount(ctx sdk.Context, acc types.AccountI)

	IterateAccounts(ctx sdk.Context, process func(types.AccountI) bool)

	ValidatePermissions(macc types.ModuleAccountI) error

	GetModuleAddress(moduleName string) sdk.AccAddress
	GetModuleAddressAndPermissions(moduleName string) (addr sdk.AccAddress, permission []string)
	GetModuleAccountAndPermissions(ctx sdk.Context, moduleName string) (types.ModuleAccountI, []string)
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
}

AccountKeeper defines the account contract that must be fulfilled when creating a gal keeper.

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	IterateTotalSupply(ctx sdk.Context, cd func(sdk.Coin) bool)
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, 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
	Balance(ctx context.Context, request *types2.QueryBalanceRequest) (*types2.QueryBalanceResponse, 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"`
	Address string                  `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Records []*DepositRecordContent `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
}

func (*DepositRecord) Descriptor

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

func (*DepositRecord) GetAddress

func (m *DepositRecord) GetAddress() 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 {
	Amount      *types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	BlockHeight int64       `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	State       int64       `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
}

func (*DepositRecordContent) Descriptor

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

func (*DepositRecordContent) GetAmount

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

func (*DepositRecordContent) GetBlockHeight

func (m *DepositRecordContent) GetBlockHeight() int64

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 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"`
}

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) 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 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"`
	TransferPortId    string `protobuf:"bytes,3,opt,name=transfer_port_id,json=transferPortId,proto3" json:"transfer_port_id,omitempty"`
	TransferChannelId string `protobuf:"bytes,4,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
}

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

func NewMsgClaimSnAsset

func NewMsgClaimSnAsset(zoneId string, claimer sdk.AccAddress, transferPortId, transferChanId string) *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) GetTransferChannelId

func (m *MsgClaimSnAsset) GetTransferChannelId() string

func (*MsgClaimSnAsset) GetTransferPortId

func (m *MsgClaimSnAsset) GetTransferPortId() string

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

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

func (*MsgClaimSnAsset) String

func (m *MsgClaimSnAsset) String() 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)
	PendingUndelegateRecord(ctx context.Context, in *MsgPendingUndelegateRecord, opts ...grpc.CallOption) (*MsgPendingUndelegateRecordResponse, error)
	Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
	ClaimSnAsset(ctx context.Context, in *MsgClaimSnAsset, opts ...grpc.CallOption) (*MsgClaimSnAssetResponse, error)
	PendingWithdraw(ctx context.Context, in *MsgPendingWithdraw, opts ...grpc.CallOption) (*MsgPendingWithdrawResponse, 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"`
	TransferPortId    string `protobuf:"bytes,3,opt,name=transfer_port_id,json=transferPortId,proto3" json:"transfer_port_id,omitempty"`
	TransferChannelId string `protobuf:"bytes,4,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
}

func NewMsgDelegate

func NewMsgDelegate(zoneId string, daomodifierAddr sdk.AccAddress, transferPortId, transferChanId string) *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) GetTransferChannelId

func (m *MsgDelegate) GetTransferChannelId() string

func (*MsgDelegate) GetTransferPortId

func (m *MsgDelegate) GetTransferPortId() string

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

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

func (*MsgDelegate) String

func (m *MsgDelegate) String() string

func (*MsgDelegate) Unmarshal

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

func (MsgDelegate) 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 {
	Depositor         string     `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	Amount            types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
	ZoneId            string     `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	TransferPortId    string     `protobuf:"bytes,4,opt,name=transfer_port_id,json=transferPortId,proto3" json:"transfer_port_id,omitempty"`
	TransferChannelId string     `protobuf:"bytes,5,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
}

MsgDeposit defines user who deposit and amount of coins.

func NewMsgDeposit

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

func (*MsgDeposit) Descriptor

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

func (*MsgDeposit) GetAmount

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

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

func (m *MsgDeposit) GetTransferChannelId() string

func (*MsgDeposit) GetTransferPortId

func (m *MsgDeposit) GetTransferPortId() string

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"`
	DepositedAmount types.Coin `protobuf:"bytes,2,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) 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 MsgPendingUndelegateRecord

type MsgPendingUndelegateRecord 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"`
	Amount    types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

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

func NewMsgPendingUndelegateRecord

func NewMsgPendingUndelegateRecord(zoneId, Depositor string, amount sdk.Coin) *MsgPendingUndelegateRecord

func (*MsgPendingUndelegateRecord) Descriptor

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

func (*MsgPendingUndelegateRecord) GetAmount

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

func (*MsgPendingUndelegateRecord) GetDepositor

func (m *MsgPendingUndelegateRecord) GetDepositor() string

func (MsgPendingUndelegateRecord) GetSignBytes

func (msg MsgPendingUndelegateRecord) GetSignBytes() []byte

func (MsgPendingUndelegateRecord) GetSigners

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

func (*MsgPendingUndelegateRecord) GetZoneId

func (m *MsgPendingUndelegateRecord) GetZoneId() string

func (*MsgPendingUndelegateRecord) Marshal

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

func (*MsgPendingUndelegateRecord) MarshalTo

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

func (*MsgPendingUndelegateRecord) MarshalToSizedBuffer

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

func (*MsgPendingUndelegateRecord) ProtoMessage

func (*MsgPendingUndelegateRecord) ProtoMessage()

func (*MsgPendingUndelegateRecord) Reset

func (m *MsgPendingUndelegateRecord) Reset()

func (MsgPendingUndelegateRecord) Route

func (msg MsgPendingUndelegateRecord) Route() string

func (*MsgPendingUndelegateRecord) Size

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

func (*MsgPendingUndelegateRecord) String

func (m *MsgPendingUndelegateRecord) String() string

func (MsgPendingUndelegateRecord) Type

func (*MsgPendingUndelegateRecord) Unmarshal

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

func (MsgPendingUndelegateRecord) ValidateBasic

func (msg MsgPendingUndelegateRecord) ValidateBasic() error

func (*MsgPendingUndelegateRecord) XXX_DiscardUnknown

func (m *MsgPendingUndelegateRecord) XXX_DiscardUnknown()

func (*MsgPendingUndelegateRecord) XXX_Marshal

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

func (*MsgPendingUndelegateRecord) XXX_Merge

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

func (*MsgPendingUndelegateRecord) XXX_Size

func (m *MsgPendingUndelegateRecord) XXX_Size() int

func (*MsgPendingUndelegateRecord) XXX_Unmarshal

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

type MsgPendingUndelegateRecordResponse

type MsgPendingUndelegateRecordResponse struct {
	ZoneId string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	User   string     `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func (*MsgPendingUndelegateRecordResponse) Descriptor

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

func (*MsgPendingUndelegateRecordResponse) GetAmount

func (*MsgPendingUndelegateRecordResponse) GetUser

func (*MsgPendingUndelegateRecordResponse) GetZoneId

func (*MsgPendingUndelegateRecordResponse) Marshal

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

func (*MsgPendingUndelegateRecordResponse) MarshalTo

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

func (*MsgPendingUndelegateRecordResponse) MarshalToSizedBuffer

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

func (*MsgPendingUndelegateRecordResponse) ProtoMessage

func (*MsgPendingUndelegateRecordResponse) ProtoMessage()

func (*MsgPendingUndelegateRecordResponse) Reset

func (*MsgPendingUndelegateRecordResponse) Size

func (*MsgPendingUndelegateRecordResponse) String

func (*MsgPendingUndelegateRecordResponse) Unmarshal

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

func (*MsgPendingUndelegateRecordResponse) XXX_DiscardUnknown

func (m *MsgPendingUndelegateRecordResponse) XXX_DiscardUnknown()

func (*MsgPendingUndelegateRecordResponse) XXX_Marshal

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

func (*MsgPendingUndelegateRecordResponse) XXX_Merge

func (*MsgPendingUndelegateRecordResponse) XXX_Size

func (*MsgPendingUndelegateRecordResponse) XXX_Unmarshal

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

type MsgPendingWithdraw

type MsgPendingWithdraw struct {
	ZoneId             string    `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	DaomodifierAddress string    `protobuf:"bytes,2,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	TransferPortId     string    `protobuf:"bytes,3,opt,name=transfer_port_id,json=transferPortId,proto3" json:"transfer_port_id,omitempty"`
	TransferChannelId  string    `protobuf:"bytes,4,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
	ChainTime          time.Time `protobuf:"bytes,5,opt,name=chain_time,json=chainTime,proto3,stdtime" json:"chain_time"`
}

func NewMsgPendingWithdraw

func NewMsgPendingWithdraw(zoneId string, daomodifierAddr sdk.AccAddress, portId, chanId string, blockTime time.Time) *MsgPendingWithdraw

func (*MsgPendingWithdraw) Descriptor

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

func (*MsgPendingWithdraw) GetChainTime

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

func (*MsgPendingWithdraw) GetDaomodifierAddress

func (m *MsgPendingWithdraw) GetDaomodifierAddress() string

func (MsgPendingWithdraw) GetSignBytes

func (msg MsgPendingWithdraw) GetSignBytes() []byte

func (MsgPendingWithdraw) GetSigners

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

func (*MsgPendingWithdraw) GetTransferChannelId

func (m *MsgPendingWithdraw) GetTransferChannelId() string

func (*MsgPendingWithdraw) GetTransferPortId

func (m *MsgPendingWithdraw) GetTransferPortId() string

func (*MsgPendingWithdraw) GetZoneId

func (m *MsgPendingWithdraw) GetZoneId() string

func (*MsgPendingWithdraw) Marshal

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

func (*MsgPendingWithdraw) MarshalTo

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

func (*MsgPendingWithdraw) MarshalToSizedBuffer

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

func (*MsgPendingWithdraw) ProtoMessage

func (*MsgPendingWithdraw) ProtoMessage()

func (*MsgPendingWithdraw) Reset

func (m *MsgPendingWithdraw) Reset()

func (MsgPendingWithdraw) Route

func (msg MsgPendingWithdraw) Route() string

func (*MsgPendingWithdraw) Size

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

func (*MsgPendingWithdraw) String

func (m *MsgPendingWithdraw) String() string

func (*MsgPendingWithdraw) Unmarshal

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

func (MsgPendingWithdraw) ValidateBasic

func (msg MsgPendingWithdraw) ValidateBasic() error

func (*MsgPendingWithdraw) XXX_DiscardUnknown

func (m *MsgPendingWithdraw) XXX_DiscardUnknown()

func (*MsgPendingWithdraw) XXX_Marshal

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

func (*MsgPendingWithdraw) XXX_Merge

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

func (*MsgPendingWithdraw) XXX_Size

func (m *MsgPendingWithdraw) XXX_Size() int

func (*MsgPendingWithdraw) XXX_Unmarshal

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

type MsgPendingWithdrawResponse

type MsgPendingWithdrawResponse struct {
}

func (*MsgPendingWithdrawResponse) Descriptor

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

func (*MsgPendingWithdrawResponse) Marshal

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

func (*MsgPendingWithdrawResponse) MarshalTo

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

func (*MsgPendingWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgPendingWithdrawResponse) ProtoMessage

func (*MsgPendingWithdrawResponse) ProtoMessage()

func (*MsgPendingWithdrawResponse) Reset

func (m *MsgPendingWithdrawResponse) Reset()

func (*MsgPendingWithdrawResponse) Size

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

func (*MsgPendingWithdrawResponse) String

func (m *MsgPendingWithdrawResponse) String() string

func (*MsgPendingWithdrawResponse) Unmarshal

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

func (*MsgPendingWithdrawResponse) XXX_DiscardUnknown

func (m *MsgPendingWithdrawResponse) XXX_DiscardUnknown()

func (*MsgPendingWithdrawResponse) XXX_Marshal

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

func (*MsgPendingWithdrawResponse) XXX_Merge

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

func (*MsgPendingWithdrawResponse) XXX_Size

func (m *MsgPendingWithdrawResponse) XXX_Size() int

func (*MsgPendingWithdrawResponse) XXX_Unmarshal

func (m *MsgPendingWithdrawResponse) 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"`
}

func NewMsgUndelegate

func NewMsgUndelegate(zoneId string, 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) 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"`
	UndelegatedAmount types.Coin `protobuf:"bytes,2,opt,name=undelegated_amount,json=undelegatedAmount,proto3" json:"undelegated_amount"`
}

func (*MsgUndelegateResponse) Descriptor

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

func (*MsgUndelegateResponse) GetUndelegatedAmount

func (m *MsgUndelegateResponse) GetUndelegatedAmount() 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"`
	Recipient            string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	IcaTransferPortId    string `protobuf:"bytes,4,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string `protobuf:"bytes,5,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
}

MsgWithdraw defines user who withdraw and amount of coins.

func NewMsgWithdraw

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

func (*MsgWithdraw) Descriptor

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

func (*MsgWithdraw) GetIcaTransferChannelId

func (m *MsgWithdraw) GetIcaTransferChannelId() string

func (*MsgWithdraw) GetIcaTransferPortId

func (m *MsgWithdraw) GetIcaTransferPortId() string

func (*MsgWithdraw) GetRecipient

func (m *MsgWithdraw) GetRecipient() string

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 types.Coin `` /* 147-byte string literal not displayed */
}

func (*MsgWithdrawResponse) Descriptor

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

func (*MsgWithdrawResponse) GetWithdrawAmount

func (m *MsgWithdrawResponse) GetWithdrawAmount() types.Coin

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 {
	// white-listed tokens in nova
	WhiteListedTokenDenoms map[string]string `` /* 252-byte string literal not displayed */
	// expected blocks per year
	BlocksPerYear uint64 `` /* 126-byte string literal not displayed */
}

Params defines the parameters for the gal module.

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(snTokenDenoms map[string]string) Params

func (*Params) Descriptor

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

func (*Params) GetBlocksPerYear

func (m *Params) GetBlocksPerYear() uint64

func (*Params) GetWhiteListedTokenDenoms

func (m *Params) GetWhiteListedTokenDenoms() map[string]string

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 (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 QueryAllSharesRequest

type QueryAllSharesRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryAllSharesRequest) Descriptor

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

func (*QueryAllSharesRequest) GetAddress

func (m *QueryAllSharesRequest) GetAddress() string

func (*QueryAllSharesRequest) Marshal

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

func (*QueryAllSharesRequest) MarshalTo

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

func (*QueryAllSharesRequest) MarshalToSizedBuffer

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

func (*QueryAllSharesRequest) ProtoMessage

func (*QueryAllSharesRequest) ProtoMessage()

func (*QueryAllSharesRequest) Reset

func (m *QueryAllSharesRequest) Reset()

func (*QueryAllSharesRequest) Size

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

func (*QueryAllSharesRequest) String

func (m *QueryAllSharesRequest) String() string

func (*QueryAllSharesRequest) Unmarshal

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

func (*QueryAllSharesRequest) XXX_DiscardUnknown

func (m *QueryAllSharesRequest) XXX_DiscardUnknown()

func (*QueryAllSharesRequest) XXX_Marshal

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

func (*QueryAllSharesRequest) XXX_Merge

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

func (*QueryAllSharesRequest) XXX_Size

func (m *QueryAllSharesRequest) XXX_Size() int

func (*QueryAllSharesRequest) XXX_Unmarshal

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

type QueryCacheDepositAmountRequest

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

QuerySharesRequest defines request form to query balance of snToken with address.

func NewQuerySharesRequest

func NewQuerySharesRequest(addr sdk.AccAddress, denom string) *QueryCacheDepositAmountRequest

func (*QueryCacheDepositAmountRequest) Descriptor

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

func (*QueryCacheDepositAmountRequest) GetAddress

func (m *QueryCacheDepositAmountRequest) GetAddress() string

func (*QueryCacheDepositAmountRequest) GetDenom

func (m *QueryCacheDepositAmountRequest) GetDenom() string

func (*QueryCacheDepositAmountRequest) Marshal

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

func (*QueryCacheDepositAmountRequest) MarshalTo

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

func (*QueryCacheDepositAmountRequest) MarshalToSizedBuffer

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

func (*QueryCacheDepositAmountRequest) ProtoMessage

func (*QueryCacheDepositAmountRequest) ProtoMessage()

func (*QueryCacheDepositAmountRequest) Reset

func (m *QueryCacheDepositAmountRequest) Reset()

func (*QueryCacheDepositAmountRequest) Size

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

func (*QueryCacheDepositAmountRequest) String

func (*QueryCacheDepositAmountRequest) Unmarshal

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

func (*QueryCacheDepositAmountRequest) XXX_DiscardUnknown

func (m *QueryCacheDepositAmountRequest) XXX_DiscardUnknown()

func (*QueryCacheDepositAmountRequest) XXX_Marshal

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

func (*QueryCacheDepositAmountRequest) XXX_Merge

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

func (*QueryCacheDepositAmountRequest) XXX_Size

func (m *QueryCacheDepositAmountRequest) XXX_Size() int

func (*QueryCacheDepositAmountRequest) XXX_Unmarshal

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

type QueryCachedDepositAmountResponse

type QueryCachedDepositAmountResponse struct {
	Address string     `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

QuerySharesResponse defines response of QueryBalanceRequest.

func (*QueryCachedDepositAmountResponse) Descriptor

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

func (*QueryCachedDepositAmountResponse) GetAddress

func (m *QueryCachedDepositAmountResponse) GetAddress() string

func (*QueryCachedDepositAmountResponse) GetAmount

func (*QueryCachedDepositAmountResponse) Marshal

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

func (*QueryCachedDepositAmountResponse) MarshalTo

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

func (*QueryCachedDepositAmountResponse) MarshalToSizedBuffer

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

func (*QueryCachedDepositAmountResponse) ProtoMessage

func (*QueryCachedDepositAmountResponse) ProtoMessage()

func (*QueryCachedDepositAmountResponse) Reset

func (*QueryCachedDepositAmountResponse) Size

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

func (*QueryCachedDepositAmountResponse) String

func (*QueryCachedDepositAmountResponse) Unmarshal

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

func (*QueryCachedDepositAmountResponse) XXX_DiscardUnknown

func (m *QueryCachedDepositAmountResponse) XXX_DiscardUnknown()

func (*QueryCachedDepositAmountResponse) XXX_Marshal

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

func (*QueryCachedDepositAmountResponse) XXX_Merge

func (*QueryCachedDepositAmountResponse) XXX_Size

func (m *QueryCachedDepositAmountResponse) XXX_Size() int

func (*QueryCachedDepositAmountResponse) XXX_Unmarshal

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

type QueryClient

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 QueryDepositHistoryRequest

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

func NewDepositHistoryRequest

func NewDepositHistoryRequest(addr sdk.AccAddress, denom string) *QueryDepositHistoryRequest

func (*QueryDepositHistoryRequest) Descriptor

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

func (*QueryDepositHistoryRequest) GetAddress

func (m *QueryDepositHistoryRequest) GetAddress() string

func (*QueryDepositHistoryRequest) GetDenom

func (m *QueryDepositHistoryRequest) GetDenom() string

func (*QueryDepositHistoryRequest) Marshal

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

func (*QueryDepositHistoryRequest) MarshalTo

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

func (*QueryDepositHistoryRequest) MarshalToSizedBuffer

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

func (*QueryDepositHistoryRequest) ProtoMessage

func (*QueryDepositHistoryRequest) ProtoMessage()

func (*QueryDepositHistoryRequest) Reset

func (m *QueryDepositHistoryRequest) Reset()

func (*QueryDepositHistoryRequest) Size

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

func (*QueryDepositHistoryRequest) String

func (m *QueryDepositHistoryRequest) String() string

func (*QueryDepositHistoryRequest) Unmarshal

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

func (*QueryDepositHistoryRequest) XXX_DiscardUnknown

func (m *QueryDepositHistoryRequest) XXX_DiscardUnknown()

func (*QueryDepositHistoryRequest) XXX_Marshal

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

func (*QueryDepositHistoryRequest) XXX_Merge

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

func (*QueryDepositHistoryRequest) XXX_Size

func (m *QueryDepositHistoryRequest) XXX_Size() int

func (*QueryDepositHistoryRequest) XXX_Unmarshal

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

type QueryDepositHistoryResponse

type QueryDepositHistoryResponse struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*QueryDepositHistoryResponse) Descriptor

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

func (*QueryDepositHistoryResponse) GetAddress

func (m *QueryDepositHistoryResponse) GetAddress() string

func (*QueryDepositHistoryResponse) GetAmount

func (*QueryDepositHistoryResponse) Marshal

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

func (*QueryDepositHistoryResponse) MarshalTo

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

func (*QueryDepositHistoryResponse) MarshalToSizedBuffer

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

func (*QueryDepositHistoryResponse) ProtoMessage

func (*QueryDepositHistoryResponse) ProtoMessage()

func (*QueryDepositHistoryResponse) Reset

func (m *QueryDepositHistoryResponse) Reset()

func (*QueryDepositHistoryResponse) Size

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

func (*QueryDepositHistoryResponse) String

func (m *QueryDepositHistoryResponse) String() string

func (*QueryDepositHistoryResponse) Unmarshal

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

func (*QueryDepositHistoryResponse) XXX_DiscardUnknown

func (m *QueryDepositHistoryResponse) XXX_DiscardUnknown()

func (*QueryDepositHistoryResponse) XXX_Marshal

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

func (*QueryDepositHistoryResponse) XXX_Merge

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

func (*QueryDepositHistoryResponse) XXX_Size

func (m *QueryDepositHistoryResponse) XXX_Size() int

func (*QueryDepositHistoryResponse) XXX_Unmarshal

func (m *QueryDepositHistoryResponse) 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 QueryUndelegateHistoryRequest

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

func NewUndelegateHistoryRequest

func NewUndelegateHistoryRequest(addr sdk.AccAddress, denom string) *QueryUndelegateHistoryRequest

func (*QueryUndelegateHistoryRequest) Descriptor

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

func (*QueryUndelegateHistoryRequest) GetAddress

func (m *QueryUndelegateHistoryRequest) GetAddress() string

func (*QueryUndelegateHistoryRequest) GetDenom

func (m *QueryUndelegateHistoryRequest) GetDenom() string

func (*QueryUndelegateHistoryRequest) Marshal

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

func (*QueryUndelegateHistoryRequest) MarshalTo

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

func (*QueryUndelegateHistoryRequest) MarshalToSizedBuffer

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

func (*QueryUndelegateHistoryRequest) ProtoMessage

func (*QueryUndelegateHistoryRequest) ProtoMessage()

func (*QueryUndelegateHistoryRequest) Reset

func (m *QueryUndelegateHistoryRequest) Reset()

func (*QueryUndelegateHistoryRequest) Size

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

func (*QueryUndelegateHistoryRequest) String

func (*QueryUndelegateHistoryRequest) Unmarshal

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

func (*QueryUndelegateHistoryRequest) XXX_DiscardUnknown

func (m *QueryUndelegateHistoryRequest) XXX_DiscardUnknown()

func (*QueryUndelegateHistoryRequest) XXX_Marshal

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

func (*QueryUndelegateHistoryRequest) XXX_Merge

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

func (*QueryUndelegateHistoryRequest) XXX_Size

func (m *QueryUndelegateHistoryRequest) XXX_Size() int

func (*QueryUndelegateHistoryRequest) XXX_Unmarshal

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

type QueryUndelegateHistoryResponse

type QueryUndelegateHistoryResponse struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*QueryUndelegateHistoryResponse) Descriptor

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

func (*QueryUndelegateHistoryResponse) GetAddress

func (m *QueryUndelegateHistoryResponse) GetAddress() string

func (*QueryUndelegateHistoryResponse) GetAmount

func (*QueryUndelegateHistoryResponse) Marshal

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

func (*QueryUndelegateHistoryResponse) MarshalTo

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

func (*QueryUndelegateHistoryResponse) MarshalToSizedBuffer

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

func (*QueryUndelegateHistoryResponse) ProtoMessage

func (*QueryUndelegateHistoryResponse) ProtoMessage()

func (*QueryUndelegateHistoryResponse) Reset

func (m *QueryUndelegateHistoryResponse) Reset()

func (*QueryUndelegateHistoryResponse) Size

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

func (*QueryUndelegateHistoryResponse) String

func (*QueryUndelegateHistoryResponse) Unmarshal

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

func (*QueryUndelegateHistoryResponse) XXX_DiscardUnknown

func (m *QueryUndelegateHistoryResponse) XXX_DiscardUnknown()

func (*QueryUndelegateHistoryResponse) XXX_Marshal

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

func (*QueryUndelegateHistoryResponse) XXX_Merge

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

func (*QueryUndelegateHistoryResponse) XXX_Size

func (m *QueryUndelegateHistoryResponse) XXX_Size() int

func (*QueryUndelegateHistoryResponse) XXX_Unmarshal

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

type QueryWithdrawHistoryRequest

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

func NewWithdrawHistoryRequest

func NewWithdrawHistoryRequest(addr sdk.AccAddress, denom string) *QueryWithdrawHistoryRequest

func (*QueryWithdrawHistoryRequest) Descriptor

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

func (*QueryWithdrawHistoryRequest) GetAddress

func (m *QueryWithdrawHistoryRequest) GetAddress() string

func (*QueryWithdrawHistoryRequest) GetDenom

func (m *QueryWithdrawHistoryRequest) GetDenom() string

func (*QueryWithdrawHistoryRequest) Marshal

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

func (*QueryWithdrawHistoryRequest) MarshalTo

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

func (*QueryWithdrawHistoryRequest) MarshalToSizedBuffer

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

func (*QueryWithdrawHistoryRequest) ProtoMessage

func (*QueryWithdrawHistoryRequest) ProtoMessage()

func (*QueryWithdrawHistoryRequest) Reset

func (m *QueryWithdrawHistoryRequest) Reset()

func (*QueryWithdrawHistoryRequest) Size

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

func (*QueryWithdrawHistoryRequest) String

func (m *QueryWithdrawHistoryRequest) String() string

func (*QueryWithdrawHistoryRequest) Unmarshal

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

func (*QueryWithdrawHistoryRequest) XXX_DiscardUnknown

func (m *QueryWithdrawHistoryRequest) XXX_DiscardUnknown()

func (*QueryWithdrawHistoryRequest) XXX_Marshal

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

func (*QueryWithdrawHistoryRequest) XXX_Merge

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

func (*QueryWithdrawHistoryRequest) XXX_Size

func (m *QueryWithdrawHistoryRequest) XXX_Size() int

func (*QueryWithdrawHistoryRequest) XXX_Unmarshal

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

type QueryWithdrawHistoryResponse

type QueryWithdrawHistoryResponse struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*QueryWithdrawHistoryResponse) Descriptor

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

func (*QueryWithdrawHistoryResponse) GetAddress

func (m *QueryWithdrawHistoryResponse) GetAddress() string

func (*QueryWithdrawHistoryResponse) GetAmount

func (*QueryWithdrawHistoryResponse) Marshal

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

func (*QueryWithdrawHistoryResponse) MarshalTo

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

func (*QueryWithdrawHistoryResponse) MarshalToSizedBuffer

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

func (*QueryWithdrawHistoryResponse) ProtoMessage

func (*QueryWithdrawHistoryResponse) ProtoMessage()

func (*QueryWithdrawHistoryResponse) Reset

func (m *QueryWithdrawHistoryResponse) Reset()

func (*QueryWithdrawHistoryResponse) Size

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

func (*QueryWithdrawHistoryResponse) String

func (*QueryWithdrawHistoryResponse) Unmarshal

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

func (*QueryWithdrawHistoryResponse) XXX_DiscardUnknown

func (m *QueryWithdrawHistoryResponse) XXX_DiscardUnknown()

func (*QueryWithdrawHistoryResponse) XXX_Marshal

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

func (*QueryWithdrawHistoryResponse) XXX_Merge

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

func (*QueryWithdrawHistoryResponse) XXX_Size

func (m *QueryWithdrawHistoryResponse) XXX_Size() int

func (*QueryWithdrawHistoryResponse) XXX_Unmarshal

func (m *QueryWithdrawHistoryResponse) 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"`
	Amount    *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	State     int64       `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
}

func (*UndelegateRecord) Descriptor

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

func (*UndelegateRecord) GetAmount

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

func (*UndelegateRecord) GetDelegator

func (m *UndelegateRecord) GetDelegator() string

func (*UndelegateRecord) GetState

func (m *UndelegateRecord) GetState() int64

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 UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimSnAsset

func (*UnimplementedMsgServer) Delegate

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) PendingUndelegateRecord

func (*UnimplementedMsgServer) PendingWithdraw

func (*UnimplementedMsgServer) Undelegate

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DepositHistory

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) UndelegateHistory

func (*UnimplementedQueryServer) WithdrawHistory

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"`
	Recipient      string      `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount         *types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	State          int64       `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"`
	CompletionTime time.Time   `protobuf:"bytes,6,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

func (*WithdrawRecord) Descriptor

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

func (*WithdrawRecord) GetAmount

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

func (*WithdrawRecord) GetCompletionTime

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

func (*WithdrawRecord) GetRecipient

func (m *WithdrawRecord) GetRecipient() string

func (*WithdrawRecord) GetState

func (m *WithdrawRecord) GetState() int64

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

Jump to

Keyboard shortcuts

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