Skip to content

Commit

Permalink
refactor(core-api): updated weaver protocol buffer definitions #1523
Browse files Browse the repository at this point in the history
Updated Weaver protos README and imported latest schema additions

Fixes #1523

Signed-off-by: VRamakrishna <vramakr2@in.ibm.com>
  • Loading branch information
VRamakrishna authored and petermetz committed Nov 17, 2021
1 parent 716b804 commit 2949140
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
SPDX-License-Identifier: CC-BY-4.0
-->
## protos
## Weaver Protos

This repository contains the grpc service and protocol buffer definitions for the relay, drivers and other interop modules. protos
This repository contains the gRPC service and protocol buffer definitions for the relay, drivers, other interoperation modules, and common structures used by several Weaver components.
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;
}

0 comments on commit 2949140

Please sign in to comment.