Skip to content

Commit

Permalink
Merge pull request #1 from IoBuilders/feature/v1.28.7
Browse files Browse the repository at this point in the history
Added cross ledger link, Updated existing contracts
  • Loading branch information
daniel-iobuilders authored Jun 15, 2020
2 parents c6f30c9 + db0f818 commit 2c7241f
Show file tree
Hide file tree
Showing 15 changed files with 10,084 additions and 5,392 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

An e-money, bank and central bank money issued token based on [ERC-20](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md). With additional functionalities such as holds, clearance and detailed compliance.

This project is the first implementation of electronic money on a Blockchain. The learnings that were made during its creation were used to propose [ERC-2020 - The E-Money Token Standard](https://emoneytokenstandard.org/). Currently there are differences between the interfaces used here and the proposed standard. The interfaces of the standard will be adapted in a future release.
This project is the first implementation of electronic money on a Blockchain. The learnings that were made during its creation were used to propose [ERC-2020 - The E-Money Token Standard](https://emoneytokenstandard.org/). Currently, there are differences between the interfaces used here and the proposed standard. The interfaces of the standard will be adapted in a future release.

Additionally, to the ERC-2020 standard the token allows cross ledger transfer. This means transferring tokens from one wallet in one blokchain network to another one in a different blockchain network

## Installation

Expand All @@ -22,7 +24,7 @@ Please refer to the [ERC-20 Token Standard](https://eips.ethereum.org/EIPS/eip-2

### Hold

An extension to the ERC-20 standard token that allows tokens to be put on hold. This guarantees a future transfer and makes the held tokens unavailable for transfer in the mean time. Holds are similar to escrows in that are firm and lead to final settlement.
An extension to the ERC-20 standard token which allows tokens to be put on hold. This guarantees a future transfer and makes the held tokens unavailable for transfer in the meantime. Holds are similar to escrows in that are firm and lead to final settlement.

Please refer to [IHoldable.sol](contracts/IHoldable.sol) for the exact specification.

Expand All @@ -32,11 +34,11 @@ The standard implementation of ERC-20 has been changed in order to deduct the he

#### transfer

The standard implementation of ERC-20 has been changed in order to deduct the held balance from the ERC-20 balance. Any amount that is held can not be transferred.
The standard implementation of ERC-20 has been changed in order to deduct the held balance from the ERC-20 balance. Any amount that is held cannot be transferred.

#### transferFrom

The standard implementation of ERC-20 has been changed in order to deduct the held balance from the ERC-20 balance. Any amount that is held can not be transferred.
The standard implementation of ERC-20 has been changed in order to deduct the held balance from the ERC-20 balance. Any amount that is held cannot be transferred.

### Two Step Transfer (Clearable Transfer)

Expand All @@ -48,6 +50,11 @@ Please refer to [ITwoStepTransferableToken.sol](contracts/ITwoStepTransferableTo

[Clearing-Wikipedia]: https://en.wikipedia.org/wiki/Clearing_(finance)

### Cross Ledger Transfer

Please refer to [ICrossLedgerLink.sol](contracts/ICrossLedgerLink.sol) for the exact specification.


### Compiling

To compile the interfaces and the abstract contract, please execute:
Expand Down
1,123 changes: 807 additions & 316 deletions build/EmoneyToken.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2c7241f

Please sign in to comment.