-
Notifications
You must be signed in to change notification settings - Fork 0
/
geth.miners.go
27 lines (25 loc) · 1.04 KB
/
geth.miners.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package gethlyleminers
import (
"time"
)
type GethMiner struct {
ID *int `json:"id"`
UUID string `json:"uuid"`
Name string `json:"name"`
AlternateName string `json:"alternateName"`
ChainID *int `json:"chainId"`
ExchangeID *int `json:"exchangeId"`
StartingBlockNumber *int `json:"startingBlockNumber"`
CreatedTxnHash string `json:"createdTxnHash"`
LastBlockNumber *uint64 `json:"lastBlockNumber"`
ContractAddress string `json:"contractAddress"`
ContractAddressID *int `json:"contractAddressId"`
DeveloperAddress string `json:"developerAddress"`
DeveloperAddressID *int `json:"developerAddressId"`
MiningAssetID *int `json:"miningAssetId"`
Description string `json:"description"`
CreatedBy string `json:"createdBy"`
CreatedAt time.Time `json:"createdAt"`
UpdatedBy string `json:"updatedBy"`
UpdatedAt time.Time `json:"updatedAt"`
}