25 lines
583 B
Go
25 lines
583 B
Go
package standard
|
|
|
|
import (
|
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
|
"github.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,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|