加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Understanding ABI Files

发布时间:2020-12-14 04:29:59 所属栏目:大数据 来源:网络整理
导读:【 Understanding ABI Files 】 ABI files can be generated using the? eosio-cpp ?utility provided by? eosio.cdt.? The Application Binary Interface (ABI) is a JSON-based description. 1、ABI的基本结构 { " version " : " eosio::abi/1.0 " , " typ

Understanding ABI Files

  ABI files can be generated using the?eosio-cpp?utility provided by?eosio.cdt.?The Application Binary Interface (ABI) is a JSON-based description.

1、ABI的基本结构

{
   "version": "eosio::abi/1.0","types": [],"structs": [],"actions": [],"tables": [],"ricardian_clauses": [],"abi_extensions": [],"___comment" : ""
}

2、types?describe the custom types that are used as a parameter in any public action or struct that needs to be described in the ABI.

  EOSIO implements a number of custom built-ins. Built-in types don‘t need to be described in an ABI file. If you would like to familiarize yourself with EOSIO‘s built-ins,they are defined?here

  

3、structs

参考:

1、https://developers.eos.io/eosio-home/docs/the-abi

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读