tutus-chain/pkg/smartcontract/manifest/standard/nep29.go

25 lines
599 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"
)
// Nep29 is a NEP-29 Standard describing smart contract _deploy method functionality.
var Nep29 = &Standard{
Manifest: manifest.Manifest{
ABI: manifest.ABI{
Methods: []manifest.Method{
{
Name: "_deploy",
Parameters: []manifest.Parameter{
{Name: "data", Type: smartcontract.AnyType},
{Name: "update", Type: smartcontract.BoolType},
},
ReturnType: smartcontract.VoidType,
},
},
},
},
}