22 lines
487 B
Go
Executable File
22 lines
487 B
Go
Executable File
package standard
|
|
|
|
import (
|
|
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
|
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
|
)
|
|
|
|
// Nep31 is a NEP-31 Standard describing smart contract destroy functionality.
|
|
var Nep31 = &Standard{
|
|
Manifest: manifest.Manifest{
|
|
ABI: manifest.ABI{
|
|
Methods: []manifest.Method{
|
|
{
|
|
Name: "destroy",
|
|
Parameters: []manifest.Parameter{},
|
|
ReturnType: smartcontract.VoidType,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|