types

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Airdrop

type Airdrop struct {
	AirdropIdentifier string `` /* 138-byte string literal not displayed */
	// seconds
	AirdropStartTime time.Time `` /* 135-byte string literal not displayed */
	// seconds
	AirdropDuration time.Duration `` /* 142-byte string literal not displayed */
	// denom of claimable asset
	ClaimDenom string `protobuf:"bytes,4,opt,name=claim_denom,json=claimDenom,proto3" json:"claim_denom,omitempty"`
	// airdrop distribution account
	DistributorAddress string `protobuf:"bytes,5,opt,name=distributor_address,json=distributorAddress,proto3" json:"distributor_address,omitempty"`
	// ustrd tokens claimed so far in the current period
	ClaimedSoFar int64 `protobuf:"varint,6,opt,name=claimed_so_far,json=claimedSoFar,proto3" json:"claimed_so_far,omitempty"`
}

func (*Airdrop) Descriptor

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

func (*Airdrop) GetAirdropDuration

func (m *Airdrop) GetAirdropDuration() time.Duration

func (*Airdrop) GetAirdropIdentifier

func (m *Airdrop) GetAirdropIdentifier() string

func (*Airdrop) GetAirdropStartTime

func (m *Airdrop) GetAirdropStartTime() time.Time

func (*Airdrop) GetClaimDenom

func (m *Airdrop) GetClaimDenom() string

func (*Airdrop) GetClaimedSoFar

func (m *Airdrop) GetClaimedSoFar() int64

func (*Airdrop) GetDistributorAddress

func (m *Airdrop) GetDistributorAddress() string

func (*Airdrop) Marshal

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

func (*Airdrop) MarshalTo

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

func (*Airdrop) MarshalToSizedBuffer

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

func (*Airdrop) ProtoMessage

func (*Airdrop) ProtoMessage()

func (*Airdrop) Reset

func (m *Airdrop) Reset()

func (*Airdrop) Size

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

func (*Airdrop) String

func (m *Airdrop) String() string

func (*Airdrop) Unmarshal

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

func (*Airdrop) XXX_DiscardUnknown

func (m *Airdrop) XXX_DiscardUnknown()

func (*Airdrop) XXX_Marshal

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

func (*Airdrop) XXX_Merge

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

func (*Airdrop) XXX_Size

func (m *Airdrop) XXX_Size() int

func (*Airdrop) XXX_Unmarshal

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

type Params

type Params struct {
	Airdrops []*Airdrop `protobuf:"bytes,1,rep,name=airdrops,proto3" json:"airdrops,omitempty"`
}

Params defines the claim module's parameters.

func (*Params) Descriptor

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

func (*Params) GetAirdrops

func (m *Params) GetAirdrops() []*Airdrop

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

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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