-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hyperledger-labs/main
Update from Hyperledger-labs
- Loading branch information
Showing
14 changed files
with
2,829 additions
and
21 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,46 @@ | ||
syntax = "proto3"; | ||
|
||
package common.asset_locks; | ||
option go_package = "/common"; | ||
|
||
enum LockMechanism { | ||
HTLC = 0; | ||
} | ||
|
||
message AssetLock { | ||
LockMechanism lockMechanism = 1; | ||
bytes lockInfo = 2; | ||
} | ||
|
||
message AssetClaim { | ||
LockMechanism lockMechanism = 1; | ||
bytes claimInfo = 2; | ||
} | ||
|
||
message AssetLockHTLC { | ||
bytes hash = 1; | ||
uint64 expiryTimeSecs = 2; | ||
enum TimeSpec { | ||
EPOCH = 0; | ||
DURATION = 1; | ||
} | ||
TimeSpec timeSpec = 3; | ||
} | ||
|
||
message AssetClaimHTLC { | ||
bytes hashPreimage = 1; | ||
} | ||
|
||
message AssetExchangeAgreement { | ||
string type = 1; | ||
string id = 2; | ||
string locker = 3; | ||
string recipient = 4; | ||
} | ||
|
||
message FungibleAssetExchangeAgreement { | ||
string type = 1; | ||
uint64 numUnits = 2; | ||
string locker = 3; | ||
string recipient = 4; | ||
} |
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
3 changes: 3 additions & 0 deletions
3
core/network/fabric-interop-cc/interfaces/asset-mgmt/.gitignore
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,3 @@ | ||
protos-go/ | ||
vendor/ | ||
interop |
Oops, something went wrong.