From 3dab64992ffabf41ff8f47382052210dcede2df8 Mon Sep 17 00:00:00 2001 From: Leem Date: Fri, 9 May 2025 15:52:58 +0800 Subject: [PATCH] spelling fix and format fix --- contracts/contract/index.html | 20 +++-- .../getting_started_with_javatron/index.html | 6 +- search/search_index.json | 2 +- sitemap.xml | 78 +++++++++--------- sitemap.xml.gz | Bin 601 -> 599 bytes 5 files changed, 54 insertions(+), 52 deletions(-) diff --git a/contracts/contract/index.html b/contracts/contract/index.html index 6bf85feb..5490143a 100644 --- a/contracts/contract/index.html +++ b/contracts/contract/index.html @@ -1602,15 +1602,17 @@

Defination of Smart Contract bytes code_hash = 9; bytes trx_hash = 10; } - -origin_address: smart contract creator address -contract_address: smart contract address -abi: the api information of all the function of the smart contract -bytecode: smart contract byte code -call_value: TRX transferred into smart contract while call the contract -consume_user_resource_percent: resource consumption percentage set by the developer -name: smart contract name -origin_energy_limit: energy consumption of the developer limit in one call, must be greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)

+

+
    +
  • origin_address: smart contract creator address
  • +
  • contract_address: smart contract address
  • +
  • abi: the api information of all the function of the smart contract
  • +
  • bytecode: smart contract byte code
  • +
  • call_value: TRX transferred into smart contract while call the contract
  • +
  • consume_user_resource_percent: resource consumption percentage set by the developer
  • +
  • name: smart contract name
  • +
  • origin_energy_limit: energy consumption of the developer limit in one call, must be greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)
  • +

Through other two grpc message types CreateSmartContract and TriggerSmartContract to create and use smart contract.

Usage of the Function of Smart Contract