-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ERC-7573: Update erc 7573 - add optional key hashed
Merged by EIP-Bot.
- Loading branch information
Showing
8 changed files
with
107 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# DvP Solidity implementation | ||
|
||
## Description | ||
|
||
### Provided Contracts and Tests | ||
|
||
- `contracts/ILockingContract.sol` - Contract locking transfer with given encrypted keys or hashes. | ||
- `contracts/IDecryptionContract.sol` - Contract performing conditional upon transfer decryption (possibly based on an external oracle). | ||
|
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
Binary file added
BIN
+97.4 KB
assets/erc-7573/doc/Delivery_versus_Payment_across_two_Blockchains.pdf
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,41 @@ | ||
{ | ||
"name": "@finmath.net/dvp", | ||
"version": "0.2.0", | ||
"description": "Solidity Conditional-upon-Transfer-Decryption for DvP", | ||
"author": "Christian Fries, Peter Kohl-Landgraf", | ||
"license": "ISC", | ||
"homepage": "https://github.com/finmath/finmath-smart-derivative-contract#readme", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "hardhat compile", | ||
"test": "hardhat test", | ||
"coverage": "hardhat coverage" | ||
}, | ||
"devDependencies": { | ||
"@nomiclabs/hardhat-ethers": "^2.2.3", | ||
"@nomiclabs/hardhat-waffle": "^2.0.6", | ||
"chai": "^4.3.10", | ||
"ethereum-waffle": "^4.0.10", | ||
"ethers": "^5.7.2", | ||
"hardhat": "^2.18.1", | ||
"solidity-coverage": "^0.8.5" | ||
}, | ||
"dependencies": { | ||
"@openzeppelin/contracts": "^5.0.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/finmath/finmath-smart-derivative-contract.git" | ||
}, | ||
"keywords": [ | ||
"Delivery versus Payment", | ||
"HTLC", | ||
"EIP-7573" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/finmath/finmath-smart-derivative-contract/issues" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |