-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
438 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,328 @@ | ||
{ | ||
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT ", | ||
"version": "eosio::abi/1.2", | ||
"types": [], | ||
"structs": [ | ||
{ | ||
"name": "activate", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "feature_digest", | ||
"type": "checksum256" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "authority", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "threshold", | ||
"type": "uint32" | ||
}, | ||
{ | ||
"name": "keys", | ||
"type": "key_weight[]" | ||
}, | ||
{ | ||
"name": "accounts", | ||
"type": "permission_level_weight[]" | ||
}, | ||
{ | ||
"name": "waits", | ||
"type": "wait_weight[]" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "canceldelay", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "canceling_auth", | ||
"type": "permission_level" | ||
}, | ||
{ | ||
"name": "trx_id", | ||
"type": "checksum256" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "deleteauth", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "permission", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "key_weight", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "key", | ||
"type": "public_key" | ||
}, | ||
{ | ||
"name": "weight", | ||
"type": "uint16" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "linkauth", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "type", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "requirement", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "newaccount", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "creator", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "name", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "owner", | ||
"type": "authority" | ||
}, | ||
{ | ||
"name": "active", | ||
"type": "authority" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "onerror", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "sender_id", | ||
"type": "uint128" | ||
}, | ||
{ | ||
"name": "sent_trx", | ||
"type": "bytes" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "permission_level", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "actor", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "permission", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "permission_level_weight", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "permission", | ||
"type": "permission_level" | ||
}, | ||
{ | ||
"name": "weight", | ||
"type": "uint16" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "reqactivated", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "feature_digest", | ||
"type": "checksum256" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "setabi", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "abi", | ||
"type": "bytes" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "setcode", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "vmtype", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"name": "vmversion", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "bytes" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "unlinkauth", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "type", | ||
"type": "name" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "updateauth", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "account", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "permission", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "parent", | ||
"type": "name" | ||
}, | ||
{ | ||
"name": "auth", | ||
"type": "authority" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "wait_weight", | ||
"base": "", | ||
"fields": [ | ||
{ | ||
"name": "wait_sec", | ||
"type": "uint32" | ||
}, | ||
{ | ||
"name": "weight", | ||
"type": "uint16" | ||
} | ||
] | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"name": "activate", | ||
"type": "activate", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Activate Protocol Feature\nsummary: 'Activate protocol feature {{nowrap feature_digest}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/admin.png#9bf1cec664863bd6aaac0f814b235f8799fb02c850e9aa5da34e8a004bd6518e\n---\n\n{{$action.account}} activates the protocol feature with a digest of {{feature_digest}}." | ||
}, | ||
{ | ||
"name": "canceldelay", | ||
"type": "canceldelay", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Cancel Delayed Transaction\nsummary: '{{nowrap canceling_auth.actor}} cancels a delayed transaction'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\n{{canceling_auth.actor}} cancels the delayed transaction with id {{trx_id}}." | ||
}, | ||
{ | ||
"name": "deleteauth", | ||
"type": "deleteauth", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Delete Account Permission\nsummary: 'Delete the {{nowrap permission}} permission of {{nowrap account}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\nDelete the {{permission}} permission of {{account}}." | ||
}, | ||
{ | ||
"name": "linkauth", | ||
"type": "linkauth", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Link Action to Permission\nsummary: '{{nowrap account}} sets the minimum required permission for the {{#if type}}{{nowrap type}} action of the{{/if}} {{nowrap code}} contract to {{nowrap requirement}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\n{{account}} sets the minimum required permission for the {{#if type}}{{type}} action of the{{/if}} {{code}} contract to {{requirement}}.\n\n{{#if type}}{{else}}Any links explicitly associated to specific actions of {{code}} will take precedence.{{/if}}" | ||
}, | ||
{ | ||
"name": "newaccount", | ||
"type": "newaccount", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Create New Account\nsummary: '{{nowrap creator}} creates a new account with the name {{nowrap name}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\n{{creator}} creates a new account with the name {{name}} and the following permissions:\n\nowner permission with authority:\n{{to_json owner}}\n\nactive permission with authority:\n{{to_json active}}" | ||
}, | ||
{ | ||
"name": "onerror", | ||
"type": "onerror", | ||
"ricardian_contract": "" | ||
}, | ||
{ | ||
"name": "reqactivated", | ||
"type": "reqactivated", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Assert Protocol Feature Activation\nsummary: 'Assert that protocol feature {{nowrap feature_digest}} has been activated'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/admin.png#9bf1cec664863bd6aaac0f814b235f8799fb02c850e9aa5da34e8a004bd6518e\n---\n\nAssert that the protocol feature with a digest of {{feature_digest}} has been activated." | ||
}, | ||
{ | ||
"name": "setabi", | ||
"type": "setabi", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Deploy Contract ABI\nsummary: 'Deploy contract ABI on account {{nowrap account}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\nDeploy the ABI file associated with the contract on account {{account}}." | ||
}, | ||
{ | ||
"name": "setcode", | ||
"type": "setcode", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Deploy Contract Code\nsummary: 'Deploy contract code on account {{nowrap account}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\nDeploy compiled contract code to the account {{account}}." | ||
}, | ||
{ | ||
"name": "unlinkauth", | ||
"type": "unlinkauth", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Unlink Action from Permission\nsummary: '{{nowrap account}} unsets the minimum required permission for the {{#if type}}{{nowrap type}} action of the{{/if}} {{nowrap code}} contract'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\n{{account}} removes the association between the {{#if type}}{{type}} action of the{{/if}} {{code}} contract and its minimum required permission.\n\n{{#if type}}{{else}}This will not remove any links explicitly associated to specific actions of {{code}}.{{/if}}" | ||
}, | ||
{ | ||
"name": "updateauth", | ||
"type": "updateauth", | ||
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Modify Account Permission\nsummary: 'Add or update the {{nowrap permission}} permission of {{nowrap account}}'\nicon: http://127.0.0.1/ricardian_assets/eosio.contracts/icons/account.png#3d55a2fc3a5c20b456f5657faf666bc25ffd06f4836c5e8256f741149b0b294f\n---\n\nModify, and create if necessary, the {{permission}} permission of {{account}} to have a parent permission of {{parent}} and the following authority:\n{{to_json auth}}" | ||
} | ||
], | ||
"tables": [], | ||
"ricardian_clauses": [], | ||
"variants": [], | ||
"action_results": [] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.