mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
484 B
Go
18 lines
484 B
Go
package client
|
|
|
|
// SwapStateType defines the types of swap states that exist. Every swap state
|
|
// defined as type SwapState above, falls into one of these SwapStateType
|
|
// categories.
|
|
type SwapStateType uint8
|
|
|
|
const (
|
|
// StateTypePending indicates that the swap is still pending.
|
|
StateTypePending SwapStateType = iota
|
|
|
|
// StateTypeSuccess indicates that the swap has completed successfully.
|
|
StateTypeSuccess
|
|
|
|
// StateTypeFail indicates that the swap has failed.
|
|
StateTypeFail
|
|
)
|