Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodedFingerprintData ¶
type DecodedFingerprintData struct {
cloudevent.CloudEventHeader
VIN string `json:"vin"`
}
DecodedFingerprintData represents the decoded fingerprint data.
type DeviceType ¶
type DeviceType string
DeviceType represents the type of device.
const ( // DeviceTypeAftermarket represents an aftermarket device. DeviceTypeAftermarket DeviceType = "aftermarket" // DeviceTypeSynthetic represents a synthetic device. DeviceTypeSynthetic DeviceType = "synthetic" )
type PairedDevice ¶
type PairedDevice struct {
DID cloudevent.ERC721DID `json:"erc721Did"`
Type DeviceType `json:"type"`
ManufacturerName string `json:"manufacturerName"`
// TODO remove legacy lookup fields once ingest is updated
Address string `json:"address"`
IMEI string `json:"imei"`
}
PairedDevice represents a device paired with a token.
type VehicleInfo ¶
type VehicleInfo struct {
DID cloudevent.ERC721DID
PairedDevices []PairedDevice
NameSlug string
}
VehicleInfo contains information about a vehicle NFT.
Click to show internal directories.
Click to hide internal directories.