lottery

package
v0.0.0-...-e0cfe8b Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Lottery

type Lottery struct {
}

func (*Lottery) Init

func (c *Lottery) Init(ctx contract.Context, req *LotteryInit)

func (*Lottery) Meta

func (c *Lottery) Meta() (plugin.Meta, error)

type LotteryInit

type LotteryInit struct {
	Winner               *types.Address `protobuf:"bytes,2,opt,name=winner" json:"winner,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*LotteryInit) Descriptor

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

func (*LotteryInit) GetWinner

func (m *LotteryInit) GetWinner() *types.Address

func (*LotteryInit) ProtoMessage

func (*LotteryInit) ProtoMessage()

func (*LotteryInit) Reset

func (m *LotteryInit) Reset()

func (*LotteryInit) String

func (m *LotteryInit) String() string

func (*LotteryInit) XXX_DiscardUnknown

func (m *LotteryInit) XXX_DiscardUnknown()

func (*LotteryInit) XXX_Marshal

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

func (*LotteryInit) XXX_Merge

func (dst *LotteryInit) XXX_Merge(src proto.Message)

func (*LotteryInit) XXX_Size

func (m *LotteryInit) XXX_Size() int

func (*LotteryInit) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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