mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-06 23:50:35 +00:00
54e3708566
`Required` contains standards that are required for this standard. Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
17 lines
568 B
Go
17 lines
568 B
Go
package standard
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
|
|
|
// Standard represents smart-contract standard.
|
|
type Standard struct {
|
|
// Manifest describes mandatory methods and events.
|
|
manifest.Manifest
|
|
// Base contains base standard.
|
|
Base *Standard
|
|
// Optional contains optional contract methods.
|
|
// If contract contains method with the same name and parameter count,
|
|
// it must have signature declared by this contract.
|
|
Optional []manifest.Method
|
|
// Required contains standards that are required for this standard.
|
|
Required []string
|
|
}
|