mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
9c0bbd0bfd
The only method missing is name, because it is provided in manifest.
15 lines
480 B
Go
15 lines
480 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
|
|
}
|