-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core-api): updated weaver protocol buffer definitions #1523
Updated Weaver protos README and imported latest schema additions Fixes #1523 Signed-off-by: VRamakrishna <vramakr2@in.ibm.com>
- Loading branch information
1 parent
716b804
commit 2949140
Showing
2 changed files
with
26 additions
and
2 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
24 changes: 24 additions & 0 deletions
24
packages/cactus-core-api/src/main/proto/weaver/common/protos/common/asset_transfer.proto
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,24 @@ | ||
syntax = "proto3"; | ||
|
||
package common.asset_transfer; | ||
|
||
option java_package = "com.weaver.protos.common.asset_transfer"; | ||
option go_package = "github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go/common"; | ||
|
||
message AssetPledge { | ||
bytes assetDetails = 1; | ||
string localNetworkID = 2; | ||
string remoteNetworkID = 3; | ||
string recipient = 4; | ||
uint64 expiryTimeSecs = 5; | ||
} | ||
|
||
message AssetClaimStatus { | ||
bytes assetDetails = 1; | ||
string localNetworkID = 2; | ||
string remoteNetworkID = 3; | ||
string recipient = 4; | ||
bool claimStatus = 5; | ||
uint64 expiryTimeSecs = 6; | ||
bool expirationStatus = 7; | ||
} |