whitelist

package
v0.0.0-...-24e5678 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupData

type GroupData struct {
	// contains filtered or unexported fields
}

func (*GroupData) ParseParam

func (s *GroupData) ParseParam(m map[string]interface{}) error

func (*GroupData) ReadFrom

func (s *GroupData) ReadFrom(r io.Reader) (int64, error)

func (*GroupData) WriteTo

func (s *GroupData) WriteTo(w io.Writer) (int64, error)

type WhiteListContract

type WhiteListContract struct {
	// contains filtered or unexported fields
}

func (*WhiteListContract) AddGroup

func (cont *WhiteListContract) AddGroup(cc *types.ContractContext, delegate common.Address, method string, params []interface{}, checkResult string, result []byte) (hash.Hash256, error)

func (*WhiteListContract) Address

func (cont *WhiteListContract) Address() common.Address

func (*WhiteListContract) Front

func (cont *WhiteListContract) Front() interface{}

func (*WhiteListContract) GroupData

func (cont *WhiteListContract) GroupData(cc *types.ContractContext, groupId hash.Hash256, user common.Address) ([]byte, error)

func (*WhiteListContract) Init

func (cont *WhiteListContract) Init(addr common.Address, master common.Address)

func (*WhiteListContract) Master

func (cont *WhiteListContract) Master() common.Address

func (*WhiteListContract) Name

func (cont *WhiteListContract) Name() string

func (*WhiteListContract) OnCreate

func (cont *WhiteListContract) OnCreate(cc *types.ContractContext, Args []byte) error

func (*WhiteListContract) OnReward

func (cont *WhiteListContract) OnReward(cc *types.ContractContext, b *types.Block, CountMap map[common.Address]uint32) (map[common.Address]*amount.Amount, error)

type WhiteListContractConstruction

type WhiteListContractConstruction struct {
}

func (*WhiteListContractConstruction) ReadFrom

func (*WhiteListContractConstruction) WriteTo

Jump to

Keyboard shortcuts

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