TVM-Solidity-Compiler
TVM-Solidity-Compiler copied to clipboard
Proposal: Add the ability to attach stateinit when calling contract interface
Adding stateinit when calling the contract interface will allow you to "deploy" contracts without using a constructor. This will make it possible to create more flexible systems using more blockchain features (in TVM-based blockchains there is no concept of "deploy" as such)
expected syntax:
IContract(address).testFunction{ value: 1 ever, stateInit: cell }();
or
IContract(address).testFunction{ value: 1 ever, stateInit: builder }();
or
IContract(address).testFunction{ value: 1 ever, stateInit: slice }();