OSDN Git Service

Reward util (#342)
[bytom/vapor.git] / toolbar / vote_reward / database / orm / utxo.go
diff --git a/toolbar/vote_reward/database/orm/utxo.go b/toolbar/vote_reward/database/orm/utxo.go
new file mode 100644 (file)
index 0000000..d47ea55
--- /dev/null
@@ -0,0 +1,11 @@
+package orm
+
+type Utxo struct {
+       ID          uint64 `gorm:"primary_key"`
+       OutputID    string
+       Xpub        string
+       VoteAddress string
+       VoteNum     uint64
+       VoteHeight  uint64
+       VetoHeight  uint64
+}