github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/smartcontract/manifest/standard/check.go (about)

     1  package standard
     2  
     3  import "github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
     4  
     5  // Standard represents smart-contract standard.
     6  type Standard struct {
     7  	// Manifest describes mandatory methods and events.
     8  	manifest.Manifest
     9  	// Base contains base standard.
    10  	Base *Standard
    11  	// Optional contains optional contract methods.
    12  	// If contract contains method with the same name and parameter count,
    13  	// it must have signature declared by this contract.
    14  	Optional []manifest.Method
    15  }