-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: callback-contract checking (#14) * fix: tx-sender vulnerability (#15) * Ref/remove attestors (#16) * ref: update dlc-manager API * ref: add refund-delay and value-locked to DLC objects * BTC Fee updates (#17) * update scripts * ref: new versioning and deployments * update README
- Loading branch information
Showing
46 changed files
with
979 additions
and
936 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 was deleted.
Oops, something went wrong.
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,6 @@ | ||
(define-trait dlc-link-callback-trait-v1-1 | ||
( | ||
(set-status-funded ((buff 32) (string-ascii 64)) (response bool uint)) | ||
(post-close-dlc-handler ((buff 32) (string-ascii 64)) (response bool uint)) | ||
) | ||
) |
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,10 @@ | ||
|
||
(use-trait cb-trait .dlc-link-callback-trait-v1-1.dlc-link-callback-trait-v1-1) | ||
(define-trait dlc-manager-trait-v1-2 | ||
( | ||
(create-dlc (uint principal principal uint (string-ascii 64) uint) (response (buff 32) uint)) | ||
(set-status-funded ((buff 32) (string-ascii 64) <cb-trait>) (response bool uint)) | ||
(close-dlc ((buff 32) uint) (response bool uint)) | ||
(post-close ((buff 32) (string-ascii 64) <cb-trait>) (response bool uint)) | ||
) | ||
) |
Oops, something went wrong.