-
Notifications
You must be signed in to change notification settings - Fork 342
/
package.go
39 lines (34 loc) · 1.15 KB
/
package.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
package std
import (
"github.com/gnolang/gno/tm2/pkg/amino"
)
var Package = amino.RegisterPackage(amino.NewPackage(
"github.com/gnolang/gno/tm2/pkg/std",
"std",
amino.GetCallersDirname(),
).WithDependencies().WithTypes(
// Account
&BaseAccount{}, "BaseAccount",
// MemFile/MemPackage
MemFile{}, "MemFile",
MemPackage{}, "MemPackage",
// Errors
InternalError{}, "InternalError",
TxDecodeError{}, "TxDecodeError",
InvalidSequenceError{}, "InvalidSequenceError",
UnauthorizedError{}, "UnauthorizedError",
InsufficientFundsError{}, "InsufficientFundsError",
UnknownRequestError{}, "UnknownRequestError",
InvalidAddressError{}, "InvalidAddressError",
UnknownAddressError{}, "UnknownAddressError",
InvalidPubKeyError{}, "InvalidPubKeyError",
InsufficientCoinsError{}, "InsufficientCoinsError",
InvalidCoinsError{}, "InvalidCoinsError",
InvalidGasWantedError{}, "InvalidGasWantedError",
OutOfGasError{}, "OutOfGasError",
MemoTooLargeError{}, "MemoTooLargeError",
InsufficientFeeError{}, "InsufficientFeeError",
TooManySignaturesError{}, "TooManySignaturesError",
NoSignaturesError{}, "NoSignaturesError",
GasOverflowError{}, "GasOverflowError",
))