Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

Add ricardians contracts for eosio.unregd #40

Merged
merged 7 commits into from
Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions eosio.unregd/eosio.unregd.abi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-09-02T08:20:41",
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-10-08T12:10:01",
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "ethereum_address",
Expand Down Expand Up @@ -84,15 +84,15 @@
},{
"name": "regaccount",
"type": "regaccount",
"ricardian_contract": ""
"ricardian_contract": "## ACTION NAME : regaccount\n### Description### Description\n\nThe intent of the `regaccount` action is to create an EOS account using the stored information {{ Ethereum address }} and token balance from the `eosio.unregd` contract, after verifying the submitted Ethereum {{ signature }}. This is intended to be used only once for each Ethereum address stored in the `eosio.unregd` contract.The intent of the `regaccount` action is to create an EOS account using the stored information {{ Ethereum address }} and token balance from the `eosio.unregd` contract, after verifying the submitted Ethereum {{ signature }}. This is intended to be used only once for each Ethereum address stored in the `eosio.unregd` contract.\n\nAs an authorized party, I {{ signer }} wish to create an account {{ account }} on the EOS chain with ID: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906, accessible with EOS public key {{ eos_pubkey_str }} by submitting cryptographic proof {{ signature }} corresponding to the {{ Ethereum address }}.As an authorized party, I {{ signer }} wish to create an account {{ account }} on the EOS chain with ID: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906, accessible with EOS public key {{ eos_pubkey_str }} by submitting cryptographic proof {{ signature }} corresponding to the {{ Ethereum address }}.\n\nAs signer, I stipulate that if I am not the beneficial owner of these tokens, I have been authorized to take this action by the party submitting the cryptographic proof {{signature}}.As signer, I stipulate that if I am not the beneficial owner of these tokens, I have been authorized to take this action by the party submitting the cryptographic proof {{signature}}.\n\nIn case of dispute, all cases should be brought to the EOS Core Arbitration Forum at https://eoscorearbitration.io/.In case of dispute, all cases should be brought to the EOS Core Arbitration Forum at https://eoscorearbitration.io/.\n"
},{
"name": "setmaxeos",
"type": "setmaxeos",
"ricardian_contract": ""
"ricardian_contract": "## ACTION NAME : setmaxeos\n## Description## Description\n\nThe intent of the `{{ setmaxeos }}` action is to set the maximum amount of EOS this contract is willing to pay when creating a new account.The intent of the `{{ setmaxeos }}` action is to set the maximum amount of EOS this contract is willing to pay when creating a new account.\n\nAs an authorized party I {{ signer }} wish to set the new maximum amount as {{ maxeos }}.As an authorized party I {{ signer }} wish to set the new maximum amount as {{ maxeos }}.\n"
},{
"name": "chngaddress",
"type": "chngaddress",
"ricardian_contract": ""
"ricardian_contract": "## ACTION NAME : chngaddress\n### Description### Description\n\nThe intent of the `{{ chngaddress }}` action is to update the the stored information by updating the old Ethereum address {{old_address}} to a new Ethereum address {{new_address}}.The intent of the `{{ chngaddress }}` action is to update the the stored information by updating the old Ethereum address {{old_address}} to a new Ethereum address {{new_address}}.\n\nAs an authorized party I {{ signer }} wish to modify the Ethereum address {{old_address}} to a new Ethereum address {{new_address}}. As an authorized party I {{ signer }} wish to modify the Ethereum address {{old_address}} to a new Ethereum address {{new_address}}. \n"
}
],
"tables": [{
Expand All @@ -119,5 +119,6 @@
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": []
"abi_extensions": [],
"variants": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## ACTION NAME : chngaddress

### Description

The intent of the `{{ chngaddress }}` action is to update the the stored information by updating the old Ethereum address {{old_address}} to a new Ethereum address {{new_address}}.

As an authorized party I {{ signer }} wish to modify the Ethereum address {{old_address}} to a new Ethereum address {{new_address}}.
11 changes: 11 additions & 0 deletions eosio.unregd/ricardian contracts/eosio.unregd-regaccount-rc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## ACTION NAME : regaccount

### Description

The intent of the `regaccount` action is to create an EOS account using the stored information {{ Ethereum address }} and token balance from the `eosio.unregd` contract, after verifying the submitted Ethereum {{ signature }}. This is intended to be used only once for each Ethereum address stored in the `eosio.unregd` contract.

As an authorized party, I {{ signer }} wish to create an account {{ account }} on the EOS chain with ID: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906, accessible with EOS public key {{ eos_pubkey_str }} by submitting cryptographic proof {{ signature }} corresponding to the {{ Ethereum address }}.

As signer, I stipulate that if I am not the beneficial owner of these tokens, I have been authorized to take this action by the party submitting the cryptographic proof {{signature}}.

In case of dispute, all cases should be brought to the EOS Core Arbitration Forum at https://eoscorearbitration.io/.
7 changes: 7 additions & 0 deletions eosio.unregd/ricardian contracts/eosio.unregd-setmaxeos-rc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## ACTION NAME : setmaxeos

## Description

The intent of the `{{ setmaxeos }}` action is to set the maximum amount of EOS this contract is willing to pay when creating a new account.

As an authorized party I {{ signer }} wish to set the new maximum amount as {{ maxeos }}.
1 change: 1 addition & 0 deletions eosio.unregd/unregd.chngaddress_rc.md
1 change: 1 addition & 0 deletions eosio.unregd/unregd.regaccount_rc.md
1 change: 1 addition & 0 deletions eosio.unregd/unregd.setmaxeos_rc.md