Skip to content

Instantly share code, notes, and snippets.

@hashware
Created July 7, 2018 15:46
Show Gist options
  • Save hashware/78bc25fa34f20c53f068ecb7167683e0 to your computer and use it in GitHub Desktop.
Save hashware/78bc25fa34f20c53f068ecb7167683e0 to your computer and use it in GitHub Desktop.
cleos get abi eosio.unregd
{
  "version": "eosio::abi/1.0",
  "types": [{
      "new_type_name": "ethereum_address",
      "type": "string"
    }
  ],
  "structs": [{
      "name": "address",
      "base": "",
      "fields": [{
          "name": "id",
          "type": "uint64"
        },{
          "name": "ethereum_address",
          "type": "ethereum_address"
        },{
          "name": "balance",
          "type": "asset"
        }
      ]
    },{
      "name": "add",
      "base": "",
      "fields": [{
          "name": "ethereum_address",
          "type": "ethereum_address"
        },{
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [{
      "name": "add",
      "type": "add",
      "ricardian_contract": ""
    }
  ],
  "tables": [{
      "name": "addresses",
      "index_type": "i64",
      "key_names": [
        "id"
      ],
      "key_types": [
        "uint64"
      ],
      "type": "address"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment