engin

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnginContract

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

func (*EnginContract) Address

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

func (*EnginContract) EnginDescription

func (cont *EnginContract) EnginDescription(cc *types.ContractContext, Name string, Version uint32) (string, error)

func (*EnginContract) EnginVersion

func (cont *EnginContract) EnginVersion(cc *types.ContractContext, name string) uint32

func (*EnginContract) Front

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

func (*EnginContract) Init

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

func (*EnginContract) Master

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

func (*EnginContract) Name

func (cont *EnginContract) Name() string

func (*EnginContract) NextContractSeq

func (cont *EnginContract) NextContractSeq(cc *types.ContractContext) uint32

func (*EnginContract) NextEnginVersion

func (cont *EnginContract) NextEnginVersion(cc *types.ContractContext, name string) uint32

func (*EnginContract) OnCreate

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

func (*EnginContract) OnReward

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

type EnginContractConstruction

type EnginContractConstruction struct {
}

func (*EnginContractConstruction) ReadFrom

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

func (*EnginContractConstruction) WriteTo

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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