Documentation ¶
Index ¶
- func Sys_GetCoinbase(handlePtr *TmpStatusManager) *types.Address
- func Sys_GetValue(handlePtr *TmpStatusManager, contractAddress types.Address, key []byte) []byte
- func Sys_SetValue(handlePtr *TmpStatusManager, contractAddress types.Address, key []byte, ...) error
- type TmpKey
- type TmpStatusManager
- func (this *TmpStatusManager) CreateStatusNode(contractAddress types.Address) *TmpStatusNode
- func (this *TmpStatusManager) ExistContract(contractAddress types.Address) *TmpStatusNode
- func (this *TmpStatusManager) GetValue(contractAddress types.Address, key []byte) []byte
- func (this *TmpStatusManager) SetValue(contractAddress types.Address, key []byte, value []byte) error
- type TmpStatusNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sys_GetCoinbase ¶
func Sys_GetCoinbase(handlePtr *TmpStatusManager) *types.Address
func Sys_GetValue ¶
func Sys_GetValue(handlePtr *TmpStatusManager, contractAddress types.Address, key []byte) []byte
func Sys_SetValue ¶
Types ¶
type TmpStatusManager ¶
type TmpStatusManager struct { TmpConTracts map[types.Address]*TmpStatusNode // contains filtered or unexported fields }
func NewTmpStatusManager ¶
func NewTmpStatusManager(db database.IDatabaseGetter, state *state.StateDB, coinbase types.Address) *TmpStatusManager
func (*TmpStatusManager) CreateStatusNode ¶
func (this *TmpStatusManager) CreateStatusNode(contractAddress types.Address) *TmpStatusNode
func (*TmpStatusManager) ExistContract ¶
func (this *TmpStatusManager) ExistContract(contractAddress types.Address) *TmpStatusNode
check a Contract is exist in the tmpStatusManager
type TmpStatusNode ¶
func NewStatusNode ¶
func NewStatusNode() *TmpStatusNode
func (*TmpStatusNode) ExistValue ¶
func (this *TmpStatusNode) ExistValue(tmpKey TmpKey) []byte
func (*TmpStatusNode) SetValue ¶
func (this *TmpStatusNode) SetValue(tmpKey TmpKey, value []byte)
Click to show internal directories.
Click to hide internal directories.