Documentation ¶
Index ¶
- type EnginContract
- func (cont *EnginContract) Address() common.Address
- func (cont *EnginContract) EnginDescription(cc *types.ContractContext, Name string, Version uint32) (string, error)
- func (cont *EnginContract) EnginVersion(cc *types.ContractContext, name string) uint32
- func (cont *EnginContract) Front() interface{}
- func (cont *EnginContract) Init(addr common.Address, master common.Address)
- func (cont *EnginContract) Master() common.Address
- func (cont *EnginContract) Name() string
- func (cont *EnginContract) NextContractSeq(cc *types.ContractContext) uint32
- func (cont *EnginContract) NextEnginVersion(cc *types.ContractContext, name string) uint32
- func (cont *EnginContract) OnCreate(cc *types.ContractContext, Args []byte) error
- func (cont *EnginContract) OnReward(cc *types.ContractContext, b *types.Block, CountMap map[common.Address]uint32) (map[common.Address]*amount.Amount, error)
- type EnginContractConstruction
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
type EnginContractConstruction ¶
type EnginContractConstruction struct { }
Click to show internal directories.
Click to hide internal directories.