There are no automatically called constructors, so we should present an example of how constructors can be safely handled.
What would you like to see?
A simple contract with a function deploy that takes a binary blob, a function name, and a list of arguments. The contract creates a contract from the binary blob then calls the specified function with the provided arguments.
What alternatives are there?
In the long run we should evaluate whether to provide a native constructor functionality.
What problem does your feature solve?
There are no automatically called constructors, so we should present an example of how constructors can be safely handled.
What would you like to see?
A simple contract with a function
deploy
that takes a binary blob, a function name, and a list of arguments. The contract creates a contract from the binary blob then calls the specified function with the provided arguments.What alternatives are there?
In the long run we should evaluate whether to provide a native constructor functionality.