Protobuf
Vision VM is compatible with Ethereum's smart contract, using protobuf to define the content of the contract
origin_address: smart contract creator address contract_address: smart contract address abi: the api information of the all the function of the smart contract bytecode: smart contract byte code call_value: VS transferred into smart contract while call the contract consume_user_resource_percent: resource consumption percentage set by the developer name: smart contract name origin_entropy_limit: entropy consumption of the developer limit in one call, must greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEntropyLimit api to update this parameter (must greater than 0)
Generally, two grpc message types CreateSmartContract and TriggerSmartContract to create and use smart contract.
Last updated