mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 23:30:36 +00:00
13 lines
219 B
Go
13 lines
219 B
Go
|
package state
|
||
|
|
||
|
// Coin represents the state of a coin.
|
||
|
type Coin uint8
|
||
|
|
||
|
// Viable Coin constants.
|
||
|
const (
|
||
|
CoinConfirmed Coin = 0
|
||
|
CoinSpent Coin = 1 << 1
|
||
|
CoinClaimed Coin = 1 << 2
|
||
|
CoinFrozen Coin = 1 << 5
|
||
|
)
|