Documentation ¶
Index ¶
- type GroupData
- type WhiteListContract
- func (cont *WhiteListContract) AddGroup(cc *types.ContractContext, delegate common.Address, method string, ...) (hash.Hash256, error)
- func (cont *WhiteListContract) Address() common.Address
- func (cont *WhiteListContract) Front() interface{}
- func (cont *WhiteListContract) GroupData(cc *types.ContractContext, groupId hash.Hash256, user common.Address) ([]byte, error)
- func (cont *WhiteListContract) Init(addr common.Address, master common.Address)
- func (cont *WhiteListContract) Master() common.Address
- func (cont *WhiteListContract) Name() string
- func (cont *WhiteListContract) OnCreate(cc *types.ContractContext, Args []byte) error
- func (cont *WhiteListContract) OnReward(cc *types.ContractContext, b *types.Block, CountMap map[common.Address]uint32) (map[common.Address]*amount.Amount, error)
- type WhiteListContractConstruction
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 ¶
type WhiteListContract ¶
type WhiteListContract struct {
// contains filtered or unexported fields
}
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
type WhiteListContractConstruction ¶
type WhiteListContractConstruction struct { }
Click to show internal directories.
Click to hide internal directories.