mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-30 19:33: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
|
||
|
)
|