Deployed on Jungle Testnet
Add metadata for tier
- Authority:
get_self()
{uint8_t} tier
- identity tier{name} name
- identity tier name{string} metadata
- identity tier metadata
cleos push action identity tier '[1, "standard", "Standard Tier"]' -p identity
Add identity report to the smart contract table
- Authority:
get_self()
{name} account
- identity account name{public_key} key
- public key that was used to sign the proof of identity{uint8_t} tier
- identity tier assosiated with identity report{string} metadata
- additional metadata about report
cleos push action identity add '["myaccount", "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", 1, "Additional Metadata"]' -p identity
Remove identity report from the smart contract table
- Authority:
get_self()
{name} account
- identity account name
cleos push action identity remove '["myaccount"]' -p identity
{name} name
- identity account name{public_key} key
- public key that was used to sign the proof of identity{uint8_t} tier
- identity tier assosiated with identity report{string} metadata
- additional metadata about report{checksum256} trx_id
- identity creation transaction id{time_point_sec} timestamp
- identity creation timestamp
{
"name": "myaccount",
"key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"tier": 1,
"metadata": "Additional Metadata",
"trx_id": "f0889d11501fc83ff52d8af62e2d1552193c728e874d9bb559f30a0012deee3e",
"timestamp": "2019-09-09T00:00:00"
}
{uint8_t} tier
- identity tier{name} name
- identity tier name{string} metadata
- identity tier metadata
{
"tier": 1,
"name": "standard",
"metadata": "Standard Tier"
}