Documentation ¶
Index ¶
- Variables
- type ExtensionHandler
- func (handler *ExtensionHandler) CheckExtensionAndSetPrivateState(txLogs []*types.Log, privateState *state.StateDB)
- func (handler *ExtensionHandler) FetchDataFromPTM(hash string) ([]byte, *state.PrivacyMetadata, bool)
- func (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string) (map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, bool)
- func (handler *ExtensionHandler) UuidIsOwn(address common.Address, uuid string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultExtensionHandler = NewExtensionHandler(private.P)
Functions ¶
This section is empty.
Types ¶
type ExtensionHandler ¶
type ExtensionHandler struct {
// contains filtered or unexported fields
}
func NewExtensionHandler ¶
func NewExtensionHandler(transactionManager private.PrivateTransactionManager) *ExtensionHandler
func (*ExtensionHandler) CheckExtensionAndSetPrivateState ¶
func (handler *ExtensionHandler) CheckExtensionAndSetPrivateState(txLogs []*types.Log, privateState *state.StateDB)
func (*ExtensionHandler) FetchDataFromPTM ¶
func (handler *ExtensionHandler) FetchDataFromPTM(hash string) ([]byte, *state.PrivacyMetadata, bool)
func (*ExtensionHandler) FetchStateData ¶
func (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string) (map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, bool)
Click to show internal directories.
Click to hide internal directories.