forked from ava-labs/hypersdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.go
40 lines (38 loc) · 2.08 KB
/
outputs.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
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package actions
var (
OutputValueZero = []byte("value is zero")
OutputMemoTooLarge = []byte("memo is too large")
OutputAssetIsNative = []byte("cannot mint native asset")
OutputAssetAlreadyExists = []byte("asset already exists")
OutputAssetMissing = []byte("asset missing")
OutputInTickZero = []byte("in rate is zero")
OutputOutTickZero = []byte("out rate is zero")
OutputSupplyZero = []byte("supply is zero")
OutputSupplyMisaligned = []byte("supply is misaligned")
OutputOrderMissing = []byte("order is missing")
OutputUnauthorized = []byte("unauthorized")
OutputWrongIn = []byte("wrong in asset")
OutputWrongOut = []byte("wrong out asset")
OutputWrongOwner = []byte("wrong owner")
OutputInsufficientInput = []byte("insufficient input")
OutputInsufficientOutput = []byte("insufficient output")
OutputValueMisaligned = []byte("value is misaligned")
OutputSymbolEmpty = []byte("symbol is empty")
OutputSymbolIncorrect = []byte("symbol is incorrect")
OutputSymbolTooLarge = []byte("symbol is too large")
OutputDecimalsIncorrect = []byte("decimal is incorrect")
OutputDecimalsTooLarge = []byte("decimal is too large")
OutputMetadataEmpty = []byte("metadata is empty")
OutputMetadataTooLarge = []byte("metadata is too large")
OutputSameInOut = []byte("same asset used for in and out")
OutputConflictingAsset = []byte("warp has same asset as another")
OutputAnycast = []byte("anycast output")
OutputNotWarpAsset = []byte("not warp asset")
OutputWarpAsset = []byte("warp asset")
OutputWrongDestination = []byte("wrong destination")
OutputMustFill = []byte("must fill request")
OutputWarpVerificationFailed = []byte("warp verification failed")
OutputInvalidDestination = []byte("invalid destination")
)