github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/core/interop/crypto/interop.go (about) 1 package crypto 2 3 import ( 4 "github.com/nspcc-dev/neo-go/pkg/core/interop" 5 "github.com/nspcc-dev/neo-go/pkg/core/interop/interopnames" 6 ) 7 8 var ( 9 neoCryptoCheckMultisigID = interopnames.ToID([]byte(interopnames.SystemCryptoCheckMultisig)) 10 neoCryptoCheckSigID = interopnames.ToID([]byte(interopnames.SystemCryptoCheckSig)) 11 ) 12 13 // Interops represents sorted crypto-related interop functions. 14 var Interops = []interop.Function{ 15 {ID: neoCryptoCheckMultisigID, Func: ECDSASecp256r1CheckMultisig}, 16 {ID: neoCryptoCheckSigID, Func: ECDSASecp256r1CheckSig}, 17 } 18 19 func init() { 20 interop.Sort(Interops) 21 }