types

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 30 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 = "team"

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

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_team"
)
View Source
const CLIFF_DURATION uint64 = 1 * 365 * 24 * 3600 // 1 * 365 * 24 * 3600

CLIFF_DURATION 1 year

View Source
const TypeMsgClaimAccountRewards = "claim_account_rewards"
View Source
const TypeMsgClaimAuthorityRewards = "claim_authority_rewards"
View Source
const TypeMsgClaimUnlocked = "claim_unlocked"
View Source
const TypeMsgClawback = "clawback"
View Source
const TypeMsgCreateTeamVestingAccount = "create_team_vesting_account"
View Source
const UNLOCK_DURATION uint64 = 2 * 365 * 24 * 3600 // 2 * 365 * 24 * 3600

UNLOCK_DURATION 2 years

View Source
const VESTING_DURATION uint64 = 3 * 365 * 24 * 3600 // 3 * 365 * 24 * 3600

VESTING_DURATION 3 years

Variables

View Source
var (
	ErrInvalidAuthority     = errors.Register(ModuleName, 1100, "invalid authority; expected %v, got %v")
	ErrClaimAmountTooHigh   = errors.Register(ModuleName, 1101, "tried to claim %v tkyve, unlocked amount is only %v tkyve")
	ErrAvailableFundsTooLow = errors.Register(ModuleName, 1102, "team has %v tkyve available, asking for %v tkyve")
	ErrInvalidClawbackDate  = errors.Register(ModuleName, 1103, "The clawback can not be set earlier than the last claimed amount")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamsKey                  = []byte{0x00}
	AuthorityKey               = []byte{0x01}
	TeamVestingAccountKey      = []byte{0x02}
	TeamVestingAccountCountKey = []byte{0x03}
)
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 (
	ErrInvalidLengthTeam        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTeam          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTeam = 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 (
	TEAM_FOUNDATION_STRING = "kyve1u7ukf2nv6v5j5y2yqprm8yqruue2rlmrkx4xgq"
	TEAM_BCP_STRING        = "kyve1ruxaec07ca3dh0amkzxjap7av3xjt5vjgnd424"
	TEAM_ALLOCATION_STRING = "165000000000000000"
	TGE_STRING             = "2023-02-01T10:34:15"
)
View Source
var BCP_ADDRESS = ""

BCP_ADDRESS is initialised in types.go by the init function which uses linker flags

View Source
var FOUNDATION_ADDRESS = ""

FOUNDATION_ADDRESS is initialised in types.go by the init function which uses linker flags

View Source
var TEAM_ALLOCATION uint64 = 0

TEAM_ALLOCATION is initialised in types.go by the init function which uses linker flags

View Source
var TGE uint64 = 0

TGE is initialised in types.go by the init function which uses linker flags

Functions

func RegisterCodec

func RegisterCodec(_ *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func TeamVestingAccountKeyPrefix

func TeamVestingAccountKeyPrefix(id uint64) []byte

Types

type Authority

type Authority struct {
	// total inflation rewards is the total amount of rewards the authority has received ever
	TotalRewards uint64 `protobuf:"varint,1,opt,name=total_rewards,json=totalRewards,proto3" json:"total_rewards,omitempty"`
	// claimed is the amount of inflation rewards claimed by the authority
	RewardsClaimed uint64 `protobuf:"varint,2,opt,name=rewards_claimed,json=rewardsClaimed,proto3" json:"rewards_claimed,omitempty"`
}

Authority ...

func (*Authority) Descriptor

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

func (*Authority) GetRewardsClaimed

func (m *Authority) GetRewardsClaimed() uint64

func (*Authority) GetTotalRewards

func (m *Authority) GetTotalRewards() uint64

func (*Authority) Marshal

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

func (*Authority) MarshalTo

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

func (*Authority) MarshalToSizedBuffer

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

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) Reset

func (m *Authority) Reset()

func (*Authority) Size

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

func (*Authority) String

func (m *Authority) String() string

func (*Authority) Unmarshal

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

func (*Authority) XXX_DiscardUnknown

func (m *Authority) XXX_DiscardUnknown()

func (*Authority) XXX_Marshal

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

func (*Authority) XXX_Merge

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

func (*Authority) XXX_Size

func (m *Authority) XXX_Size() int

func (*Authority) XXX_Unmarshal

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

type EventClaimAuthorityRewards

type EventClaimAuthorityRewards struct {
	// authority which initiated this action
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount is the amount of inflation rewards the authority should claim for the account holder
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the receiver address of the claim.
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

EventClaimAuthorityRewards is an event emitted when the authority claims its inflation rewards for a recipient. emitted_by: MsgClaimAuthorityRewards

func (*EventClaimAuthorityRewards) Descriptor

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

func (*EventClaimAuthorityRewards) GetAmount

func (m *EventClaimAuthorityRewards) GetAmount() uint64

func (*EventClaimAuthorityRewards) GetAuthority

func (m *EventClaimAuthorityRewards) GetAuthority() string

func (*EventClaimAuthorityRewards) GetRecipient

func (m *EventClaimAuthorityRewards) GetRecipient() string

func (*EventClaimAuthorityRewards) Marshal

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

func (*EventClaimAuthorityRewards) MarshalTo

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

func (*EventClaimAuthorityRewards) MarshalToSizedBuffer

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

func (*EventClaimAuthorityRewards) ProtoMessage

func (*EventClaimAuthorityRewards) ProtoMessage()

func (*EventClaimAuthorityRewards) Reset

func (m *EventClaimAuthorityRewards) Reset()

func (*EventClaimAuthorityRewards) Size

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

func (*EventClaimAuthorityRewards) String

func (m *EventClaimAuthorityRewards) String() string

func (*EventClaimAuthorityRewards) Unmarshal

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

func (*EventClaimAuthorityRewards) XXX_DiscardUnknown

func (m *EventClaimAuthorityRewards) XXX_DiscardUnknown()

func (*EventClaimAuthorityRewards) XXX_Marshal

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

func (*EventClaimAuthorityRewards) XXX_Merge

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

func (*EventClaimAuthorityRewards) XXX_Size

func (m *EventClaimAuthorityRewards) XXX_Size() int

func (*EventClaimAuthorityRewards) XXX_Unmarshal

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

type EventClaimInflationRewards

type EventClaimInflationRewards struct {
	// authority which initiated this action
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// amount is the amount of inflation rewards the authority should claim for the account holder
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the receiver address of the claim.
	Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

EventClaimInflationRewards is an event emitted when the authority claims inflation rewards for a recipient. emitted_by: MsgClaimInflationRewards

func (*EventClaimInflationRewards) Descriptor

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

func (*EventClaimInflationRewards) GetAmount

func (m *EventClaimInflationRewards) GetAmount() uint64

func (*EventClaimInflationRewards) GetAuthority

func (m *EventClaimInflationRewards) GetAuthority() string

func (*EventClaimInflationRewards) GetId

func (*EventClaimInflationRewards) GetRecipient

func (m *EventClaimInflationRewards) GetRecipient() string

func (*EventClaimInflationRewards) Marshal

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

func (*EventClaimInflationRewards) MarshalTo

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

func (*EventClaimInflationRewards) MarshalToSizedBuffer

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

func (*EventClaimInflationRewards) ProtoMessage

func (*EventClaimInflationRewards) ProtoMessage()

func (*EventClaimInflationRewards) Reset

func (m *EventClaimInflationRewards) Reset()

func (*EventClaimInflationRewards) Size

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

func (*EventClaimInflationRewards) String

func (m *EventClaimInflationRewards) String() string

func (*EventClaimInflationRewards) Unmarshal

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

func (*EventClaimInflationRewards) XXX_DiscardUnknown

func (m *EventClaimInflationRewards) XXX_DiscardUnknown()

func (*EventClaimInflationRewards) XXX_Marshal

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

func (*EventClaimInflationRewards) XXX_Merge

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

func (*EventClaimInflationRewards) XXX_Size

func (m *EventClaimInflationRewards) XXX_Size() int

func (*EventClaimInflationRewards) XXX_Unmarshal

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

type EventClaimedUnlocked

type EventClaimedUnlocked struct {
	// authority which initiated this action
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// amount is the number of tokens claimed from the unlocked amount.
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the receiver address of the claim.
	Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

EventClaimedUnlocked is an event emitted when the authority claims unlocked $KYVE for a recipient. emitted_by: MsgClaimUnlocked

func (*EventClaimedUnlocked) Descriptor

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

func (*EventClaimedUnlocked) GetAmount

func (m *EventClaimedUnlocked) GetAmount() uint64

func (*EventClaimedUnlocked) GetAuthority

func (m *EventClaimedUnlocked) GetAuthority() string

func (*EventClaimedUnlocked) GetId

func (m *EventClaimedUnlocked) GetId() uint64

func (*EventClaimedUnlocked) GetRecipient

func (m *EventClaimedUnlocked) GetRecipient() string

func (*EventClaimedUnlocked) Marshal

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

func (*EventClaimedUnlocked) MarshalTo

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

func (*EventClaimedUnlocked) MarshalToSizedBuffer

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

func (*EventClaimedUnlocked) ProtoMessage

func (*EventClaimedUnlocked) ProtoMessage()

func (*EventClaimedUnlocked) Reset

func (m *EventClaimedUnlocked) Reset()

func (*EventClaimedUnlocked) Size

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

func (*EventClaimedUnlocked) String

func (m *EventClaimedUnlocked) String() string

func (*EventClaimedUnlocked) Unmarshal

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

func (*EventClaimedUnlocked) XXX_DiscardUnknown

func (m *EventClaimedUnlocked) XXX_DiscardUnknown()

func (*EventClaimedUnlocked) XXX_Marshal

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

func (*EventClaimedUnlocked) XXX_Merge

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

func (*EventClaimedUnlocked) XXX_Size

func (m *EventClaimedUnlocked) XXX_Size() int

func (*EventClaimedUnlocked) XXX_Unmarshal

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

type EventClawback

type EventClawback struct {
	// authority which initiated this action
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// clawback is a unix timestamp of a clawback. If timestamp is zero
	// it means that the account has not received a clawback
	Clawback uint64 `protobuf:"varint,3,opt,name=clawback,proto3" json:"clawback,omitempty"`
	// amount which got clawed back.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventClawback is an event emitted when the authority claws back tokens from a team vesting account. emitted_by: MsgClawback

func (*EventClawback) Descriptor

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

func (*EventClawback) GetAmount

func (m *EventClawback) GetAmount() uint64

func (*EventClawback) GetAuthority

func (m *EventClawback) GetAuthority() string

func (*EventClawback) GetClawback

func (m *EventClawback) GetClawback() uint64

func (*EventClawback) GetId

func (m *EventClawback) GetId() uint64

func (*EventClawback) Marshal

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

func (*EventClawback) MarshalTo

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

func (*EventClawback) MarshalToSizedBuffer

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

func (*EventClawback) ProtoMessage

func (*EventClawback) ProtoMessage()

func (*EventClawback) Reset

func (m *EventClawback) Reset()

func (*EventClawback) Size

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

func (*EventClawback) String

func (m *EventClawback) String() string

func (*EventClawback) Unmarshal

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

func (*EventClawback) XXX_DiscardUnknown

func (m *EventClawback) XXX_DiscardUnknown()

func (*EventClawback) XXX_Marshal

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

func (*EventClawback) XXX_Merge

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

func (*EventClawback) XXX_Size

func (m *EventClawback) XXX_Size() int

func (*EventClawback) XXX_Unmarshal

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

type EventCreateTeamVestingAccount

type EventCreateTeamVestingAccount struct {
	// authority which initiated this action
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// total_allocation is the number of tokens reserved for this team member.
	TotalAllocation uint64 `protobuf:"varint,3,opt,name=total_allocation,json=totalAllocation,proto3" json:"total_allocation,omitempty"`
	// commencement is the unix timestamp of the member's official start date.
	Commencement uint64 `protobuf:"varint,4,opt,name=commencement,proto3" json:"commencement,omitempty"`
}

MsgCreateTeamVestingAccount is an event emitted when a new team vesting account gets created. emitted_by: MsgCreateTeamVestingAccount

func (*EventCreateTeamVestingAccount) Descriptor

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

func (*EventCreateTeamVestingAccount) GetAuthority

func (m *EventCreateTeamVestingAccount) GetAuthority() string

func (*EventCreateTeamVestingAccount) GetCommencement

func (m *EventCreateTeamVestingAccount) GetCommencement() uint64

func (*EventCreateTeamVestingAccount) GetId

func (*EventCreateTeamVestingAccount) GetTotalAllocation

func (m *EventCreateTeamVestingAccount) GetTotalAllocation() uint64

func (*EventCreateTeamVestingAccount) Marshal

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

func (*EventCreateTeamVestingAccount) MarshalTo

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

func (*EventCreateTeamVestingAccount) MarshalToSizedBuffer

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

func (*EventCreateTeamVestingAccount) ProtoMessage

func (*EventCreateTeamVestingAccount) ProtoMessage()

func (*EventCreateTeamVestingAccount) Reset

func (m *EventCreateTeamVestingAccount) Reset()

func (*EventCreateTeamVestingAccount) Size

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

func (*EventCreateTeamVestingAccount) String

func (*EventCreateTeamVestingAccount) Unmarshal

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

func (*EventCreateTeamVestingAccount) XXX_DiscardUnknown

func (m *EventCreateTeamVestingAccount) XXX_DiscardUnknown()

func (*EventCreateTeamVestingAccount) XXX_Marshal

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

func (*EventCreateTeamVestingAccount) XXX_Merge

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

func (*EventCreateTeamVestingAccount) XXX_Size

func (m *EventCreateTeamVestingAccount) XXX_Size() int

func (*EventCreateTeamVestingAccount) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// authority ...
	Authority Authority `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority"`
	// account_list ...
	AccountList []TeamVestingAccount `protobuf:"bytes,3,rep,name=account_list,json=accountList,proto3" json:"account_list"`
	// account_count ...
	AccountCount uint64 `protobuf:"varint,4,opt,name=account_count,json=accountCount,proto3" json:"account_count,omitempty"`
}

GenesisState defines the team module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountCount

func (m *GenesisState) GetAccountCount() uint64

func (*GenesisState) GetAccountList

func (m *GenesisState) GetAccountList() []TeamVestingAccount

func (*GenesisState) GetAuthority

func (m *GenesisState) GetAuthority() Authority

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClaimAccountRewards

type MsgClaimAccountRewards struct {
	// authority is the foundation which is allowed to payout unlocked tokens
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is the unique identifier of the team member
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// amount of $KYVE that will be paid to the recipient and marked as deducted from the inflation rewards
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the recipient address chosen by the team member.
	Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

MsgClaimAccountRewards ...

func (*MsgClaimAccountRewards) Descriptor

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

func (*MsgClaimAccountRewards) GetAmount

func (m *MsgClaimAccountRewards) GetAmount() uint64

func (*MsgClaimAccountRewards) GetAuthority

func (m *MsgClaimAccountRewards) GetAuthority() string

func (*MsgClaimAccountRewards) GetId

func (m *MsgClaimAccountRewards) GetId() uint64

func (*MsgClaimAccountRewards) GetRecipient

func (m *MsgClaimAccountRewards) GetRecipient() string

func (*MsgClaimAccountRewards) GetSignBytes

func (msg *MsgClaimAccountRewards) GetSignBytes() []byte

func (*MsgClaimAccountRewards) GetSigners

func (msg *MsgClaimAccountRewards) GetSigners() []sdk.AccAddress

func (*MsgClaimAccountRewards) Marshal

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

func (*MsgClaimAccountRewards) MarshalTo

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

func (*MsgClaimAccountRewards) MarshalToSizedBuffer

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

func (*MsgClaimAccountRewards) ProtoMessage

func (*MsgClaimAccountRewards) ProtoMessage()

func (*MsgClaimAccountRewards) Reset

func (m *MsgClaimAccountRewards) Reset()

func (*MsgClaimAccountRewards) Route

func (msg *MsgClaimAccountRewards) Route() string

func (*MsgClaimAccountRewards) Size

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

func (*MsgClaimAccountRewards) String

func (m *MsgClaimAccountRewards) String() string

func (*MsgClaimAccountRewards) Type

func (msg *MsgClaimAccountRewards) Type() string

func (*MsgClaimAccountRewards) Unmarshal

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

func (*MsgClaimAccountRewards) ValidateBasic

func (msg *MsgClaimAccountRewards) ValidateBasic() error

func (*MsgClaimAccountRewards) XXX_DiscardUnknown

func (m *MsgClaimAccountRewards) XXX_DiscardUnknown()

func (*MsgClaimAccountRewards) XXX_Marshal

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

func (*MsgClaimAccountRewards) XXX_Merge

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

func (*MsgClaimAccountRewards) XXX_Size

func (m *MsgClaimAccountRewards) XXX_Size() int

func (*MsgClaimAccountRewards) XXX_Unmarshal

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

type MsgClaimAccountRewardsResponse

type MsgClaimAccountRewardsResponse struct {
}

MsgClaimAccountRewardsResponse defines the Msg/ClaimAccountRewards response type.

func (*MsgClaimAccountRewardsResponse) Descriptor

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

func (*MsgClaimAccountRewardsResponse) Marshal

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

func (*MsgClaimAccountRewardsResponse) MarshalTo

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

func (*MsgClaimAccountRewardsResponse) MarshalToSizedBuffer

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

func (*MsgClaimAccountRewardsResponse) ProtoMessage

func (*MsgClaimAccountRewardsResponse) ProtoMessage()

func (*MsgClaimAccountRewardsResponse) Reset

func (m *MsgClaimAccountRewardsResponse) Reset()

func (*MsgClaimAccountRewardsResponse) Size

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

func (*MsgClaimAccountRewardsResponse) String

func (*MsgClaimAccountRewardsResponse) Unmarshal

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

func (*MsgClaimAccountRewardsResponse) XXX_DiscardUnknown

func (m *MsgClaimAccountRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimAccountRewardsResponse) XXX_Marshal

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

func (*MsgClaimAccountRewardsResponse) XXX_Merge

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

func (*MsgClaimAccountRewardsResponse) XXX_Size

func (m *MsgClaimAccountRewardsResponse) XXX_Size() int

func (*MsgClaimAccountRewardsResponse) XXX_Unmarshal

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

type MsgClaimAuthorityRewards

type MsgClaimAuthorityRewards struct {
	// authority is the foundation which is allowed to payout unlocked tokens
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount of $KYVE that will be paid to the recipient and marked as deducted from the authority inflation rewards
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the recipient address chosen by the team member.
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

MsgClaimAuthorityRewards ...

func (*MsgClaimAuthorityRewards) Descriptor

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

func (*MsgClaimAuthorityRewards) GetAmount

func (m *MsgClaimAuthorityRewards) GetAmount() uint64

func (*MsgClaimAuthorityRewards) GetAuthority

func (m *MsgClaimAuthorityRewards) GetAuthority() string

func (*MsgClaimAuthorityRewards) GetRecipient

func (m *MsgClaimAuthorityRewards) GetRecipient() string

func (*MsgClaimAuthorityRewards) GetSignBytes

func (msg *MsgClaimAuthorityRewards) GetSignBytes() []byte

func (*MsgClaimAuthorityRewards) GetSigners

func (msg *MsgClaimAuthorityRewards) GetSigners() []sdk.AccAddress

func (*MsgClaimAuthorityRewards) Marshal

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

func (*MsgClaimAuthorityRewards) MarshalTo

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

func (*MsgClaimAuthorityRewards) MarshalToSizedBuffer

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

func (*MsgClaimAuthorityRewards) ProtoMessage

func (*MsgClaimAuthorityRewards) ProtoMessage()

func (*MsgClaimAuthorityRewards) Reset

func (m *MsgClaimAuthorityRewards) Reset()

func (*MsgClaimAuthorityRewards) Route

func (msg *MsgClaimAuthorityRewards) Route() string

func (*MsgClaimAuthorityRewards) Size

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

func (*MsgClaimAuthorityRewards) String

func (m *MsgClaimAuthorityRewards) String() string

func (*MsgClaimAuthorityRewards) Type

func (msg *MsgClaimAuthorityRewards) Type() string

func (*MsgClaimAuthorityRewards) Unmarshal

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

func (*MsgClaimAuthorityRewards) ValidateBasic

func (msg *MsgClaimAuthorityRewards) ValidateBasic() error

func (*MsgClaimAuthorityRewards) XXX_DiscardUnknown

func (m *MsgClaimAuthorityRewards) XXX_DiscardUnknown()

func (*MsgClaimAuthorityRewards) XXX_Marshal

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

func (*MsgClaimAuthorityRewards) XXX_Merge

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

func (*MsgClaimAuthorityRewards) XXX_Size

func (m *MsgClaimAuthorityRewards) XXX_Size() int

func (*MsgClaimAuthorityRewards) XXX_Unmarshal

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

type MsgClaimAuthorityRewardsResponse

type MsgClaimAuthorityRewardsResponse struct {
}

MsgClaimAuthorityRewardsResponse defines the Msg/ClaimAuthorityRewards response type.

func (*MsgClaimAuthorityRewardsResponse) Descriptor

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

func (*MsgClaimAuthorityRewardsResponse) Marshal

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

func (*MsgClaimAuthorityRewardsResponse) MarshalTo

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

func (*MsgClaimAuthorityRewardsResponse) MarshalToSizedBuffer

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

func (*MsgClaimAuthorityRewardsResponse) ProtoMessage

func (*MsgClaimAuthorityRewardsResponse) ProtoMessage()

func (*MsgClaimAuthorityRewardsResponse) Reset

func (*MsgClaimAuthorityRewardsResponse) Size

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

func (*MsgClaimAuthorityRewardsResponse) String

func (*MsgClaimAuthorityRewardsResponse) Unmarshal

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

func (*MsgClaimAuthorityRewardsResponse) XXX_DiscardUnknown

func (m *MsgClaimAuthorityRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimAuthorityRewardsResponse) XXX_Marshal

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

func (*MsgClaimAuthorityRewardsResponse) XXX_Merge

func (*MsgClaimAuthorityRewardsResponse) XXX_Size

func (m *MsgClaimAuthorityRewardsResponse) XXX_Size() int

func (*MsgClaimAuthorityRewardsResponse) XXX_Unmarshal

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

type MsgClaimUnlocked

type MsgClaimUnlocked struct {
	// authority is the foundation which is allowed to payout unlocked tokens
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is the unique identifier of the team member
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// amount of $KYVE that will be paid to the recipient and marked as deducted from the unlocked amount.
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// recipient is the recipient address chosen by the team member.
	Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

MsgClaimUnlockedTokens ...

func (*MsgClaimUnlocked) Descriptor

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

func (*MsgClaimUnlocked) GetAmount

func (m *MsgClaimUnlocked) GetAmount() uint64

func (*MsgClaimUnlocked) GetAuthority

func (m *MsgClaimUnlocked) GetAuthority() string

func (*MsgClaimUnlocked) GetId

func (m *MsgClaimUnlocked) GetId() uint64

func (*MsgClaimUnlocked) GetRecipient

func (m *MsgClaimUnlocked) GetRecipient() string

func (*MsgClaimUnlocked) GetSignBytes

func (msg *MsgClaimUnlocked) GetSignBytes() []byte

func (*MsgClaimUnlocked) GetSigners

func (msg *MsgClaimUnlocked) GetSigners() []sdk.AccAddress

func (*MsgClaimUnlocked) Marshal

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

func (*MsgClaimUnlocked) MarshalTo

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

func (*MsgClaimUnlocked) MarshalToSizedBuffer

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

func (*MsgClaimUnlocked) ProtoMessage

func (*MsgClaimUnlocked) ProtoMessage()

func (*MsgClaimUnlocked) Reset

func (m *MsgClaimUnlocked) Reset()

func (*MsgClaimUnlocked) Route

func (msg *MsgClaimUnlocked) Route() string

func (*MsgClaimUnlocked) Size

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

func (*MsgClaimUnlocked) String

func (m *MsgClaimUnlocked) String() string

func (*MsgClaimUnlocked) Type

func (msg *MsgClaimUnlocked) Type() string

func (*MsgClaimUnlocked) Unmarshal

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

func (*MsgClaimUnlocked) ValidateBasic

func (msg *MsgClaimUnlocked) ValidateBasic() error

func (*MsgClaimUnlocked) XXX_DiscardUnknown

func (m *MsgClaimUnlocked) XXX_DiscardUnknown()

func (*MsgClaimUnlocked) XXX_Marshal

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

func (*MsgClaimUnlocked) XXX_Merge

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

func (*MsgClaimUnlocked) XXX_Size

func (m *MsgClaimUnlocked) XXX_Size() int

func (*MsgClaimUnlocked) XXX_Unmarshal

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

type MsgClaimUnlockedResponse

type MsgClaimUnlockedResponse struct {
}

MsgClaimUnlockedResponse defines the Msg/ClaimUnlockedTokens response type.

func (*MsgClaimUnlockedResponse) Descriptor

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

func (*MsgClaimUnlockedResponse) Marshal

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

func (*MsgClaimUnlockedResponse) MarshalTo

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

func (*MsgClaimUnlockedResponse) MarshalToSizedBuffer

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

func (*MsgClaimUnlockedResponse) ProtoMessage

func (*MsgClaimUnlockedResponse) ProtoMessage()

func (*MsgClaimUnlockedResponse) Reset

func (m *MsgClaimUnlockedResponse) Reset()

func (*MsgClaimUnlockedResponse) Size

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

func (*MsgClaimUnlockedResponse) String

func (m *MsgClaimUnlockedResponse) String() string

func (*MsgClaimUnlockedResponse) Unmarshal

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

func (*MsgClaimUnlockedResponse) XXX_DiscardUnknown

func (m *MsgClaimUnlockedResponse) XXX_DiscardUnknown()

func (*MsgClaimUnlockedResponse) XXX_Marshal

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

func (*MsgClaimUnlockedResponse) XXX_Merge

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

func (*MsgClaimUnlockedResponse) XXX_Size

func (m *MsgClaimUnlockedResponse) XXX_Size() int

func (*MsgClaimUnlockedResponse) XXX_Unmarshal

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

type MsgClawback

type MsgClawback struct {
	// authority is the foundation which is allowed to modify team accounts
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// id is the unique identifier of the team member
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// clawback is a unix timestamp (in seconds) of when the clawback should be applied
	Clawback uint64 `protobuf:"varint,3,opt,name=clawback,proto3" json:"clawback,omitempty"`
}

MsgClawback ...

func (*MsgClawback) Descriptor

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

func (*MsgClawback) GetAuthority

func (m *MsgClawback) GetAuthority() string

func (*MsgClawback) GetClawback

func (m *MsgClawback) GetClawback() uint64

func (*MsgClawback) GetId

func (m *MsgClawback) GetId() uint64

func (*MsgClawback) GetSignBytes

func (msg *MsgClawback) GetSignBytes() []byte

func (*MsgClawback) GetSigners

func (msg *MsgClawback) GetSigners() []sdk.AccAddress

func (*MsgClawback) Marshal

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

func (*MsgClawback) MarshalTo

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

func (*MsgClawback) MarshalToSizedBuffer

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

func (*MsgClawback) ProtoMessage

func (*MsgClawback) ProtoMessage()

func (*MsgClawback) Reset

func (m *MsgClawback) Reset()

func (*MsgClawback) Route

func (msg *MsgClawback) Route() string

func (*MsgClawback) Size

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

func (*MsgClawback) String

func (m *MsgClawback) String() string

func (*MsgClawback) Type

func (msg *MsgClawback) Type() string

func (*MsgClawback) Unmarshal

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

func (*MsgClawback) ValidateBasic

func (msg *MsgClawback) ValidateBasic() error

func (*MsgClawback) XXX_DiscardUnknown

func (m *MsgClawback) XXX_DiscardUnknown()

func (*MsgClawback) XXX_Marshal

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

func (*MsgClawback) XXX_Merge

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

func (*MsgClawback) XXX_Size

func (m *MsgClawback) XXX_Size() int

func (*MsgClawback) XXX_Unmarshal

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

type MsgClawbackResponse

type MsgClawbackResponse struct {
}

MsgClawbackResponse defines the Msg/Clawback response type.

func (*MsgClawbackResponse) Descriptor

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

func (*MsgClawbackResponse) Marshal

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

func (*MsgClawbackResponse) MarshalTo

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

func (*MsgClawbackResponse) MarshalToSizedBuffer

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

func (*MsgClawbackResponse) ProtoMessage

func (*MsgClawbackResponse) ProtoMessage()

func (*MsgClawbackResponse) Reset

func (m *MsgClawbackResponse) Reset()

func (*MsgClawbackResponse) Size

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

func (*MsgClawbackResponse) String

func (m *MsgClawbackResponse) String() string

func (*MsgClawbackResponse) Unmarshal

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

func (*MsgClawbackResponse) XXX_DiscardUnknown

func (m *MsgClawbackResponse) XXX_DiscardUnknown()

func (*MsgClawbackResponse) XXX_Marshal

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

func (*MsgClawbackResponse) XXX_Merge

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

func (*MsgClawbackResponse) XXX_Size

func (m *MsgClawbackResponse) XXX_Size() int

func (*MsgClawbackResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// ClaimUnlocked ...
	ClaimUnlocked(ctx context.Context, in *MsgClaimUnlocked, opts ...grpc.CallOption) (*MsgClaimUnlockedResponse, error)
	// Clawback ...
	Clawback(ctx context.Context, in *MsgClawback, opts ...grpc.CallOption) (*MsgClawbackResponse, error)
	// CreateTeamVestingAccount ...
	CreateTeamVestingAccount(ctx context.Context, in *MsgCreateTeamVestingAccount, opts ...grpc.CallOption) (*MsgCreateTeamVestingAccountResponse, error)
	// ClaimAuthorityRewards ...
	ClaimAuthorityRewards(ctx context.Context, in *MsgClaimAuthorityRewards, opts ...grpc.CallOption) (*MsgClaimAuthorityRewardsResponse, error)
	// ClaimInflationRewards ...
	ClaimAccountRewards(ctx context.Context, in *MsgClaimAccountRewards, opts ...grpc.CallOption) (*MsgClaimAccountRewardsResponse, 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 MsgCreateTeamVestingAccount

type MsgCreateTeamVestingAccount struct {
	// authority ...
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// total_allocation is the number of tokens reserved for this team member.
	TotalAllocation uint64 `protobuf:"varint,2,opt,name=total_allocation,json=totalAllocation,proto3" json:"total_allocation,omitempty"`
	// commencement is the unix timestamp of the member's official start date.
	Commencement uint64 `protobuf:"varint,3,opt,name=commencement,proto3" json:"commencement,omitempty"`
}

MsgCreateTeamVestingAccount ...

func (*MsgCreateTeamVestingAccount) Descriptor

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

func (*MsgCreateTeamVestingAccount) GetAuthority

func (m *MsgCreateTeamVestingAccount) GetAuthority() string

func (*MsgCreateTeamVestingAccount) GetCommencement

func (m *MsgCreateTeamVestingAccount) GetCommencement() uint64

func (*MsgCreateTeamVestingAccount) GetSignBytes

func (msg *MsgCreateTeamVestingAccount) GetSignBytes() []byte

func (*MsgCreateTeamVestingAccount) GetSigners

func (msg *MsgCreateTeamVestingAccount) GetSigners() []sdk.AccAddress

func (*MsgCreateTeamVestingAccount) GetTotalAllocation

func (m *MsgCreateTeamVestingAccount) GetTotalAllocation() uint64

func (*MsgCreateTeamVestingAccount) Marshal

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

func (*MsgCreateTeamVestingAccount) MarshalTo

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

func (*MsgCreateTeamVestingAccount) MarshalToSizedBuffer

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

func (*MsgCreateTeamVestingAccount) ProtoMessage

func (*MsgCreateTeamVestingAccount) ProtoMessage()

func (*MsgCreateTeamVestingAccount) Reset

func (m *MsgCreateTeamVestingAccount) Reset()

func (*MsgCreateTeamVestingAccount) Route

func (msg *MsgCreateTeamVestingAccount) Route() string

func (*MsgCreateTeamVestingAccount) Size

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

func (*MsgCreateTeamVestingAccount) String

func (m *MsgCreateTeamVestingAccount) String() string

func (*MsgCreateTeamVestingAccount) Type

func (msg *MsgCreateTeamVestingAccount) Type() string

func (*MsgCreateTeamVestingAccount) Unmarshal

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

func (*MsgCreateTeamVestingAccount) ValidateBasic

func (msg *MsgCreateTeamVestingAccount) ValidateBasic() error

func (*MsgCreateTeamVestingAccount) XXX_DiscardUnknown

func (m *MsgCreateTeamVestingAccount) XXX_DiscardUnknown()

func (*MsgCreateTeamVestingAccount) XXX_Marshal

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

func (*MsgCreateTeamVestingAccount) XXX_Merge

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

func (*MsgCreateTeamVestingAccount) XXX_Size

func (m *MsgCreateTeamVestingAccount) XXX_Size() int

func (*MsgCreateTeamVestingAccount) XXX_Unmarshal

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

type MsgCreateTeamVestingAccountResponse

type MsgCreateTeamVestingAccountResponse struct {
}

MsgCreateTeamVestingAccountResponse defines the Msg/CreateTeamVestingAccount response type.

func (*MsgCreateTeamVestingAccountResponse) Descriptor

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

func (*MsgCreateTeamVestingAccountResponse) Marshal

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

func (*MsgCreateTeamVestingAccountResponse) MarshalTo

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

func (*MsgCreateTeamVestingAccountResponse) MarshalToSizedBuffer

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

func (*MsgCreateTeamVestingAccountResponse) ProtoMessage

func (*MsgCreateTeamVestingAccountResponse) ProtoMessage()

func (*MsgCreateTeamVestingAccountResponse) Reset

func (*MsgCreateTeamVestingAccountResponse) Size

func (*MsgCreateTeamVestingAccountResponse) String

func (*MsgCreateTeamVestingAccountResponse) Unmarshal

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

func (*MsgCreateTeamVestingAccountResponse) XXX_DiscardUnknown

func (m *MsgCreateTeamVestingAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateTeamVestingAccountResponse) XXX_Marshal

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

func (*MsgCreateTeamVestingAccountResponse) XXX_Merge

func (*MsgCreateTeamVestingAccountResponse) XXX_Size

func (*MsgCreateTeamVestingAccountResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// ClaimUnlocked ...
	ClaimUnlocked(context.Context, *MsgClaimUnlocked) (*MsgClaimUnlockedResponse, error)
	// Clawback ...
	Clawback(context.Context, *MsgClawback) (*MsgClawbackResponse, error)
	// CreateTeamVestingAccount ...
	CreateTeamVestingAccount(context.Context, *MsgCreateTeamVestingAccount) (*MsgCreateTeamVestingAccountResponse, error)
	// ClaimAuthorityRewards ...
	ClaimAuthorityRewards(context.Context, *MsgClaimAuthorityRewards) (*MsgClaimAuthorityRewardsResponse, error)
	// ClaimInflationRewards ...
	ClaimAccountRewards(context.Context, *MsgClaimAccountRewards) (*MsgClaimAccountRewardsResponse, error)
}

MsgServer is the server API for Msg service.

type QueryClient

type QueryClient interface {
	// TeamInfo queries all important information from the team module
	TeamInfo(ctx context.Context, in *QueryTeamInfoRequest, opts ...grpc.CallOption) (*QueryTeamInfoResponse, error)
	// TeamVestingAccounts queries all team vesting accounts of the module.
	TeamVestingAccounts(ctx context.Context, in *QueryTeamVestingAccountsRequest, opts ...grpc.CallOption) (*QueryTeamVestingAccountsResponse, error)
	// TeamVestingAccount queries the team vesting accounts of the module.
	TeamVestingAccount(ctx context.Context, in *QueryTeamVestingAccountRequest, opts ...grpc.CallOption) (*QueryTeamVestingAccountResponse, error)
	// TeamCurrentVestingStatus queries the current vesting progress of a team vesting account
	TeamVestingStatus(ctx context.Context, in *QueryTeamVestingStatusRequest, opts ...grpc.CallOption) (*QueryTeamVestingStatusResponse, error)
	// TeamCurrentVestingStatus queries the current vesting progress of a team vesting account
	TeamVestingStatusByTime(ctx context.Context, in *QueryTeamVestingStatusByTimeRequest, opts ...grpc.CallOption) (*QueryTeamVestingStatusByTimeResponse, 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 QueryServer

type QueryServer interface {
	// TeamInfo queries all important information from the team module
	TeamInfo(context.Context, *QueryTeamInfoRequest) (*QueryTeamInfoResponse, error)
	// TeamVestingAccounts queries all team vesting accounts of the module.
	TeamVestingAccounts(context.Context, *QueryTeamVestingAccountsRequest) (*QueryTeamVestingAccountsResponse, error)
	// TeamVestingAccount queries the team vesting accounts of the module.
	TeamVestingAccount(context.Context, *QueryTeamVestingAccountRequest) (*QueryTeamVestingAccountResponse, error)
	// TeamCurrentVestingStatus queries the current vesting progress of a team vesting account
	TeamVestingStatus(context.Context, *QueryTeamVestingStatusRequest) (*QueryTeamVestingStatusResponse, error)
	// TeamCurrentVestingStatus queries the current vesting progress of a team vesting account
	TeamVestingStatusByTime(context.Context, *QueryTeamVestingStatusByTimeRequest) (*QueryTeamVestingStatusByTimeResponse, error)
}

QueryServer is the server API for Query service.

type QueryTeamInfoRequest

type QueryTeamInfoRequest struct {
}

QueryAccountsRequest is request type for the Query/TeamInfo RPC method.

func (*QueryTeamInfoRequest) Descriptor

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

func (*QueryTeamInfoRequest) Marshal

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

func (*QueryTeamInfoRequest) MarshalTo

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

func (*QueryTeamInfoRequest) MarshalToSizedBuffer

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

func (*QueryTeamInfoRequest) ProtoMessage

func (*QueryTeamInfoRequest) ProtoMessage()

func (*QueryTeamInfoRequest) Reset

func (m *QueryTeamInfoRequest) Reset()

func (*QueryTeamInfoRequest) Size

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

func (*QueryTeamInfoRequest) String

func (m *QueryTeamInfoRequest) String() string

func (*QueryTeamInfoRequest) Unmarshal

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

func (*QueryTeamInfoRequest) XXX_DiscardUnknown

func (m *QueryTeamInfoRequest) XXX_DiscardUnknown()

func (*QueryTeamInfoRequest) XXX_Marshal

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

func (*QueryTeamInfoRequest) XXX_Merge

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

func (*QueryTeamInfoRequest) XXX_Size

func (m *QueryTeamInfoRequest) XXX_Size() int

func (*QueryTeamInfoRequest) XXX_Unmarshal

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

type QueryTeamInfoResponse

type QueryTeamInfoResponse struct {
	// foundation is the authority foundation address
	FoundationAuthority string `protobuf:"bytes,1,opt,name=foundation_authority,json=foundationAuthority,proto3" json:"foundation_authority,omitempty"`
	// bcp is the authority bcp address
	BcpAuthority string `protobuf:"bytes,2,opt,name=bcp_authority,json=bcpAuthority,proto3" json:"bcp_authority,omitempty"`
	// total_team_allocation is the total allocation in $KYVE the team module has in order to reward team members
	TotalTeamAllocation uint64 `protobuf:"varint,3,opt,name=total_team_allocation,json=totalTeamAllocation,proto3" json:"total_team_allocation,omitempty"`
	// issued_team_allocation is the amount in $KYVE tied to team vesting accounts and which are not available anymore
	IssuedTeamAllocation uint64 `protobuf:"varint,4,opt,name=issued_team_allocation,json=issuedTeamAllocation,proto3" json:"issued_team_allocation,omitempty"`
	// available_team_allocation is the amount in $KYVE with which further team vesting accounts can be created.
	// if the available amount is zero no new vesting accounts can be created
	AvailableTeamAllocation uint64 `` /* 133-byte string literal not displayed */
	// total_authority_rewards is the amount in $KYVE the authority has earned in total with inflation rewards.
	// Those rewards can be payed out for different purposes
	TotalAuthorityRewards uint64 `` /* 127-byte string literal not displayed */
	// claimed_authority_rewards is the amount in $KYVE of how much the authority already claimed
	ClaimedAuthorityRewards uint64 `` /* 133-byte string literal not displayed */
	// available_authority_rewards is the amount in $KYVE of how much rewards the authority can claim right now
	AvailableAuthorityRewards uint64 `` /* 139-byte string literal not displayed */
	// total_account_rewards is the amount in $KYVE all team vesting accounts have ever received
	TotalAccountRewards uint64 `protobuf:"varint,9,opt,name=total_account_rewards,json=totalAccountRewards,proto3" json:"total_account_rewards,omitempty"`
	// claimed_account_rewards is the amount in $KYVE all team vesting accounts have ever claimed
	ClaimedAccountRewards uint64 `` /* 128-byte string literal not displayed */
	// available_account_rewards is the total amount of $KYVE all team vesting accounts can currently claim
	AvailableAccountRewards uint64 `` /* 134-byte string literal not displayed */
	// required_module_balance is the balance the team module should have. If this is less than the module balance
	// something went wrong
	RequiredModuleBalance uint64 `` /* 128-byte string literal not displayed */
	// team_module_balance is the team module balance in $KYVE
	TeamModuleBalance uint64 `protobuf:"varint,13,opt,name=team_module_balance,json=teamModuleBalance,proto3" json:"team_module_balance,omitempty"`
}

QueryAccountsResponse is response type for the Query/TeamInfo RPC method.

func (*QueryTeamInfoResponse) Descriptor

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

func (*QueryTeamInfoResponse) GetAvailableAccountRewards

func (m *QueryTeamInfoResponse) GetAvailableAccountRewards() uint64

func (*QueryTeamInfoResponse) GetAvailableAuthorityRewards

func (m *QueryTeamInfoResponse) GetAvailableAuthorityRewards() uint64

func (*QueryTeamInfoResponse) GetAvailableTeamAllocation

func (m *QueryTeamInfoResponse) GetAvailableTeamAllocation() uint64

func (*QueryTeamInfoResponse) GetBcpAuthority

func (m *QueryTeamInfoResponse) GetBcpAuthority() string

func (*QueryTeamInfoResponse) GetClaimedAccountRewards

func (m *QueryTeamInfoResponse) GetClaimedAccountRewards() uint64

func (*QueryTeamInfoResponse) GetClaimedAuthorityRewards

func (m *QueryTeamInfoResponse) GetClaimedAuthorityRewards() uint64

func (*QueryTeamInfoResponse) GetFoundationAuthority

func (m *QueryTeamInfoResponse) GetFoundationAuthority() string

func (*QueryTeamInfoResponse) GetIssuedTeamAllocation

func (m *QueryTeamInfoResponse) GetIssuedTeamAllocation() uint64

func (*QueryTeamInfoResponse) GetRequiredModuleBalance

func (m *QueryTeamInfoResponse) GetRequiredModuleBalance() uint64

func (*QueryTeamInfoResponse) GetTeamModuleBalance

func (m *QueryTeamInfoResponse) GetTeamModuleBalance() uint64

func (*QueryTeamInfoResponse) GetTotalAccountRewards

func (m *QueryTeamInfoResponse) GetTotalAccountRewards() uint64

func (*QueryTeamInfoResponse) GetTotalAuthorityRewards

func (m *QueryTeamInfoResponse) GetTotalAuthorityRewards() uint64

func (*QueryTeamInfoResponse) GetTotalTeamAllocation

func (m *QueryTeamInfoResponse) GetTotalTeamAllocation() uint64

func (*QueryTeamInfoResponse) Marshal

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

func (*QueryTeamInfoResponse) MarshalTo

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

func (*QueryTeamInfoResponse) MarshalToSizedBuffer

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

func (*QueryTeamInfoResponse) ProtoMessage

func (*QueryTeamInfoResponse) ProtoMessage()

func (*QueryTeamInfoResponse) Reset

func (m *QueryTeamInfoResponse) Reset()

func (*QueryTeamInfoResponse) Size

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

func (*QueryTeamInfoResponse) String

func (m *QueryTeamInfoResponse) String() string

func (*QueryTeamInfoResponse) Unmarshal

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

func (*QueryTeamInfoResponse) XXX_DiscardUnknown

func (m *QueryTeamInfoResponse) XXX_DiscardUnknown()

func (*QueryTeamInfoResponse) XXX_Marshal

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

func (*QueryTeamInfoResponse) XXX_Merge

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

func (*QueryTeamInfoResponse) XXX_Size

func (m *QueryTeamInfoResponse) XXX_Size() int

func (*QueryTeamInfoResponse) XXX_Unmarshal

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

type QueryTeamVestingAccountRequest

type QueryTeamVestingAccountRequest struct {
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryTeamVestingAccountRequest is request type for the Query/TeamVestingAccount RPC method.

func (*QueryTeamVestingAccountRequest) Descriptor

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

func (*QueryTeamVestingAccountRequest) GetId

func (*QueryTeamVestingAccountRequest) Marshal

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

func (*QueryTeamVestingAccountRequest) MarshalTo

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

func (*QueryTeamVestingAccountRequest) MarshalToSizedBuffer

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

func (*QueryTeamVestingAccountRequest) ProtoMessage

func (*QueryTeamVestingAccountRequest) ProtoMessage()

func (*QueryTeamVestingAccountRequest) Reset

func (m *QueryTeamVestingAccountRequest) Reset()

func (*QueryTeamVestingAccountRequest) Size

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

func (*QueryTeamVestingAccountRequest) String

func (*QueryTeamVestingAccountRequest) Unmarshal

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

func (*QueryTeamVestingAccountRequest) XXX_DiscardUnknown

func (m *QueryTeamVestingAccountRequest) XXX_DiscardUnknown()

func (*QueryTeamVestingAccountRequest) XXX_Marshal

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

func (*QueryTeamVestingAccountRequest) XXX_Merge

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

func (*QueryTeamVestingAccountRequest) XXX_Size

func (m *QueryTeamVestingAccountRequest) XXX_Size() int

func (*QueryTeamVestingAccountRequest) XXX_Unmarshal

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

type QueryTeamVestingAccountResponse

type QueryTeamVestingAccountResponse struct {
	// account holds the requested team vesting account
	Account TeamVestingAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account"`
}

QueryTeamVestingAccountResponse is the response type for the Query/TeamVestingAccount RPC method.

func (*QueryTeamVestingAccountResponse) Descriptor

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

func (*QueryTeamVestingAccountResponse) GetAccount

func (*QueryTeamVestingAccountResponse) Marshal

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

func (*QueryTeamVestingAccountResponse) MarshalTo

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

func (*QueryTeamVestingAccountResponse) MarshalToSizedBuffer

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

func (*QueryTeamVestingAccountResponse) ProtoMessage

func (*QueryTeamVestingAccountResponse) ProtoMessage()

func (*QueryTeamVestingAccountResponse) Reset

func (*QueryTeamVestingAccountResponse) Size

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

func (*QueryTeamVestingAccountResponse) String

func (*QueryTeamVestingAccountResponse) Unmarshal

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

func (*QueryTeamVestingAccountResponse) XXX_DiscardUnknown

func (m *QueryTeamVestingAccountResponse) XXX_DiscardUnknown()

func (*QueryTeamVestingAccountResponse) XXX_Marshal

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

func (*QueryTeamVestingAccountResponse) XXX_Merge

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

func (*QueryTeamVestingAccountResponse) XXX_Size

func (m *QueryTeamVestingAccountResponse) XXX_Size() int

func (*QueryTeamVestingAccountResponse) XXX_Unmarshal

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

type QueryTeamVestingAccountsRequest

type QueryTeamVestingAccountsRequest struct {
}

QueryAccountsRequest is request type for the Query/TeamVestingAccounts RPC method.

func (*QueryTeamVestingAccountsRequest) Descriptor

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

func (*QueryTeamVestingAccountsRequest) Marshal

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

func (*QueryTeamVestingAccountsRequest) MarshalTo

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

func (*QueryTeamVestingAccountsRequest) MarshalToSizedBuffer

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

func (*QueryTeamVestingAccountsRequest) ProtoMessage

func (*QueryTeamVestingAccountsRequest) ProtoMessage()

func (*QueryTeamVestingAccountsRequest) Reset

func (*QueryTeamVestingAccountsRequest) Size

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

func (*QueryTeamVestingAccountsRequest) String

func (*QueryTeamVestingAccountsRequest) Unmarshal

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

func (*QueryTeamVestingAccountsRequest) XXX_DiscardUnknown

func (m *QueryTeamVestingAccountsRequest) XXX_DiscardUnknown()

func (*QueryTeamVestingAccountsRequest) XXX_Marshal

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

func (*QueryTeamVestingAccountsRequest) XXX_Merge

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

func (*QueryTeamVestingAccountsRequest) XXX_Size

func (m *QueryTeamVestingAccountsRequest) XXX_Size() int

func (*QueryTeamVestingAccountsRequest) XXX_Unmarshal

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

type QueryTeamVestingAccountsResponse

type QueryTeamVestingAccountsResponse struct {
	// accounts holds all the team vesting accounts of this module.
	Accounts []TeamVestingAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts"`
}

QueryAccountsResponse is response type for the Query/TeamVestingAccounts RPC method.

func (*QueryTeamVestingAccountsResponse) Descriptor

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

func (*QueryTeamVestingAccountsResponse) GetAccounts

func (*QueryTeamVestingAccountsResponse) Marshal

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

func (*QueryTeamVestingAccountsResponse) MarshalTo

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

func (*QueryTeamVestingAccountsResponse) MarshalToSizedBuffer

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

func (*QueryTeamVestingAccountsResponse) ProtoMessage

func (*QueryTeamVestingAccountsResponse) ProtoMessage()

func (*QueryTeamVestingAccountsResponse) Reset

func (*QueryTeamVestingAccountsResponse) Size

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

func (*QueryTeamVestingAccountsResponse) String

func (*QueryTeamVestingAccountsResponse) Unmarshal

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

func (*QueryTeamVestingAccountsResponse) XXX_DiscardUnknown

func (m *QueryTeamVestingAccountsResponse) XXX_DiscardUnknown()

func (*QueryTeamVestingAccountsResponse) XXX_Marshal

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

func (*QueryTeamVestingAccountsResponse) XXX_Merge

func (*QueryTeamVestingAccountsResponse) XXX_Size

func (m *QueryTeamVestingAccountsResponse) XXX_Size() int

func (*QueryTeamVestingAccountsResponse) XXX_Unmarshal

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

type QueryTeamVestingStatusByTimeRequest

type QueryTeamVestingStatusByTimeRequest struct {
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// time is a unix timestamp of the time the vesting progress should be calculated
	Time uint64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
}

QueryTeamVestingStatusByTimeRequest is request type for the Query/TeamCurrentVestingByTimeStatus RPC method.

func (*QueryTeamVestingStatusByTimeRequest) Descriptor

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

func (*QueryTeamVestingStatusByTimeRequest) GetId

func (*QueryTeamVestingStatusByTimeRequest) GetTime

func (*QueryTeamVestingStatusByTimeRequest) Marshal

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

func (*QueryTeamVestingStatusByTimeRequest) MarshalTo

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

func (*QueryTeamVestingStatusByTimeRequest) MarshalToSizedBuffer

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

func (*QueryTeamVestingStatusByTimeRequest) ProtoMessage

func (*QueryTeamVestingStatusByTimeRequest) ProtoMessage()

func (*QueryTeamVestingStatusByTimeRequest) Reset

func (*QueryTeamVestingStatusByTimeRequest) Size

func (*QueryTeamVestingStatusByTimeRequest) String

func (*QueryTeamVestingStatusByTimeRequest) Unmarshal

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

func (*QueryTeamVestingStatusByTimeRequest) XXX_DiscardUnknown

func (m *QueryTeamVestingStatusByTimeRequest) XXX_DiscardUnknown()

func (*QueryTeamVestingStatusByTimeRequest) XXX_Marshal

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

func (*QueryTeamVestingStatusByTimeRequest) XXX_Merge

func (*QueryTeamVestingStatusByTimeRequest) XXX_Size

func (*QueryTeamVestingStatusByTimeRequest) XXX_Unmarshal

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

type QueryTeamVestingStatusByTimeResponse

type QueryTeamVestingStatusByTimeResponse struct {
	// request_date ..
	RequestDate string `protobuf:"bytes,1,opt,name=request_date,json=requestDate,proto3" json:"request_date,omitempty"`
	// plan ...
	Plan *QueryVestingPlan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	// status ..
	Status *QueryVestingStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
}

QueryTeamVestingStatusByTimeResponse is the response type for the Query/TeamCurrentVestingByTimeStatus RPC method.

func (*QueryTeamVestingStatusByTimeResponse) Descriptor

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

func (*QueryTeamVestingStatusByTimeResponse) GetPlan

func (*QueryTeamVestingStatusByTimeResponse) GetRequestDate

func (m *QueryTeamVestingStatusByTimeResponse) GetRequestDate() string

func (*QueryTeamVestingStatusByTimeResponse) GetStatus

func (*QueryTeamVestingStatusByTimeResponse) Marshal

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

func (*QueryTeamVestingStatusByTimeResponse) MarshalTo

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

func (*QueryTeamVestingStatusByTimeResponse) MarshalToSizedBuffer

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

func (*QueryTeamVestingStatusByTimeResponse) ProtoMessage

func (*QueryTeamVestingStatusByTimeResponse) ProtoMessage()

func (*QueryTeamVestingStatusByTimeResponse) Reset

func (*QueryTeamVestingStatusByTimeResponse) Size

func (*QueryTeamVestingStatusByTimeResponse) String

func (*QueryTeamVestingStatusByTimeResponse) Unmarshal

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

func (*QueryTeamVestingStatusByTimeResponse) XXX_DiscardUnknown

func (m *QueryTeamVestingStatusByTimeResponse) XXX_DiscardUnknown()

func (*QueryTeamVestingStatusByTimeResponse) XXX_Marshal

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

func (*QueryTeamVestingStatusByTimeResponse) XXX_Merge

func (*QueryTeamVestingStatusByTimeResponse) XXX_Size

func (*QueryTeamVestingStatusByTimeResponse) XXX_Unmarshal

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

type QueryTeamVestingStatusRequest

type QueryTeamVestingStatusRequest struct {
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryTeamCurrentVestingStatusRequest is request type for the Query/TeamCurrentVestingStatus RPC method.

func (*QueryTeamVestingStatusRequest) Descriptor

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

func (*QueryTeamVestingStatusRequest) GetId

func (*QueryTeamVestingStatusRequest) Marshal

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

func (*QueryTeamVestingStatusRequest) MarshalTo

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

func (*QueryTeamVestingStatusRequest) MarshalToSizedBuffer

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

func (*QueryTeamVestingStatusRequest) ProtoMessage

func (*QueryTeamVestingStatusRequest) ProtoMessage()

func (*QueryTeamVestingStatusRequest) Reset

func (m *QueryTeamVestingStatusRequest) Reset()

func (*QueryTeamVestingStatusRequest) Size

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

func (*QueryTeamVestingStatusRequest) String

func (*QueryTeamVestingStatusRequest) Unmarshal

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

func (*QueryTeamVestingStatusRequest) XXX_DiscardUnknown

func (m *QueryTeamVestingStatusRequest) XXX_DiscardUnknown()

func (*QueryTeamVestingStatusRequest) XXX_Marshal

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

func (*QueryTeamVestingStatusRequest) XXX_Merge

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

func (*QueryTeamVestingStatusRequest) XXX_Size

func (m *QueryTeamVestingStatusRequest) XXX_Size() int

func (*QueryTeamVestingStatusRequest) XXX_Unmarshal

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

type QueryTeamVestingStatusResponse

type QueryTeamVestingStatusResponse struct {
	// request_date ..
	RequestDate string `protobuf:"bytes,1,opt,name=request_date,json=requestDate,proto3" json:"request_date,omitempty"`
	// plan ...
	Plan *QueryVestingPlan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	// status ..
	Status *QueryVestingStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
}

QueryTeamCurrentVestingStatusResponse is the response type for the Query/TeamCurrentVestingStatus RPC method.

func (*QueryTeamVestingStatusResponse) Descriptor

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

func (*QueryTeamVestingStatusResponse) GetPlan

func (*QueryTeamVestingStatusResponse) GetRequestDate

func (m *QueryTeamVestingStatusResponse) GetRequestDate() string

func (*QueryTeamVestingStatusResponse) GetStatus

func (*QueryTeamVestingStatusResponse) Marshal

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

func (*QueryTeamVestingStatusResponse) MarshalTo

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

func (*QueryTeamVestingStatusResponse) MarshalToSizedBuffer

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

func (*QueryTeamVestingStatusResponse) ProtoMessage

func (*QueryTeamVestingStatusResponse) ProtoMessage()

func (*QueryTeamVestingStatusResponse) Reset

func (m *QueryTeamVestingStatusResponse) Reset()

func (*QueryTeamVestingStatusResponse) Size

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

func (*QueryTeamVestingStatusResponse) String

func (*QueryTeamVestingStatusResponse) Unmarshal

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

func (*QueryTeamVestingStatusResponse) XXX_DiscardUnknown

func (m *QueryTeamVestingStatusResponse) XXX_DiscardUnknown()

func (*QueryTeamVestingStatusResponse) XXX_Marshal

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

func (*QueryTeamVestingStatusResponse) XXX_Merge

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

func (*QueryTeamVestingStatusResponse) XXX_Size

func (m *QueryTeamVestingStatusResponse) XXX_Size() int

func (*QueryTeamVestingStatusResponse) XXX_Unmarshal

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

type QueryVestingPlan

type QueryVestingPlan struct {
	// commencement ...
	Commencement string `protobuf:"bytes,1,opt,name=commencement,proto3" json:"commencement,omitempty"`
	// token_vesting_start ...
	TokenVestingStart string `protobuf:"bytes,2,opt,name=token_vesting_start,json=tokenVestingStart,proto3" json:"token_vesting_start,omitempty"`
	// token_vesting_finished ...
	TokenVestingFinished string `protobuf:"bytes,3,opt,name=token_vesting_finished,json=tokenVestingFinished,proto3" json:"token_vesting_finished,omitempty"`
	// token_unlock_start ...
	TokenUnlockStart string `protobuf:"bytes,4,opt,name=token_unlock_start,json=tokenUnlockStart,proto3" json:"token_unlock_start,omitempty"`
	// token_unlock_finished ...
	TokenUnlockFinished string `protobuf:"bytes,5,opt,name=token_unlock_finished,json=tokenUnlockFinished,proto3" json:"token_unlock_finished,omitempty"`
	// clawback ...
	Clawback uint64 `protobuf:"varint,6,opt,name=clawback,proto3" json:"clawback,omitempty"`
	// clawback_amount ...
	ClawbackAmount uint64 `protobuf:"varint,7,opt,name=clawback_amount,json=clawbackAmount,proto3" json:"clawback_amount,omitempty"`
	// maximum_vesting_amount ...
	MaximumVestingAmount uint64 `protobuf:"varint,8,opt,name=maximum_vesting_amount,json=maximumVestingAmount,proto3" json:"maximum_vesting_amount,omitempty"`
}

QueryVestingPlan is a type holding information about the account's vesting data which does not change

func (*QueryVestingPlan) Descriptor

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

func (*QueryVestingPlan) GetClawback

func (m *QueryVestingPlan) GetClawback() uint64

func (*QueryVestingPlan) GetClawbackAmount

func (m *QueryVestingPlan) GetClawbackAmount() uint64

func (*QueryVestingPlan) GetCommencement

func (m *QueryVestingPlan) GetCommencement() string

func (*QueryVestingPlan) GetMaximumVestingAmount

func (m *QueryVestingPlan) GetMaximumVestingAmount() uint64

func (*QueryVestingPlan) GetTokenUnlockFinished

func (m *QueryVestingPlan) GetTokenUnlockFinished() string

func (*QueryVestingPlan) GetTokenUnlockStart

func (m *QueryVestingPlan) GetTokenUnlockStart() string

func (*QueryVestingPlan) GetTokenVestingFinished

func (m *QueryVestingPlan) GetTokenVestingFinished() string

func (*QueryVestingPlan) GetTokenVestingStart

func (m *QueryVestingPlan) GetTokenVestingStart() string

func (*QueryVestingPlan) Marshal

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

func (*QueryVestingPlan) MarshalTo

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

func (*QueryVestingPlan) MarshalToSizedBuffer

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

func (*QueryVestingPlan) ProtoMessage

func (*QueryVestingPlan) ProtoMessage()

func (*QueryVestingPlan) Reset

func (m *QueryVestingPlan) Reset()

func (*QueryVestingPlan) Size

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

func (*QueryVestingPlan) String

func (m *QueryVestingPlan) String() string

func (*QueryVestingPlan) Unmarshal

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

func (*QueryVestingPlan) XXX_DiscardUnknown

func (m *QueryVestingPlan) XXX_DiscardUnknown()

func (*QueryVestingPlan) XXX_Marshal

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

func (*QueryVestingPlan) XXX_Merge

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

func (*QueryVestingPlan) XXX_Size

func (m *QueryVestingPlan) XXX_Size() int

func (*QueryVestingPlan) XXX_Unmarshal

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

type QueryVestingStatus

type QueryVestingStatus struct {
	// total_vested_amount ...
	TotalVestedAmount uint64 `protobuf:"varint,1,opt,name=total_vested_amount,json=totalVestedAmount,proto3" json:"total_vested_amount,omitempty"`
	// total_unlocked_amount ...
	TotalUnlockedAmount uint64 `protobuf:"varint,2,opt,name=total_unlocked_amount,json=totalUnlockedAmount,proto3" json:"total_unlocked_amount,omitempty"`
	// current_claimable_amount ...
	CurrentClaimableAmount uint64 `` /* 130-byte string literal not displayed */
	// locked_vested_amount ...
	LockedVestedAmount uint64 `protobuf:"varint,4,opt,name=locked_vested_amount,json=lockedVestedAmount,proto3" json:"locked_vested_amount,omitempty"`
	// remaining_unvested_amount ...
	RemainingUnvestedAmount uint64 `` /* 133-byte string literal not displayed */
	// claimed_amount ...
	ClaimedAmount uint64 `protobuf:"varint,6,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"`
	// total_rewards ...
	TotalRewards uint64 `protobuf:"varint,7,opt,name=total_rewards,json=totalRewards,proto3" json:"total_rewards,omitempty"`
	// claimed_rewards ...
	ClaimedRewards uint64 `protobuf:"varint,8,opt,name=claimed_rewards,json=claimedRewards,proto3" json:"claimed_rewards,omitempty"`
	// available_rewards ...
	AvailableRewards uint64 `protobuf:"varint,9,opt,name=available_rewards,json=availableRewards,proto3" json:"available_rewards,omitempty"`
}

QueryVestingStatus is a type holding information about the account's vesting progress

func (*QueryVestingStatus) Descriptor

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

func (*QueryVestingStatus) GetAvailableRewards

func (m *QueryVestingStatus) GetAvailableRewards() uint64

func (*QueryVestingStatus) GetClaimedAmount

func (m *QueryVestingStatus) GetClaimedAmount() uint64

func (*QueryVestingStatus) GetClaimedRewards

func (m *QueryVestingStatus) GetClaimedRewards() uint64

func (*QueryVestingStatus) GetCurrentClaimableAmount

func (m *QueryVestingStatus) GetCurrentClaimableAmount() uint64

func (*QueryVestingStatus) GetLockedVestedAmount

func (m *QueryVestingStatus) GetLockedVestedAmount() uint64

func (*QueryVestingStatus) GetRemainingUnvestedAmount

func (m *QueryVestingStatus) GetRemainingUnvestedAmount() uint64

func (*QueryVestingStatus) GetTotalRewards

func (m *QueryVestingStatus) GetTotalRewards() uint64

func (*QueryVestingStatus) GetTotalUnlockedAmount

func (m *QueryVestingStatus) GetTotalUnlockedAmount() uint64

func (*QueryVestingStatus) GetTotalVestedAmount

func (m *QueryVestingStatus) GetTotalVestedAmount() uint64

func (*QueryVestingStatus) Marshal

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

func (*QueryVestingStatus) MarshalTo

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

func (*QueryVestingStatus) MarshalToSizedBuffer

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

func (*QueryVestingStatus) ProtoMessage

func (*QueryVestingStatus) ProtoMessage()

func (*QueryVestingStatus) Reset

func (m *QueryVestingStatus) Reset()

func (*QueryVestingStatus) Size

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

func (*QueryVestingStatus) String

func (m *QueryVestingStatus) String() string

func (*QueryVestingStatus) Unmarshal

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

func (*QueryVestingStatus) XXX_DiscardUnknown

func (m *QueryVestingStatus) XXX_DiscardUnknown()

func (*QueryVestingStatus) XXX_Marshal

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

func (*QueryVestingStatus) XXX_Merge

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

func (*QueryVestingStatus) XXX_Size

func (m *QueryVestingStatus) XXX_Size() int

func (*QueryVestingStatus) XXX_Unmarshal

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

type TeamVestingAccount

type TeamVestingAccount struct {
	// id is a unique identify for each vesting account, tied to a single team member.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// total_allocation is the number of tokens reserved for this team member.
	TotalAllocation uint64 `protobuf:"varint,2,opt,name=total_allocation,json=totalAllocation,proto3" json:"total_allocation,omitempty"`
	// commencement is the unix timestamp of the member's official start date in seconds
	Commencement uint64 `protobuf:"varint,3,opt,name=commencement,proto3" json:"commencement,omitempty"`
	// clawback is a unix timestamp of a clawback in seconds. If timestamp is zero
	// it means that the account has not received a clawback
	Clawback uint64 `protobuf:"varint,4,opt,name=clawback,proto3" json:"clawback,omitempty"`
	// unlocked_claimed is the amount of $KYVE already claimed by the account holder
	UnlockedClaimed uint64 `protobuf:"varint,5,opt,name=unlocked_claimed,json=unlockedClaimed,proto3" json:"unlocked_claimed,omitempty"`
	// the last time the unlocked amount was claimed
	LastClaimedTime uint64 `protobuf:"varint,6,opt,name=last_claimed_time,json=lastClaimedTime,proto3" json:"last_claimed_time,omitempty"`
	// total rewards is the total amount of rewards the account has received ever
	TotalRewards uint64 `protobuf:"varint,7,opt,name=total_rewards,json=totalRewards,proto3" json:"total_rewards,omitempty"`
	// rewards claimed is the amount inflation rewards claimed by account holder
	RewardsClaimed uint64 `protobuf:"varint,8,opt,name=rewards_claimed,json=rewardsClaimed,proto3" json:"rewards_claimed,omitempty"`
}

TeamVestingAccount ...

func (*TeamVestingAccount) Descriptor

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

func (*TeamVestingAccount) GetClawback

func (m *TeamVestingAccount) GetClawback() uint64

func (*TeamVestingAccount) GetCommencement

func (m *TeamVestingAccount) GetCommencement() uint64

func (*TeamVestingAccount) GetId

func (m *TeamVestingAccount) GetId() uint64

func (*TeamVestingAccount) GetLastClaimedTime

func (m *TeamVestingAccount) GetLastClaimedTime() uint64

func (*TeamVestingAccount) GetRewardsClaimed

func (m *TeamVestingAccount) GetRewardsClaimed() uint64

func (*TeamVestingAccount) GetTotalAllocation

func (m *TeamVestingAccount) GetTotalAllocation() uint64

func (*TeamVestingAccount) GetTotalRewards

func (m *TeamVestingAccount) GetTotalRewards() uint64

func (*TeamVestingAccount) GetUnlockedClaimed

func (m *TeamVestingAccount) GetUnlockedClaimed() uint64

func (*TeamVestingAccount) Marshal

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

func (*TeamVestingAccount) MarshalTo

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

func (*TeamVestingAccount) MarshalToSizedBuffer

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

func (*TeamVestingAccount) ProtoMessage

func (*TeamVestingAccount) ProtoMessage()

func (*TeamVestingAccount) Reset

func (m *TeamVestingAccount) Reset()

func (*TeamVestingAccount) Size

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

func (*TeamVestingAccount) String

func (m *TeamVestingAccount) String() string

func (*TeamVestingAccount) Unmarshal

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

func (*TeamVestingAccount) XXX_DiscardUnknown

func (m *TeamVestingAccount) XXX_DiscardUnknown()

func (*TeamVestingAccount) XXX_Marshal

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

func (*TeamVestingAccount) XXX_Merge

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

func (*TeamVestingAccount) XXX_Size

func (m *TeamVestingAccount) XXX_Size() int

func (*TeamVestingAccount) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimAccountRewards

func (*UnimplementedMsgServer) ClaimAuthorityRewards

func (*UnimplementedMsgServer) ClaimUnlocked

func (*UnimplementedMsgServer) Clawback

func (*UnimplementedMsgServer) CreateTeamVestingAccount

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) TeamInfo

func (*UnimplementedQueryServer) TeamVestingAccount

func (*UnimplementedQueryServer) TeamVestingAccounts

func (*UnimplementedQueryServer) TeamVestingStatus

type VestingPlan

type VestingPlan struct {
	MaximumVestingAmount uint64

	ClawbackAmount uint64

	TokenVestingStart uint64

	TokenVestingFinished uint64

	TokenUnlockStart uint64

	TokenUnlockFinished uint64
}

VestingPlan contains basic information for one member

type VestingStatus

type VestingStatus struct {
	// vested_amount ...
	TotalVestedAmount uint64
	// unlocked_amount ...
	TotalUnlockedAmount uint64

	// i.e. U(t) - C
	CurrentClaimableAmount uint64

	// unvested_amount ...
	LockedVestedAmount uint64

	// unvested_amount ...
	RemainingUnvestedAmount uint64
}

VestingStatus contains computed vesting values for a member at a given time

Jump to

Keyboard shortcuts

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