Skip to content

Commit

Permalink
Merge pull request EOSIO#169 from enumivo/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
Enumivo authored May 31, 2018
2 parents 7d4cd7c + b073716 commit b105747
Show file tree
Hide file tree
Showing 38 changed files with 293 additions and 219 deletions.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-bidname-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ bidname }}`

This Contract is legally binding and can be used in the event of a dispute. Disputes shall be settled through the standard arbitration process established by Enumivo.

### Description

The `{{ bidname }}` action places a bid on a premium account name, in the knowledge that the high bid will purchase the name.
Expand All @@ -15,5 +13,3 @@ The `{{ bidname }}` action requires the following `inputs` and `input types`:
| `{{ bidname }}` | `{{ bidderVar }}`<br/>`{{ newnameVar }}`<br/>`{{ bidVar }}` | `{{ account_name }}`<br/>`{{ account_name }}`<br/>`{{ asset }}` |

As an authorized party I {{ signer }} wish to bid on behalf of {{ bidderVar }} the amount of {{ bidVar }} toward purchase of the account name {{ newnameVar }}.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
21 changes: 9 additions & 12 deletions contracts/enumivo.system/enumivo.system-buyram-rc.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# Action - `{{ buyram }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ buyram }}` action...

### Inputs and Input Types

The `{{ buyram }}` action requires the following `inputs` and `input types`:
This action will attempt to reserve about {{quant}} worth of RAM on behalf of {{receiver}}.

| Action | Input | Input Type |
|:--|:--|:--|
| `{{ buyram }}` | `{{ payerVar }}`<br/>`{{ receiverVar }}`<br/>`{{ quantVar }}` | `{{ account_name }}`<br/>`{{ account_name }}`<br/>`{{ asset }}` |
{{buyer}} authorizes this contract to transfer {{quant}} to buy RAM based upon the current price as determined by the market maker algorithm.

As an authorized party I {{ signer }} wish to buy {{ quantVar }} worth of RAM using the funds of {{ payerVar }} with the RAM to be owned by and be the property of {{ receiverVar }}.
{{buyer}} accepts that a 0.5% fee will be charged on the amount spent and that the actual RAM received may be slightly less than expected due to the approximations necessary to enable this service.
{{buyer}} accepts that a 0.5% fee will be charged if and when they sell the RAM received.
{{buyer}} accepts that rounding errors resulting from limits of computational precision may result in less RAM being allocated.
{{buyer}} acknowledges that the supply of RAM may be increased at any time up to the limits of off-the-shelf computer equipment and that this may result in RAM selling for less than purchase price.
{{buyer}} acknowledges that the price of RAM may increase or decrease over time according to supply and demand.
{{buyer}} acknowledges that RAM is non-transferrable.
{{buyer}} acknowledges RAM currently in use by their account cannot be sold until it is freed and that freeing RAM may be subject to terms of other contracts.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-canceldelay-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ canceldelay }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ canceldelay }}` action cancels an existing delayed transaction.
Expand All @@ -15,5 +13,3 @@ The `{{ canceldelay }}` action requires the following `inputs` and `input types`
| `{{ canceldelay }}` | `{{ canceling_authVar }}`<br/>`{{ trx_idVar }}` | `{{ permission_level }}`<br/>`{{ transaction_id_type }}` |

As an authorized party I {{ signer }} wish to invoke the authority of {{ canceling_authVar }} to cancel the transaction with ID {{ trx_idVar }}.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-claimrewards-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ claimrewards }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ claimrewards }}` action allows a block producer (active or standby) to claim the system rewards due them for producing blocks and receiving votes.
Expand All @@ -15,5 +13,3 @@ The `{{ claimrewards }}` action requires the following `input` and `input type`:
| `{{ claimrewards }}` | `{{ ownerVar }}` | `{{ account_name }}` |

As an authorized party I {{ signer }} wish to have the rewards earned by {{ ownerVar }} deposited into their (my) account.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-delegatebw-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# enumivo.system delegatebw

This Ricardian contract for the system action *delegatebw* is legally binding and can be used in the event of a dispute.

## delegatebw
(account_name-from;
account_name-to;
Expand All @@ -20,5 +18,3 @@ It is {{ bool:transfer }} that I wish these tokens to become immediately owned b
{{/if}}

As signer I stipulate that, if I am not the beneficial owner of these tokens, I have proof that I’ve been authorized to take this action by their beneficial owner(s).

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-deleteauth-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ deleteauth }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ deleteauth }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ deleteauth }}` action requires the following `inputs` and `input types`:
| `{{ deleteauth }}` | `{{ accountVar }}`<br/>`{{ permissionVar }}` | `{{ account_name }}`<br/>`{{ permission_name }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-linkauth-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ linkauth }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ linkauth }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ linkauth }}` action requires the following `inputs` and `input types`:
| `{{ linkauth }}` | `{{ accountVar }}`<br/>`{{ codeVar }}`<br/>`{{ typeVar }}`<br/>`{{ requirementVar }}` | `{{ account_name }}`<br/>`{{ account_name }}`<br/>`{{ action_name }}`<br/>`{{ permission_name }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-newaccount-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ newaccount }}`

This Contract is legally binding and can be used in the event of a dispute. Disputes shall be settled through the standard arbitration process established by Enumivo.

### Description

The `{{ newaccount }}` action creates a new account.
Expand All @@ -15,5 +13,3 @@ The `{{ newaccount }}` action requires the following `inputs` and `input types`:
| `{{ newaccount }}` | `{{ creatorVar }}`<br/>`{{ nameVar }}`<br/>`{{ ownerVar }}`<br/>`{{ activeVar }}` | `{{ account_name }}`<br/>`{{ account_name }}`<br/>`{{ authority }}`<br/>`{{ authority }}` |

As an authorized party I {{ signer }} wish to exercise the authority of {{ creatorVar }} to create a new account on this system named {{ nameVar }} such that the new account's owner public key shall be {{ ownerVar }} and the active public key shall be {{ activeVar }}.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-onerror-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ onerror }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ onerror }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ onerror }}` action requires the following `inputs` and `input types`:
| `{{ onerror }}` | `{{ sender_idVar }}`<br/>`{{ sent_trxVar }}` | `{{ uint128 }}`<br/>`{{ bytes }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-refund-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ refund }}`

This Contract is legally binding and can be used in the event of a dispute. Disputes shall be settled through the standard arbitration process established by Enumivo.

### Description

The intent of the `{{ refund }}` action is to return previously unstaked tokens to an account after the unstaking period has elapsed.
Expand All @@ -16,5 +14,3 @@ The `{{ refund }}` action requires the following `input` and `input type`:


As an authorized party I {{ signer }} wish to have the unstaked tokens of {{ ownerVar }} returned.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-regproxy-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ regproxy }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ regproxy }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ regproxy }}` action requires the following `inputs` and `input types`:
| `{{ regproxy }}` | `{{ proxyVar }}`<br/>`{{ isproxyVar }}` | `{{ account_name }}`<br/>`{{ bool }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-reqauth-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ reqauth }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ reqauth }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ reqauth }}` action requires the following `input` and `input type`:
| `{{ reqauth }}` | `{{ fromVar }}` | `{{ account_name }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
6 changes: 1 addition & 5 deletions contracts/enumivo.system/enumivo.system-sellram-rc.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Action - `{{ sellram }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ sellram }}` action...
The `{{ sellram }}` action sells unused RAM for tokens.

### Inputs and Input Types

Expand All @@ -15,5 +13,3 @@ The `{{ sellram }}` action requires the following `inputs` and `input types`:
| `{{ sellram }}` | `{{ accountVar }}`<br/>`{{ bytesVar }}` | `{{ account_name }}`<br/>`{{ uint64 }}` |

As an authorized party I {{ signer }} wish to sell {{ bytesVar }} of RAM from account {{ accountVar }}.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-setabi-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ setabi }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The intention of the `{{ setabi }}` action is to...
Expand All @@ -15,5 +13,3 @@ The `{{ setabi }}` action requires the following `inputs` and `input types`:
| `{{ setabi }}` | `{{ accountVar }}`<br/>`{{ abiVar }}` | `{{ account_name }}`<br/>`{{ bytes }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-setalimits-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ setalimits }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ setalimits }}` action...
Expand All @@ -16,5 +14,3 @@ The `{{ setalimits }}` action requires the following `inputs` and `input types`:


As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-setglimits-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ setglimits }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The intention of the `{{ setglimits }}` action is to ...
Expand All @@ -15,5 +13,3 @@ The `{{ setglimits }}` action requires the following `input` and `input type`:
| `{{ setglimits }}` | `{{ cpu_usec_per_periodVar }}` | `{{ int64 }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-setpriv-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ setpriv }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The intention of the `{{ setpriv }}` action is to ...
Expand All @@ -15,5 +13,3 @@ The `{{ setpriv }}` action requires the following `inputs` and `input types`:
| `{{ setpriv }}` | `{{ accountVar }}`<br/>`{{ is_privVar }}` | `{{ account_name }}`<br/>`{{ int8 }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-setprods-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ setprods }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ setprods }}` action creates a new schedule of active producers, who will produce blocks in the order given.
Expand All @@ -18,5 +16,3 @@ THIS IS A SYSTEM COMMAND NOT AVAILABLE FOR DIRECT ACCESS BY USERS.


As an authorized party I {{ signer }} wish to set the rotation of producers to be {{ scheduleVar }}.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-undelegatebw-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# enumivo.system undelegatebw

This Ricardian contract for the system action *undelegatebw* is legally binding and can be used in the event of a dispute.

## undelegatebw
(account_name-from;
account_name-to;
Expand All @@ -13,5 +11,3 @@ _Intent: unstake tokens from bandwidth_
As an authorized party I {{ signer }} wish to unstake {{ asset-unstake_cpu_quantity }} from CPU and {{ asset-unstake_net_quantity }} from bandwidth from the tokens owned by {{ account_name-from }} previously delegated for the use of delegatee {{ account_name-to }}.

If I as signer am not the beneficial owner of these tokens I stipulate I have proof that I’ve been authorized to take this action by their beneficial owner(s).

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-unlinkauth-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ unlinkauth }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ unlinkauth }}` action...
Expand All @@ -16,5 +14,3 @@ The `{{ unlinkauth }}` action requires the following `inputs` and `input types`:


As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 1 addition & 3 deletions contracts/enumivo.system/enumivo.system-unregprod-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Description

The `{{ unregprod }}` action...
The `{{ unregprod }}` action unregisters a previously registered block producer candidate.

### Input and Input Type

Expand All @@ -13,5 +13,3 @@ The `{{ unregprod }}` action requires the following `input` and `input type`:
| `{{ unregprod }}` | `{{ producerVar }}` | `{{ account_name }}` |

As an authorized party I {{ signer }} wish to unregister the block producer candidate {{ producerVar }}, rendering that candidate no longer able to receive votes.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
4 changes: 0 additions & 4 deletions contracts/enumivo.system/enumivo.system-updateauth-rc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Action - `{{ updateauth }}`

This Contract is legally binding and can be used in the event of a dispute.

### Description

The `{{ updateauth }}` action...
Expand All @@ -15,5 +13,3 @@ The `{{ updateauth }}` action requires the following `inputs` and `input types`:
| `{{ updateauth }}` | `{{ accountVar }}`<br/>`{{ permissionVar }}`<br/>`{{ parentVar }}`<br/>`{{ authVar }}` | `{{ account_name }}`<br/>`{{ permission_name }}`<br/>`{{ permission_name }}`<br/>`{{ authority }}` |

As an authorized party I {{ signer }} wish to UNKNOWN

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
2 changes: 1 addition & 1 deletion contracts/enumivo.system/enumivo.system.voteproducer-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ I stipulate I have not and will not accept anything of value in exchange for the

I acknowledge that using any system of automatic voting, re-voting, or vote refreshing, or allowing such a system to be used on my behalf or on behalf of another, is forbidden and doing so violates this contract.

All disputes arising from this contract shall be resolved in the Enumivo Core Arbitration Forum.
All disputes arising from this contract shall be resolved in the ENU Core Arbitration Forum.
8 changes: 4 additions & 4 deletions enumivo_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@
export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
export CMAKE=${HOME}/opt/cmake/bin/cmake
export PATH=${HOME}/opt/mongodb/bin:$PATH
export BOOST_ROOT="${HOME}/opt/boost_1_67_0"
export BOOST_ROOT="${HOME}/opt/boost"
;;
"elementary OS")
FILE="${PWD}/scripts/enumivo_build_ubuntu.sh"
CXX_COMPILER=clang++-4.0
C_COMPILER=clang-4.0
MONGOD_CONF=${HOME}/opt/mongodb/mongod.conf
export PATH=${HOME}/opt/mongodb/bin:$PATH
export BOOST_ROOT="${HOME}/opt/boost_1_67_0"
export BOOST_ROOT="${HOME}/opt/boost"
;;
"Fedora")
FILE="${PWD}/scripts/enumivo_build_fedora.sh"
Expand All @@ -177,15 +177,15 @@
C_COMPILER=clang-4.0
MONGOD_CONF=${HOME}/opt/mongodb/mongod.conf
export PATH=${HOME}/opt/mongodb/bin:$PATH
export BOOST_ROOT="${HOME}/opt/boost_1_67_0"
export BOOST_ROOT="${HOME}/opt/boost"
;;
"Ubuntu")
FILE="${PWD}/scripts/enumivo_build_ubuntu.sh"
CXX_COMPILER=clang++-4.0
C_COMPILER=clang-4.0
MONGOD_CONF=${HOME}/opt/mongodb/mongod.conf
export PATH=${HOME}/opt/mongodb/bin:$PATH
export BOOST_ROOT="${HOME}/opt/boost_1_67_0"
export BOOST_ROOT="${HOME}/opt/boost"
;;
*)
printf "\\n\\tUnsupported Linux Distribution. Exiting now.\\n\\n"
Expand Down
Loading

0 comments on commit b105747

Please sign in to comment.