-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from EOSIO/merge-release-1.6.1-to-master
Version 1.6.1
- Loading branch information
Showing
50 changed files
with
1,178 additions
and
70 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
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
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
161 changes: 161 additions & 0 deletions
161
contracts/eosio.bios/ricardian/eosio.bios.contracts.md.in
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,161 @@ | ||
<h1 class="contract">canceldelay</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Cancel Delayed Transaction | ||
summary: '{{nowrap canceling_auth.actor}} cancels a delayed transaction' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
{{canceling_auth.actor}} cancels the delayed transaction with id {{trx_id}}. | ||
|
||
<h1 class="contract">deleteauth</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Delete Account Permission | ||
summary: 'Delete the {{nowrap permission}} permission of {{nowrap account}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
Delete the {{permission}} permission of {{account}}. | ||
|
||
<h1 class="contract">linkauth</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Link Action to Permission | ||
summary: '{{nowrap account}} sets the minimum required permission for the {{#if type}}{{nowrap type}} action of the{{/if}} {{nowrap code}} contract to {{nowrap requirement}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
{{account}} sets the minimum required permission for the {{#if type}}{{type}} action of the{{/if}} {{code}} contract to {{requirement}}. | ||
|
||
{{#if type}}{{else}}Any links explicitly associated to specific actions of {{code}} will take precedence.{{/if}} | ||
|
||
<h1 class="contract">newaccount</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Create New Account | ||
summary: '{{nowrap creator}} creates a new account with the name {{nowrap name}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
{{creator}} creates a new account with the name {{name}} and the following permissions: | ||
|
||
owner permission with authority: | ||
{{to_json owner}} | ||
|
||
active permission with authority: | ||
{{to_json active}} | ||
|
||
<h1 class="contract">reqauth</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Assert Authorization | ||
summary: 'Assert that authorization by {{nowrap from}} is provided' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
Assert that authorization by {{from}} is provided. | ||
|
||
<h1 class="contract">setabi</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Deploy Contract ABI | ||
summary: 'Deploy contract ABI on account {{nowrap account}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
Deploy the ABI file associated with the contract on account {{account}}. | ||
|
||
<h1 class="contract">setalimits</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Adjust Resource Limits of Account | ||
summary: 'Adjust resource limits of account {{nowrap account}}' | ||
icon: @ICON_BASE_URL@/@ADMIN_ICON_URI@ | ||
--- | ||
|
||
{{$action.account}} updates {{account}}’s resource limits to have a RAM quota of {{ram_bytes}} bytes, a NET bandwidth quota of {{net_weight}} and a CPU bandwidth quota of {{cpu_weight}}. | ||
|
||
<h1 class="contract">setcode</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Deploy Contract Code | ||
summary: 'Deploy contract code on account {{nowrap account}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
Deploy compiled contract code to the account {{account}}. | ||
|
||
<h1 class="contract">setparams</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Set System Parameters | ||
summary: 'Set system parameters' | ||
icon: @ICON_BASE_URL@/@ADMIN_ICON_URI@ | ||
--- | ||
|
||
{{$action.account}} sets system parameters to: | ||
{{to_json params}} | ||
|
||
<h1 class="contract">setpriv</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Make an Account Privileged or Unprivileged | ||
summary: '{{#if is_priv}}Make {{nowrap account}} privileged{{else}}Remove privileged status of {{nowrap account}}{{/if}}' | ||
icon: @ICON_BASE_URL@/@ADMIN_ICON_URI@ | ||
--- | ||
|
||
{{#if is_priv}} | ||
{{$action.account}} makes {{account}} privileged. | ||
{{else}} | ||
{{$action.account}} removes privileged status of {{account}}. | ||
{{/if}} | ||
|
||
<h1 class="contract">setprods</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Set Block Producers | ||
summary: 'Set block producer schedule' | ||
icon: @ICON_BASE_URL@/@ADMIN_ICON_URI@ | ||
--- | ||
|
||
{{$action.account}} proposes a block producer schedule of: | ||
{{#each schedule}} | ||
1. {{this.producer_name}} with a block signing key of {{this.block_signing_key}} | ||
{{/each}} | ||
|
||
<h1 class="contract">unlinkauth</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Unlink Action from Permission | ||
summary: '{{nowrap account}} unsets the minimum required permission for the {{#if type}}{{nowrap type}} action of the{{/if}} {{nowrap code}} contract' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
{{account}} removes the association between the {{#if type}}{{type}} action of the{{/if}} {{code}} contract and its minimum required permission. | ||
|
||
{{#if type}}{{else}}This will not remove any links explicitly associated to specific actions of {{code}}.{{/if}} | ||
|
||
<h1 class="contract">updateauth</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Modify Account Permission | ||
summary: 'Add or update the {{nowrap permission}} permission of {{nowrap account}}' | ||
icon: @ICON_BASE_URL@/@ACCOUNT_ICON_URI@ | ||
--- | ||
|
||
Modify, and create if necessary, the {{permission}} permission of {{account}} to have a parent permission of {{parent}} and the following authority: | ||
{{to_json auth}} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#include <eosio.bios/eosio.bios.hpp> | ||
|
||
EOSIO_DISPATCH( eosio::bios, (setpriv)(setalimits)(setglimits)(setprods)(setparams)(reqauth)(setabi) ) | ||
EOSIO_DISPATCH( eosio::bios, (setpriv)(setalimits)(setprods)(setparams)(reqauth)(setabi) ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<h1 class="contract">approve</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Approve Proposed Transaction | ||
summary: '{{nowrap level.actor}} approves the {{nowrap proposal_name}} proposal' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{level.actor}} approves the {{proposal_name}} proposal proposed by {{proposer}} with the {{level.permission}} permission of {{level.actor}}. | ||
|
||
<h1 class="contract">cancel</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Cancel Proposed Transaction | ||
summary: '{{nowrap canceler}} cancels the {{nowrap proposal_name}} proposal' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{canceler}} cancels the {{proposal_name}} proposal submitted by {{proposer}}. | ||
|
||
<h1 class="contract">exec</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Execute Proposed Transaction | ||
summary: '{{nowrap executer}} executes the {{nowrap proposal_name}} proposal' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{executer}} executes the {{proposal_name}} proposal submitted by {{proposer}} if the minimum required approvals for the proposal have been secured. | ||
|
||
<h1 class="contract">invalidate</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Invalidate All Approvals | ||
summary: '{{nowrap account}} invalidates approvals on outstanding proposals' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{account}} invalidates all approvals on proposals which have not yet executed. | ||
|
||
<h1 class="contract">propose</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Propose Transaction | ||
summary: '{{nowrap proposer}} creates the {{nowrap proposal_name}}' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{proposer}} creates the {{proposal_name}} proposal for the following transaction: | ||
{{to_json trx}} | ||
|
||
The proposal requests approvals from the following accounts at the specified permission levels: | ||
{{#each requested}} | ||
+ {{this.permission}} permission of {{this.actor}} | ||
{{/each}} | ||
|
||
If the proposed transaction is not executed prior to {{trx.expiration}}, the proposal will automatically expire. | ||
|
||
<h1 class="contract">unapprove</h1> | ||
|
||
--- | ||
spec_version: "0.2.0" | ||
title: Unapprove Proposed Transaction | ||
summary: '{{nowrap level.actor}} revokes the approval previously provided to {{nowrap proposal_name}} proposal' | ||
icon: @ICON_BASE_URL@/@MULTISIG_ICON_URI@ | ||
--- | ||
|
||
{{level.actor}} revokes the approval previously provided at their {{level.permission}} permission level from the {{proposal_name}} proposal proposed by {{proposer}}. |
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
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.