OSDN Git Service

Voter reward (#286)
[bytom/vapor.git] / toolbar / reward / database / orm / vote_utxo.go
diff --git a/toolbar/reward/database/orm/vote_utxo.go b/toolbar/reward/database/orm/vote_utxo.go
new file mode 100644 (file)
index 0000000..4395181
--- /dev/null
@@ -0,0 +1,11 @@
+package orm
+
+type Utxo struct {
+       ID           uint64 `gorm:"primary_key"`
+       Xpub         string
+       VoterAddress string
+       VoteHeight   uint64
+       VoteNum      uint64
+       VetoHeight   uint64
+       OutputID     string
+}