Documentation ¶
Index ¶
- type AftermarketDeviceAttributeSetData
- type AftermarketDeviceClaimedData
- type AftermarketDeviceNodeMintedData
- type AftermarketDevicePairData
- type BeneficiarySetData
- type Block
- type ContractEventData
- type ContractsEventsConsumer
- type DCNNameChangedData
- type DCNVehicleIdChangedData
- type DeviceDefinition
- type EventName
- type ManufacturerNodeMintedData
- type NewDCNExpirationData
- type NewDCNNodeData
- type PrivilegeSetData
- type SyntheticDeviceNodeBurnedData
- type SyntheticDeviceNodeMintedData
- type TokensTransferredForConnectionStreakData
- type TokensTransferredForDeviceData
- type TransferData
- type VehicleAttributeSetData
- type VehicleNodeMintedData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeneficiarySetData ¶
type ContractEventData ¶
type ContractEventData struct { ChainID int64 `json:"chainId"` EventName string `json:"eventName"` Block Block `json:"block,omitempty"` Contract common.Address `json:"contract"` TransactionHash common.Hash `json:"transactionHash"` EventSignature common.Hash `json:"eventSignature"` Arguments json.RawMessage `json:"arguments"` }
type ContractsEventsConsumer ¶
type ContractsEventsConsumer struct {
// contains filtered or unexported fields
}
func (*ContractsEventsConsumer) Process ¶
func (c *ContractsEventsConsumer) Process(ctx context.Context, event *shared.CloudEvent[json.RawMessage]) error
type DCNNameChangedData ¶
type DCNVehicleIdChangedData ¶
type DeviceDefinition ¶
type EventName ¶
type EventName string
const ( Transfer EventName = "Transfer" VehicleAttributeSet EventName = "VehicleAttributeSet" ManufacturerNodeMinted EventName = "ManufacturerNodeMinted" AftermarketDeviceAttributeSet EventName = "AftermarketDeviceAttributeSet" PrivilegeSet EventName = "PrivilegeSet" AftermarketDeviceClaimed EventName = "AftermarketDeviceClaimed" AftermarketDevicePaired EventName = "AftermarketDevicePaired" AftermarketDeviceUnpaired EventName = "AftermarketDeviceUnpaired" BeneficiarySetEvent EventName = "BeneficiarySet" VehicleNodeMinted EventName = "VehicleNodeMinted" AftermarketDeviceNodeMinted EventName = "AftermarketDeviceNodeMinted" SyntheticDeviceNodeMinted EventName = "SyntheticDeviceNodeMinted" SyntheticDeviceNodeBurned EventName = "SyntheticDeviceNodeBurned" NewNode EventName = "NewNode" NewExpiration EventName = "NewExpiration" NameChanged EventName = "NameChanged" VehicleIdChanged EventName = "VehicleIdChanged" TokensTransferredForDevice EventName = "TokensTransferredForDevice" TokensTransferredForConnectionStreak EventName = "TokensTransferredForConnectionStreak" )
type NewDCNExpirationData ¶
type NewDCNNodeData ¶
type PrivilegeSetData ¶
type TokensTransferredForConnectionStreakData ¶ added in v0.1.5
type TokensTransferredForDeviceData ¶ added in v0.1.5
type TransferData ¶
type VehicleAttributeSetData ¶
Click to show internal directories.
Click to hide internal directories.