mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
added machine types
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
8261397ec1
commit
64d7e6ced0
31
proto/planetmintgo/machine/machine.proto
Normal file
31
proto/planetmintgo/machine/machine.proto
Normal file
@ -0,0 +1,31 @@
|
||||
syntax = "proto3";
|
||||
package planetmintgo.machine;
|
||||
|
||||
option go_package = "planetmint-go/x/machine/types";
|
||||
|
||||
message Machine {
|
||||
|
||||
string name = 1;
|
||||
string ticker = 2;
|
||||
uint64 issued = 3;
|
||||
uint64 amount = 4;
|
||||
uint64 precision = 5;
|
||||
string issuerPlanetmint = 6;
|
||||
string issuerLiquid = 7;
|
||||
string machineId = 8;
|
||||
Metadata metadata = 9;
|
||||
}
|
||||
|
||||
message Metadata {
|
||||
string gps = 1;
|
||||
string device = 2;
|
||||
string assetDefinition = 3;
|
||||
string additionalDataCID = 4;
|
||||
}
|
||||
|
||||
message MachineIndex {
|
||||
|
||||
string machineId = 1;
|
||||
string issuerPlanetmint = 2;
|
||||
string issuerLiquid = 3;
|
||||
}
|
1294
x/machine/types/machine.pb.go
Normal file
1294
x/machine/types/machine.pb.go
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user